Linux Format

Installing Samba and Webmin

-

With an updated package database we can install Samba and its dependenci­es with a simple command line call: $ sudo apt-get install samba

If you are prompted to insert the install CD at this point, as we were, then you have two choices. Either do as it says, or comment out the line beginning deb cdrom in /etc/apt/sources.

list. Debian seems overly keen to save bandwidth here, but since packages on the installati­on media are likely to be out of date before long, it’s not really being much help in the wider scheme of things.

Webmin is a trickier propositio­n to install – it’s not in the official Debian repositori­es, but a .deb file is available which will ensure the package’s dependenci­es are satisfied and that it will be updated with the rest of the system during the standard drill.

To use it we first need to add the author’s repo and key into apt, which is a matter of: $ sudo sh -c ‘echo “deb http://download. webmin.com/download/repository sarge contrib” > /etc/apt/sources.list.d/webmin.list’ $ wget -qO - http://www.webmin.com/ jcameron-key.asc | sudo apt-key add -

OK

Take care with the single and double quotes in the first command, and note that it’s a letter O and not a number zero after the -q in the second (this option, together with the subsequent dash prints the downloaded content to stdout, which in this case is piped to the key adding utility).

All done? Now update the package lists (again) and install Webmin: $ sudo apt-get update $ sudo apt-get install webmin And we’re done.

Newspapers in English

Newspapers from Australia