Warning: Use of undefined constant ‘classic_options’ - assumed '‘classic_options’' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.itisxx.com/wordpress/wp-content/themes/fullstack/single.php on line 4

Warning: Use of undefined constant ‘notice’ - assumed '‘notice’' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.itisxx.com/wordpress/wp-content/themes/fullstack/single.php on line 5
首页 > 技术 > centos 6.9 安装后的一些配置

centos 6.9 安装后的一些配置

技术 2018-1-24 13:39:58 20℃ 评论已关闭

yum update

yum upgrade

yum install kernel kernel-devel kernel-headers gcc perl

mount /dev/cdrom /mnt

sh ./VBoxLinuxAdditions.run

设置自动挂载

vi /etc/rc.d/rc.local

mount -t vboxsf share /mnt

yum install gd png

rpm -Uvh glibc* (升级GLIBC到2.15)

 

https://webtatic.com/

rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm

rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm

yum list | grep php71w

yum install php71w-cli php71w-common php71w-devel php71w-fpm php71w-gd php71w-mbstring php71w-mcrypt php71w-mysqlnd php71w-opcache php71w-pdo php71w-pdo_dblib php71w-pecl-igbinary php71w-pecl-igbinary-devel php71w-pecl-memcached php71w-pecl-mongodb php71w-pecl-redis php71w-pecl-xdebug php71w-xml php71w-xmlrpc

php -v

 

rpm -Uvh mysql57-community-release-el6-n.noarch.rpm

set global validate_password_policy=0;

set global validate_password_length=1;

set global validate_password_mixed_case_count=2;

ALTER USER root@localhost IDENTIFIED BY '123456';

 

chkconfig iptables off

service iptables stop

ps aux | grep "nginx: worker process" | awk '{print $1}'

上一篇: 下一篇:
请安装多说插件-下载地址