How to build a novice WordPress blog with Ali Cloud Linux server?

Foreword

After seeing on the web but do not know a lot of people bought Ali cloud server how to build a WordPress blog, looked at Ali cloud out of the WordPress tutorial, I think the difficulty for the novice or too big, so I wrote based on his own experience of siting an article, use Ali cloud server ECS + + WordPress admin panel pagoda way to build, keep it simple and easy to understand, hoping to help friends in need.

Highest ¥ 1888 cloud offering universal vouchers

table of Contents

  1. Buy Ali cloud server ECS
  2. Buy domain name
  3. For the record
  4. DNS
  5. Installing the Control Panel
  6. Install WordPress
  7. WordPress database settings, user information

Steps

A. Purchase ECS Ali cloud cloud server

  1. If you are a student, you can buy a student dedicated server, only 9.9 yuan a month, the configuration set up a WordPress more than enough.

    How to build a novice WordPress blog with Ali cloud server?

    Note Oh, you want to switch to the cloud server ECS, rather than a lightweight server.

  2. If you are not a student, you can buy through the following links to choose principle is: there are special offers special offers to buy, no special offers to buy the minimum configuration, try to buy close to the location of your website server target population. 

    How to build a novice WordPress blog with Ali cloud server?

    PS: for the first time to buy is recommended that 3-year 800 the most affordable package

  3. Note that the operating system must select the CentOS. If you do not know how to choose, use the latest version of CentOS it.
    PS: If you think I'm this tutorial useful for you, you can receive my aliyun vouchers to buy, you can get some discount, I can get a little commission, thank you.
    Click to receive vouchers to buy ECS Ali cloud server

     

    How to build a novice WordPress blog with Ali cloud server?

    Vouchers

II. Buy domain names

Domain Name Suggestion or buy cloud Ali, Ali cloud can better work with the ECS cloud server.

III. For the record

  1. Ali goes back into the open record management> Application filing service number, and then click the application behind the cloud server instance you buy.

    How to build a novice WordPress blog with Ali cloud server?

  2. In the pop-up message box, click OK.

    How to build a novice WordPress blog with Ali cloud server?

  3. After the application is successful, the page automatically jump to the page number management service record, display and record number ECS instance binding.

    How to build a novice WordPress blog with Ali cloud server?

  4. 进入阿里云备案系统开始备案:https://beian.aliyun.com如何有什么不懂的地方,可以看备案视频指导。

    How to build a novice WordPress blog with Ali cloud server?

    image

四. 域名解析

 

主机IP可以进入你的阿里云控制台, 点击左侧导航>云服务器 ECS > 实例,查看你购买的实例公网IP。

五. 安装控制面板

  1. 安装控制面板之前,我们需要先在自己电脑上安装xsell。XShell下载:

    windows版: http://rj.baidu.com/soft/detail/15201.html?ald

    如果你的电脑是mac不能安装XShell建议用自带的终端登录(IP和密码看本章节第2点),具体参考下面这篇文章:https://jingyan.baidu.com/article/f71d6037c761cb1ab741d140.html

登录后怎么用代码操作 linux服务器可以参考下文(从本章节第6点开始看),是通用的。

  1. 然后从阿里云控制台拿到自己的公网IP和登录密码。
    1. 公网IP前面提过不再重复
    2. 登录密码就是之前购买服务器的时候设置的那个,如果忘了,可以阅读下文重设:
      https://help.aliyun.com/document_detail/25439.html
  2. 打开XShell新建会话,在主机那输入公网IP,端口号22不变。

    How to build a novice WordPress blog with Ali cloud server?

  3. 点击用户身份验证,用户名为root,输入自己的登录密码,点击确定。

    How to build a novice WordPress blog with Ali cloud server?

  4. 选择刚建好的会话,点击连接。

    How to build a novice WordPress blog with Ali cloud server?

  5. 当黑色界面上出现[root@*******(每台服务器都不一样) ~]#的时候就表示连接成功了。

    How to build a novice WordPress blog with Ali cloud server?

  6. 在[root@******* ~]#后面复制粘贴下面命令,并按回车后,就开始自动下载并安装面板了。
    yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh 
    

    How to build a novice WordPress blog with Ali cloud server?

  7. 安装过程中会问你两个问题,第一个问题是选择下载节点,由于我们的服务器是在中国,所以输入2,然后回车.接着会问第二个问题是否马上安装,输入y,再回车后就开始安装了。

    How to build a novice WordPress blog with Ali cloud server?

  8. 等待2分钟左右就安装成功了,用记事本之类的东西保存一下登录网址,账号,密码。

    How to build a novice WordPress blog with Ali cloud server?

10.现在需要到阿里云后台安全组里面放行8888端口,然后才能访问宝塔面板。
具体操作如下:
https://www.bt.cn/bbs/thread-2897-1-1.html

  1. 在浏览器上打开网址,输入账号,密码,进入宝塔管理面板。

    How to build a novice WordPress blog with Ali cloud server?

  2. 第一次进入面板,会让你选择安装套件,面板推荐的LNMP不好用,还是选择LAMP吧,虽然内存耗用高点,但是更适合WordPress博客,比较稳定,不容易出错。默认软件勾选不用改,点击一键安装就好。这些套件安装会有点久,大概需要半个小时,而且安装完才能进入下一步,所有干其他事等待下吧。

    How to build a novice WordPress blog with Ali cloud server?

六. 安装WordPress

  1. 套件安装完成后,点击网站模块的“添加”。

    How to build a novice WordPress blog with Ali cloud server?

  2. 填写网站基本配置信息。
    1. 域名建议填两个,带www的和不带的的,并且先填带www的。
    2. FTP选择创建,用户名和密码可以默认,也可以自己修改。
    3. 数据库选择MySQL,数据库格式utf-8不变,用户名和密码可以默认,也可以自己修改。
    4. PHP版本默认就好。
    5. 最后点击提交。

      How to build a novice WordPress blog with Ali cloud server?

  3. 下载并重新压缩WordPress安装包。
    1. 到WordPress官网:https://cn.wordpress.org/下载最新的安装压缩包。
    2. 打开安装压缩包后我们可以发现,里面不是直接包含WordPress文件,而是一个文件夹,这样子是不行的,因为所有的WordPress文件要放在网站根目录上,所以我们要把它解压出来,把里面的文件重新压缩。

      How to build a novice WordPress blog with Ali cloud server?

    3. 全选WordPress文件夹里面的所有文件,右键添加到压缩文件,选择ZIP格式,点击确定压缩。

      How to build a novice WordPress blog with Ali cloud server?

      How to build a novice WordPress blog with Ali cloud server?

    4. If you do not bother, I re-compression can also download the installation package good, but note that after logging site to be upgraded.
      Links: http://pan.baidu.com/s/1dFf6ach 
      Password: ie3u
  4. WordPress installation package to upload the site root folder. There are two ways to upload files:

    One is to use FileZilla Client to upload, specific operations of interest can Baidu under (reminder: FTP information can click on the left-hand navigation panel FTP pagoda view).

    Another comes with a pagoda on the panel file management tool to upload, speed pretty fast, recommended for novice in this way it is relatively simple.

    1. Click the file module pagoda in the left navigation panel, then click on the title for your domain folder.

      How to build a novice WordPress blog with Ali cloud server?

    2. Click Upload.

      How to build a novice WordPress blog with Ali cloud server?

    3. Click Add File, locate WordPress just re-compressed archive, click Open.

      How to build a novice WordPress blog with Ali cloud server?

    4. Click Start upload, wait for the display "has been uploaded successfully ', click Close.

      How to build a novice WordPress blog with Ali cloud server?

      How to build a novice WordPress blog with Ali cloud server?

  5. Click WordPress.zip file right click unzip, click on the pop-up window to continue decompression, wait extracted.

    How to build a novice WordPress blog with Ali cloud server?

    How to build a novice WordPress blog with Ali cloud server?

    How to build a novice WordPress blog with Ali cloud server?

VII. Set WordPress database, user information

  1. Access your domain name in the browser, click Start.

    How to build a novice WordPress blog with Ali cloud server?

  2. Enter the database name, user name and password, which you can click on the database module in the left navigation panel to view the pagoda. The following tables and the database host prefix does not change.

    How to build a novice WordPress blog with Ali cloud server?

  3. Fill in the site title, set up a user name and password, enter the mailbox, do not check the "recommended search engines do not index this site" and finally click Install WordPress.

    How to build a novice WordPress blog with Ali cloud server?

  4. This has been successfully installed, you can click log into the blog.

    How to build a novice WordPress blog with Ali cloud server?

    How to build a novice WordPress blog with Ali cloud server?

Original: https://www.qiyuwg.com/21478.html

Guess you like

Origin blog.csdn.net/qiyuwg/article/details/89857702