PDA

View Full Version : Ubuntu Server Installation Questions


jacobrich
12th January 2006, 21:42
I am getting ready to install Ubuntu server on a spare PC. I am very new to Linux, but really want to learn about it. I am a Windows Network Administrator and am familiar with most networking/server issues as they exist in the Windows world.

I would like to know how the following items compare to the Windows world:


Does Ubuntu have any sort of built-in software firewall (like the basic Windows firewall).
Is the ability to Telnet into a server included automatically with a basic server install?
Is the ability to make TAR or ZIP files included with a basic server install?
Is it possible to make a TAR file and then transmit it via Telnet (for back-up purposes?)


Right now I am running eyeOS (www.eyeos.org) on my Windows XP Pro box with IIS and PHP 5.x installed. I would like to set up an Ubuntu server on my LAN. I would like for this Ubuntu server to only include the most basic parts of Linux, though. I don't need SSH, FTP, X, etc... Just command line stuff. Can it be done? I am asking if I can do the TAR items via Telnet because I would prefer to just Telnet into the box and copy the files over to another machine for backup purposes. I figured I'd just install Apache, SSL, PHP and some sort of firewall.

falko
12th January 2006, 21:55
Does Ubuntu have any sort of built-in software firewall (like the basic Windows firewall).
Yes, it's called iptables. It's very difficult to manage iptables from the command line. I don't know if Ubuntu has a command line wizard for this, but if you install Gnome you can do it from there.

Is the ability to Telnet into a server included automatically with a basic server install?
Yes.

Is the ability to make TAR or ZIP files included with a basic server install?
Yes.
Is it possible to make a TAR file and then transmit it via Telnet (for back-up purposes?)

Yes. However, I strongly recommend to use SSH for it. It's encrypted and therefore much more secure than telnet.

I don't need SSH, FTP, X, etc... Just command line stuff. Can it be done?
Yes. But believe me: you need SSH!

I am asking if I can do the TAR items via Telnet because I would prefer to just Telnet into the box and copy the files over to another machine for backup purposes. I figured I'd just install Apache, SSL, PHP and some sort of firewall.
You can transfer files using SSH. You casn use WinSCP for it: http://winscp.net/eng/index.php
There'S also a command line client for Windows (also uses SSH): PuTTY: http://www.chiark.greenend.org.uk/~sgtatham/putty/

You might want ot have a look at this Ubuntu server tutorial: http://www.howtoforge.com/perfect_setup_ubuntu_5.10

jacobrich
12th January 2006, 22:03
Thank you for responding so quickly! I actually read that tutorial and it led me here.

So iptables is the built in firewall. Is it installed by default? and just difficult to manage from the command line.

The main reason I was thinking of not installing SSH was because all of my other machines are Windows <ducks> and I'd like to be able to just use their CMD prompt to get into this box (and not have to install an SSH client on them).

falko
12th January 2006, 22:26
So iptables is the built in firewall? Is it installed by default? Just super difficult to manage from the command line.
It's possible that Ubuntu has an easy-to-understand iptales configuration file or even a command line configuration tool, but I don't know for sure. You might have to google a bit, or you install ISPConfig which brings its own iptables firewall which is easy to configure from a browser... ;)

The main reason I was thinking of not installing SSH was because all of my other machines are Windows <ducks> and I'd like to be able to just use their CMD prompt to get into this box (and not have to install an SSH client on them).
PuTTY is just an executable file, you put it onto your Windows box, click on it, and it's running. No installation needed! :)

jacobrich
13th January 2006, 17:27
Another question: does a basic Unbuntu server install include and CD writing capabilities? Maybe I could just burn my files to CD for back-up instead of using Telnet... I would prefer to run only Telnet or SSH, not both. Is it possible to remove Telnet if I install SSH?

till
13th January 2006, 19:20
I dont think that CD writing is available in a basic install.

It is recommended that you remove telnet and use SSH instaed.

jacobrich
13th January 2006, 19:50
Thank you till. How do I remove Telnet?

falko
13th January 2006, 22:33
Don't remove it. telnet is part of most basic Linux installations, so it's fine if it's there, but you should use SSH wnever it's possible.

falko
13th January 2006, 23:01
:o Forget my last post. I was thinking of the telnet program, not the telnet daemon. Do you see telnet when you run netstat -tap? If not, then everyting's fine. :)

jacobrich
13th January 2006, 23:29
Hi falko, I do not see Telnet when I run that code... so that is good. Does that mean that the telnet daemon is not "installed", or just disabled?

Sorry my questions are so basic. I am trying to learn as much as I can.

falko
14th January 2006, 00:06
It might be installed, but it's not running. This is ok like this.

jacobrich
14th January 2006, 20:24
Yes, it's called iptables. It's very difficult to manage iptables from the command line. I don't know if Ubuntu has a command line wizard for this, but if you install Gnome you can do it from there.


Yes.

Yes.

Yes. However, I strongly recommend to use SSH for it. It's encrypted and therefore much more secure than telnet.


Yes. But believe me: you need SSH!


You can transfer files using SSH. You casn use WinSCP for it: http://winscp.net/eng/index.php
There'S also a command line client for Windows (also uses SSH): PuTTY: http://www.chiark.greenend.org.uk/~sgtatham/putty/

You might want ot have a look at this Ubuntu server tutorial: http://www.howtoforge.com/perfect_setup_ubuntu_5.10

Can you tell me the command to make a ZIP file from the command line?

till
14th January 2006, 23:14
The command is named "zip". Maybe you had to install it with apt. If i remember correctly the package is named zip too.

apt-get install zip

falko
15th January 2006, 18:36
I don't know the zip syntax to zip files, but man zip or zip --help will help you (if zip is already installed).

I can tell you the command to create a tar.gz file from a directory, if you're interested:
tar -pczf <name.tar.gz> /path/to/directory