Programming/LINUX14 CentOS ssh 설치 및 설정 1. 다음 두 개의 패키지를 설치한다. - openssh-clients - openssh-server yum -y install openssh-server openssh-clients 2. 서비스 시작하기 chkconfig sshd on service sshd start 3. 방화벽 설정 3-1. /etc/sysconfig/iptables 파일 수정 ( -A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT ) 추가 3-2. 방화벽 재시작 - service iptables restart 2013. 9. 3. 리눅스 커널 bit 확인 거의 대부분의 리눅스에서 설치된 커널이 32비트인가 64비트인가 확인해야 할 필요가 있다. uname -m 등으로 확인하기도 하지만 정확하지는 않다. 다음의 명령을 이용하면 # getconf LONG_BIT 32 이렇게 결과가 나오면 32비트 이고, 64라고 나오면 64비트이다. 출처 : http://mcchae.egloos.com/5202743 2013. 6. 7. 우분투 + Wordpress 설치 준비 작업 보통 우분투(Ubuntu)를 설치하면 APM을 설치하게 되는데, 늘 까먹어서 메모리를 위해서 글을 남긴다. 1. Apache2 설치하기 # sudo apt-get install apache2 2. Apache와 Mysql 연결인증 모듈 설치하기 # sudo apt-get install libapache2-mod-auth-mysql 3. Mysql 설치하기 # sudo apt-get install mysql-server mysql-client # 설치 중간에 Mysql root 계정의 password를 입력하라고 나옵니다. 4. PHP 설치하기 # sudo apt-get install php5-common php5 libapache2-mod-php5 5. PHP와 Mysql 연동 모듈 설치하기 # apt-.. 2012. 3. 26. ubuntu 콘솔에서 네트워크 설정 수정 고정 ip를 사용하게 될 경우.. /etc/network/interfaces 라는 파일을 수정함으로 바꿀 수 있다. nextcrom@coms:~$ sudo vi /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5) # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth1 # iface eth1 inet dhcp # dhcp로 세팅 시 사용 i.. 2011. 12. 7. 이전 1 2 3 4 다음