Linux ETC

리눅스 관리툴 webmin 설치하기

2012.12.07 02:58

호스트웨이 조회 수:3200

 [공식 다운로드http://www.webmin.com/download.html

다운로드 완료 후 압축을 풀어줍니다.

# cd /usr/local/src/

# wget http://prdownloads.sourceforge.net/webadmin/webmin-1.610.tar.gz

# tar -zxvf webmin-1.610.tar.gz
# cd webmin-1.610
# ./setup.sh 

[root@localhost webmin-1.610]# ./setup.sh
***********************************************************************
*            Welcome to the Webmin setup script, version 1.510        *
***********************************************************************
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.

Installing Webmin in /usr/local/src/kimhaksun/webmin-1.510 …

***********************************************************************
Webmin uses separate directories for configuration files and log files.
Unless you want to run multiple versions of Webmin at the same time
you can just accept the defaults.

Config file directory [/etc/webmin]: /etc/webmin    -> 동일하게 적어줍니다.
Log file directory [/var/webmin]: /var/webmin        ->
로그파일위치

***********************************************************************
Webmin is written entirely in Perl. Please enter the full path to the
Perl 5 interpreter on your system.

Full path to perl (default /usr/bin/perl): /usr/bin/perl    -> 동일하게입력

Testing Perl …
Perl seems to be installed ok

***********************************************************************
Operating system name:    CentOS Linux
Operating system version: 5.5

***********************************************************************
Webmin uses its own password protected web server to provide access
to the administration programs. The setup script needs to know :
- What port to run the web server on. There must not be another
web server already using this port.
- The login name required to access the web server.
- The password required to access the web server.
- If the webserver should use SSL (if your system supports it).
- Whether to start webmin at boot time.

Web server port (default 10000): 10000      -> webmin 으로 사용할 포트를 적습니다. 기본10000
Login name (default admin): root            -> webmin id
입력
Login password:                              ->
패스워드 입력
Password again:                              ->
패스워드 확인 입력
Use SSL (y/n): n                            -> SSL
사용여부 확인
Start Webmin at boot time (y/n): n          ->
부팅 시 자동시작 여부
***********************************************************************
Creating web server config files..
..done

Creating access control file..
..done

Inserting path to perl into scripts..
..done

Creating start and stop scripts..
..done

Copying config files..
..done

Creating uninstall script /etc/webmin/uninstall.sh ..
..done

Changing ownership and permissions ..
..done

Running postinstall scripts ..
..done

Attempting to start Webmin mini web server..
Starting Webmin server in /usr/local/src/webmin-1.610
Pre-loaded WebminCore
..done

***********************************************************************
Webmin has been installed and started successfully. Use your web
browser to go to

http://localhost:10000/

and login with the name and password you entered previously.

설치가 완료되었습니다.


방화벽을 사용할 경우 10000번 포트를 허용해줍니다.


클라우드 서비스 사용 하실 경우 방화벽그룹에서 허용 해주셔야 합니다.


iptables 사용 중일경우.

iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 10000 -j ACCEPT


http://도메인:10000 로 접속을 해봅니다.


로그인 후 바로 적용되는 언어는 영어이므로 한글설정을 해줍니다.
로그인후 [Change Language and Theme] 부분에서 Webmin UI language 부분의 Personal choice …부분을 선택 후 korea(KO_KR.EUC) 로 선택해준후 다시 로그인을 합니다. -> webmin 이 한글화로 재설정됨을 확인할 수 있습니다.


[root@localhost webmin-1.610]# pstree | grep miniserv    -> 프로세스 확인
|-miniserv.pl


[root@localhost webmin-1.610]# netstat -nltp | grep LISTEN          -> 포트 LISTEN 확인
tcp        0      0 0.0.0.0:10000              0.0.0.0:*                  LISTEN      10730/perl
-> webmin
에 해당하는 10000 포트 LISTEN (프로세스 명이 perl 이라 해킹의심이 될 수 있으니 반드시 기억해야합니다.)

번호 제목 글쓴이 날짜 조회 수
126 Tcpdump의 옵션들 호스트웨이 2012.05.25 22270
125 리눅스 File 명령어를 통해 파일의 확장자나 속성알아보기 file 호스트웨이 2012.09.14 22311
124 CentOS 6 – root 패스워드 변경하기 호스트웨이 2012.04.20 22371
123 리눅스에서 mii-tool 사용 방법 호스트웨이 2012.03.08 22598
122 Chage 명령어 호스트웨이 2012.08.23 22607
121 FreeBSD 커널 빌드 sylee 2009.04.14 23287
120 Network File System 호스트웨이 2008.05.19 23447
119 리눅스 커널 업데이트 및 커널 변경 부팅 방법 file 호스트웨이 2014.10.30 23458
118 grub-install 사용방법 호스트웨이 2012.05.04 23492
117 리눅스 ss 명령어 호스트웨이 2012.07.20 23529
116 DHCP 환경에서의 resolv.conf 초기화 현상 호스트웨이 2012.03.09 23636
115 History 삭제하는 방법 및 현재한 history 삭제하는 방법 호스트웨이 2012.08.24 23649
114 계정 생성 시 ftp 계정만 주고 Shell 로그인 차단하기 file 호스트웨이 2012.04.06 23719
113 리눅스 APM 소스설치시 Error 및 해결 방법 호스트웨이 2012.09.21 23886
112 Rsync를 이용한 데이터 Sync, 백업하기 – 2탄 호스트웨이 2012.07.13 23918
111 samba 설정후, 한글 파일이 깨질때.. jook 2009.10.08 23924
110 Linux 서버 root password 분실시 변경 방법 file 호스트웨이 2012.03.30 24007
109 hdparm 옵션 알아보기 sylee 2010.02.04 24244
108 특정 사용자 계정 동시 로그인 수 제한 file 호스트웨이 2012.05.11 24361
107 php-5.2.x 설치 옵션 호스트웨이 2009.02.05 24393