美文网首页
osclass的lamp安装

osclass的lamp安装

作者: zwb_jianshu | 来源:发表于2019-08-02 18:38 被阅读0次

一、软件简介
二、安装环境

cat /etc/redhat-release 
getenforce 
systemctl status firewalld.service 
systemctl status iptables.service 
ifconfig  eth0

三、安装软件包并配置数据库,下载php、apache、mariadb的包,执行以下命令。

rpm -Uvh https://mirror.webtatic.com/yum/el7/epel-release.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm                         
yum install httpd mariadb-server mariadb  php56w php56w-xml  php56w-gd php56w-mysql php56w-mbstring -y 
systemctl restart  mariadb.service
systemctl enable  mariadb.service
systemctl restart httpd
systemctl enable  httpd
mysql_secure_installation
回车
n
一路y
create database osclass character set utf8 collate utf8_bin;
grant all privileges on osclass.* to osclass@localhost identified by 'osclass';

二、上传osclass的安装包到/var/www/html/osclass,解压并授权目录

unzip    osclass.3.6.1.zip
chown -R apache.apache  /var/www/html/

三、浏览器访问:http://10.0.0.75/osclass

image.png image.png image.png image.png image.png image.png image.png

相关文章

网友评论

      本文标题:osclass的lamp安装

      本文链接:https://www.haomeiwen.com/subject/anrrdctx.html