By building wordpress blog to learn detailed use of cloud servers

Cloud servers more and more popular, many businesses and individuals all have a cloud from traditional web hosting to migrate the server or hosting Web sites and applications to Tencent cloud , Ali goes on, Baidu cloud cloud servers such as these.

There cloud server advantages compared to traditional servers, many, such as safety, cost, stability, availability, convenience and so on all aspects, we can understand their own Baidu, here I will not say more.

Although the cloud server so many advantages, but it really would use, can be good friends, not a lot of owners, today, the "cloud provided Ali, Tencent cloud 1 fold spike activity of the statue Tuoyun number -9i0i.com "with novice webmasters to build a wordpress blog to learn by using the method detailed cloud servers:

 

First, we start with the purchase of a cloud server, recommended to choose a cloud service provider: Ali cloud, Tencent cloud, cloud Huawei, Baidu cloud, because these big brands let you remove the worries, your website from continuing operations, as shown below:

In the purchase of cloud server, there are regional, CPU, memory, bandwidth, system image these elements should be noted that, generally small sites and personal blog, 1 core / 1G / 1M nuclear or 1 / 2G / 1M configuration to meet If you have already ICP record domain name, we recommended to choose a cloud server domestic area, fast and affordable, if the domain name is not the record, it can only choose overseas regions; the cloud server operating system is recommended to choose linux or ubuntu centos series than windows system is more suitable for the site, and also a smaller footprint.

 

After the server bought, you need to install environmental site needs to run, for the novice, it is strongly recommended pagoda or wdcp, the background is the visual interface, like managing your server operating website background, here to WDCP, for example, to talk about the server environmental installation:

Centos connection need to use putty, as shown below:

在主机名称那里输入你的云服务器IP地址后,直接回车,接下来要求输入服务器的用户名和密码,用户名:root,密码是你在购买云服务器时自己设置的密码,注意:输入密码时默认是不显示任何字符的,你只管输入正确即可,密码输入完回车就可以进入centos系统了,如下图:

接下来的安装需要你略懂linux的操作命令,这方面的知识可以自行百度学习一下

执行以下命令:wget http://dl.wdlinux.cn/lanmp_laster.tar.gz(下载WDCP安装包)

执行以下命令:tar zxvf lanmp_laster.tar.gz(解压安装包)

执行以下命令:sh lanmp.sh(开始WDCP的安装)

从上图我们可以看到,是安装程序要求你选择环境组合,有5个选项,分别代表不同的运行环境,第4项是安装所有服务,第5项是暂不安装,这里我们选择第1项,即apache+php+mysql的运行环境,输入1敲回车;

这个安装时间具体要看你的云服务器运行速度,等待约10分钟左右,就可以看到如上界面 ,表示已经成功安装WDCP;

然后在浏览器输入你服务器IP:8080可以进入WDCP登录界面,默认帐号:admin,默认密码:wdlinux.cn(登录进后台要记得修改默认密码哦,不然你的一切尽在别人的掌握之中​),如下图:

此时你的云服务器环境已经安装好了,如果你要创建网站,就在WDCP后台的“网站管理”菜单创建网站,如下图:

在相应的地方填写你的网站域名、数据库名、数据库用户名、密码、FTP用户名、FTP密码,WDCP可以为你同步开通此网站的数据库帐号以及FTP帐号;

接下来用FTP软件把wordpress程序文件上传网站根目录,记住根目录是public_html这个目录,就是说要把wordpress程序上传到这个目录里面去,千万不传在public_html外面,否则运行不了;如下图:

上传完成后,在浏览器输入你的网站域名,即可开始安装你的wordpress博客,如下图:

Wordpress installation process will ask you to fill in the database name, user name, password, and database host address these items, database name, user name, password three is when you just create your own website in WDCP background settings, fill in the corresponding up to, keep the default address of the database host to localhost, as shown below:

Fill up after clicking "Submit" to enter the next step to write a wordpress administrator account and password, and manage mail, fill in the correspondence submitted to complete wordpress installed, as shown below:

At this point, your wordpress blog successfully completed the installation, through this blog is opened, we can learn to cloud server created from purchase to connect to the environment install configuration, to the site, the program file upload, site installation and so the whole process, other sites Setup is almost related to this process, we may be able to grasp a lot of practice

Guess you like

Origin www.cnblogs.com/zuntop/p/11241690.html