1. 先将下载到的Xiuno BBS安装包,并拖到Ubuntu文档中解压并上传到网站的根目录。
a.安装MySQL和PHP的环境
输入以下安装命令:
sudo apt install mysql-sever
sudo apt install php
b.安转PHP和MySQL
输入以下安转命令:
sudo apt install php-mbstring
sudo apt install php-mysql
systemctl restart apache2
2.首先在火狐里面访问你的网站的域名,即设置里面中的IP地址

a.访问后,出现下面界面,点击下一步

b.点击协议继续安装

c.如果前面安装过程都已完成,这里会显示通过

d.接下来跳转这个界面,输入密码

注意:这里的密码是系统自动生成的,需要我们去更改后进入,否则可能会出现这个问题:
连接数据库服务器失败SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost' (errno: 1698)
解决这个问题:
首先在终端中输入sudo gedit /etc/mysql/debian.cnf

输入自己的密码后会弹出一个文档,找到里面自动生成的密码并复制它

接下来打开终端输入mysql -u debian-sys-maint -p
输入刚刚复制的密码

然后一行一个分号的输入以下代码去进行修改那个随机密码,按下面的代码修改后的密码是123456
use mysql;
select user,plugin from mysql.user;
alter user 'root'@'localhost' identified with mysql_native_password by '123456';
flush privileges;
exit;
执行完后出现bye即完成

最后,回到数据库管理面板哪里,输入修改后的密码,点击下一步,即完成

如果出现这个问题,则回头检查自己的MySQL和PHP是否已经安装好。
