{"id":34906,"date":"2024-08-21T15:27:42","date_gmt":"2024-08-21T08:27:42","guid":{"rendered":"http:\/\/jupitek.maudemo.vip\/index.php\/2024\/08\/21\/store-and-share-your-files-with-nextcloud-on-centos-7\/"},"modified":"2024-08-21T15:27:42","modified_gmt":"2024-08-21T08:27:42","slug":"store-and-share-your-files-with-nextcloud-on-centos-7","status":"publish","type":"post","link":"https:\/\/jupitek.maudemo.vip\/index.php\/2024\/08\/21\/store-and-share-your-files-with-nextcloud-on-centos-7\/","title":{"rendered":"L\u01b0u tr\u1eef v\u00e0 chia s\u1ebb t\u1ec7p c\u1ee7a b\u1ea1n v\u1edbi Nextcloud tr\u00ean CentOS 7"},"content":{"rendered":"<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.linode.com\/docs\/guides\/store-and-share-your-files-with-nextcloud-centos-7\/_hu76be555abdacdb4b8bba68b5ef327a3b_562645_2d9353a95096c0247052c6b088c8988d.jpg\" alt=\"L\u01b0u tr\u1eef v\u00e0 chia s\u1ebb t\u1ec7p c\u1ee7a b\u1ea1n v\u1edbi Nextcloud tr\u00ean CentOS\" title=\"L\u01b0u tr\u1eef v\u00e0 chia s\u1ebb t\u1ec7p c\u1ee7a b\u1ea1n v\u1edbi Nextcloud tr\u00ean CentOS\"\/><\/figure>\n<h2 id=\"before-you-begin\">Tr\u01b0\u1edbc khi b\u1ea1n b\u1eaft \u0111\u1ea7u<a href=\"https:\/\/www.linode.com\/docs\/guides\/store-and-share-your-files-with-nextcloud-centos-7\/#before-you-begin\"><\/a><\/h2>\n<ol>\n<li>N\u1ebfu b\u1ea1n ch\u01b0a th\u1ef1c hi\u1ec7n, h\u00e3y t\u1ea1o m\u1ed9t t\u00e0i kho\u1ea3n Linode v\u00e0 Compute Instance. Xem h\u01b0\u1edbng d\u1eabn&nbsp;<a href=\"https:\/\/www.linode.com\/docs\/products\/platform\/get-started\/\">B\u1eaft \u0111\u1ea7u v\u1edbi Linode<\/a>&nbsp;v\u00e0&nbsp;<a href=\"https:\/\/www.linode.com\/docs\/products\/compute\/compute-instances\/guides\/create\/\">T\u1ea1o Compute Instance<\/a>&nbsp;c\u1ee7a ch\u00fang t\u00f4i .<\/li>\n<li>L\u00e0m theo h\u01b0\u1edbng d\u1eabn&nbsp;<a href=\"https:\/\/www.linode.com\/docs\/products\/compute\/compute-instances\/guides\/set-up-and-secure\/\">Thi\u1ebft l\u1eadp v\u00e0 B\u1ea3o m\u1eadt Phi\u00ean b\u1ea3n Compute<\/a>&nbsp;c\u1ee7a ch\u00fang t\u00f4i \u0111\u1ec3 c\u1eadp nh\u1eadt h\u1ec7 th\u1ed1ng c\u1ee7a b\u1ea1n. B\u1ea1n c\u0169ng c\u00f3 th\u1ec3 mu\u1ed1n \u0111\u1eb7t m\u00fai gi\u1edd, c\u1ea5u h\u00ecnh t\u00ean m\u00e1y ch\u1ee7, t\u1ea1o t\u00e0i kho\u1ea3n ng\u01b0\u1eddi d\u00f9ng gi\u1edbi h\u1ea1n v\u00e0 t\u0103ng c\u01b0\u1eddng quy\u1ec1n truy c\u1eadp SSH.<\/li>\n<li>C\u00e0i \u0111\u1eb7t kho l\u01b0u tr\u1eef&nbsp;<em>EPEL<\/em>&nbsp;:<code>yum install epel-release -y<\/code><\/li>\n<\/ol>\n<h2 id=\"install-mariadb-database-server\">C\u00e0i \u0111\u1eb7t MariaDB Database Server<a href=\"https:\/\/www.linode.com\/docs\/guides\/store-and-share-your-files-with-nextcloud-centos-7\/#install-mariadb-database-server\"><\/a><\/h2>\n<p>1.Th\u00eam kho l\u01b0u tr\u1eef MariaDB 10.2 \u0111\u1ec3 bu\u1ed9c yum c\u00e0i \u0111\u1eb7t phi\u00ean b\u1ea3n m\u1edbi nh\u1ea5t:<\/p>\n<pre class=\"wp-block-code\"><code>&#91;mariadb]\nname = MariaDB-10.2.3\nbaseurl = http:\/\/yum.mariadb.org\/10.2.3\/centos7-amd64\ngpgkey=https:\/\/yum.mariadb.org\/RPM-GPG-KEY-MariaDB\ngpgcheck=1<\/code><\/pre>\n<p>2.C\u00e0i \u0111\u1eb7t MariaDB v\u00e0 k\u00edch ho\u1ea1t d\u1ecbch v\u1ee5 khi kh\u1edfi \u0111\u1ed9ng h\u1ec7 th\u1ed1ng:<\/p>\n<pre class=\"wp-block-code\"><code>yum install mariadb mariadb-server -y\nsystemctl start mariadb\nsystemctl enable mariadb<\/code><\/pre>\n<p>3.Thi\u1ebft l\u1eadp m\u00e1y ch\u1ee7 MariaDB b\u1eb1ng&nbsp;<code>mysql_secure_installation<\/code>t\u1eadp l\u1ec7nh. Tr\u1ea3 l\u1eddi c\u00e1c l\u1eddi nh\u1eafc b\u1eb1ng c\u00e1c c\u00e2u tr\u1ea3 l\u1eddi \u0111\u01b0\u1ee3c hi\u1ec3n th\u1ecb b\u00ean d\u01b0\u1edbi:<\/p>\n<pre class=\"wp-block-code\"><code>mysql_secure_installation\n\nEnter current password for root (enter for none): ENTER\nSet root password? &#91;Y\/n] Y\nRemove anonymous users? &#91;Y\/n] Y\nDisallow root login remotely? &#91;Y\/n] Y\nRemove test database and access to it? &#91;Y\/n] Y\nReload privilege tables now? &#91;Y\/n] Y<\/code><\/pre>\n<p>4.T\u1ea1o c\u01a1 s\u1edf d\u1eef li\u1ec7u v\u00e0 ng\u01b0\u1eddi d\u00f9ng cho Nextcloud trong MariaDB. \u0110\u0103ng nh\u1eadp v\u1edbi t\u01b0 c\u00e1ch&nbsp;<code>root<\/code>v\u00e0 nh\u1eadp m\u1eadt kh\u1ea9u \u0111\u00e3 \u0111\u1eb7t tr\u01b0\u1edbc \u0111\u00f3. \u0110\u1ea3m b\u1ea3o t\u1ea1o m\u1eadt kh\u1ea9u m\u1ea1nh \u0111\u1ec3 thay th\u1ebf v\u0103n&nbsp;<code>CREATE-PASSWORD-HERE<\/code>b\u1ea3n:<\/p>\n<pre class=\"wp-block-code\"><code>mysql -u root -p\n\nMariaDB &#91;(none)]&gt; CREATE DATABASE nextcloud;\nMariaDB &#91;(none)]&gt; GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost' IDENTIFIED BY 'CREATE-PASSWORD-HERE' WITH GRANT OPTION;\nMariaDB &#91;(none)]&gt; FLUSH PRIVILEGES;\nMariaDB &#91;(none)]&gt; quit<\/code><\/pre>\n<h2 id=\"install-apache-web-server\">C\u00e0i \u0111\u1eb7t m\u00e1y ch\u1ee7 web Apache<a href=\"https:\/\/www.linode.com\/docs\/guides\/store-and-share-your-files-with-nextcloud-centos-7\/#install-apache-web-server\"><\/a><\/h2>\n<p>1.C\u00e0i \u0111\u1eb7t Apache v\u00e0 k\u00edch ho\u1ea1t d\u1ecbch v\u1ee5 khi kh\u1edfi \u0111\u1ed9ng h\u1ec7 th\u1ed1ng:<\/p>\n<pre class=\"wp-block-code\"><code>yum install httpd -y\n\nsystemctl start httpd \n\nsystemctl enable httpd<\/code><\/pre>\n<p>2.V\u00f4 hi\u1ec7u h\u00f3a c\u00e1c m\u00f4-\u0111un WebDAV c\u1ee7a Apache \u0111\u1ec3 tr\u00e1nh xung \u0111\u1ed9t v\u1edbi c\u00e1c m\u00f4-\u0111un WebDAV c\u1ee7a Nextcloud:<\/p>\n<pre class=\"wp-block-code\"><code><code>sudo sed -i 's\/^\/#&amp;\/g' \/etc\/httpd\/conf.modules.d\/00-dav.conf<\/code><\/code><\/pre>\n<p>3.Kh\u1edfi \u0111\u1ed9ng l\u1ea1i Apache \u0111\u1ec3 ph\u1ea3n \u00e1nh nh\u1eefng thay \u0111\u1ed5i:<\/p>\n<pre class=\"wp-block-code\"><code><code>systemctl restart httpd<\/code><\/code><\/pre>\n<h2 id=\"install-php-71-and-required-modules\">C\u00e0i \u0111\u1eb7t PHP 7.1 v\u00e0 c\u00e1c Module c\u1ea7n thi\u1ebft<a href=\"https:\/\/www.linode.com\/docs\/guides\/store-and-share-your-files-with-nextcloud-centos-7\/#install-php-71-and-required-modules\"><\/a><\/h2>\n<p>1.Th\u00eam kho l\u01b0u tr\u1eef Remi:<\/p>\n<pre class=\"wp-block-code\"><code><code>rpm -Uvh http:\/\/rpms.remirepo.net\/enterprise\/remi-release-7.rpm<\/code><\/code><\/pre>\n<p>2.C\u00e0i \u0111\u1eb7t g\u00f3i&nbsp;<em>yum-utils<\/em>&nbsp;:<\/p>\n<pre class=\"wp-block-code\"><code><code>yum install yum-utils -y<\/code><\/code><\/pre>\n<p>3.C\u1eadp nh\u1eadt h\u1ec7 th\u1ed1ng \u0111\u1ec3 \u0111i\u1ec1n v\u00e0o kho l\u01b0u tr\u1eef Remi:<\/p>\n<pre class=\"wp-block-code\"><code><code>yum update -y<\/code><\/code><\/pre>\n<p>4.Ch\u1ec9 \u0111\u1ea1o h\u1ec7 th\u1ed1ng s\u1eed d\u1ee5ng PHP 7.1 v\u00e0 \u0111\u01b0a ra l\u1ec7nh c\u00e0i \u0111\u1eb7t:<\/p>\n<pre class=\"wp-block-code\"><code><code>yum-config-manager --enable remi-php71 yum install php71-php php-mbstring php-zip php71-php-opcache php71-php-mysql php71-php-pecl-imagick php71-php-intl php71-php-mcrypt php71-php-pdo php-ZendFramework-Db-Adapter-Pdo-Mysql php71-php-pecl-zip php71-php-mbstring php71-php-gd php71-php-xml -y<\/code><\/code><\/pre>\n<p>5.K\u00edch th\u01b0\u1edbc t\u1ea3i l\u00ean t\u1ec7p m\u1eb7c \u0111\u1ecbnh m\u00e0 PHP cho ph\u00e9p l\u00e0 2MB. T\u0103ng (ho\u1eb7c gi\u1ea3m) k\u00edch th\u01b0\u1edbc t\u1ec7p \u0111\u01b0\u1ee3c ph\u00e9p theo gi\u00e1 tr\u1ecb b\u1ea1n mu\u1ed1n. V\u00ed d\u1ee5 b\u00ean d\u01b0\u1edbi s\u1ebd \u0111\u1eb7t k\u00edch th\u01b0\u1edbc t\u1ea3i l\u00ean t\u1ec7p l\u00e0 512MB v\u00e0 kh\u00f4ng gi\u1edbi h\u1ea1n k\u00edch th\u01b0\u1edbc b\u00e0i \u0111\u0103ng:<\/p>\n<pre class=\"wp-block-code\"><code>sudo cp \/etc\/php.ini \/etc\/php.ini.bak \n\nsudo sed -i \"s\/post_max_size = 8M\/post_max_size = 0\/\" \/etc\/php.ini \n\nsudo sed -i \"s\/upload_max_filesize = 2M\/upload_max_filesize = 512M\/\" \/etc\/php.ini<\/code><\/pre>\n<p>6.Kh\u1edfi \u0111\u1ed9ng l\u1ea1i Apache:<\/p>\n<pre class=\"wp-block-code\"><code><code>systemctl restart httpd<\/code><\/code><\/pre>\n<h2 id=\"install-nextcloud-12\">C\u00e0i \u0111\u1eb7t Nextcloud 12<a href=\"https:\/\/www.linode.com\/docs\/guides\/store-and-share-your-files-with-nextcloud-centos-7\/#install-nextcloud-12\"><\/a><\/h2>\n<p>1.Ki\u1ec3m tra&nbsp;<a href=\"https:\/\/nextcloud.com\/install\/#instructions-server\" target=\"_blank\" rel=\"noreferrer noopener\">trang t\u1ea3i xu\u1ed1ng Nextcloud<\/a>&nbsp;\u0111\u1ec3 bi\u1ebft phi\u00ean b\u1ea3n m\u1edbi nh\u1ea5t v\u00e0 thay th\u1ebf&nbsp;<code>12.0.4<\/code>l\u1ec7nh b\u00ean d\u01b0\u1edbi b\u1eb1ng s\u1ed1 phi\u00ean b\u1ea3n th\u00edch h\u1ee3p:<\/p>\n<pre class=\"wp-block-code\"><code>cd \/opt \n\nsudo yum install wget \n\nwget https:\/\/download.nextcloud.com\/server\/releases\/nextcloud-12.0.4.zip<\/code><\/pre>\n<p>2.Gi\u1ea3i n\u00e9n g\u00f3i:<\/p>\n<pre class=\"wp-block-code\"><code>sudo yum install unzip \n\nunzip nextcloud-x.y.z.zip<\/code><\/pre>\n<p>3.Di chuy\u1ec3n to\u00e0n b\u1ed9 th\u01b0 m\u1ee5c Nextcloud \u0111\u00e3 gi\u1ea3i n\u00e9n v\u00e0o th\u01b0 m\u1ee5c web g\u1ed1c v\u00e0 c\u1ea5p quy\u1ec1n cho ng\u01b0\u1eddi&nbsp;<code>apache<\/code>d\u00f9ng \u0111\u1ed1i v\u1edbi t\u1ea5t c\u1ea3 n\u1ed9i dung:<\/p>\n<pre class=\"wp-block-code\"><code><code>cp -r nextcloud \/var\/www\/html<\/code><\/code><\/pre>\n<p>4.C\u1ea5p quy\u1ec1n cho th\u01b0 m\u1ee5c Nextcloud v\u00e0 t\u1ea5t c\u1ea3 n\u1ed9i dung c\u1ee7a n\u00f3 cho ng\u01b0\u1eddi d\u00f9ng Apache. X\u00e1c \u0111\u1ecbnh ng\u01b0\u1eddi d\u00f9ng n\u00e0o m\u00e0 Apache \u0111ang ch\u1ea1y b\u1eb1ng l\u1ec7nh \u0111\u1ea7u ti\u00ean b\u00ean d\u01b0\u1edbi. Thay th\u1ebf&nbsp;<code>apache:apache<\/code>trong l\u1ec7nh th\u1ee9 hai b\u1eb1ng \u0111\u1ea7u ra n\u1ebfu n\u00f3 kh\u00e1c:<\/p>\n<pre class=\"wp-block-code\"><code>ps -ef | egrep '(httpd|apache2|apache)' | grep -v `whoami` | grep -v root | head -n1 | groups $(awk '{print $1}') \n\nchown apache:apache -R \/var\/www\/html\/nextcloud<\/code><\/pre>\n<p>5.\u0110i\u1ec1u h\u01b0\u1edbng \u0111\u1ebfn&nbsp;<code>nextcloud<\/code>th\u01b0 m\u1ee5c web g\u1ed1c v\u00e0 ho\u00e0n t\u1ea5t c\u00e0i \u0111\u1eb7t Nextcloud:<\/p>\n<pre class=\"wp-block-code\"><code>cd \/var\/www\/html\/nextcloud \n\nsudo -u apache php occ maintenance:install --database \"mysql\" --database-name \"nextcloud\" --database-user \"nextclouduser\" --database-pass \"yourpassword\" --admin-user \"admin\" --admin-pass \"adminpassword\"<\/code><\/pre>\n<p>6.N\u1ebfu c\u00e0i \u0111\u1eb7t th\u00e0nh c\u00f4ng, b\u1ea1n s\u1ebd nh\u1eadn \u0111\u01b0\u1ee3c th\u00f4ng b\u00e1o sau:<\/p>\n<pre class=\"wp-block-code\"><code><code>Nextcloud was successfully installed<\/code><\/code><\/pre>\n<p>7.V\u00ec c\u00e1c t\u1ec7p n\u00e0y hi\u1ec7n \u0111\u01b0\u1ee3c \u0111\u01b0a l\u00ean Internet, h\u00e3y thi\u1ebft l\u1eadp quy\u1ec1n m\u1ea1nh h\u01a1n \u0111\u1ec3 c\u1ea3i thi\u1ec7n b\u1ea3o m\u1eadt:<\/p>\n<pre class=\"wp-block-code\"><code>find \/var\/www\/html -type f -print0 | sudo xargs -0 chmod 0640 \n\nfind \/var\/www\/html -type d -print0 | sudo xargs -0 chmod 0750<\/code><\/pre>\n<p>8.C\u1eadp nh\u1eadt URL trong&nbsp;<code>config.php<\/code>t\u1ec7p \u0111\u1ec3 ph\u00f9 h\u1ee3p v\u1edbi&nbsp;<code>nextcloud<\/code>th\u01b0 m\u1ee5c con \u0111\u01b0\u1ee3c th\u00eam v\u00e0o trong g\u1ed1c t\u00e0i li\u1ec7u. Gh\u00e9p c\u00e1c d\u00f2ng&nbsp;<code>overwrite.cli.url<\/code>v\u00e0&nbsp;<code>htaccess.RewriteBase<\/code>:<\/p>\n<pre class=\"wp-block-code\"><code>. . .\n\n),\n  'datadirectory' =&gt; '\/var\/www\/html\/nextcloud\/data',\n  'overwrite.cli.url' =&gt; 'http:\/\/localhost\/nextcloud',\n  'htaccess.RewriteBase' =&gt; '\/nextcloud',\n  'dbtype' =&gt; 'mysql',\n  'version' =&gt; '12.0.3.3',\n  'dbname' =&gt; 'nextcloud',\n\n. . .<\/code><\/pre>\n<p>9.C\u1eadp nh\u1eadt&nbsp;<code>.htaccess<\/code>t\u1ec7p c\u00f3 ch\u1ee9a nh\u1eefng thay \u0111\u1ed5i v\u1ec1 URL:<code> <\/code><\/p>\n<pre class=\"wp-block-code\"><code><code>sudo -u apache php \/var\/www\/nextcloud\/occ maintenance:update:htaccess<\/code><\/code><\/pre>\n<p>10.\u0110i\u1ec1u h\u01b0\u1edbng \u0111\u1ebfn&nbsp;<code>your-Linode-IP-address\/nextcloud<\/code>(thay th\u1ebf&nbsp;<code>your-Linode-IP-address<\/code>) v\u00e0 trang Nextcloud s\u1ebd t\u1ea3i trang \u0111\u0103ng nh\u1eadp cho ng\u01b0\u1eddi d\u00f9ng qu\u1ea3n tr\u1ecb m\u00e0 b\u1ea1n \u0111\u00e3 t\u1ea1o tr\u01b0\u1edbc \u0111\u00f3.\u0110\u1ec3 ki\u1ec3m tra tr\u1ea1ng th\u00e1i m\u00f4i tr\u01b0\u1eddng Nextcloud c\u1ee7a b\u1ea1n, h\u00e3y s\u1eed d\u1ee5ng&nbsp;<code>occ<\/code>l\u1ec7nh sau:<\/p>\n<pre class=\"wp-block-code\"><code><code>sudo -u apache \/var\/www\/html\/nextcloud\/ php occ status<\/code><\/code><\/pre>\n<h2 id=\"where-to-go-from-here\">\u0110i \u0111\u00e2u t\u1eeb \u0111\u00e2y<a href=\"https:\/\/www.linode.com\/docs\/guides\/store-and-share-your-files-with-nextcloud-centos-7\/#where-to-go-from-here\"><\/a><\/h2>\n<p>Sau khi c\u00e0i \u0111\u1eb7t th\u00e0nh c\u00f4ng m\u00f4i tr\u01b0\u1eddng Nextcloud, b\u1ea1n c\u00f3 th\u1ec3 mu\u1ed1n t\u00edch h\u1ee3p th\u00eam v\u00e0o t\u00ean mi\u1ec1n s\u1edf h\u1eefu ho\u1eb7c \u0111i\u1ec1u ch\u1ec9nh m\u00e1y ch\u1ee7 web c\u1ee7a m\u00ecnh \u0111\u1ec3 ph\u1ee5c v\u1ee5 c\u00e1c trang \u0111\u01b0\u1ee3c m\u00e3 h\u00f3a SSL. Xem&nbsp;<a href=\"https:\/\/docs.nextcloud.com\/server\/12\/admin_manual\/installation\/source_installation.html#enabling-ssl\" target=\"_blank\" rel=\"noreferrer noopener\">m\u1ee5c B\u1eadt SSL c\u1ee7a Nextcloud<\/a>&nbsp;c\u1ee7a Nextcloud \u0111\u1ec3 b\u1eadt SSL.<\/p>\n<p>M\u1eb7c d\u00f9 Apache \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng l\u00e0m m\u00e1y ch\u1ee7 web trong h\u01b0\u1edbng d\u1eabn n\u00e0y, vi\u1ec7c c\u00e0i \u0111\u1eb7t Nextcloud v\u1edbi nginx c\u0169ng kh\u1ea3 thi. \u0110i\u1ec1u h\u01b0\u1edbng \u0111\u1ebfn t\u00e0i li\u1ec7u&nbsp;<a href=\"https:\/\/docs.nextcloud.com\/server\/12\/admin_manual\/installation\/nginx.html\" target=\"_blank\" rel=\"noreferrer noopener\">C\u1ea5u h\u00ecnh NGINX c\u1ee7a Nextcloud<\/a>&nbsp;\u0111\u1ec3 thi\u1ebft l\u1eadp Nextcloud v\u1edbi NGINX.<\/p>\n<p><a href=\"https:\/\/nextcloud.com\/talk\/\" target=\"_blank\" rel=\"noreferrer noopener\">Nextcloud Talk<\/a>&nbsp;l\u00e0 ti\u1ec7n \u00edch b\u1ed5 sung cho Nextcloud cho ph\u00e9p h\u1ed9i ngh\u1ecb truy\u1ec1n h\u00ecnh v\u00e0 v\u0103n b\u1ea3n an to\u00e0n th\u00f4ng qua n\u1ec1n t\u1ea3ng Nextcloud. H\u00e3y xem h\u01b0\u1edbng d\u1eabn c\u1ee7a ch\u00fang t\u00f4i v\u1ec1 c\u00e1ch&nbsp;<a href=\"https:\/\/www.linode.com\/docs\/guides\/install-nextcloud-talk\/\">c\u00e0i \u0111\u1eb7t Nextcloud Talk<\/a>&nbsp;.<\/p>\n<h2 id=\"more-information\">Th\u00f4ng tin th\u00eam<\/h2>\n<p>B\u1ea1n c\u00f3 th\u1ec3 mu\u1ed1n tham kh\u1ea3o c\u00e1c ngu\u1ed3n sau \u0111\u1ec3 bi\u1ebft th\u00eam th\u00f4ng tin v\u1ec1 ch\u1ee7 \u0111\u1ec1 n\u00e0y. M\u1eb7c d\u00f9 ch\u00fang t\u00f4i cung c\u1ea5p v\u1edbi hy v\u1ecdng r\u1eb1ng ch\u00fang s\u1ebd h\u1eefu \u00edch, nh\u01b0ng xin l\u01b0u \u00fd r\u1eb1ng ch\u00fang t\u00f4i kh\u00f4ng th\u1ec3 \u0111\u1ea3m b\u1ea3o t\u00ednh ch\u00ednh x\u00e1c ho\u1eb7c t\u00ednh k\u1ecbp th\u1eddi c\u1ee7a c\u00e1c t\u00e0i li\u1ec7u \u0111\u01b0\u1ee3c l\u01b0u tr\u1eef b\u00ean ngo\u00e0i.<\/p>\n<ul>\n<li><a href=\"https:\/\/docs.nextcloud.com\/server\/12\/admin_manual\/configuration_server\/occ_command.html#http-user-label\" target=\"_blank\" rel=\"noreferrer noopener\">S\u1eed d\u1ee5ng l\u1ec7nh occ<\/a><\/li>\n<li><a href=\"https:\/\/docs.nextcloud.com\/server\/12\/admin_manual\/installation\/nginx.html\" target=\"_blank\" rel=\"noreferrer noopener\">C\u1ea5u h\u00ecnh nginx<\/a><\/li>\n<li><a href=\"https:\/\/docs.nextcloud.com\/server\/12\/admin_manual\/installation\/source_installation.html#enabling-ssl\" target=\"_blank\" rel=\"noreferrer noopener\">B\u1eadt SSL<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Tr\u01b0\u1edbc khi b\u1ea1n b\u1eaft \u0111\u1ea7u C\u00e0i \u0111\u1eb7t MariaDB Database Server 1.Th\u00eam kho l\u01b0u tr\u1eef MariaDB 10.2 \u0111\u1ec3 bu\u1ed9c yum c\u00e0i \u0111\u1eb7t phi\u00ean b\u1ea3n m\u1edbi nh\u1ea5t: 2.C\u00e0i \u0111\u1eb7t MariaDB v\u00e0 k\u00edch ho\u1ea1t d\u1ecbch v\u1ee5 khi kh\u1edfi \u0111\u1ed9ng h\u1ec7 th\u1ed1ng: 3.Thi\u1ebft l\u1eadp m\u00e1y ch\u1ee7 MariaDB b\u1eb1ng&nbsp;mysql_secure_installationt\u1eadp l\u1ec7nh. Tr\u1ea3 l\u1eddi c\u00e1c l\u1eddi nh\u1eafc b\u1eb1ng c\u00e1c c\u00e2u tr\u1ea3 l\u1eddi<\/p>\n","protected":false},"author":1,"featured_media":35668,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[105],"tags":[],"class_list":["post-34906","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud-storage"],"_links":{"self":[{"href":"https:\/\/jupitek.maudemo.vip\/index.php\/wp-json\/wp\/v2\/posts\/34906","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jupitek.maudemo.vip\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jupitek.maudemo.vip\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jupitek.maudemo.vip\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jupitek.maudemo.vip\/index.php\/wp-json\/wp\/v2\/comments?post=34906"}],"version-history":[{"count":0,"href":"https:\/\/jupitek.maudemo.vip\/index.php\/wp-json\/wp\/v2\/posts\/34906\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jupitek.maudemo.vip\/index.php\/wp-json\/wp\/v2\/media\/35668"}],"wp:attachment":[{"href":"https:\/\/jupitek.maudemo.vip\/index.php\/wp-json\/wp\/v2\/media?parent=34906"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jupitek.maudemo.vip\/index.php\/wp-json\/wp\/v2\/categories?post=34906"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jupitek.maudemo.vip\/index.php\/wp-json\/wp\/v2\/tags?post=34906"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}