PDA

View Full Version : [ubuntu] webmin install


rdema19403
February 17th, 2010, 01:55 PM
i am trying to install webmin on my server(9.10) by command line
what is the command to see if it is installed or not

pirateghost
February 17th, 2010, 02:03 PM
browse to it from another computer on the network?

https://ipaddressofserver:10000

rdema19403
February 17th, 2010, 02:18 PM
that is not working this is the response i get from fire fox Firefox can't establish a connection to the server at 192.168.1.104:10000.
Iam able to ping the ip address or if i typpe the ip address it says it works
It works!

This is the default web page for this server.

The web server software is running but no content has been added, yet.

lisati
February 17th, 2010, 02:20 PM
You might need to use https instead of http in your browser.

pirateghost
February 17th, 2010, 02:22 PM
webmin runs its own 'webserver' so apache running means nothing.

how did you install it?

did you add the repos and install it via apt-get install webmin or did you install all the dependencies and use dpkg -i webmin.deb ?

rdema19403
February 17th, 2010, 03:02 PM
i used this command apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl
then i tried dpkg --install webmin_1.500_all.deb
this is what i get from the terminal
root@test:/home/test19403# apt-get install webmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package webmin is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package webmin has no installation candidate
root@test:/home/test19403# apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
perl is already the newest version.
libnet-ssleay-perl is already the newest version.
openssl is already the newest version.
libauthen-pam-perl is already the newest version.
libpam-runtime is already the newest version.
libio-pty-perl is already the newest version.
libmd5-perl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

CharlesA
February 17th, 2010, 03:23 PM
you can always run dpkg -l to get a list of installed packages.

Did you already download the deb and install it using dpkg -i?

pirateghost
February 17th, 2010, 03:36 PM
i used this command apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl
then i tried dpkg --install webmin_1.500_all.deb
this is what i get from the terminal
root@test:/home/test19403# apt-get install webmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package webmin is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package webmin has no installation candidate
root@test:/home/test19403# apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
perl is already the newest version.
libnet-ssleay-perl is already the newest version.
openssl is already the newest version.
libauthen-pam-perl is already the newest version.
libpam-runtime is already the newest version.
libio-pty-perl is already the newest version.
libmd5-perl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


webmin is not in the default repositories, you need to add the repository to your /etc/apt/sources.list or download the .deb file and run dpkg -i webmin.deb (or whatever the actual filename is)

so, no you did not install webmin, merely the dependencies for it

rdema19403
February 17th, 2010, 03:41 PM
is this the wright way to run it in the terminal
test19403@test:~$ dpkg -i webmin_1.500_all.deb
dpkg: requested operation requires superuser privilege
test19403@test:~$ sudo su
[sudo] password for test19403:
root@test:/home/test19403# dpkg -i webmin_1.500_all.deb
dpkg: error processing webmin_1.500_all.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
webmin_1.500_all.deb

pirateghost
February 17th, 2010, 03:47 PM
first of all, dont use sudo su
sudo is just fine here.

yes those commands look proper, however make sure it is flagged as executable
sudo chmod 777 webmin_1.500_all.deb
then run
sudo dpkg -i webmin_1.500_all.deb

makingtheswitch
February 17th, 2010, 04:43 PM
you need to
wget http://prdownloads.sourceforge.net/webadmin/webmin_1.500_all.deband then
dpkg --install webmin_1.500_all.debAt least that is what it looks like. To me it seems you've done everything -except- DL the webmin .deb package. Which is what the first line of code will get you. The second will install it.

[edited to correct code and make sense]

rdema19403
February 17th, 2010, 06:11 PM
thanks for everybody's input i am a noobie at this but it works now I really appreciate it. I am on a big learning curve with this it is frustrating sometimes and other times rewarding.