2017年8月14日 星期一

CENTOS 7 上安裝X 學務備忘

=== mariadb

yum -y install mariadb-server mariadb
systemctl start mariadb
systemctl enable mariadb
systemctl status mariadb
systemctl stop mariadb
mysql


=== php
yum -y install php php-mysql php-mbstring php-gd php-mcrypt php-xmlrpc
yum -y install httpd
systemctl start httpd
systemctl enable httpd

=== mysqladmin -u root password '你的密碼'

=== pma4415
=== https://downloads.sourceforge.net/project/webadmin/webmin/1.850/webmin-1.850-1.noarch.rpm?r=http%3A%2F%2Fwebmin.com%2Fdownload.html&ts=1502693261&use_mirror=nchc

chcon -R -t  httpd_sys_content_t /var/www/html/
chcon -R -t  httpd_sys_rw_content_t /var/www/html/utycx/upload

先處理完這些再用原來的script

沒有留言:

張貼留言