Installing Webmin ....("help!")

Hi.

I am a bit stuck, and was hoping that someone could help. But why talk in English when code is better?

> #######:/tmp# dpkg -i webmin-current.deb

Selecting previously deselected package webmin.

(Reading database … 13235 files and directories currently installed.)

Unpacking webmin (from webmin-current.deb) …

dpkg: dependency problems prevent configuration of webmin:

webmin depends on apt-show-versions; however:

Package apt-show-versions is not installed.

dpkg: error processing webmin (--install):

dependency problems - leaving unconfigured

Errors were encountered while processing:

webmin

#/tmp# dpkg -i apt-show-versions

I need the apt-how-versions package, is that correct?

34 Replies

That is correct, but just issuing the command :

apt-get -f install

should install any missing stuff you need.

apt-get install apt-show-versions

will install the missing package. then try the dpkg -i webmin-current.deb file.

however, is the web-current a different version from what's in the repository? ie, is there a reason you're not using debian or ubuntu's version of webmin and using one you downloaded?

I don't believe it is in the Debian repository. I've always had to install from webmin site.

Seems like that has worked Bryan..

Great job - thanks

Thanks also glg. I just never got to your method though.

although…….I am just off to work, so don't have time to figure this out. Again any pointers would be great

(stars = my hostname)

Setting up webmin (1.530) …

Webmin install complete. You can now login to https://**:10000/

as root with your root password, or as any user who can use sudo

to run commands as root.

*:~#

when I try and go to the https://–-:10000/ URL it does not connect.

Obviously there is another stage in the process I am missing.

do you have a firewall running that would be blocking 10000?

Not only a firewall, but you will also get a bad certificate warning when connecting, as it uses a self signed cert. Depending on your browser settings, that might keep you from connecting.

And you have a DNS entry for the Host you're trying to connect to?

Try by the IP:Portnumber and see what happens.

Also try the non-secure connection (i.e. http://) and see what happens.

Webmin will state for you to connect to https://:10000, so for me it was https://derfdev:10000. Obviously this won't work.

Just use the IP address instead.

thanks everyone for your support. I have been unable to do anything these last 2 days, owing to life, but I am back on it. Cheers

None of the things which everyone has suggested seem to work.

Re the DNS entry, when I put in my ip address on its own, with my PC firewall turned off

...

I get this message:

Unable to connect:

Firefox can't establish a connection to the server at ...

  • The site could be temporarily unavailable or too busy. Try again in a few

moments.

  • If you are unable to load any pages, check your computer's network

connection.

  • If your computer or network is protected by a firewall or proxy, make sure

that Firefox is permitted to access the Web.

Maybe I need to reconfigure my Linode Firewall, and allow my unique port?

You nailed it. Either allow all access to $webminPortNum or pinhole your IP.

Hi Derfy, VonSkippy, Bryan and Glg

I was working through this with a friend, but he is on holiday, and I'm stuck still.

I can't seem to get past this block….

LINODE INSTALL:

1) REBUILD AND BOOT

THEN

marcus@marcus-desktop:~$ ssh root@178.79.144.13

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!

Someone could be eavesdropping on you right now (man-in-the-middle attack)!

It is also possible that the RSA host key has just been changed.

The fingerprint for the RSA key sent by the remote host is

67:a1:ce:2a:55:18:e1:c7:ef:d5:78:f8:df:3a:35:3f.

Please contact your system administrator.

Add correct host key in /home/marcus/.ssh/known_hosts to get rid of this message.

Offending key in /home/marcus/.ssh/known_hosts:1

RSA host key for 178.79.144.13 has changed and you have requested strict checking.

Host key verification failed.

marcus@marcus-desktop:~$ rm /home/marcus/.ssh/known_hosts

marcus@marcus-desktop:~$

marcus@marcus-desktop:~$ rm /home/marcus/.ssh/known_hosts

rm: cannot remove `/home/marcus/.ssh/known_hosts': No such file or directory

marcus@marcus-desktop:~$ apt-get update

E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)

E: Unable to lock directory /var/lib/apt/lists/

E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)

E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

marcus@marcus-desktop:~$ apt-get upgrade –show-upgraded

CLOSE AND RESTART TERMINAL

ran these commands:

apt-get update

apt-get upgrade --show-upgraded

…………..

text missing from terminal…………..

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

Setting up dpkg (1.14.31) …

(Reading database … 12363 files and directories currently installed.)

Preparing to replace perl-modules 5.10.0-19lenny2 (using …/perl-modules5.10.0-19lenny3all.deb) …

Unpacking replacement perl-modules …

Preparing to replace libc6 2.7-18lenny2 (using …/libc62.7-18lenny7i386.deb) …

Unpacking replacement libc6 …

Processing triggers for man-db …

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LANG = "en_GB.utf8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

/usr/bin/mandb: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

Setting up libc6 (2.7-18lenny7) …

(Reading database … 12363 files and directories currently installed.)

Preparing to replace perl 5.10.0-19lenny2 (using …/perl5.10.0-19lenny3i386.deb) …

Unpacking replacement perl …

Preparing to replace perl-base 5.10.0-19lenny2 (using …/perl-base5.10.0-19lenny3i386.deb) …

Unpacking replacement perl-base …

Processing triggers for man-db …

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LANG = "en_GB.utf8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

/usr/bin/mandb: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

Setting up perl-base (5.10.0-19lenny3) …

(Reading database … 12363 files and directories currently installed.)

Preparing to replace tar 1.20-1 (using …/tar1.20-1+lenny1i386.deb) …

Unpacking replacement tar …

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LANG = "en_GB.utf8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

Processing triggers for man-db …

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LANG = "en_GB.utf8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

/usr/bin/mandb: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

Setting up tar (1.20-1+lenny1) …

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LANG = "en_GB.utf8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LANG = "en_GB.utf8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

(Reading database … 12363 files and directories currently installed.)

Preparing to replace debian-archive-keyring 2009.01.31 (using …/debian-archive-keyring2010.08.28~lenny1all.deb) …

Unpacking replacement debian-archive-keyring …

Setting up debian-archive-keyring (2010.08.28~lenny1) …

gpg: key F42584E6: "Lenny Stable Release Key <debian-release@lists.debian.org>" not changed

gpg: key 55BE302B: "Debian Archive Automatic Signing Key (5.0/lenny) <ftpmaster@debian.org>" not changed

gpg: key 6D849617: "Debian-Volatile Archive Automatic Signing Key (5.0/lenny)" not changed

gpg: key B98321F9: public key "Squeeze Stable Release Key <debian-release@lists.debian.org>" imported

gpg: key 473041FA: public key "Debian Archive Automatic Signing Key (6.0/squeeze) <ftpmaster@debian.org>" imported

gpg: Total number processed: 5

gpg: imported: 2 (RSA: 2)

gpg: unchanged: 3

gpg: no ultimately trusted keys found

(Reading database … 12363 files and directories currently installed.)

Preparing to replace apt 0.7.20.2+lenny1 (using …/apt0.7.20.2+lenny2i386.deb) …

Unpacking replacement apt …

Processing triggers for man-db …

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LANG = "en_GB.utf8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

/usr/bin/mandb: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

Setting up apt (0.7.20.2+lenny2) …

gpg: key F42584E6: "Lenny Stable Release Key <debian-release@lists.debian.org>" not changed

gpg: key 55BE302B: "Debian Archive Automatic Signing Key (5.0/lenny) <ftpmaster@debian.org>" not changed

gpg: key 6D849617: "Debian-Volatile Archive Automatic Signing Key (5.0/lenny)" not changed

gpg: key B98321F9: "Squeeze Stable Release Key <debian-release@lists.debian.org>" not changed

gpg: key 473041FA: "Debian Archive Automatic Signing Key (6.0/squeeze) <ftpmaster@debian.org>" not changed

gpg: Total number processed: 5

gpg: unchanged: 5

(Reading database … 12363 files and directories currently installed.)

Preparing to replace bzip2 1.0.5-1 (using …/bzip21.0.5-1+lenny1i386.deb) …

Unpacking replacement bzip2 …

Preparing to replace libbz2-1.0 1.0.5-1 (using …/libbz2-1.01.0.5-1+lenny1i386.deb) …

Unpacking replacement libbz2-1.0 …

Processing triggers for man-db …

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LANG = "en_GB.utf8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

/usr/bin/mandb: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

manconv: can't set the locale; make sure $LC_* and $LANG are correct

Setting up libbz2-1.0 (1.0.5-1+lenny1) …

(Reading database … 12363 files and directories currently installed.)

Preparing to replace tzdata 2010a-0lenny1 (using …/tzdata2010o-0lenny1all.deb) …

Unpacking replacement tzdata …

Setting up tzdata (2010o-0lenny1) …

Current default timezone: 'Etc/UTC'

Local time is now: Sun Jan 30 15:17:34 UTC 2011.

Universal Time is now: Sun Jan 30 15:17:34 UTC 2011.

Run 'dpkg-reconfigure tzdata' if you wish to change it.

(Reading database … 12384 files and directories currently installed.)

Preparing to replace apt-utils 0.7.20.2+lenny1 (using …/apt-utils0.7.20.2+lenny2i386.deb) …

Unpacking replacement apt-utils …

Preparing to replace cpio 2.9-13 (using …/cpio2.9-13lenny1i386.deb) …

Unpacking replacement cpio …

Preparing to replace iputils-ping 3:20071127-1 (using …/iputils-ping3%3a20071127-1+lenny1i386.deb) …

Unpacking replacement iputils-ping …

Preparing to replace libssl0.9.8 0.9.8g-15+lenny6 (using …/libssl0.9.80.9.8g-15+lenny11i386.deb) …

Unpacking replacement libssl0.9.8 …

Preparing to replace man-db 2.5.2-4 (using …/man-db2.5.2-5i386.deb) …

Unpacking replacement man-db …

Preparing to replace nano 2.0.7-4 (using …/archives/nano2.0.7-5i386.deb) …

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LANG = "en_GB.utf8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

Unpacking replacement nano …

Preparing to replace wget 1.11.4-2+lenny1 (using …/wget1.11.4-2+lenny2i386.deb) …

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LANG = "en_GB.utf8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

Unpacking replacement wget …

Preparing to replace libkrb53 1.6.dfsg.4~beta1-5lenny3 (using …/libkrb531.6.dfsg.4~beta1-5lenny6i386.deb) …

Unpacking replacement libkrb53 …

Preparing to replace libldap-2.4-2 2.4.11-1+lenny1 (using …/libldap-2.4-22.4.11-1+lenny2i386.deb) …

Unpacking replacement libldap-2.4-2 …

Preparing to replace openssl 0.9.8g-15+lenny6 (using …/openssl0.9.8g-15+lenny11i386.deb) …

Unpacking replacement openssl …

Preparing to replace python-support 0.8.4lenny1 (using …/python-support0.8.4lenny2all.deb) …

Unpacking replacement python-support …

Preparing to replace sudo 1.6.9p17-2+lenny1 (using …/sudo1.6.9p17-3i386.deb) …

Unpacking replacement sudo …

Setting up bzip2 (1.0.5-1+lenny1) …

Setting up apt-utils (0.7.20.2+lenny2) …

Setting up cpio (2.9-13lenny1) …

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LANG = "en_GB.utf8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LANG = "en_GB.utf8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

Setting up iputils-ping (3:20071127-1+lenny1) …

Setting up libssl0.9.8 (0.9.8g-15+lenny11) …

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LANG = "en_GB.utf8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

locale: Cannot set LC_CTYPE to default locale: No such file or directory

locale: Cannot set LC_MESSAGES to default locale: No such file or directory

locale: Cannot set LC_ALL to default locale: No such file or directory

Setting up man-db (2.5.2-5) …

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LANG = "en_GB.utf8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

locale: Cannot set LC_CTYPE to default locale: No such file or directory

locale: Cannot set LC_MESSAGES to default locale: No such file or directory

locale: Cannot set LC_ALL to default locale: No such file or directory

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LANG = "en_GB.utf8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LANG = "en_GB.utf8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

Updating database of manual pages …

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LANG = "en_GB.utf8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

Setting up nano (2.0.7-5) …

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LANG = "en_GB.utf8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LANG = "en_GB.utf8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LANG = "en_GB.utf8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

Setting up wget (1.11.4-2+lenny2) …

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LANG = "en_GB.utf8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

Setting up libkrb53 (1.6.dfsg.4~beta1-5lenny6) …

Setting up libldap-2.4-2 (2.4.11-1+lenny2) …

Setting up openssl (0.9.8g-15+lenny11) …

Setting up python-support (0.8.4lenny2) …

Setting up sudo (1.6.9p17-3) …

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LANG = "en_GB.utf8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LANG = "en_GB.utf8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

Setting up perl-modules (5.10.0-19lenny3) …

Setting up perl (5.10.0-19lenny3) …

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LANG = "en_GB.utf8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

li264-13:~#

CLOSE AND RESTART TERMINAL

marcus@marcus-desktop:~$ ssh root@178.79.144.13

root@178.79.144.13's password:

Linux li264-13 2.6.32.16-linode28 #1 SMP Sun Jul 25 21:32:42 UTC 2010 i686

The programs included with the Debian GNU/Linux system are free software;

the exact distribution terms for each program are described in the

individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent

permitted by applicable law.

Last login: Sun Jan 30 15:16:35 2011 from host81-155-124-188.range81-155.btcentralplus.com

li264-13:~# echo "roger" > /etc/hostname

li264-13:~# hostname -F /etc/hostname

li264-13:~# apt-get install locales

Reading package lists… Done

Building dependency tree

Reading state information… Done

The following NEW packages will be installed:

locales

0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.

Need to get 4432kB of archives.

After this operation, 11.9MB of additional disk space will be used.

Get:1 http://ftp.us.debian.org lenny/main locales 2.7-18lenny7 [4432kB]

Fetched 4432kB in 2s (2100kB/s)

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LANG = "en_GB.utf8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

locale: Cannot set LC_CTYPE to default locale: No such file or directory

locale: Cannot set LC_MESSAGES to default locale: No such file or directory

locale: Cannot set LC_ALL to default locale: No such file or directory

Preconfiguring packages …

Selecting previously deselected package locales.

(Reading database … 12384 files and directories currently installed.)

Unpacking locales (from …/locales2.7-18lenny7all.deb) …

Processing triggers for man-db …

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LANG = "en_GB.utf8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

Setting up locales (2.7-18lenny7) …

Generating locales (this might take a while)…

Generation complete.

li264-13:~# dpkg-reconfigure locales

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LANG = "en_GB.utf8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

locale: Cannot set LC_CTYPE to default locale: No such file or directory

locale: Cannot set LC_MESSAGES to default locale: No such file or directory

locale: Cannot set LC_ALL to default locale: No such file or directory

/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory

/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory

/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory

Generating locales (this might take a while)…

en_GB.UTF-8… done

Generation complete.

li264-13:~# dpkg-reconfigure tzdata

Current default timezone: 'Europe/London'

Local time is now: Sun Jan 30 15:22:19 GMT 2011.

Universal Time is now: Sun Jan 30 15:22:19 UTC 2011.

li264-13:~# nano /etc/hosts

li264-13:~#

127.0.0.1 localhost

The following lines are desirable for IPv6 capable hosts

::1 ip6-localhost ip6-loopback

fe00::0 ip6-localnet

ff00::0 ip6-mcastprefix

ff02::1 ip6-allnodes

ff02::2 ip6-allrouters

ff02::3 ip6-allhosts

178.79.144.13 roger.themarcuswest.com roger

CLOSE AND RESTART TERMINAL

FIREWALL

rules:

external network interfaces: eth0

Open external TCP-ports: 80 **** 10000:11000

external UDP ports: 80 **** 10000:11000

Internal network interfaces: (blank)

marcus@marcus-desktop:~$ ssh root@178.79.144.13

root@178.79.144.13's password:

Linux li264-13 2.6.32.16-linode28 #1 SMP Sun Jul 25 21:32:42 UTC 2010 i686

The programs included with the Debian GNU/Linux system are free software;

the exact distribution terms for each program are described in the

individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent

permitted by applicable law.

Last login: Sun Jan 30 15:20:58 2011 from host81-155-124-188.range81-155.btcentralplus.com

roger:~# apt-get update

Hit http://security.debian.org lenny/updates Release.gpg

Ign http://security.debian.org lenny/updates/main Translation-en_GB

Hit http://security.debian.org lenny/updates Release

Hit http://ftp.us.debian.org lenny Release.gpg

Ign http://ftp.us.debian.org lenny/main Translation-en_GB

Ign http://security.debian.org lenny/updates/main Packages/DiffIndex

Ign http://security.debian.org lenny/updates/main Sources/DiffIndex

Hit http://security.debian.org lenny/updates/main Packages

Hit http://security.debian.org lenny/updates/main Sources

Hit http://ftp.us.debian.org lenny Release

Ign http://ftp.us.debian.org lenny/main Packages/DiffIndex

Ign http://ftp.us.debian.org lenny/main Sources/DiffIndex

Hit http://ftp.us.debian.org lenny/main Packages

Hit http://ftp.us.debian.org lenny/main Sources

Reading package lists… Done

roger:~# apt-get upgrade --show-upgraded

Reading package lists… Done

Building dependency tree

Reading state information… Done

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

roger:~# apt-get install arno-iptables-firewall

Reading package lists… Done

Building dependency tree

Reading state information… Done

The following extra packages will be installed:

gawk

Recommended packages:

dnsutils lynx

The following NEW packages will be installed

arno-iptables-firewall gawk

0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.

Need to get 795kB of archives.

After this operation, 2404kB of additional disk space will be used.

Do you want to continue [Y/n]? y

Get: 1 http://ftp.us.debian.org lenny/main gawk 1:3.1.5.dfsg-4.1 [685kB]

Get: 2 http://ftp.us.debian.org lenny/main arno-iptables-firewall 1.8.8.o-2 [110kB]

Fetched 795kB in 1s (586kB/s)

Preconfiguring packages …

Selecting previously deselected package gawk.

(Reading database … 12931 files and directories currently installed.)

Unpacking gawk (from …/gawk1%3a3.1.5.dfsg-4.1i386.deb) …

Selecting previously deselected package arno-iptables-firewall.

Unpacking arno-iptables-firewall (from …/arno-iptables-firewall1.8.8.o-2all.deb) …

Moving plugins from /etc to /usr/share/arno-iptables-firewall/plugins.

Processing triggers for man-db …

Setting up gawk (1:3.1.5.dfsg-4.1) …

Setting up arno-iptables-firewall (1.8.8.o-2) …

Arno's Iptables Firewall Script v1.8.8o


Sanity checks passed…OK

Stopping (user) plugins (if used)…

Checking/probing Iptables modules:

NOTE: Module "ip_tables" not found. Assuming it is compiled in the kernel

NOTE: Module "ip_conntrack" not found. Assuming it is compiled in the kernel

NOTE: Module "ipconntrackftp" not found. Assuming it is compiled in the kernel

NOTE: Module "ipt_conntrack" not found. Assuming it is compiled in the kernel

NOTE: Module "ipt_limit" not found. Assuming it is compiled in the kernel

NOTE: Module "ipt_state" not found. Assuming it is compiled in the kernel

NOTE: Module "ipt_multiport" not found. Assuming it is compiled in the kernel

NOTE: Module "iptable_filter" not found. Assuming it is compiled in the kernel

NOTE: Module "iptable_mangle" not found. Assuming it is compiled in the kernel

NOTE: Module "iptable_nat" not found. Assuming it is compiled in the kernel

NOTE: Module "ipt_REJECT" not found. Assuming it is compiled in the kernel

NOTE: Module "ipt_LOG" not found. Assuming it is compiled in the kernel

NOTE: Module "ipt_TCPMSS" not found. Assuming it is compiled in the kernel

NOTE: Module "ipt_TOS" not found. Assuming it is compiled in the kernel

Module check done…

Configuring /proc/…. settings:

Enabling anti-spoof with rp_filter

Enabling SYN-flood protection via SYN-cookies

Disabling the logging of martians

Disabling the acception of ICMP-redirect messages

Setting the max. amount of simultaneous connections to 16384

Setting default conntrack timeouts

Enabling protection against source routed packets

Enabling reduction of the DoS'ing ability

Setting Default TTL=64

Disabling ECN (Explicit Congestion Notification)

Enabling support for dynamic IP's

Flushing route table

/proc/ setup done…

Setting up firewall chains

Setting default INPUT/FORWARD policy to DROP

Using loglevel "info" for syslogd

Setting up firewall rules:


Accepting packets from the local loopback device

Enabling setting the maximum packet size via MSS

Enabling mangling TOS

iptables: No chain/target/match by that name

iptables: No chain/target/match by that name

iptables: No chain/target/match by that name

iptables: No chain/target/match by that name

iptables: No chain/target/match by that name

iptables: No chain/target/match by that name

iptables: No chain/target/match by that name

iptables: No chain/target/match by that name

iptables: No chain/target/match by that name

iptables: No chain/target/match by that name

iptables: No chain/target/match by that name

iptables: No chain/target/match by that name

iptables: No chain/target/match by that name

iptables: No chain/target/match by that name

iptables: No chain/target/match by that name

iptables: No chain/target/match by that name

iptables: No chain/target/match by that name

iptables: No chain/target/match by that name

iptables: No chain/target/match by that name

iptables: No chain/target/match by that name

iptables: No chain/target/match by that name

iptables: No chain/target/match by that name

iptables: No chain/target/match by that name

iptables: No chain/target/match by that name

iptables: No chain/target/match by that name

iptables: No chain/target/match by that name

iptables: No chain/target/match by that name

iptables: No chain/target/match by that name

iptables: No chain/target/match by that name

iptables: No chain/target/match by that name

iptables: No chain/target/match by that name

iptables: No chain/target/match by that name

iptables: No chain/target/match by that name

iptables: No chain/target/match by that name

Logging of stealth scans (nmap probes etc.) enabled

Logging of packets with bad TCP-flags enabled

Logging of INVALID TCP packets disabled

Logging of INVALID UDP packets disabled

Logging of INVALID ICMP packets disabled

Logging of fragmented packets enabled

Logging of access from reserved addresses enabled

Reading custom rules from /etc/arno-iptables-firewall/custom-rules

Checking for (user) plugins in /usr/share/arno-iptables-firewall/plugins…

UPnP plugin v0.12

Loaded 1 plugin(s)…

Setting up INPUT policy for the external net (INET):

Enabling support for DHCP-assigned-IP (DHCP client)

Logging of explicitly blocked hosts enabled

Logging of denied local output connections enabled

Packets will NOT be checked for private source addresses

Allowing the whole world to connect to TCP port(s): 80 7537 10000:11000

Allowing the whole world to connect to UDP port(s): 80 7537 10000:11000_

iptables v1.4.2: invalid port/service `11000_' specified

Try `iptables -h' or 'iptables --help' for more information.

Denying the whole world to send ICMP-requests(ping)

Logging of dropped ICMP-request(ping) packets enabled

Logging of dropped other ICMP packets enabled

Logging of possible stealth scans enabled

Logging of (other) connection attempts to PRIVILEGED TCP ports enabled

Logging of (other) connection attempts to PRIVILEGED UDP ports enabled

Logging of (other) connection attempts to UNPRIVILEGED TCP ports enabled

Logging of (other) connection attempts to UNPRIVILEGED UDP ports enabled

Logging of other IP protocols (non TCP/UDP/ICMP) connection attempts enabled

Logging of ICMP flooding enabled

Setting up OUTPUT policy for the external net (INET):

Allowing all (other) ports/protocols

Applying INET policy to external interface: eth0 (without an external subnet specified)

Security is ENFORCED for external interface(s) in the FORWARD chain

Jan 30 15:32:04 All firewall rules applied.

roger:~#

SSH LOCK DOWN

roger:~# nano /etc/ssh/sshd_config

change port, permitrootlogin no, x11 forwarding no, usePAM no

WEBMIN INSTALL

roger:~# apt-get update

Hit http://security.debian.org lenny/updates Release.gpg

Ign http://security.debian.org lenny/updates/main Translation-en_GB

Hit http://ftp.us.debian.org lenny Release.gpg

Ign http://ftp.us.debian.org lenny/main Translation-en_GB

Hit http://security.debian.org lenny/updates Release

Ign http://security.debian.org lenny/updates/main Packages/DiffIndex

Ign http://security.debian.org lenny/updates/main Sources/DiffIndex

Hit http://ftp.us.debian.org lenny Release

Hit http://security.debian.org lenny/updates/main Packages

Hit http://security.debian.org lenny/updates/main Sources

Ign http://ftp.us.debian.org lenny/main Packages/DiffIndex

Ign http://ftp.us.debian.org lenny/main Sources/DiffIndex

Hit http://ftp.us.debian.org lenny/main Packages

Hit http://ftp.us.debian.org lenny/main Sources

Reading package lists… Done

roger:~# apt-get upgrade

Reading package lists… Done

Building dependency tree

Reading state information… Done

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

roger:~# apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libio-pty-perl libmd5-perl

Reading package lists… Done

Building dependency tree

Reading state information… Done

perl is already the newest version.

openssl is already the newest version.

The following NEW packages will be installed

libauthen-pam-perl libio-pty-perl libmd5-perl libnet-ssleay-perl

0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.

Need to get 285kB of archives.

After this operation, 1253kB of additional disk space will be used.

Get: 1 http://ftp.us.debian.org lenny/main libauthen-pam-perl 0.16-1.1+b1 [32.9kB]

Get: 2 http://ftp.us.debian.org lenny/main libio-pty-perl 1:1.07-1+b1 [40.7kB]

Get: 3 http://ftp.us.debian.org lenny/main libmd5-perl 2.03-1 [5700B]

Get: 4 http://ftp.us.debian.org lenny/main libnet-ssleay-perl 1.35-1 [206kB]

Fetched 285kB in 0s (350kB/s)

Selecting previously deselected package libauthen-pam-perl.

(Reading database … 13082 files and directories currently installed.)

Unpacking libauthen-pam-perl (from …/libauthen-pam-perl0.16-1.1+b1i386.deb) …

Selecting previously deselected package libio-pty-perl.

Unpacking libio-pty-perl (from …/libio-pty-perl1%3a1.07-1+b1i386.deb) …

Selecting previously deselected package libmd5-perl.

Unpacking libmd5-perl (from …/libmd5-perl2.03-1all.deb) …

Selecting previously deselected package libnet-ssleay-perl.

Unpacking libnet-ssleay-perl (from …/libnet-ssleay-perl1.35-1i386.deb) …

Processing triggers for man-db …

Setting up libauthen-pam-perl (0.16-1.1+b1) …

Setting up libio-pty-perl (1:1.07-1+b1) …

Setting up libmd5-perl (2.03-1) …

Setting up libnet-ssleay-perl (1.35-1) …

roger:~# cd /tmp

roger:/tmp# wget http://www.webmin.com/download/deb/webmin-current.deb

--2011-01-30 15:42:01-- http://www.webmin.com/download/deb/webmin-current.deb

Resolving www.webmin.com… 216.34.181.97

Connecting to www.webmin.com|216.34.181.97|:80… connected.

HTTP request sent, awaiting response… 302 Found

Location: http://softlayer.dl.sourceforge.net/sou … 30_all.deb">http://softlayer.dl.sourceforge.net/sourceforge/webadmin/webmin1.530all.deb [following]

–2011-01-30 15:42:03-- http://softlayer.dl.sourceforge.net/sou … 30_all.deb">http://softlayer.dl.sourceforge.net/sourceforge/webadmin/webmin1.530all.deb

Resolving softlayer.dl.sourceforge.net… 74.86.229.28

Connecting to softlayer.dl.sourceforge.net|74.86.229.28|:80… connected.

HTTP request sent, awaiting response… 302 Found

Location: http://downloads.sourceforge.net/source … eforge.net">http://downloads.sourceforge.net/sourceforge/webadmin/webmin1.530all.deb?download&failedmirror=softlayer.dl.sourceforge.net [following]

–2011-01-30 15:42:03-- http://downloads.sourceforge.net/source … eforge.net">http://downloads.sourceforge.net/sourceforge/webadmin/webmin1.530all.deb?download&failedmirror=softlayer.dl.sourceforge.net

Resolving downloads.sourceforge.net… 216.34.181.59

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

HTTP request sent, awaiting response… 301 Moved Permanently

Location: http://downloads.sourceforge.net/projec … eforge.net">http://downloads.sourceforge.net/project/webadmin/webmin/1.530/webmin1.530all.deb?download=&failedmirror=softlayer.dl.sourceforge.net [following]

–2011-01-30 15:42:04-- http://downloads.sourceforge.net/projec … eforge.net">http://downloads.sourceforge.net/project/webadmin/webmin/1.530/webmin1.530all.deb?download=&failedmirror=softlayer.dl.sourceforge.net

Reusing existing connection to downloads.sourceforge.net:80.

HTTP request sent, awaiting response… 302 Found

Location: http://puzzle.dl.sourceforge.net/projec … 30_all.deb">http://puzzle.dl.sourceforge.net/project/webadmin/webmin/1.530/webmin1.530all.deb [following]

–2011-01-30 15:42:04-- http://puzzle.dl.sourceforge.net/projec … 30_all.deb">http://puzzle.dl.sourceforge.net/project/webadmin/webmin/1.530/webmin1.530all.deb

Resolving puzzle.dl.sourceforge.net… 195.141.111.5

Connecting to puzzle.dl.sourceforge.net|195.141.111.5|:80… connected.

HTTP request sent, awaiting response…

200 OK

Length: 14643982 (14M) [application/octet-stream]

Saving to: `webmin-current.deb'

100%[======================================>] 14,643,982 32.5K/s in 10m 26s

2011-01-30 15:52:54 (22.9 KB/s) - `webmin-current.deb' saved [14643982/14643982]

roger:/tmp# dpkg -i webmin1.530all.deb

dpkg: error processing webmin1.530all.deb (–install):

cannot access archive: No such file or directory

Errors were encountered while processing:

webmin1.530all.deb

roger:/tmp#

Not sure about the locales problem, but webmin:@HerbertMouse:

200 OK

Length: 14643982 (14M) [application/octet-stream]

Saving to: `webmin-current.deb'

100%[======================================>] 14,643,982 32.5K/s in 10m 26s

2011-01-30 15:52:54 (22.9 KB/s) - `webmin-current.deb' saved [14643982/14643982]

roger:/tmp# dpkg -i webmin1.530all.deb

dpkg: error processing webmin1.530all.deb (–install):

cannot access archive: No such file or directory

Errors were encountered while processing:

webmin1.530all.deb

roger:/tmp#

It saved it as webmin-current.deb and not webmin1.530all.deb , so try going to tmp and doing dpkg -i webmin-current.deb

Cheers Chris…

I am still struggling with my Linode…..

I have switched to CentOS now, but it just doesn't seem to want to work.

I rebuild and boot, enter as normal, first sorting out the known hosts issue with

rm /home/marcus/.ssh/known_hosts

then I run an update (yum update)

then I go to sshd_config

nano /etc/ssh/sshd_config

and change the port to a 5 figure port.

Immediately I close my terminal and shut down my Linode, and reboot

NOW, I am expecting my entry to be blocked ( i.e. I need to append the port to my login….but it is logging me in regardless…..

****marcus@marcus-desktop:~$ ssh root@178.79.144.13

root@178.79.144.13's password:

Last login: Wed Feb 16 01:48:54 2011 from host88-888-888-88.range81-155.btcentralplus.com

[root@li264-13 ~]#****

(I have changed my host numbers coz I am paranoid like that :)

Interesting… did you try to ssh into the new port as well? Confirm that sshd_config still includes the change and isn't commented out or something.

FYI, When you change a config file it is not necessary (practically ever) to reboot the whole server, just restart the daemon with service restart sshd or /etc/init.d/ssh restart.

Cheers IML,

I am now getting to the point of just wanting to pay someone to sort this thing out for me…

Anyone interested drop me a line. Cheers

I have a different approach for you.

Throw up a blank copy of either CentOS 5 or Ubuntu 10.04.

wget http://software.virtualmin.com/gpl/scripts/install.sh
chmod +x install.sh
./install.sh

That should set webmin/apache/mysql and such up for you automatically.

Hi KHobbits,

Thanks for taking the time to suggest this, I appreciate it.

I have laboured to achieve a pretty simple task, viz close down root access, and close down easy port access.

To the best of my knowledge I have achieved this…

Now I am slightly confused though…

How do I do a Yum Update if I can't access root?

Do I do a sudo command?


Regarding the coding you have given me, is this a safe way to proceed?

(Sorry, I am a security retentive.)

I am not quite sure what "throwing up a blank copy of Centos" means…

(sorry, this is all new territory to me)

Once I do what you suggest, will I be working in a GUI for any further tasks?

Thanks

Marcus

The method I explained works best on a blank install of an os. IE it is best you run it on a system before doing any further configuration.

Depending on the scale of a web panel and how much functionality you want available, it is usually best to be cautious with how you configure a system. Most web panels will begin to fall over if you change settings which they rely on. In fact it could become a security concern if the webpanel makes changes to one config file that would usually be fine but because you modified another, it ends up creating hole.

Webmin is a free control panel that was designed to provide easy administration of services and config files. On its own webmin isn't very useful to anyone other than the server maintainers. Virtualmin GPL is the free version of a commercial product developed by the same guy who maintains webmin. It is a alongside product which extends the interface to allow people to maintain domain settings. It is useful in a shared user or multiple domain environment because it draws walls between virtual hosts. It makes it possible for users to edit their own apache configs, and for domains to stand separate and more secure from cross site attacks.

The install script steps I posted earlier are that of the recommended method to install both virtualmin and webmin. The script installs these packages along with everything needed to create this type of service.

Personally I still use the CLI quite often when working on a virtualmin machine, I just generally avoid editing files I know virtualmin edits itself.

If you disable root, you will need to do most commands through sudo, there are usually a few tricks to get back to root even if its disabled by using "sudo su" or "sudo -i".

Cheers KH,

I will run with it….

Incidentally, since installing my Linode, (and doing nothing on it), I have 1 surge and 1 block in the top and bottom graphs, and the middle Graph is a green and blue forest -

Is that normal?

Cheers

Btw,

I have done what you say..I type in and get a message about

great power and great responsiblity.

I then put in my root password….but it won't give me access…..

is this normal?

@HerbertMouse:

I then put in my root password….but it won't give me access…..

is this normal?

sudo requires the password of the user who is executing it, not the password for root. You can configure sudo to assign different powers to different users and nobody needs to become root.

thanks Peter…

all help greatly appreciated!

[*@li888-88 ~]$ sudo su

[sudo] password for *:

* is not in the sudoers file. This incident will be reported.

[*@li888-88 ~]$

I am wondering what stupidity have I committed here…….

You need to add a line like this to the /etc/sudoers file: yourusername ALL=(ALL) ALL This example enables the user 'yourusername' to execute all commands as any user. You need to edit the file as root using the visudo command. Check the sudoers man page for more control options.

Unless you give a user sudo access, you will have quite a hard time doing anything without a root user!

Assuming you haven't locked yourself out of the root account completely, you could use 'su' on its own to try switching to it.

Failing that, you could try logging into your linode using lish (the ssh console in the account panel). Even if you disabled root for ssh, console usually still has access.

If you still can't get anywhere, the linode panel lets you reset your root password through its web panel.

And finally, linode has a recovery image you can mount which lets you modify the linode from it, without actually booting it, although by this point its usually easier to start from scratch :P.

Edit: about the spikes…

The linode graphs try to use the best scale to represent the amount of data/cpu/io your using. Your linode can use up to 400% cpu (4 cores), yet if you never go above 5% you will generally get a graph showing quite a bit of fluctuation between 2-4%. So seeing alot of spikes or large blocks isn't bad. As long as your not constantly burning through resources at a rate that would pass your cap or be unfair it isn't a problem.

(A Linode 512 host has at most 40 other hosts. A linode host has 8 cores. 800/40 = 20. If your averaging over 20% CPU usage your eating up more than your fair share :p)

Hey Pclissold,

I tried visudo /etc/sudoers and it drew a blank (bash command not found)

so I went in with Nano,

and stuck the code you suggest in the file, (at the end)

Cheers

Otherwise…KH.. I did the Virtualmin, with some success, except:

|WARNING: Your ClamAV installation is OUTDATED!

WARNING: Local version: 0.96.5 Recommended version: 0.97

/WARNING: getfile: daily-12341.cdiff not found on remote server (IP: 193.1.193.64)

WARNING: getpatch: Can't download daily-12341.cdiff from database.clamav.net

WARNING: getfile: daily-12341.cdiff not found on remote server (IP: 163.1.3.8)

WARNING: getpatch: Can't download daily-12341.cdiff from database.clamav.net

WARNING: getfile: daily-12341.cdiff not found on remote server (IP: 217.135.32.99)

WARNING: getpatch: Can't download daily-12341.cdiff from database.clamav.net

WARNING: Incremental update failed, trying to download daily.cvd

\WARNING: Your ClamAV installation is OUTDATED!

WARNING: Current functionality level = 58, recommended = 60

\Enabling quotas on filesystem for /home

Re the Virtualmin install.

KH,

Now I have completed the install, I go to

https://***.**.***.**:10000

and get a red warning page telling me not to proceed because of a possible interception.

Alternatively if I try

https://***.**.***.**: port number>

I get 'this webpage is not available'.

er……lost as usual :)

P.s. what is Cloudmin….is it relevant?

You will ofcourse get the warning, because you dont have a valid SSL certificate for your webmin. That isn't something to worry about.

Cloudmin is used to manage a mesh of servers.

Well KH,

I am almost there - except I cannot get in…

do i need to go back into the Shell and change something so I can access the GUI with a username and password?

You should be able to get in with: root/rootpass and with any user that has sudoers access.

You might want to check your syslog to see if there is anything in there.

Hi

(my server is Ubuntu 10.04 LTS)

I recently had a (benign?) shell fork bomb incident, which I managed to correct with this command:

while (sleep 100 &!) do; done

However, my server now shows this document in my user directory, which was created at the time of the shell bomb:

sedd6GOTx

Anybody know what this might be?

I can't delete it nor can I open it with a text editor

Holy necro'ed thread Batman! :roll:

You would be better off starting a new thread. I'll assume you meant to, but the click bombed as well. :D

Random files showing up an a directory makes me think the bomb was not so benign?

I would start with strings ~/sedd6GOTx | less

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct