리눅스 썸네일형 리스트형 [리눅스] MySQL Replication 설정 MySQL Replication 설정 Master Server 1.환경설정 [root@svm101 ~]$ vi /etc/my.cnf ... [mysqld] ... #log setting log-bin = mysql-bin #로그파일명 max_binlog_size = 100M #로그파일크기 expire_logs_days = 7 # 로그보존주기 #Replication for master server server-id = 3 #서버 식별자(유니크) binlog_do_db = racktables #리플리케이션DB명(생략시엔 전체DB를 리플리케이션함) #binlog_do_db = test1 #여러 개의 DB일경우, 계속 추가 #binlog_ignore_db = test2 #Replication 제외 DB 지정 2.. 더보기 [리눅스] phpMyAdmin blowfish_scret 해결 방법 phpMyAdmin blowfish_scret 해결 방법 [root@vm1 pma]# pwd /var/www/html/pma [root@vm1 pma]# cp config.sample.inc.php config.inc.php 이제 설정 파일은 암호화 문자열(blowfish_scret) 을 필요로 합니다. 더보기 [리눅스] PHP PCNTL 모듈을 다시 컴파일하지 않고 설치하는 방법 PHP PCNTL 모듈을 다시 컴파일하지 않고 설치하는 방법 PCNTL 확장은 PHP 모듈로서 프로세스 제어 기능을 제공합니다. 이 기능은 기본적으로 활성화되어 있지 않으며, 수동으로 설치해야 합니다. PHP PCNTL 모듈을 다시 컴파일하지 않고 설치하려면 다음 단계를 따르세요. 1. PCNTL 모듈이 이미 설치되었는지 확인 PCNTL 모듈이 이미 설치되어 있는지 확인하려면 터미널에서 다음 명령을 실행하세요. php -m | grep pcntl PCNTL 모듈이 설치되어 있다면, 설치된 모듈 목록에 "pcntl"이 나타납니다. 2. PCNTL 모듈 설치 PCNTL 모듈이 설치되어 있지 않으면 다음 단계를 따라 설치하세요. 리눅스 리눅스 시스템에서는 배포판의 패키지 관리자를 사용하여 PCNTL 모듈을 설.. 더보기 [리눅스] 무설정 네트워킹(zero configuration networking) 무설정 네트워킹(zero configuration networking) : zeroconf(169.254.0.0/255.255.0.0)는 설정이 필요 없는 네트워킹(Zero configuration networking) 이란 뜻 route -n - 169.254.0.0 0.0.0.0 255.255.0.0 U 1012 0 0 bond0 $ route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 172.22.252.0 0.0.0.0 255.255.255.0 U 0 0 0 bond0 169.254.0.0 0.0.0.0 255.255.0.0 U 1012 0 0 bond0 0.0.0.0 172.22.252.1 0.. 더보기 CentOS 7에 NTP 서버를 설치하고 설정하는 방법 CentOS 7에 NTP (Network Time Protocol) 서버를 설치하고 설정하는 방법 테스트 환경 $ cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) 서버 구분 서버 아이피 비고 NTP 서버 192.168.0.17 Clinet 서버 192.168.0.x NTP 서버 설치 및 설정 1. NTP 서버 패키지 설치 sudo yum install -y ntp 2. NTP 구성 파일(/etc/ntp.conf) 편집 sudo vi /etc/ntp.conf 더보기 ntp.conf # For more information about this file, see the man pages # ntp.conf(5), ntp_acc(5), ntp_auth.. 더보기 iperf 명령어 iperf 명령어iperf는 네트워크 대역폭을 측정하는 도구로, TCP 또는 UDP를 사용하여 두 호스트 간의 대역폭을 측정합니다.iperf 컴파일 및 설치iperf 소스 코드를 다운로드합니다.공식 웹사이트(https://iperf.fr/)에서 소스 코드를 다운로드할 수 있습니다.wget http://sourceforge.net/projects/iperf/files/iperf-2.0.5.tar.gz다운로드한 파일을 압축 해제합니다.tar xfz iperf-2.0.5.tar.gz압축이 해제된 디렉토리로 이동합니다.cd iperf-2.0.5컴파일 및 설치를 수행합니다../configuremakemake install이제 iperf가 시스템에 설치되었습니다.iperf 사용법iperf는 서버와 클라이언트 모드로.. 더보기 [리눅스] webmin(리눅스 관리툴) 설치하기 webmin(리눅스 관리툴) 설치하기 tar xvfz webmin-1.670.tar.gz cd webmin-1.670 ./setup.sh - Config file directory [/etc/webmin]: /etc/webmin - Log file directory [/var/webmin]: /var/webmin - Full path to perl (default /usr/bin/perl): /usr/bin/perl - Web server port (default 10000): 10000 - Login name (default admin): admin - Login password:xxxxxxxxx - Password again: xxxxxxxxx - Start Webmin at boot time (y/.. 더보기 HTOP – Linux Process Monitoring HTOP – Linux Process Monitoring : HTOP은 콘솔에서 서버의 프로세스 상황을 다양한 색상으로 모니터링하는 도구이다. tar xvfz htop-0.8.3.tar.gz ./configure make && make install which htop $ which htop /usr/local/bin/htop htop 참고URL - http://pkgs.repoforge.org/htop/ 더보기 이전 1 ··· 143 144 145 146 147 148 149 ··· 175 다음