강좌 분류

WD My Book Live Webmin 설치 강좌

컨텐츠 정보

  • 27,131 조회
  • 18 댓글
  • 0 추천
  • 목록

본문



webmin은 Putty에서 하는 작업을 마우스를 통해 좀 더 쉽게 접근할 수 있는 어플리케이션입니다.


WD 공홈에 관련 자료가 있어 최신버전으로 설치완료했습니다.


Putty로 접속하여 (이젠 접속 방법 안적어도 되겠죠? ^^;;)


wget http://downloads.sourceforge.net/project/webadmin/webmin/1.660/webmin-1.660.tar.gz


위의 명령어로 파일을 받습니다.


MyBookLive:~# wget http://downloads.sourceforge.net/project/webadmin/we          0/webmin-1.660.tar.gz

--2013-11-24 01:51:38--  http://downloads.sourceforge.net/project/webad          n/1.660/webmin-1.660.tar.gz

Resolving downloads.sourceforge.net... 216.34.181.59

Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.

HTTP request sent, awaiting response... 302 Found

Location: http://jaist.dl.sourceforge.net/project/webadmin/webmin/1.660          .660.tar.gz [following]

--2013-11-24 01:51:39--  http://jaist.dl.sourceforge.net/project/webadm          /1.660/webmin-1.660.tar.gz

Resolving jaist.dl.sourceforge.net... 150.65.7.130, 2001:df0:2ed:feed::

Connecting to jaist.dl.sourceforge.net|150.65.7.130|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 22198207 (21M) [application/x-gzip]

Saving to: `webmin-1.660.tar.gz'


100%[=======================================>] 22,198,207  2.30M/s   in 10s


2013-11-24 01:51:49 (2.04 MB/s) - `webmin-1.660.tar.gz' saved [22198207/22198207]


MyBookLive:~#


위와 같이 나오면 정상입니다.



tar xzvf webmin-1.660.tar.gz


위의 명령어로 압축을 풉니다.


.

.

.

.

webmin-1.660/fsdump/lang/ja_JP.euc

webmin-1.660/fsdump/lang/ko_KR.UTF-8

webmin-1.660/fsdump/lang/es

webmin-1.660/fsdump/lang/de.UTF-8

webmin-1.660/fsdump/config.info.es.UTF-8

webmin-1.660/fsdump/delete_dumps.cgi

webmin-1.660/fsdump/defaultacl

webmin-1.660/fsdump/freebsd-lib.pl

webmin-1.660/fsdump/feedback_files.pl

webmin-1.660/fsdump/linux-lib.pl

webmin-1.660/fsdump/config.info.no

MyBookLive:~#


위와 같은 형식으로 풀립니다.



cd webmin-1.660


위의 명령어로 웹민이 설치된 폴더로 이동합니다.


./setup.sh


셋업을 시작합니다.




Config file directory [/etc/webmin]: 


위와 같이 나오는데


/etc/webmin


위 내용을 넣고 엔터



Log file directory [/var/webmin]:


나오는데


/var/webmin


넣고 엔터



Full path to perl  ~~


/usr/bin/perl


넣고 엔터



Web server port : 


포트를 바꾸고 싶으시면 숫자를 넣고, 그냥 기본을 원하시면 그냥 엔터



Login name (default admin): 


아이디를 admin으로 원하시면 엔터, 다른 것을 원하면 다른 것 적고 엔터



Login password : 


원하는 비밀번호 넣고 엔터


한번 더 쓰고 엔터



Start Webmin at boot time :


부팅할 때 웹민이 시작되길 원하면 y, 아니면 n



설치 과정을 옮겨봤습니다.


MyBookLive:~/webmin-1.660# ./setup.sh

***********************************************************************

*            Welcome to the Webmin setup script, version 1.660        *

***********************************************************************

Webmin is a web-based interface that allows Unix-like operating

systems and common Unix services to be easily administered.


Installing Webmin in /root/webmin-1.660 ...


***********************************************************************

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]:

Log file directory [/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):


Testing Perl ...

Perl seems to be installed ok


***********************************************************************

Operating system name:    Debian Linux

Operating system version: 5.0


***********************************************************************

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):

Login name (default admin):

Login password:

Password again:

The Perl SSLeay library is not installed. SSL not available.

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


Enabling background status collection ..

..done


Attempting to start Webmin mini web server..

Starting Webmin server in /root/webmin-1.660

Pre-loaded WebminCore

..done


***********************************************************************

Webmin has been installed and started successfully. Use your web

browser to go to


  http://MyBookLive:10000/


and login with the name and password you entered previously.


MyBookLive:~/webmin-1.660#



위와 같이 진행되면 정상입니다.  대충 3-5분 정도 시간이 걸립니다.



그리고 webmin이 파티션 쪽 인식을 잘하게 하기 위해 설정을 하나 더 합니다.


cd /sbin


ln -s sfdisk fdisk


위 명령어를 내리면 아무 반응이 없습니다.


이제 웹민으로 접속합니다.



인터넷 창에 내부IP:10000  입력하면





위와 같이 아이디와 비번을 넣는 부분이 나옵니다.


아까 설정한 아이디 비번을 넣고 로그인을 하면




위와 같이 잘 나옵니다.




파일 시스템도 잘 보이네요 ^^




Webmin을 삭제하려면 


/etc/webmin/uninstall.sh


넣고, y 엔터하면 됩니다.



MyBookLive:~# /etc/webmin/uninstall.sh

Are you sure you want to uninstall Webmin? (y/n) : y


Stopping Webmin server in /root/webmin-1.660

/etc/webmin/stop: line 4: kill: (15861) - No such process

Running uninstall scripts ..

Subroutine list_servers redefined at /root/webmin-1.660/servers/servers-lib.pl line 92.

Subroutine list_servers_sorted redefined at /root/webmin-1.660/servers/servers-lib.pl line 111.

Subroutine get_server redefined at /root/webmin-1.660/servers/servers-lib.pl line 143.

Subroutine save_server redefined at /root/webmin-1.660/servers/servers-lib.pl line 158.

Subroutine delete_server redefined at /root/webmin-1.660/servers/servers-lib.pl line 175.

Subroutine can_use_server redefined at /root/webmin-1.660/servers/servers-lib.pl line 188.

Subroutine list_all_groups redefined at /root/webmin-1.660/servers/servers-lib.pl line 208.

Subroutine logged_in redefined at /root/webmin-1.660/servers/servers-lib.pl line 278.

Subroutine get_server_types redefined at /root/webmin-1.660/servers/servers-lib.pl line 303.

Subroutine this_server redefined at /root/webmin-1.660/servers/servers-lib.pl line 313.

Subroutine get_my_address redefined at /root/webmin-1.660/servers/servers-lib.pl line 332.

Subroutine address_to_broadcast redefined at /root/webmin-1.660/servers/servers-lib.pl line 361.

Subroutine test_server redefined at /root/webmin-1.660/servers/servers-lib.pl line 375.

Subroutine find_cron_job redefined at /root/webmin-1.660/servers/servers-lib.pl line 394.

Subroutine find_servers redefined at /root/webmin-1.660/servers/servers-lib.pl line 407.

Deleting /root/webmin-1.660 ..

Deleting /etc/webmin ..

Done!

MyBookLive:~#



위와 같이 진행되면 성공입니다.



관련링크에 공홈 원래 게시물이 있습니다.

관련자료

댓글 18 / 2 페이지

에클레시아캬캬캬님의 댓글

설치는 다 했고 내부서버에서는 설정이 잘 되는데 외부에서 접속할려니 접속이 안되네요 ㅠ_ㅠ;; 제가 확인해야할 부분이 있을까요 ?
https://IP 주소 :10000 이 원래 호스트 서버이고

다른 외부에서 저기 IP 주소 치면 아무것도 안뜨는데 뭘 더 설정하고 공부해야할지 막막하지만 가르켜 주실 수 있을까요 ?

우성군님의 댓글의 댓글

외부에서 접속하려면 기본적으로 DDNS와 포트포워딩에 대한 이해가 필요합니다.

http://www.wsgvet.com/web/33

위 링크를 참조하시구요.

IP 주소를 고정한 후 , 포트포워딩으로 해당 IP에서 10000 내부포트를 10000 외부포트로 포트포워딩해주면

외부에서 DDNS:10000 으로 접속하면 WEBMIN에 접속가능합니다.

zo33님의 댓글

안녕하세요. 한참 지났지만 질문하나 드려 봅니다.

wget http://downloads.sourceforge.net/project/webadmin/webmin/1.660/webmin-1.660.tar.gz 치면

OpenSSL: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Unable to establish SSL connection.

나오면서 다운로드가 안되는데 이유가 뭘까요 ㅠ.ㅠ

우성군님의 댓글의 댓글

음.. 아무래도 링크가 https로 바뀌어서 그런거 같은데요.

wget https://downloads.sourceforge.net/project/webadmin/webmin/1.660/webmin-1.660.tar.gz

이렇게 해보시겠어요?

zo33님의 댓글의 댓글

네 저도 그런거 같아서...https로 변경해도 동일하게 나오네요. 흠..
MyBookLive:~# wget https://downloads.sourceforge.net/project/webadmin/webmin/1.660/webmin-1.660.tar.gz
--2020-07-10 20:03:35--  https://downloads.sourceforge.net/project/webadmin/webmin/1.660/webmin-1.660.tar.gz
Resolving downloads.sourceforge.net... 216.105.38.13
Connecting to downloads.sourceforge.net|216.105.38.13|:443... connected.
OpenSSL: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Unable to establish SSL connection.

우성군님의 댓글의 댓글

--no-check-certificate 옵션 써서

wget --no-check-certificate https://downloads.sourceforge.net/project/webadmin/webmin/1.660/webmin-1.660.tar.gz

위와 같이 해보시겠어요?

zo33님의 댓글의 댓글

동일하네요 sourceforge 가 뭐 막아놓은건 지 ^^;;; 파일을 다운 받아서 다른데 올려놓고 해봐야할 것 같습니다. 댓글 너무 감사합니다.

우성군님의 댓글의 댓글

그렇군요 ㅠㅠ 소스포지 쪽 문제이거나

마북라가 너무 오래된 데비안을 써서 일부러 막을 수도 있겠습니다.
전체 99 / 1 페이지
RSS

최근글


새댓글


알림 0