<!-- wp:heading -->
<h2>1.安装宝塔面板</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>官网:https://www.bt.cn/</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3> 1.安装screen</h3>
<!-- /wp:heading -->

<!-- wp:quote -->

<p>yum install screen -y</p><p>screen</p><p></p>
<!-- /wp:quote --> <!-- wp:heading {"level":3} --> <h3>2.安装面板</h3> <!-- /wp:heading --> <!-- wp:quote -->
<p>yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && bash install.sh</p>
<!-- /wp:quote --> <!-- wp:image {"id":297} --> <figure class="wp-block-image"><figcaption>输入y后等待就好(大约3分钟) </figcaption></figure> <!-- /wp:image --> <!-- wp:image {"id":298} --> <figure class="wp-block-image"><figcaption>然后将地址输入浏览器,账号密码登陆就行</figcaption></figure> <!-- /wp:image --> <!-- wp:heading {"level":3} --> <h3>3.通过面板安装lnmp环境</h3> <!-- /wp:heading --> <!-- wp:image {"id":301,"width":582,"height":392} --> <figure class="wp-block-image is-resized"><figcaption>点击首页就会出现推荐安装、选择一键安装lnmp环境就行(大概15分钟)</figcaption></figure> <!-- /wp:image --> <!-- wp:heading --> <h2>2.安装wordpress</h2> <!-- /wp:heading --> <!-- wp:image {"id":302} --> <figure class="wp-block-image"></figure> <!-- /wp:image --> <!-- wp:image {"id":303} --> <figure class="wp-block-image"><figcaption>域名一行写一个,数据库等下单独添加(自己修改常用密码)</figcaption></figure> <!-- /wp:image --> <!-- wp:image {"id":304} --> <figure class="wp-block-image"></figure> <!-- /wp:image --> <!-- wp:paragraph --> <p>这个时候去访问域名已经能看见(自己提前做好域名的解析):</p> <!-- /wp:paragraph --> <!-- wp:image {"id":305} --> <figure class="wp-block-image"></figure> <!-- /wp:image --> <!-- wp:paragraph --> <p>通过winscp连接,将wordpress.zip丢入网站目录,删掉index.html</p> <!-- /wp:paragraph --> <!-- wp:image {"id":308} --> <figure class="wp-block-image"></figure> <!-- /wp:image --> <!-- wp:paragraph --> <p>通过xshell解压:</p> <!-- /wp:paragraph --> <!-- wp:quote -->
<p>cd /www/wwwroot/lzumi.cn/ #最终目录自己修改 </p><p>unzip wordpress.zip </p><p>rm -f wordpress.zip</p>
<!-- /wp:quote --> <!-- wp:paragraph --> <p>接着浏览器访问网站:</p> <!-- /wp:paragraph --> <!-- wp:image {"id":309} --> <figure class="wp-block-image"></figure> <!-- /wp:image --> <!-- wp:image {"id":310} --> <figure class="wp-block-image"><figcaption>填入数据库名,账户密码。填完一路OK就行了</figcaption></figure> <!-- /wp:image --> <!-- wp:paragraph {"textColor":"pale-pink","backgroundColor":"very-light-gray"} --> <p class="has-text-color has-background has-pale-pink-color has-very-light-gray-background-color">到此、wordpress就算安装完成了。</p> <!-- /wp:paragraph --> <!-- wp:separator -->
<!-- /wp:separator --> <!-- wp:heading --> <h2>3.安装Memory主题</h2> <!-- /wp:heading --> <!-- wp:paragraph --> <p>下载主题包:https://shawnzeng.com/wordpress-theme-memory.html (原网站) </p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p>网盘:https://izumii.pipipan.com/fs/18217218-337520007 </p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p>把主题包上传到themes目录</p> <!-- /wp:paragraph --> <!-- wp:image {"id":317} --> <figure class="wp-block-image"></figure> <!-- /wp:image --> <!-- wp:quote -->
<p>cd /www/wwwroot/lzumi.cn/wp-content/themes/ </p><p>unzip Memory.zip</p>
<!-- /wp:quote --> <!-- wp:image {"id":318} --> <figure class="wp-block-image"><figcaption>然后去控制面板启用就好了</figcaption></figure> <!-- /wp:image --> <!-- wp:heading --> <h2>4.FTP问题</h2> <!-- /wp:heading --> <!-- wp:paragraph --> <p>如果ftp登陆出现故障:</p> <!-- /wp:paragraph --> <!-- wp:image {"id":319} --> <figure class="wp-block-image"><figcaption>进入软件管理,点设置</figcaption></figure> <!-- /wp:image --> <!-- wp:paragraph --> <p>搜索:"ForcePassiveIP" ,将ip改为你主机的ip,去掉#注释,重启服务</p> <!-- /wp:paragraph --> <!-- wp:image {"id":320} --> <figure class="wp-block-image"></figure> <!-- /wp:image -->
最后修改:2020 年 03 月 04 日 09 : 13 PM
如果觉得我的文章对你有用,请随意赞赏