1.购买服务器(VPS)
网站需要使用VPS(若使用网页空间请关闭此页面)
BandwagonHOST:一款性价比较高的便宜VPS主机,且适合入门级网友学习Linux和建站用途。支持支付宝,九五折优惠码 BWH1ZBPVK
2.进入SSH
在此推荐小白使用XShell
2.1安装宝塔面板
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh
出现以下提示输入“y”进行安装宝塔面板
+---------------------------------------------------------------------- | Bt-WebPanel 5.x FOR CentOS/Redhat/Fedora/Ubuntu/Debian +---------------------------------------------------------------------- | Copyright ? 2015-2017 BT-SOFT(http://www.bt.cn) All rights reserved. +---------------------------------------------------------------------- | The WebPanel URL will be http://SERVER_IP8 when installed. +---------------------------------------------------------------------- --------------------------------------------- Selected download node... Download node: http://xxx.xxx.xxx.xxx --------------------------------------------- Do you want to install Bt-Panel to the /www directory now?(y/n):
安装大约需要5分钟(视VPS性能而定)
Complete! ================================================================== Congratulations! Install succeeded! ================================================================== Bt-Panel: http://xxx.xxx.xxx.xxx8 username: admin password: xxxxxxxx Warning: If you cannot access the panel, release the following port (8888|888|80|443|20|21) in the security group ================================================================== Time consumed: 1 Minute!
宝塔面板已经安装完毕,
登录地址:http://xxx.xxx.xxx.xxx8
账号:admin
密码:xxxxxxxx(安装时随机生成)
3.进入宝塔面板

输入之前SSH中的账号、密码
3.1安装使用环境

如果无特殊需求直接使用LNMP(推荐)一键安装即可
安装大约需要10-20分钟
3.2一键部署WordPress
宝塔面板-首页-软件-宝塔一键部署源码1.0-博客-Wordpress-一键部署



安装完毕,请记住数据库账号资料
4.配置WordPress
4.1打开所设置的域名

4.2登录WordPress网站后台
WordPress安装成功!
效果图

