Archive for the ‘Linux(리눅스)’ Category

5
Mar

RedHat ES5에 apache2, tomcat 연동하기

   Posted by: poss

참고: http://www.meritonlinesystems.com/docs/apache_tomcat_redhat.html

1. apache2는 컴파일 해서 설치.

2. tomcat-connector  컴파일 설치(mod_jk.so 생성)

3. jdk를 다운로드( jdk-6u12-linux-i586.bin )

실행권한을 준후 ./jdk-6u12-linux-i586.bin 를 실행

풀린 화일들을 적당한 위치로 이동(/usr/jdk 아래로)

4.  group add tomcat; useradd -g tomcat tomcat

5. apache-tomcat을 다운로드후 /usr/local/tomcat6에 설치(바이너리를 설치했음)

이후과정은 http://blog.boxcorea.com/wp/archives/131 를 참조.

14
Jan

시스템관리자를 위한 10가지 트릭

   Posted by: poss

원문: https://www.ibm.com/developerworks/kr/library/l-10sysadtips/

19
Nov

sysctl.conf

   Posted by: poss

http://marcus.tistory.com/23

리눅스 커널 설정 내용이 잘 나왔있음.

사실 거의 ip forwarding 할때만 건드렸었는데.. ;^^

13
Mar

up2date 사용하기

   Posted by: poss Tags: ,

1. 서브스크립션 등록

up2date –register

2.  업데이트할 패키지가 있는지 확인

up2date -l

3.모든 패키지 업그레이드

up2date -u

이때, 보통 커널은 업그레이드 되지 않는다. 이럴때 f옵션을 같이 사용하면 커널도 업그레이드됨

up2date -fu

4. 특정패키지를설치하거나업그레이드할때

up2date  package_name

참고:  http://www.cyberciti.biz/faq/howto-use-up2date-command/

fedora나 ubuntu나 모두 배포판 CD를 이용할 수 있겠지만, 네트웍을 이용하는 경우.

fedora의 경우는 yum을 ubuntu의 경우는 apt-get을 이용.

Fedora : http://fedoraproject.org/wiki/YumUpgradeFaq

Ubuntu: http://www.ubuntu.com/getubuntu/upgrading

24
Jan

리눅스 배포판 확인방법

   Posted by: admin Tags: ,

리눅스가 설치되어 있다. 어떤 배포판을 사용하는지 확인하고 싶을때…

lsb_release -a

물론, lsb_release가 설치되어 있어도 꼭 작동한다는 보장은 없다.

그리고, 레드햇 계열은 쉘스크립트로 작성된듯이 보이며, ubuntu의 경우는 phython으로 작성되어 있다.

12
Dec

ubuntu server 설정하기.

   Posted by: poss Tags: ,

ubuntu 서버 버젼을 설치하면 전형적인 까만화면에 로그인 프롬프트만 살짝 떠 있다. 여기엔 ssh도, telnet도 없다.  필요한 모든것은 하나씩 설치해야만한다.

먼저, 네트워크 기능이 살아 있는지를 확인해야하지만, 보통 설치시에 네트워크 기능은 살아난다. 내 문제는, 무선랜밖에 사용할 수 없는 문제와 그에 따른 문제가 있었지만 WDS기능을 가지는 공유기를 사용함으로써 문제는 해결 할 수 있었다.

sshd의 설치 및 실행

sudo  apt-get install ssh openss-server  <–설치

sudo /etc/init.d/ssh start  <– ssh 서버 실행

다음은 웹서버(LAMP) 설치

MySQL은

sudo apt-get install mysql-server

Apache는 1.x를 설치할까 2.x를 설치할까 고민하다가 2.x버젼을 설치하기로 결정.

sudo apt-get install apache2 libapache2-mod-auth-mysql php5 php5-mysql

php4를 설치하려고 했으나, 최신 패키지가 php5라 그냥 설치.

Read the rest of this entry »

ubuntu wireless 관련 명령어
iwlist

Connecting to an OPEN / WEP WLAN (DHCP)

Note: replace [interface] with your interface name as required (e.g. eth1, wlan0, ath0 etc.)

iwconfig [interface] mode managed key [WEP key] (128 bit WEP use 26 hex characters, 64 bit WEP uses 10)

iwconfig essid “[ESSID]” (Specify ESSID for the WLAN)

dhclient [interface] (to receive an IP address, netmask, DNS server and default gateway from the Access Point)

무선랜 관련 명령어가 너무 생소해서 고생…

원문:

http://www.askstudent.com/2006/10/20/how-to-crack-a-wep-key-using-ubuntu/

http://kldp.org/node/82148

정리가 잘 되어 있네요~

Switch to our mobile site