Revision 12 as of 2008-08-16 18:18:12

Clear message

SisällysluetteloBRTableOfContents(3)

Webmin-palvelinohjelmisto

Webmin on palvelimelle tarkoitettu perl-ohjelmisto, joka avataan selaimeen. Webmin on kevyt, se ei vaadi LAMP-palvelinohjelmistoja, pelkästään perl-ohjelman. Webmin on graafinen, sen avulla on helppo hallita vaikkapa MySQL-tietokantaa.

Webmin-ohjelmiston lataus

Tässä ohjeessa Webmin asennetaan Ubuntu 7.10-ympäristöön. Jos oheinen linkki ei toimi, niin voit hakea Webmin-ohjelmiston ja sen uusimman version Webmin-ohjelmiston kotisivulta. Tässä ohjeessa ladataan TAR-tiedosto, ei DEB-pakettia. [http://www.webmin.com Webmin-ohjelmiston kotisivu]


{{{ ltsp@ltsp5:~$ cd /root ltsp@ltsp5:/root$ sudo wget http://surfnet.dl.sourceforge.net/sourceforge/webadmin/webmin-1.370.tar.gz [sudo] password for ltsp: }}} --09:49:23-- http://surfnet.dl.sourceforge.net/sourceforge/webadmin/webmin-1.370.tar.gz BR

Selvitetään osoitetta surfnet.dl.sourceforge.net... 130.59.138.20, 2001:620:0:1b::20BR Yhdistetään palvelimeen surfnet.dl.sourceforge.net|130.59.138.20|:80... yhdistetty.BR HTTP-pyyntö lähetetty, odotetaan vastausta... 200 OKBR BR Pituus: 13 132 344 (13M) [application/x-tar]BR BR 100%[==>] 13 132 344 90.93K/s ETA 00:008 BR BR 09:51:43 (91.69 KB/s) - "webmin-1.370.tar.gz" tallennettu [13132344/13132344]BR BR ltsp@ltsp5:/root$BR


Webmin-ohjelmiston purkaminen

Seuraavaksi Webmin-ohjelmisto puretaan ja siirrytään Webmin-hakemistoon.

ltsp@ltsp5:/root$ sudo tar zxvf webmin*
ltsp@ltsp5:/root$ cd webmin*
ltsp@ltsp5:/root/webmin-1.370$ 

Webmin-ohjelmiston asentaminen

Seuraavaksi Webmin asennetaan pääkäyttäjänä ajamalla skripti "setup.sh". Asennuksessa riittää pelkkä "Enter" eli ehdotusten hyväksyminen, mutta Webmin tunnukseksi pitää antaa "root" ja salasanaksi pääkäyttäjän salasana.

Älä anna tunnukseksi ehdotettua "admin"-tunnusta! Älä keksi uutta salasanaa! BR Login name (default admin): rootBR Login password:BR Password again:BR

Vastaa kyllä (y), kun Webmin kysyy käynnistetäänkö se palvelimen käynnistyksen yhteydessä.


 ltsp@ltsp5:/root/webmin-1.370$ sudo ./setup.sh 

*********************************************************************** BR * Welcome to the Webmin setup script, version 1.370 * BR *********************************************************************** BR Webmin is a web-based interface that allows Unix-like operating BR systems and common Unix services to be easily administered. BR

Installing Webmin in /root/webmin-1.370 ... BR BR *********************************************************************** BR Webmin uses separate directories for configuration files and log files. BR Unless you want to run multiple versions of Webmin at the same time BR you can just accept the defaults. BR BR Config file directory [/etc/webmin]: BR Log file directory [/var/webmin]: BR BR *********************************************************************** BR Webmin is written entirely in Perl. Please enter the full path to the BR Perl 5 interpreter on your system.BR BR Full path to perl (default /usr/bin/perl): BR BR Testing Perl ... BR Perl seems to be installed ok BR BR *********************************************************************** BR Operating system name: Ubuntu Linux BR Operating system version: 7.10BR BR ***********************************************************************BR Webmin uses its own password protected web server to provide accessBR to the administration programs. The setup script needs to know :BR

BR Web server port (default 10000):BR BR Login name (default admin): rootBR Login password: BR Password again: BR The Perl SSLeay library is not installed. SSL not available.BR Start Webmin at boot time (y/n):BR BR Start Webmin at boot time (y/n): yBR ***********************************************************************BR Creating web server config files..BR ..doneBR BR Creating access control file..BR ..doneBR BR Inserting path to perl into scripts..BR ..doneBR BR Creating start and stop scripts..BR ..doneBR BR Copying config files..BR BR ..doneBR BR Configuring Webmin to start at boot time..BR Created init script /etc/init.d/webminBR ..doneBR BR Creating uninstall script /etc/webmin/uninstall.sh ..BR ..doneBR BR Changing ownership and permissions ..BR ..doneBR BR Running postinstall scripts ..BR ..doneBR BR Attempting to start Webmin mini web server..BR Starting Webmin server in /root/webmin-1.370BR ..doneBR BR ***********************************************************************BR Webmin has been installed and started successfully. Use your webBR browser to go toBR BR

BR and login with the name and password you entered previously.BR BR ltsp@ltsp5:/root/webmin-1.370$BR


Avataan Webmin selaimeen

Avaa selain ja anna osoitteeksi asennuksen yhteydessä kerrottu osoite, tässä asennuksessa "http://ltsp5:10000/".