文件名称:nginx配置经典
文件大小:18KB
文件格式:TXT
更新时间:2017-09-25 03:07:24
nginx web
# yum -y install gcc gcc-c++ gcc-g77 autoconf automake zlib* fiex* libxml* ncurses* libmcrypt* libtool-ltdl-devel* make cmake --必要软件包安装 # useradd mysql # tar -zxvf mysql-5.6.10.tar.gz # cd mysql-5.6.10 # cmake -DCMAKE_INSTALL_PREFIX=/usr/local/mysql5.6 --设置安装路径 # make && make install --编译安装 # chown -R mysql:mysql /usr/local/mysql5.6 --设置目录权限 # /usr/local/mysql5.6/scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql5.6 --datadir=/usr/local/mysql5.6/data --安装db --以下为设置开机自启及启动服务 # cp /usr/local/mysql5.6/support-files/mysql.server /etc/rc.d/init.d/mysql # cp /usr/local/mysql5.6/support-files/my-default.cnf /etc/my.cnf # chkconfig --add mysql && chkconfig mysql on