Linux ETC

리눅스 관리툴 webmin 설치하기

2012.12.06 17:58

호스트웨이 조회 수:6192

 [공식 다운로드] 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 이라 해킹의심이 될 수 있으니 반드시 기억해야합니다.)

번호 제목 글쓴이 날짜 조회 수
386 kornet SMTP 서비스 종료에 따른 구글 SMTP 활용 방안 file 호스트웨이 2016.04.28 13261
385 extundelete tool을 이용하여 삭제된 파일 복구하기 호스트웨이 2016.02.29 17358
384 Login 실패시 계정 잠그기 및 PAM 설정 file 호스트웨이 2016.01.04 35097
383 fdisk 명령어를 이용하여 수동으로 파티션 나누기 file 호스트웨이 2015.11.30 62934
382 SFTP 퍼미션 조정 및 chroot 설정으로 상위폴더 접근 제한하기 호스트웨이 2015.10.29 37479
381 리눅스 CD로 손상된 파일 복구하기 호스트웨이 2015.09.29 17517
380 find 명령을 통한 소유자, 백도어, 파일 찾기 호스트웨이 2015.09.29 14859
379 Linux 설치된 OS 커널의 Bit확인 호스트웨이 2015.09.26 14549
378 SYN_Flooding 공격 막기 호스트웨이 2015.09.25 10921
377 Linux ssh 무작위 공격 방어하기 - fail2ban 호스트웨이 2015.09.24 13510
376 사용 가능한 쉘 확인 및 변경법 호스트웨이 2015.09.24 15390
375 삭제된 파일 복구 - 2 호스트웨이 2015.09.24 12585
374 프로그램의 사용 메모리 확인 호스트웨이 2015.09.23 11430
373 사용하지 않는 데몬 끄기 호스트웨이 2015.09.23 11660
372 리눅스 서버 보안 관련 설정 호스트웨이 2015.09.23 13055
371 서버시간 매시간마다 동기화 설정 호스트웨이 2015.09.23 15733
370 리눅스 상에서 메모리 사용 현황 확인하기 호스트웨이 2015.09.23 11030
369 터미널 접속 시 한글이 깨질 때 호스트웨이 2015.09.23 11182
368 서버 계정을 다른서버로 이전하기 호스트웨이 2015.09.23 16750
367 동일 네트워크의 중복 IP검색 호스트웨이 2015.09.23 15556