Debian Testing

From LinodeWiki

Jump to: navigation, search

Contents

[edit] How to setup your Linode with Debian Testing

By Craig Spurrier of Craigweb

Testing contains packages that are intended to become part of the next stable distribution. There are strict criteria a package in unstable must obey before it can be added to testing.

This guide is for testing. To use Debian testing with your linode you must start with stable and upgrade to testing (steps 3-5).

[edit] Make work directory

Create a directory to work in, then switch to it:

mkdir work
cd work

[edit] Update sources

Update the sources file by running:

apt-get update

[edit] Install text editor

Install a text editor:

apt-get install ee

[edit] Modify sources

Edit the sources file:

ee /etc/apt/sources.list

Replace it with this:

deb http://mirrors.kernel.org/debian/ testing main contrib non-free 
deb-src http://mirrors.kernel.org/debian/ testing main contrib non-free 
deb http://security.debian.org/ testing/updates main contrib non-free 

[edit] Update sources again

Update the sources database:

apt-get update

[edit] Do the upgrade

Upgrade to testing:

apt-get dist-upgrade

Accept the defaults.

[edit] Configure hostname

Update your hostname:

echo yourdomainnamehere >/etc/hostname
/bin/hostname -F /etc/hostname

[edit] Prepare for Webmin install

Install the Webmin dependences:

apt-get install libauthen-pam-perl libnet-ssleay-perl openssl perl perl-modules

[edit] Get Webmin

Get Webmin

wget http://umn.dl.sourceforge.net/sourceforge/webadmin/webmin-1.160.tar.gz

[edit] Extract Webmin

Extract webmin to a folder and then switch to that folder:

gunzip webmin-1.160.tar.gz
tar xf webmin-1.160.tar
cd webmin-1.160

[edit] Install Webmin

Install Webmin:

./setup.sh /usr/local/webmin

[edit] Install Apache

Install Apache and PHP:

apt-get install apache2 php4

or

apt-get install apache php4

[edit] Logon to Webmin

On your local computer point your web browser to https://yourdomain.com:10000 and login as root.

[edit] Start Apache

Click Servers --> Apache and follow the prompts, then click Start Apache (at the top).

[edit] Test Apache

On your local computer point your web browser to http://yourdomain.com. You should see a test page; if you do, your website is now working. Congratulations!

[edit] Configure startup

Set Apache to start on boot. Click on System --> Bootup and Shutdown. Put a check by httpd and click start select on boot.

[edit] Continue

Set up E-mail, Virtualmin, Ftp, etc.

Enjoy your new server!

Personal tools