云计算学习路线教程大纲课件:部署网校系统edusoho

云计算学习路线教程大纲课件:部署网校系统 edusoho

创新互联建站是一家集网站建设,南岳企业网站建设,南岳品牌网站建设,网站定制,南岳网站建设报价,网络营销,网络优化,南岳网站推广为一体的创新建站企业,帮助传统企业提升企业形象加强企业竞争力。可充分满足这一群体相比中小企业更为丰富、高端、多元的互联网需求。同时我们时刻保持专业、时尚、前沿,时刻以成就客户成长自我,坚持不断学习、思考、沉淀、净化自己,让我们为更多的企业打造出实用型网站。

========================================================

基础环境

update:

[root@aliyun ~]# yum update

[root@aliyun ~]# reboot

epel:

[root@aliyun ~]# yum -y install epel-release

env:

[root@aliyun ~]# yum -y install bash-completion

[root@aliyun ~]# getenforce

Disabled

[root@aliyun ~]# systemctl restart firewalld

[root@aliyun ~]# systemctl enable firewalld.service

Created symlink from /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service to /usr/lib/systemd/system/firewalld.service.

Created symlink from /etc/systemd/system/basic.target.wants/firewalld.service to /usr/lib/systemd/system/firewalld.service.

[root@aliyun ~]# firewall-cmd --permanent --add-service=http

success

[root@aliyun ~]# firewall-cmd --permanent --add-service=https

success

[root@aliyun ~]# firewall-cmd --permanent --add-port=8080/tcp

success

[root@aliyun ~]# firewall-cmd --reload

success

[root@aliyun ~]# firewall-cmd --permanent --list-all

LAMP环境

[root@aliyun ~]# yum -y install httpd

[root@aliyun ~]# yum -y install php php-cli php-curl php-fpm php-intl php-mcrypt php-MySQL php-gd php-mbstring php-xml php-dom

[root@aliyun ~]# yum -y install mariadb-server mariadb

[root@aliyun ~]# rpm -ivh http://dl.fedoraproject.org/pub/epel/7/x86_64/m/mod_xsendfile-0.12-10.el7.x86_64.rpm

apache:

[root@aliyun ~]# rm -rf /etc/httpd/conf.d/welcome.conf

[root@aliyun ~]# sed -ri 's/Listen 80/Listen 8080/' /etc/httpd/conf/httpd.conf

[root@aliyun ~]# systemctl start httpd

[root@aliyun ~]# systemctl enable httpd

Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /usr/lib/systemd/system/httpd.service.

[root@aliyun ~]# echo "tianyun test" > /var/www/html/index.html

[root@aliyun ~]# ss -an |grep :8080

tcp LISTEN 0 128 :8080 :*

mysql:

[root@aliyun ~]# systemctl start mariadb

[root@aliyun ~]# systemctl enable mariadb

Created symlink from /etc/systemd/system/multi-user.target.wants/mariadb.service to /usr/lib/systemd/system/mariadb.service.

[root@aliyun ~]# mysql_secure_installation

[root@aliyun ~]# mysql -uroot -p

MariaDB [(none)]> create database edusoho;

Query OK, 1 row affected (0.00 sec)

MariaDB [(none)]> show databases;

+--------------------+

| Database |

+--------------------+

| information_schema |

| edusoho |

| mysql |

| performance_schema |

+--------------------+

4 rows in set (0.00 sec)

php:

[root@aliyun ~]# vim /etc/php.ini

post_max_size = 1024M

memory_limit = 1024M

upload_max_filesize = 1024M

date.timezone = Asia/ShangHai

[可选]


网站标题:云计算学习路线教程大纲课件:部署网校系统edusoho
分享网址:http://scyanting.com/article/pgjjpc.html