Friday Sep 10
English French German Italian Portuguese Russian Spanish Filipino

Installing Virtualmin GPL using install script on Debian Etch - Page 2

Attention: open in a new window. PrintE-mail
Article Index
Installing Virtualmin GPL using install script on Debian Etch
Installing additional packages
Running install script
Connecting to Webmin
Change webmin admin account
All Pages


Installing packages:

apt-get install binutils cpp fetchmail flex gcc libarchive-zip-perl libc6-dev libcompress-zlib-perl libdb4.3-dev libpcre3 libpopt-dev linux-kernel-headers lynx m4 make ncftp nmap openssl perl perl-modules unzip zip zlib1g-dev autoconf automake1.9 libtool bison autotools-dev g++

apt-get install ssh vim

Change SSH server listening port to something else other than the default 22. This will at least stop most of the automated password guessing programs.

vi /etc/ssh/sshd_config

Port 3232 (Make sure to pick some unused port number to use.)

Restart SSH

/etc/init.d/ssh restart

netstat –vat –c

Output should show ssh server is now listening at port 3232

SSH now to server on port 3232

ssh –l root 123.123.123.123 –p 3232

(As a security measure I will disallow root logins via SSH after I’m done setting up the server.)

Answer yes when asked “Are you sure you want to continue connecting (yes/no)?

We're now logged in as root as indicated by the # sign after the hostname.