In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Cloud Computing Learning Route course syllabus Courseware: deployment of online School system edusoho
=
Basic environment
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 environment
[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 Universe' / 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
[optional]
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.