<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel>
  <title>ubuntu Archives - Suhas Tech</title><link>https://suhastech.com/</link><description>I has tech!</description><atom:link rel="self" type="application/rss+xml" href="https://suhastech.com/category/ubuntu/feed/"/>
  <item><title>Get FTP server running on Ubuntu, quick and easy [vsftpd]</title><link>https://suhastech.com/get-ftp-server-running-on-ubuntu-quick-and-easy-vsftpd/</link><guid isPermaLink="false">http://suhastech.com/?p=2002</guid><pubDate>Thu, 10 Nov 2011 13:59:57 GMT</pubDate><dc:creator>Suhas</dc:creator><description>&lt;p&gt;If you are new to linux this might be a little difficult. Once you have some basics nailed, its super easy. Here’s how to get it working without worrying about usergroups etc etc. I just wanted to get it working with my WordPress setup (Apache).&lt;/p&gt;
&lt;p&gt;First, install vsftpd&lt;/p&gt;
&lt;p&gt;&lt;code&gt;sudo apt-get install vsftpd&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Configure your installation.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;sudo nano /etc/vsftpd.conf&lt;/code&gt;&lt;br&gt;
or&lt;br&gt;
&lt;code&gt;sudo vi /etc/vsftpd.conf&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;You need to have these to uncommented (Delete the initial “#”)&lt;br&gt;
&lt;code&gt;local_enable=YES&lt;br&gt;
write_enable=YES&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Setup password for your ubuntu user name&lt;br&gt;
&lt;code&gt;sudo passwd ubuntu&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Give the permissions.&lt;br&gt;
&lt;code&gt;chown -R ubuntu /var/www/&lt;/code&gt;&lt;br&gt;
Obviously, you can change the path with your requirement.&lt;/p&gt;
&lt;p&gt;Restart the FTP service&lt;br&gt;
&lt;code&gt;sudo /etc/init.d/vsftpd restart&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;This enables the Uncomplicated Firewall built-in to Ubuntu on port 21. Don’t know about others.&lt;br&gt;
&lt;code&gt;sudo ufw allow 21&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;That’s it. Login to your FTP with “ubuntu” username and your password.&lt;/p&gt;</description></item>
</channel></rss>
