Ubuntu Server SSH and FTP setup guide
Enable
Ubuntu Desktop GUI
sudo
apt-get install ubuntu-desktop
There
are many desktop alternatives which you may install and use, like:
Gnome 3 installation:
sudo apt-get install gnome-shell
KDE see Kubuntu
installation: sudo apt-get install kubuntu-desktop
XFCE installation:
sudo apt-get install xfce4
LXDE installation:
sudo apt-get install lxde
Openbox installation:
sudo apt-get install openbox
Gnome Classic a Gnome
3 desktop that looks like Gnome 2 installation: sudo apt-get install
gnome-session-fallback
Local
and or remote administration
Command
to find the IP address of Ubuntu server
Ifconfig
Enable
SSH in Ubuntu 12.04
To
get started, press Ctrl – Alt – T on your keyboard to open Terminal. When it
opens, run the commands below to install SSH Server.
sudo apt-get install
openssh-server
SSH default port 22. If you wish to change the
connection port, run the commands below to open the
configuration file.
sudo gedit
/etc/ssh/sshd_confi
Then
change the port # shown to whatever you want and save the file. But remember to
use the new port number every time you want to connect to your system via SSH.
DOWNLOAD
PUTTY SSH CLIENT TO CONNECT SERVER USING SSH
Install
FTP server
sudo apt-get install
vsftpd
Edit
vsftp configuration
sudo nano /etc/vsftpd.conf
mkdir
How
to Add a User on Ubuntu 12.04
To
add a new user in Ubuntu, use the adduser command, replacing the “newuser” with
your preferred username.
sudo adduser newuser
As
soon as you type this command, Ubuntu will automatically start the process:
Type
in and confirm your password
Enter
in the user’s information. This is not required, pressing enter will
automatically fill in the field with the default information
Press
Y (or enter) when Ubuntu asks you if the information is correct
Restart
The FTP Server
Type
the following command:
sudo service vsftpd restart
Manually
setup IP
Change
to a static IP address:
root:/# nano
/etc/network/interfaces
This
takes you to the interfaces config, which you'll need to alter to reflect your
IP schema. For example:
auto
eth0
iface
eth0 inet static
address
10.0.0.3
netmask
255.255.255.0
gateway
10.0.0.1
Within
the nano environment, type ctrl + o to write the changes. Then press ENTER to
save it to the same file name. Finally press ctrl + x to exit nano.
Comments
Post a Comment