# centos6.5_init **Repository Path**: xiangyu123/centos6.5_init ## Basic Information - **Project Name**: centos6.5_init - **Description**: init centos6.5 - **Primary Language**: Shell - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 4 - **Forks**: 3 - **Created**: 2015-01-19 - **Last Updated**: 2021-03-16 ## Categories & Tags **Categories**: web-service **Tags**: None ## README # Centos_6.5_x86_64_init ### Overview #    **Centos_6.5_x86_64_init** , These scripts were written by xuzhigui to tunning for centos_6.5_x86_64 operation system after finish installing centos 6.5 on some servers! If you have any good idea, please contace me with Email: , These scripts which is often used by __*System Administrator*__. > **Warning:** #   You have to be noticed that these scripts were only tested on centos6.5_x86_64 ! And you must remember that exec all scripts use the root user !!   when after finish installing **centos 6.5**, the first step:Exec `initsystem.sh`, this script change some kernel parameters and change open-file descriptors for all user, flush iptables , disable Ctrl+Alt+Delete and etc.   when you want to install **nginx+mysql+php+redis+phpredis** system, just exec the second script `softinstall.sh` with root. # ### configure file location Let's see the location of the main applications: > ### **nginx** * basedir: + /usr/local/nginx/ * nginx_conf: + /usr/local/nginx/conf/nginx.conf + /usr/local/nginx/conf/Configs/*.conf * logs: + /usr/local/nginx/logs/ + /usr/local/nginx/logs/logdata/ * default_webdir: + /usr/local/nginx/html * default_pages: + index.php * start_nginx: + service nginx start > ### **php** * basedir: + /usr/local/php * php.ini: + /etc/php.ini * php-fpm.conf: + /usr/local/php/etc/php-fpm.conf * start php-fpm: + service php-fpm start > ### **mysql** * basedir: + /usr/local/mysql/ * datadir: + /data/mysql/ * dafeult_engine: + innodb * my.cnf: + /etc/my.cnf * start_mysql: + service mysqld start