Setting up the VSFTPD daemon to accept connections from another computer

 

Testing the FTP server / WebServer installation

Find out your server computer local ip address on your router by using:   ipconfig -a

freemonsandlewould@freemonsandlewould-desktop:~$ ifconfig -a
eth1      Link encap:Ethernet  HWaddr 00:0f:1f:e2:12:e4  
          inet addr:192.168.1.104  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::20f:1fff:fee2:12e4/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:56119 errors:0 dropped:0 overruns:0 frame:0
          TX packets:45698 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:56322994 (53.7 MB)  TX bytes:7952143 (7.5 MB)
          Interrupt:16

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1134 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1134 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:156376 (152.7 KB)  TX bytes:156376 (152.7 KB)

   

My boxes local IP on my router is 192.168.1.104  and you should substitute yours for this number.

Test the webserver

    Bring up a browser and dial in:  http://192.168.1.104/

Test the FTP server

   Dial in 192.168.1.104 into your FTP tool and your linux box users name and password.

 

In both of the tests above you should see a result that is recognizable.

How to edit Linux Ubuntu Files that are owned by the super user

I am new to linux / ubuntu and quickly found myself stymied and flumoxed when I wanted to edit a system configuration file.  This is because linux only lets the super user edit configuration files. Ok but Linux also will not let you log into the system when it is booting up as the super user in its default installation.  Fun huh?   You must use the terminal / command line mode to do this.  However I am a windows user and this is bending my brain a little.  The key is to open up the file from the command line while logged in as the super user.

   Accessories>>Terminal brings up the terminal program.  Then type in SU.  It will ask for the super user password.

After you are in as the super user you can then use:

  sudo gedit /etc/vsftpd.conf

This brings up the file in question just like you clicked on it in a gui file browser but it allows you to save off the file after you have made your alterations.

For the sake of speeding up my learning process I am going to configure my test server to allow me to log in from the bootup login screen to the root user.

 sudo gedit /etc/gdm/gdm.conf

This all came about because I need the FTP tool on Ubuntu