当前位置:网站首页>谁不想要一个自己的博客网站呢 - 搭建博客网站wordpress
谁不想要一个自己的博客网站呢 - 搭建博客网站wordpress
2022-06-30 05:51:00 【余生大大】
前言
谁不想要个自己炫酷的博客网站呢,使用云服务器搭建一个wordpress,想要搭建wordpress需求前置环境LNMP。
LNMP 是 Linux、Nginx、MariaDB 和 PHP 的缩写
安装系统
本文使用的腾讯云的轻量级应用服务器,将服务器重置安装为应用镜像宝塔面板

确认安装后等待一段时间
安装完成后查看应用管理,介绍了怎么访问宝塔面板的页面

根据提供的面板地址将中间的端口改为默认的8888就可以访问宝塔页面了,默认是8888后续可以自己改
在第一次进入宝塔页面是需要登陆的,登陆的账号密码就是上图中教程在服务器内输入命令
sudo /etc/init.d/bt default

执行命令的结果会提供面板地址跟账号密码,如此直接访问面板地址登陆即可,登陆后面板的首页如下

面板安装环境
在刚登陆后会默认推荐让安装LNMP的环境,可以直接选择安装,也可以在左侧菜单栏软件商店里输入LNMP的各个软件进行单个安装,我这里已经安装好了,如下

也可以一键安装java、tomcat、docker、mongodb、redis、gitlab等组件,非常方便

配置网站
选择左侧网站的菜单栏后点击添加站点,按如下图进行环境选择

点击提交后会展示数据库的配置,记下数据库的配置

配置网站参数
点击刚才创建好的网站名称进入配置页,进入伪静态,选择下图两个其中一个保存就行

配置SSL,我已有证书直接输入证书的key和pem

直接访问域名看看是否配置成功

安装wordpress
先下载wordpress的安装包
https://cn.wordpress.org/wordpress-5.9.2-zh_CN.tar.gz
进入网站根目录

将下载的压缩包上传到根目录

双击解压

将解压后的文件夹里的内容都粘贴到根目录

然后再访问域名就可以看到wordpress的配置页面了

配置wordpress
填写我们之前配置好的账号密码

配置网站的信息

配置完成后进行登陆就可以访问了


边栏推荐
- 如何制作CSR(Certificate Signing Request)文件?
- Codeforces B. MEX and Array
- ECS deployment web project
- Stack overflow caused by C # using protobuf stack overflow
- [ansible series] fundamentals 02 module debug
- How does WPS cancel automatic numbering? Four options
- 抓取手机端变体组合思路设想
- Leader: who can use redis expired monitoring to close orders and get out of here!
- Who is promoting the new inflection point of audio and video industry in 2022?
- OSPF - authentication and load balancing summary (including configuration commands)
猜你喜欢

MySQL事物

At the beginning of 2022, people who are ready to change jobs should pay attention to

VLAN access mode

Who is promoting the new inflection point of audio and video industry in 2022?

8 ways to earn passive income

STM32F103 series controlled OLED IIC 4-pin

Codeforces C. Andrew and Stones

What do you think of the deleted chat records? How to restore the deleted chat records on wechat?

1380. lucky numbers in matrices
![[deep learning] data segmentation](/img/16/798881bbee66faa2fb8d9396155010.jpg)
[deep learning] data segmentation
随机推荐
hashlips_ art_ Engine-1.0.6 usage
UE4_ Editor UMG close window cannot destroy UMG immediately
Using lazy < t > in C # to realize singleton mode in WPF
Dynamic programming -- gliding wing of the strange thief Kidd
Leader: who can use redis expired monitoring to close orders and get out of here!
InputStream to inputstreamsource
声网,站在物联网的“土壤”里
C. Divan and bitwise operations
ECS deployment web project
Ultra simple STM32 RTC alarm clock configuration
Use of OpenCL thread algebra library viennacl
Why can transformer break into the CV world and kill CNN?
Sound net, debout dans le "sol" de l'IOT
Basic operations of C language
Stack overflow caused by C # using protobuf stack overflow
[Alibaba cloud] student growth plan answers
二十四、输入输出设备模型(串口/键盘/磁盘/打印机/总线/中断控制器/DMA和GPU)
STM32F103 series controlled OLED IIC 4-pin
Codeforces C. Andrew and Stones
MySQL advanced (Advanced SQL statement)