lamp + 然之协同
2 yum -y install httpd* mariadb* php php-mysql 安装环境
3 systemctl start httpd
5 vim /etc/httpd/conf/httpd.conf { index.php AddType application/x-http-php .php }
6 vim /var/www/html/index.php 编写测试页面
<?php
phpinfo();
?>
7 systemctl restart httpd
9 systemctl stop firewalld 关防火墙
10 setenforce 0 关selinux
11 cd /var/www/html/ 发布目录
15 yum -y install lrzsz 安装lrzsz 拉包用
18 yum -y install unzip 解压工具
rz 下载好的ranzhi.4.0
20 unzip ranzhi.4.0.zip 解压
21 ls
23 mysqladmin -uroot password 123 配置数据库
24 systemctl start mariadb 启动数据库
测试 http://192.168.238.129/ranzhi/www/sys/index.php