Tuesday, June 18, 2013

Setting up FTP on Ubuntu

We often need to transfer files from one machine to another. There are several ways we can do this , however in case you need to transfer files across the machines which are located in different geographic locations, then the only way is over internet.

Transferring files over http can be slow, so the best option would be to transfer using FTP. So lets get started setting up FTP on Ubuntu.


Boot up your Ubuntu box and login
Open your Terminal window and type in the following commands

sudo apt-get update
sudo apt-get install vsftpd

Once installed you will need to edit /etc/vsftpd.conf file.

pico /etc/vsftpd.conf

Make the following changes in the vsftpd.conf file 

Disable Anonymous login
anonymous_enable=NO

Allow local user to login to FTP
local_enable=YES

Enable write to the FTP server in case you need to upload some data to ftp server
write_enable=YES

Restrict users to their home directories
chroot_local_user=YES

Enable the list of users for chroot
chroot_list_enable=YES

Set the list for user to chroot. You will need to create this file manually under /etc or other location where you intend to place this file
chroot_list_file = /etc/vsftpd.chroot_list

Save the file and restart the vsftpd service from your terminal
sudo service vsftpd restart

From other machine try connecting to your new FTP server using any FTP client.



Friday, June 7, 2013

Removing Bluetooth devices from your Windows 7 machine

Many a times I connect my laptop to my friends mobile phones over bluetooth to share images and music.

After sharing the Bluetooth devices are present in Explorer when I browse Computer. I need to clean them up so they don't clutter the explorer. Nor having them impact normal usage. Its just personal. I like my machine clean.