분류 전체보기(22)
-
[CentOS] rinetd
# yum -y install gcc# wget http://www.boutell.com/rinetd/http/rinetd.tar.gz# tar zxvf rinetd.tar.gz# cd rinetd# make# mv rinetd /usr/sbin/# chcon -u system_u -t bin_t /usr/sbin/rinetd# vi /etc/rinetd.conf>내용시작--------------------------------------내용종료--------------------------------------내용시작---------------------------------------내용종료---------------------------------------내용시작-------------------..
2014.10.29 -
[CentOS] Sendmail
# yum -y install sendmail sendmail-cf# vi /etc/mail/sendmail.cf>---------------------------------------
2014.10.29 -
[CentOS] MySQL
? http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm # rpm -ivh http://dev.mysql.com/get/mysql57-community-release-el6-8.noarch.rpm# yum -y install mysql-server# chkconfig mysqld on# vi /etc/my.cnf>------------------------------------------------------------------------------ GRANT ALL PRIVILEGES ON *.* TO 'root'@'192.168.0.11' IDENTIFIED BY 'password' WITH GRANT OPTION; FLUSH PRIVIL..
2014.09.30 -
[CentOS] vsftpd
# yum install -y openssh-clients# which scp# yum install -y ftp # yum install -y pam_mysql# yum install -y vsftpd# chkconfig vsftpd on# mysql -u root -p> CREATE DATABASE vsftpd;> GRANT SELECT ON vsftpd.* TO 'vsftpd'@'localhost' IDENIFIED BY 'password..';> FLUSH PRIVILEGES;> USE vsftpd;> CREATE TABLE `accounts` (`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY,`username` VARCHAR(30) NOT NULL,`pass` V..
2014.09.24 -
[CentOS] Web
#-- 시간동기화# yum -y install ntp# vi /etc/ntp.conf>----------------------------------------------------------------------------------------------- All DirectoryIndex index.html index.htm index.phpKeepAlive OffMaxKeepAliveRequests 1024KeepAliveTimeout 10 StartServers 4MaxClients 512MinSpareThreads 32MaxSpareThreads 64 ThreadsPerChild 32MaxRequestsPerChild 0 SetEnvIfNoCase Request_URI "\.(jpe?g|gif|b..
2014.09.05