debian 10 安装_如何在Debian 10上使用LAMP安装WordPress

debian 10 安装

介绍 (Introduction)

WordPress is the most popular CMS (content management system) on the internet. It allows you to easily set up flexible blogs and websites on top of a MariaDB backend with PHP processing. WordPress has seen incredible adoption and is a great choice for getting a website up and running quickly. After setup, almost all administration can be done through the web frontend.

WordPress是互联网上最流行的CMS(内容管理系统)。 它使您可以通过PHP处理轻松地在MariaDB后端之上建立灵活的博客和网站。 WordPress已被广泛采用,是使网站快速启动和运行的理想选择。 设置后,几乎所有管理都可以通过Web前端完成。

In this guide, we’ll focus on getting a WordPress instance set up on a LAMP stack (Linux, Apache, MariaDB, and PHP) on a Debian 10 server.

在本指南中,我们将重点放在在Debian 10服务器上的LAMP堆栈(Linux,Apache,MariaDB和PHP)上设置WordPress实例。

先决条件 (Prerequisites)

In order to complete this tutorial, you will need access to a Debian 10 server.

为了完成本教程,您将需要访问Debian 10服务器。

You will need to perform the following tasks before you can start this guide:

在开始本指南之前,您需要执行以下任务:

  • Create a sudo user on your server: We will be completing the steps in this guide using a non-root user with sudo privileges. You can create a user with sudo privileges by following our Debian 10 initial server setup guide.

    在您的服务器上创建sudo用户 :我们将使用具有sudo特权的非root用户来完成本指南中的步骤。 您可以按照Debian 10初始服务器设置指南创建具有sudo特权的用户。

  • Install a LAMP stack: WordPress will need a web server, a database, and PHP in order to correctly function. Setting up a LAMP stack (Linux, Apache, MariaDB, and PHP) fulfills all of these requirements. Follow this guide to install and configure this software.

    安装LAMP堆栈 :WordPress需要Web服务器,数据库和PHP才能正常运行。 设置LAMP堆栈(Linux,Apache,MariaDB和PHP)可以满足所有这些要求。 按照本指南安装和配置此软件。

    • If you have a domain name… the easiest way to secure your site is with Let’s Encrypt, which provides free, trusted certificates. Follow our Let’s Encrypt guide for Apache to set this up.

      如果您拥有域名,那么最简单的保护网站安全的方法就是使用Let's Encrypt,它提供免费的,受信任的证书。 请遵循我们的Apache Let's Encrypt指南进行设置。

    • If you do not have a domain… and you are just using this configuration for testing or personal use, you can use a self-signed certificate instead. This provides the same type of encryption, but without the domain validation. Follow our self-signed SSL guide for Apache to get set up.

      如果您没有域...而您只是使用此配置进行测试或个人使用,则可以使用自签名证书。 这提供了相同类型的加密,但没有域验证。 请遵循我们针对Apache的自签名SSL指南进行设置。

    Secure your site with SSL: WordPress serves dynamic content and handles user authentication and authorization. TLS/SSL is the technology that allows you to encrypt the traffic from your site so that your connection is secure. The way you set up SSL will depend on whether you have a domain name for your site.

    使用SSL保护您的网站 :WordPress提供动态内容并处理用户身份验证和授权。 TLS / SSL是允许您加密来自站点的流量以确保连接安全的技术。 设置SSL的方式将取决于您是否拥有站点的域名。

When you are finished with the setup steps, log in to your server as your sudo user and continue below.

完成设置步骤后,以sudo用户身份登录到服务器并继续以下操作。

第1步-为WordPress创建MariaDB数据库和用户 (Step 1 — Creating a MariaDB Database and User for WordPress)

The first step that we will take is a preparatory one. WordPress requires a MySQL-based database to store and manage site and user information. We have MariaDB — a drop-in replacement for MySQL — installed already, but we need to make a database and a user for WordPress to use.

我们将采取的第一步是准备工作。 WordPress需要基于MySQL的数据库来存储和管理站点和用户信息。 我们已经安装了MariaDB(一种MySQL的替代产品),但是我们需要为WordPress使用一个数据库和一个用户。

To get started, open up the MariaDB prompt as the root account:

首先,以帐户打开MariaDB提示符:

  • sudo mariadb

    苏多·玛丽亚德

Note: If you set up another account with administrative privileges when you installed and set up MariaDB, you can also log in as that user. You’ll need to do so with the following command:

注意:如果在安装和设置MariaDB时设置了另一个具有管理特权的帐户,则也可以该用户身份登录。 您需要使用以下命令进行操作:

  • mariadb -u username -p

    mariadb -u 用户名 -p

After issuing this command, MariaDB will prompt you for the password you set for that account.

发出此命令后,MariaDB将提示您输入为该帐户设置的密码。

Begin by creating a new database that WordPress will control. You can call this whatever you would like but, to keep it simple for this guide, we will name it wordpress.

首先创建一个WordPress将控制的新数据库。 您可以随意调用它,但是为了使本指南更简单,我们将其命名为wordpress

Create the database for WordPress by typing:

通过键入以下内容为WordPress创建数据库:

  • CREATE DATABASE wordpress DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;

    创建数据库wordpress默认字符集utf8 COLLATE utf8_unicode_ci;

Note that every MySQL statement must end in a semi-colon (;). Check to make sure this is present if you are running into any issues.

注意,每个MySQL语句必须以分号( ; )结尾。 如果遇到任何问题,请检查以确保存在此问题。

Next, create a separate MySQL user account that we will use exclusively to operate on our new database. Creating single-function databases and accounts is a good idea from a management and security standpoint. We will use the name wordpress_user in this guide, but feel free to change this if you’d like.

接下来,创建一个单独MySQL用户帐户,我们将专门使用它来操作新数据库。 从管理和安全的角度来看,创建单一功能的数据库和帐户是一个好主意。 在本指南中,我们将使用单词wordpress_user的名称,但是如果您愿意,可以随时更改它。

Create this account, set a password, and grant the user access to the database you just created with the following command. Remember to choose a strong password for your database user:

创建此帐户,设置密码,并使用以下命令授予用户访问您刚创建的数据库的权限。 记住要为数据库用户选择一个强密码:

  • GRANT ALL ON wordpress.* TO 'wordpress_user'@'localhost' IDENTIFIED BY 'password';

    授予对wordpress的所有权限 。* TO'wordpress_user '@'localhost'由' password '标识;

You now have a database and user account, each made specifically for WordPress. Run the following command to reload the grant tables so that the current instance of MariaDB knows about the changes you’ve made:

现在,您有一个数据库和用户帐户,每个帐户和帐户都是专门为WordPress创建的。 运行以下命令以重新加载授权表,以使MariaDB的当前实例知道您所做的更改:

  • FLUSH PRIVILEGES;

    冲洗特权;

Exit out of MariaDB by typing:

通过键入以下内容退出MariaDB:

  • EXIT;

    出口;

Now that you’ve configured the database and user that will be used by WordPress, you can move on to installing some PHP-related packages used by the CMS.

现在,您已经配置了WordPress将使用的数据库和用户,您可以继续安装CMS使用的一些与PHP相关的软件包。

第2步-安装其他PHP扩展 (Step 2 — Installing Additional PHP Extensions)

When setting up our LAMP stack, we only required a very minimal set of extensions in order to get PHP to communicate with MariaDB. WordPress and many of its plugins leverage additional PHP extensions.

设置LAMP堆栈时,我们只需要很少的扩展集即可使PHP与MariaDB进行通信。 WordPress及其许多插件都利用了其他PHP扩展。

Download and install some of the most popular PHP extensions for use with WordPress by typing:

通过键入以下内容,下载并安装一些最流行PHP扩展以用于WordPress:

  • sudo apt update

    sudo apt更新
  • sudo apt install php-curl php-gd php-mbstring php-xml php-xmlrpc php-soap php-intl php-zip

    sudo apt安装php-curl php-gd php-mbstring php-xml php-xmlrpc php-soap php-intl php-zip

Note: Each WordPress plugin has its own set of requirements. Some may require additional PHP packages to be installed. Check your plugin documentation to find its PHP requirements. If they are available, they can be installed with apt as demonstrated above.

注意:每个WordPress插件都有其自己的一组要求。 有些可能需要安装其他PHP软件包。 检查您的插件文档以找到其PHP要求。 如果可用,则可以如上所述安装apt

We will restart Apache to load these new extensions in the next section. If you are returning here to install additional plugins, you can restart Apache now by typing:

在下一节中,我们将重新启动Apache以加载这些新扩展。 如果您要返回此处以安装其他插件,则可以输入以下命令立即重新启动Apache:

  • sudo systemctl restart apache2

    sudo systemctl重新启动apache2

At this point, all that’s left to do before installing WordPress is to make some changes to your Apache configuration in order to allow the CMS to function smoothly.

此时,在安装WordPress之前要做的只是对Apache配置进行一些更改,以使CMS平稳运行。

步骤3 —调整Apache的配置以允许.htaccess覆盖和重写 (Step 3 — Adjusting Apache’s Configuration to Allow for .htaccess Overrides and Rewrites)

With the additional PHP extensions installed and ready for use, the next thing to do is to make a few changes to your Apache configuration. Based on the prerequisite tutorials, you should have a configuration file for your site in the /etc/apache2/sites-available/ directory. We’ll use /etc/apache2/sites-available/wordpress.conf as an example here, but you should substitute the path to your configuration file where appropriate.

安装了额外PHP扩展并可以使用后,接下来要做的就是对Apache配置进行一些更改。 根据先决条件教程,您应该在/etc/apache2/sites-available/目录中具有站点的配置文件。 我们在这里以/etc/apache2/sites-available/wordpress.conf为例,但是您应该在适当的地方替换配置文件的路径。

Additionally, we will use /var/www/wordpress as the root directory of our WordPress install. You should use the web root specified in your own configuration.

此外,我们将使用/var/www/wordpress作为WordPress安装的根目录。 您应该使用自己的配置中指定的Web根目录。

Note: It’s possible you are using the 000-default.conf default configuration (with /var/www/html as your web root). This is fine to use if you’re only going to host one website on this server. If not, it’s best to split the necessary configuration into logical chunks, one file per site.

注意:可能您正在使用000-default.conf默认配置(以/var/www/html作为您的Web根)。 如果您只打算在此服务器上托管一个网站,则可以使用此方法。 如果没有,最好将必要的配置分成逻辑块,每个站点一个文件。

Currently, the use of .htaccess files is disabled. WordPress and many WordPress plugins use these files extensively for in-directory tweaks to the web server’s behavior.

当前,禁用.htaccess文件的使用。 WordPress和许多WordPress插件广泛使用这些文件对Web服务器的行为进行目录内调整。

Open the Apache configuration file for your website. Note that if you have an existing Apache configuration file for your website, this file’s name will be different:

打开您的网站的Apache配置文件。 请注意,如果您的网站已有一个Apache配置文件,则该文件的名称将有所不同:

  • sudo nano /etc/apache2/sites-available/wordpress.conf

    须藤纳米/ etc / apache2 / sites-available / wordpress .conf

To allow .htaccess files, you’ll need to add a Directory block pointing to your document root with an AllowOverride directive within it. Add the following block of text inside the VirtualHost block in your configuration file, being sure to use the correct web root directory:

要允许.htaccess文件,您需要添加一个指向文档根Directory块,其中包含AllowOverride指令。 在配置文件的VirtualHost块内添加以下文本块,确保使用正确的Web根目录:

/etc/apache2/sites-available/wordpress.conf
/etc/apache2/sites-available/wordpress.conf
<Directory /var/www/wordpress/>
    AllowOverride All
</Directory>

When you are finished, save and close the file.

完成后,保存并关闭文件。

Next, enable the rewrite module in order to utilize the WordPress permalink feature:

接下来,启用rewrite模块以利用WordPress永久链接功能:

  • sudo a2enmod rewrite

    sudo a2enmod重写

Before implementing the changes you’ve made, check to make sure that you haven’t made any syntax errors:

在实施所做的更改之前,请检查并确保没有发生任何语法错误:

  • sudo apache2ctl configtest

    须藤apache2ctl configtest

If your configuration file’s syntax is correct, you’ll see the following in your output:

如果配置文件的语法正确,那么您将在输出中看到以下内容:


   
   
Output
Syntax OK

If this command reports any errors, go back and check that you haven’t made any syntax errors in your configuration file. Otherwise, restart Apache to implement the changes:

如果此命令报告任何错误,请返回并检查您的配置文件中是否没有语法错误。 否则,请重新启动Apache以实施更改:

  • sudo systemctl restart apache2

    sudo systemctl重新启动apache2

Next, we will download and set up WordPress itself.

接下来,我们将下载并设置WordPress本身。

第4步-下载WordPress (Step 4 — Downloading WordPress)

Now that your server software is configured, you can download and set up WordPress. For security reasons in particular, it is always recommended to get the latest version of WordPress directly from their site.

现在您的服务器软件已配置完毕,您可以下载并设置WordPress。 特别是出于安全原因,始终建议直接从其站点获取最新版本的WordPress。

Note: We will use curl to download WordPress, but this program may not be installed by default on your Debian server. To install it, run:

注意:我们将使用curl下载WordPress,但默认情况下可能未在您的Debian服务器上安装此程序。 要安装它,请运行:

  • sudo apt install curl

    sudo apt安装curl

Change into a writable directory and then download the compressed release by typing:

切换到可写目录,然后通过键入以下命令下载压缩版本:

  • cd /tmp

    cd / tmp
  • curl -O https://wordpress.org/latest.tar.gz

    curl -O https://wordpress.org/latest.tar.gz

Extract the compressed file to create the WordPress directory structure:

解压缩压缩文件以创建WordPress目录结构:

  • tar xzvf latest.tar.gz

    tar xzvf Latest.tar.gz

We will move these files into our document root momentarily. Before we do, though, add a dummy .htaccess file so that this will be available for WordPress to use later.

我们将这些文件暂时移到我们的文档根目录中。 不过,在执行此操作之前,请添加一个虚拟.htaccess文件,以便WordPress可以稍后使用它。

Create the file by typing:

通过键入以下内容来创建文件:

  • touch /tmp/wordpress/.htaccess

    触摸/tmp/wordpress/.htaccess

Then copy over the sample configuration file to the filename that WordPress actually reads:

然后将示例配置文件复制到WordPress实际读取的文件名:

  • cp /tmp/wordpress/wp-config-sample.php /tmp/wordpress/wp-config.php

    cp /tmp/wordpress/wp-config-sample.php /tmp/wordpress/wp-config.php

Additionally, create the upgrade directory so that WordPress won’t run into permissions issues when trying to do this on its own following an update to its software:

此外,创建upgrade目录,以使WordPress在软件更新后尝试自行执行此操作时,不会遇到权限问题:

  • mkdir /tmp/wordpress/wp-content/upgrade

    mkdir / tmp / wordpress / wp-content / upgrade

Then, copy the entire contents of the directory into your document root. Notice that the following command includes a dot at the end of the source directory to indicate that everything within the directory should be copied, including hidden files (like the .htaccess file you created):

然后,将目录的全部内容复制到文档根目录中。 请注意,以下命令在源目录的末尾包含一个点,指示应复制目录中的所有内容,包括隐藏文件(如您创建的.htaccess文件):

  • sudo cp -a /tmp/wordpress/. /var/www/wordpress

    须藤cp -a / tmp / wordpress /。 / var / www / wordpress

With that, you’ve successfully installed WordPress onto your web server and performed some of the initial configuration steps. Next, we’ll discuss some further configuration changes that will give WordPress the privileges it needs to function as well as access to the MariaDB database and user account you created previously.

这样,您就成功地将WordPress安装到Web服务器上并执行了一些初始配置步骤。 接下来,我们将讨论一些进一步的配置更改,这些更改将为WordPress提供其运行所需的特权以及对先前创建的MariaDB数据库和用户帐户的访问权限。

第5步-配置WordPress目录 (Step 5 — Configuring the WordPress Directory)

Before we can go through the web-based setup process for WordPress, we need to adjust some items in our WordPress directory.

在我们完成针对WordPress的基于Web的设置过程之前,我们需要调整WordPress目录中的某些项目。

Start by giving ownership of all the files to the www-data user and group. This is the user that the Apache web server runs as, and Apache will need to be able to read and write WordPress files in order to serve the website and perform automatic updates.

首先,将所有文件的所有权提供给www-data用户和组。 这是运行Apache Web服务器的用户,Apache必须能够读写WordPress文件才能为网站提供服务并执行自动更新。

Update the ownership with chown:

chown更新所有权:

  • sudo chown -R www-data:www-data /var/www/wordpress

    须藤chown -R www-data:www-data / var / www / wordpress

Next we will run two find commands to set the correct permissions on the WordPress directories and files:

接下来,我们将运行两个find命令来设置WordPress目录和文件的正确权限:

  • sudo find /var/www/wordpress/ -type d -exec chmod 750 {} \;

    sudo查找/ var / www / wordpress / -type d -exec chmod 750 {} \;

  • sudo find /var/www/wordpress/ -type f -exec chmod 640 {} \;

    sudo查找/ var / www / wordpress / -type f -exec chmod 640 {} \;

These should be a reasonable permissions set to start with, although some plugins and procedures might require additional tweaks.

尽管某些插件和过程可能需要进行其他调整,但这些应该是一个合理的权限设置。

Following this, you will need to make some changes to the main WordPress configuration file.

之后,您将需要对主WordPress配置文件进行一些更改。

When you open the file, your first objective will be to adjust some secret keys to provide some security for your installation. WordPress provides a secure generator for these values so that you do not have to try to come up with good values on your own. These are only used internally, so it won’t hurt usability to have complex, secure values here.

打开文件时,您的首要目标是调整一些秘密密钥,以为安装提供一些安全性。 WordPress为这些值提供了安全的生成器,因此您不必自己尝试提出好的值。 这些仅在内部使用,因此在这里拥有复杂,安全的值不会损害可用性。

To grab secure values from the WordPress secret key generator, type:

要从WordPress密钥生成器获取安全值,请输入:

  • curl -s https://api.wordpress.org/secret-key/1.1/salt/

    curl -s https://api.wordpress.org/secret-key/1.1/salt/

You will get back unique values that look something like this:

您将获得看起来像这样的唯一值:

Warning! It is important that you request unique values each time. Do NOT copy the values shown below!

警告! 每次都要求唯一值很重要。 不要复制下面所示的值!


   
   
Output
define('AUTH_KEY', '1jl/vqfs<XhdXoAPz9 DO NOT COPY THESE VALUES c_j{iwqD^<+c9.k<J@4H'); define('SECURE_AUTH_KEY', 'E2N-h2]Dcvp+aS/p7X DO NOT COPY THESE VALUES {Ka(f;rv?Pxf})CgLi-3'); define('LOGGED_IN_KEY', 'W(50,{W^,OPB%PB<JF DO NOT COPY THESE VALUES 2;y&,2m%3]R6DUth[;88'); define('NONCE_KEY', 'll,4UC)7ua+8<!4VM+ DO NOT COPY THESE VALUES #`DXF+[$atzM7 o^-C7g'); define('AUTH_SALT', 'koMrurzOA+|L_lG}kf DO NOT COPY THESE VALUES 07VC*Lj*lD&?3w!BT#-'); define('SECURE_AUTH_SALT', 'p32*p,]z%LZ+pAu:VY DO NOT COPY THESE VALUES C-?y+K0DK_+F|0h{!_xY'); define('LOGGED_IN_SALT', 'i^/G2W7!-1H2OQ+t$3 DO NOT COPY THESE VALUES t6**bRVFSD[Hi])-qS`|'); define('NONCE_SALT', 'Q6]U:K?j4L%Z]}h^q7 DO NOT COPY THESE VALUES 1% ^qUswWgn+6&xqHN&%');

These are configuration lines that you will paste directly into your configuration file to set secure keys. Copy the output you received to your clipboard, and then open the WordPress configuration file located in your document root:

这些是配置行,您将直接将其粘贴到配置文件中以设置安全密钥。 将收到的输出复制到剪贴板,然后打开文档根目录中的WordPress配置文件:

  • sudo nano /var/www/wordpress/wp-config.php

    须藤纳米/ var / www / wordpress /wp-config.php

Find the section that contains the dummy values for those settings. It will look something like this:

找到包含那些设置的虚拟值的部分。 它看起来像这样:

/var/www/wordpress/wp-config.php
/var/www/wordpress/wp-config.php
. . .

define('AUTH_KEY',         'put your unique phrase here');
define('SECURE_AUTH_KEY',  'put your unique phrase here');
define('LOGGED_IN_KEY',    'put your unique phrase here');
define('NONCE_KEY',        'put your unique phrase here');
define('AUTH_SALT',        'put your unique phrase here');
define('SECURE_AUTH_SALT', 'put your unique phrase here');
define('LOGGED_IN_SALT',   'put your unique phrase here');
define('NONCE_SALT',       'put your unique phrase here');

. . .

Delete these lines and paste in the values you copied from the command line:

删除这些行并粘贴从命令行复制的值:

/var/www/wordpress/wp-config.php
/var/www/wordpress/wp-config.php
. . .

define('AUTH_KEY',         'VALUES COPIED FROM THE COMMAND LINE');
define('SECURE_AUTH_KEY',  'VALUES COPIED FROM THE COMMAND LINE');
define('LOGGED_IN_KEY',    'VALUES COPIED FROM THE COMMAND LINE');
define('NONCE_KEY',        'VALUES COPIED FROM THE COMMAND LINE');
define('AUTH_SALT',        'VALUES COPIED FROM THE COMMAND LINE');
define('SECURE_AUTH_SALT', 'VALUES COPIED FROM THE COMMAND LINE');
define('LOGGED_IN_SALT',   'VALUES COPIED FROM THE COMMAND LINE');
define('NONCE_SALT',       'VALUES COPIED FROM THE COMMAND LINE');

. . .

Next, modify the database connection settings at the top of the file. You need to adjust the database name, the database user, and the associated password that you’ve configured within MariaDB.

接下来,修改文件顶部的数据库连接设置。 您需要调整数据库名称,数据库用户以及在MariaDB中配置的关联密码。

The other change you must make is to set the method that WordPress should use to write to the filesystem. Since we’ve given the web server permission to write where it needs to, we can explicitly set the filesystem method to “direct”. Failure to set this with our current settings would result in WordPress prompting for FTP credentials when you perform certain actions.

您还必须进行的另一项更改是设置WordPress用于写入文件系统的方法。 由于我们已授予Web服务器写入所需位置的权限,因此我们可以将文件系统方法显式设置为“ direct”。 如果未使用我们当前的设置进行设置,则当您执行某些操作时,WordPress会提示您输入FTP凭据。

This setting can be added below the database connection settings, or anywhere else in the file:

此设置可以添加到数据库连接设置下面,或文件中的其他任何位置:

/var/www/wordpress/wp-config.php
/var/www/wordpress/wp-config.php
. . .

define('DB_NAME', 'wordpress');

/** MySQL database username */
define('DB_USER', 'wordpress_user');

/** MySQL database password */
define('DB_PASSWORD', 'password');

. . .

define('FS_METHOD', 'direct');

Save and close the file when you are finished. Finally, you can finish installing and configuring WordPress by accessing it through your web browser.

完成后保存并关闭文件。 最后,您可以通过Web浏览器访问WordPress,从而完成安装和配置WordPress。

步骤6 —通过Web界面完成安装 (Step 6 — Completing the Installation Through the Web Interface)

Now that the server configuration is complete, we can complete the installation through the web interface.

现在服务器配置已完成,我们可以通过Web界面完成安装。

In your web browser, navigate to your server’s domain name or public IP address:

在Web浏览器中,导航到服务器的域名或公共IP地址:

https://server_domain_or_IP

Select the language you would like to use:

选择您要使用的语言:

Next, you will come to the main setup page. Select a name for your WordPress site and choose a username (it is recommended not to choose something like “admin” for security purposes). A strong password is generated automatically. Save this password or select an alternative strong password.

接下来,您将进入主设置页面。 为您的WordPress网站选择一个名称,然后选择一个用户名(出于安全考虑,建议不要选择“ admin”之类的名称)。 系统会自动生成一个强密码。 保存此密码或选择其他强密码。

Enter your email address and select whether you want to discourage search engines from indexing your site:

输入您的电子邮件地址,然后选择是否要阻止搜索引擎将您的网站编入索引:

When ready, click the Install WordPress button. You’ll be taken to a page that prompts you to log in:

准备就绪后,单击“ 安装WordPress”按钮。 您将被带到一个页面,提示您登录:

Once you log in, you will be taken to the WordPress administration dashboard:

登录后,您将被带到WordPress管理仪表板:

From the dashboard, you can begin making changes to your site’s theme and publishing content.

在仪表板上,您可以开始更改网站的主题并发布内容。

结论 (Conclusion)

WordPress should be installed and ready to use! Some common next steps are to choose the permalinks setting for your posts (can be found in Settings > Permalinks) or to select a new theme (in Appearance > Themes). If this is your first time using WordPress, explore the interface a bit to get acquainted with your new CMS, or check the First Steps with WordPress guide on their official documentation.

WordPress应该已安装并可以使用! 接下来的一些常见步骤是选择帖子的永久链接设置(可以在Settings > Permalinks找到)或选择新主题(在“ Appearance > Themes )。 如果这是您第一次使用WordPress,请稍微探索一下界面以熟悉您的新CMS,或者查看其官方文档中的WordPress入门指南。

翻译自: https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-lamp-on-debian-10

debian 10 安装

  • 1
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值