网站建设论坛(实战项目搭建个人论坛网站)

1.创建服务器ECS centos7.62.安装NGINX,并设置开机启动wget http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm
rpm -ivh nginx-release-centos-7-0.el7.ngx.noarch.rpm
yum -y install nginx
systemctl start nginx3.检查NGINX服务器http://公网IP/4.关闭NGINX服务器systemctl stop nginx5.安装PHP1. 安装Apache服务器、PHPFastCGI管理器yum install -y httpd php php-fpm php-server php-mysql2. 启动httpd和php-fpm服务systemctl start httpdsystemctl start php-fpm3. 配置服务开机启动systemctl enable httpdsystemctl enable php-fpm6.下载Discuz安装包wget http://download.comsenz.com/DiscuzX/3.3/Discuz_X3.3_SC_UTF8.zip##解压#unzip Discuz_X3.3_SC_UTF8.zip##挪到新的路径mv /root/upload/* /var/www/html##修改权限chmod -R 777 /var/www/html7.安装Discuzhttp://公网IP/注意:1.数据库Host选择内网时,保证数据库网段与服务器一致;2.数据库Host选择公网时,服务器也需要有公网连接;8.登录论坛网站,检验是否可以正常发帖

本文出自快速备案,转载时请注明出处及相应链接。

本文永久链接: https://kuaisubeian.cc/40943.html

kuaisubeian