원본출처 : http://xjoin.net:8880/jsboard/read.php?table=linux&no=102 작성자 : 야야
프로그램 출처 : http://www.webmin.com 다운로드 위치 : http://www.webmin.com/download.html 다운로드 위
치 : http://www.webmin.com/download/webmin-0.970.tar.gz 설치 하기 위해서는 # rpm -qa | grep perl
perl-5.6.0-12
perl-SGMLSpm-1.03ii-4
groff-perl-1.16.1-7
perl 5 이상이 설치 되어 있어야 한다
접속 방법은
http://xjoin.net:10000http://211.37.25.121:10000 # tar xvzf webmin-0.970.tar.gz
# mv webmin-0.970 /opt
# cd /opt/webmin-0.970
# ./setup.sh
***********************************************************************
* Welcome to the Webmin setup script, version 0.970 *
***********************************************************************
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.
Installing Webmin in /opt/webmin-0.970 ...
***********************************************************************
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.
(webmin 에 대한 환경 설정 파일 디렉 토리 설정이다 default 로 할경우
엔터 치면 된다)
Config file directory [/etc/webmin]: /opt/webmin
(webmin 에 대한 로그 파일이다 default 로 활경우 엔터 치면 된다)
Log file directory [/var/webmin]: /opt/webmin/log
***********************************************************************
Webmin is written entirely in Perl. Please enter the full path to the
Perl 5 interpreter on your system.
(perl 실행 파일이 /usr/bin 에 있다면 엔터치면되고 소스 컴파일 이나
위치가 다르다면 위치를 적어 주면 된다
Full path to perl (default /usr/bin/perl):
Testing Perl ...
Perl seems to be installed ok
***********************************************************************
For Webmin to work properly, it needs to know which operating system
type and version you are running. Please select your system type by
entering the number next to it from the list below
-------------------------------------------------------------------------
--
1) Sun Solaris 2) Caldera OpenLinux eServer
3) Caldera OpenLinux 4) Redhat Linux
5) Slackware Linux 6) Debian Linux
7) SuSE Linux 8) Corel Linux
9) TurboLinux 10) Cobalt Linux
11) Mandrake Linux 12) Mandrake Linux Corporate
Server
13) Delix DLD Linux 14) Conectiva Linux
15) MSC Linux 16) MkLinux
17) LinuxPPC 18) XLinux
19) LinuxPL 20) Trustix
21) Cendio LBS Linux 22) Ute Linux
23) Lanthan Linux 24) Yellow Dog Linux
25) Corvus Latinux 26) Generic Linux
27) FreeBSD 28) OpenBSD
29) NetBSD 30) BSDI
31) HP/UX 32) SGI Irix
33) DEC/Compaq OSF/1 34) IBM AIX
35) SCO UnixWare 36) SCO OpenServer
37) Darwin 38) Mac OS X
39) Mac OS X / OS X Server 40) Cygwin
-------------------------------------------------------------------------
--
(os 를 선택 해주면 된다)
Operating system: 4
Please choose which version of Redhat Linux you are running, by entering
the number next to it from the list below
-------------------------------------------------------------------------
--
1) Redhat Linux 4.0 2) Redhat Linux 4.1
3) Redhat Linux 4.2 4) Redhat Linux 5.0
5) Redhat Linux 5.1 6) Redhat Linux 5.2
7) Redhat Linux 6.0 8) Redhat Linux 6.1
9) Redhat Linux 6.2 10) Redhat Linux 7.0
11) Redhat Linux 7.1 12) Redhat Linux 7.2
13) Redhat Linux 7.3
-------------------------------------------------------------------------
--
( os 버젼을 선책해주면 된다
Version:11
Operating system name: Redhat Linux
Operating system version: 7.1
***********************************************************************
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.
- The hostname of this system that the web server should use.
- If the webserver should use SSL (if your system supports it).
- Whether to start webmin at boot time.
(서버에서 사용할 포트이다 사용 하지 않는 포트를 선택해주면된다
default 로 사용 할경우 엔터 치면된다
Web server port (default 10000):
(webmin 을 사용할 아이디 넣어주면된다 임이적으로 만들어 주면된다
디폴트로 사용 할경우 엔터 치면된다)
Login name (default admin):
(사용할 패스워드 넣어 주면된다)
Login password:
(똑같은 패스워드 한번 더 넣어 주면된다)
Password again:
(서버 이름 넣어 주면된다 default 로 할경우 엔터치면된다)
Web server host name (default ns.xjoin.net): xjoin.net
The Perl SSLeay library is not installed. SSL not available.
(y 를 넣어 주고 엔터 치면된다)
Start Webmin at boot time (y/n): y
***********************************************************************
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
Configuring Webmin to start at boot time..
Created init script /etc/rc.d/init.d/webmin
..done
Creating uninstall script /opt/webmin/uninstall.sh ..
..done
Changing ownership and permissions ..
..done
Attempting to start Webmin mini web server..
Starting Webmin server in /opt/webmin-0.970
..done
***********************************************************************
Webmin has been installed and started successfully. Use your web
browser to go to
http://xjoin.net:10000/ and login with the name and password you entered previously.
# ps -ax | grep webmin
21025 ? S 0:00 /usr/bin/perl /opt/webmin-
0.970/miniserv.pl /opt/webm
21027 pts/2 S 0:00 grep webmin
# cd /opt/webmin
# ./stop --- webmin 종료시
Stopping Webmin server in /opt/webmin-0.970
# ps -ax | grep webmin
21035 pts/2 S 0:00 grep webmin
# ./start --- webmin 시작시
Starting Webmin server in /opt/webmin-0.970
# /etc/init.d/webmin stop --종료
# /etc/init.d/webmin start --- 시작
부팅시 자동으로가동 하고 자 하면
# ntsysv 에서 webmin 체크
프로그램 삭제시
# cd /opt/webmin
# ./uninstall.sh
나머지 사용 방법은 각자 해결 하기 바랍니다.
간단 하게 webmin 에 대해 설명하자면
웹 상에서 어느정도 시스템을 컨트롤 할수 있게 만들어진 프로그램입니다
환경 설정 파일을 보면 알수 있게지만
사용 시스템에서 프로그램이 rpm 이 아닌 소스컴파일 할경우
설치 디렉토리가 다를것입니다.
아직 저도 잘 사용 해보지 않아서 잘 모릅니다.
webmin 한글 설정
webmin ---- Webmin Configuration --- Language --- korean 선택
Chang Language 클릭
--
열심히 삽질하자 허접 삽질 엽기 삽질
삶이 속일지라도 세상이 속일지라도 난 포기 하지 않는다.
http://xjoin.net:8880