# data[].attributes.body
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch15_:_Linux_FTP_Server_Setup#.Vrz720JMGbk

# data[].attributes.body
How to create blank file...
http://www.linfo.org/touch.html

# data[].attributes.body
How to copy files to VSFTPD???
https://www.centos.org/forums/viewtopic.php?t=39485

# data[].attributes.body
http://www.allitebooks.com/operating-systems/linux-unix/page/3/

# data[].attributes.body
http://www.wikihow.com/Become-Root-in-Ubuntu

# data[].attributes.body
How to launch website...
Need root access for server. (?)

# data[].attributes.attachment_link.readable_text
Introduction

Getting your Linux server running can be a troubling experience for beginners, but it doesn't have to be difficult. We have a number of articles written in our community that go over the basics of getting set up on a server.

In this guide, we'll leverage some of those articles to get you up and running by pointing you to some of the common procedures that users implement to get their site up quickly.

Step One - Create the Server

Before you can do anything else, you need to deploy a server. This is very simple using DigitalOcean, but we have a guide to walk you through the process in case you're still unsure.

For consistency, in this guide, we're going to be using the Ubuntu 14.04 distribution for our operating system. This can be either 32-bit or 64-bit. You can get the details by following our getting started with DigitalOcean tutorial. Just select Ubuntu 14.04 when given the option.

Step Two - Basic Server Setup

Once your server is up and running, there are some standard procedures that you should complete in order to build a good foundation. We call this our initial server setup.

You should go through this guide before continuing, especially steps 1-4. This will show you how to get logged in, create a regular user account, and give that user administrative privileges.

Step Three - Install LAMP

After you get your account created and configured, we can move on to the actual web server software.

One of the most popular ways to serve content on the internet is through a set of components known as the "LAMP" stack. This is an acronym that stands for a Linux operating system, the Apache web server, a MySQL database, and a PHP script processor. These components work together to allow you to serve a dynamic website or application.

You can learn how to install a LAMP stack on Ubuntu 14.04 by following this guide. It may look complicated, but follow each step carefully and you should have it up and running in no time.

Step Four - Set Up your Domain Name

Once you have your LAMP stack installed, your server is ready to start serving web content. However, right now, you can only access it using the server's public IP address.

We can set up a domain name (like example.com) so that visitors can access our site easier. You'll need to purchase your desired domain name from a domain name registrar, and then come back here to continue.

When you have a domain name, you can follow this guide to learn how to point your domain name to your server. The changes you make may take awhile to propagate, but you can move on to the next step while this happens.

Step Five - Move your Files with SFTP

After you have installed and configured your server software, and you have a domain name set up pointed to your server, you can copy your website files to your server.

The best way to do this is probably by using an SFTP client. SFTP is a protocol that leverages the SSH protocol in order to securely transfer files to and from remote computers. What all of this means is that you can use it to transfer your files in a secure fashion.

There are many SFTP client programs and FTP clients with SFTP capabilities. One option is to connect to your remote server using the sftp command line utility like this guide shows.

If you'd rather use a graphical client, there are many options. One popular choice is Filezilla. You can follow this guide to learn how to use Filezilla with SFTP.

You want to place your files into a directory called the "document root" of the server. For Ubuntu 14.04, the document root is at /var/www/html by default. Place your files there.

When you are finished (provided that your domain name has been updated around the world), you should be able to access your site in your web browser.

Conclusion

If you have gotten this far, your site should be off and running. If your web files require extra components or are doing something outside of the norm, you may have to do some additional configuration. But simple sites should work without any additional steps.

If you want to leverage the capabilities of something like WordPress, we have an article that you can use to get started with WordPress on Ubuntu 14.04. There are many other possibilities and enhancements that you can make to your site to make it better. Check out the other articles in our community to get some more ideas.

# data[].attributes.attachment_link.title
How To Launch Your Site on a New Ubuntu 14.04 Server with LAMP, SFTP, and DNS | DigitalOcean

# data[].attributes.attachment_link.description
One of the most popular things to do with a new Linux server is host a web site. In this guide, we'll get you up and running with a LAMP stack, show you how to copy your files over, and set up your domain name using an Ubuntu 14.04 server.

# data[].attributes.body
How to install Apache Server
Complete!

# data[].attributes.attachment_link.readable_text
To install Apache, type this command at a Terminal window or a command prompt:
sudo apt-get install apache2

(Technically, you'll be installing Apache 2, the latest version.)

Enter your password to authenticate, follow the default prompts, and apt will download and install the Apache web server for you.

And that's it! Apache should now be working. To test it from the web server itself, go to a web browser and visit the address http://127.0.0.1. This is the "local loopback" address, basically the IP address the local computer uses to refer to itself. Alternatively, you could test it from another computer on the same subnet. For instance, if you installed Apache on a computer with an IP address of 192.168.1.100, you could test it by going to another computer on the same subnet and visiting http://192.168.100 from the web browser.

Regardless, if Apache is working properly, you should see a web page with only two words on it:
It works!
Apache is now operational.

-JM

ADDITIONAL READING:
Ubuntu: 101 Tips & Tricks The Ubuntu Beginner's Guide The Ubuntu Desktop Beginner's Guide The Linux Command Line Beginner's Guide

# data[].attributes.attachment_link.title
Install Apache Web Server On Ubuntu 15.10 Wily Werewolf

# data[].attributes.attachment_link.description
To install Apache, type this command at a Terminal window or a command prompt: sudo apt-get install apache2 (Technically, you'll be installing Apache 2, the latest version.) Enter your password to authenticate, follow the default prompts, and apt will download and install the Apache web server for you. And that's it!

# data[].attributes.body
How to install FTP Server
Step 11, not listening VSFTPD
Need to complete

# data[].attributes.attachment_link.readable_text
Today, we will walk thorough how to install, configure and test an ftp server. Let's began then.

First, what is FTP?

The File Transfer Protocol (FTP) is a standard network protocol used to transfer computer files from one host to another host over a TCP-based network, such as the Internet or over LAN (Local Area Network). So, you can upload your files on a FTP server that you have and you can provide a url/link of that file to your friend to download. Your friend then can use a FTP client to download the file. Usually FTP runs on port 21.

We will use vsftpd so that it act like a FTP service on a server and hence we will call it FTP server.

I am assuming that you are running a Linux operating system distribution like Ubuntu, Debian, CentOS, RedHat or Fedora. I am using Ubuntu 14.04.3 LTS as my Linux distribution.

Note: To begin, make sure you have a static IP address manually assigned on your interface on the machine where your Linux is running and where we are going to install vsftpd. If you get an IP address from a DHCP server, then you may have IP address dynamically assigned to your interface and it will change time to time.
# STEP 1
Update your package lists from the repositories. To do this, open a terminal.

Now type the following command in the terminal.

If you are a Ubuntu, Debian user:

sudo apt-get update

This will also ask for your root password. Wait till it gets updated.
# STEP 2
We will need a file editor to edit our configuration files. Here, I will use vim as an editor to edit our configuration file. Usually every Linux distribution comes up with vi installed and if you are familiar with vi, you can skip step 2. But vim has many advantages over vi and hence vim is more popular as a editor.

If you don't have vim installed on your Linux, please issue the following command on your terminal.

If you are a Ubuntu, Debian user:

sudo apt-get install vim

If you are a CentOS/RedHat/Fedora user:

sudo yum install vim

It will install vim on your Linux distribution. Wait till the installation of vim gets finished.
# STEP 3
Now it's time to install vsftpd which will act like a FTP server. Issue the following command in the terminal which will download and install vsftpd on your Linux.

If you are a Ubuntu, Debian user:

sudo apt-get install vsftpd

If you are a CentOS/RedHat/Fedora user:

sudo yum install vsftpd

Guess what, in this state your FTP server is already up & running. But we need to modify it a little bit to work properly.
# STEP 4
To configure your FTP server more, please open the following file on vim by typing the following command in your terminal.

If you are a Ubuntu, Debian user:

sudo vim /etc/vsftpd.conf

If you are a CentOS/RedHat/Fedora user:

sudo vim /etc/vsftpd/vsftpd.conf

Let's change some parameter to configure it more to act like a real FTP server.
# STEP 5
By changing the value to anonymous_enable=YES, you can enable anonymous user. Then anyone can use the user name "anonymous" to login into your FTP server, which is a potential security threat. Don't enable this unless it is required.
# STEP 6
Uncomment write_enable=YES
# STEP 7
Uncomment line xferlog_file=/var/log/vsftpd.log for enabling log for your FTP server.

For viewing log files of vsftpd, please type the following command in the terminal

sudo cat /var/log/vsftpd.log

To view the log file in real time, type the following command in the terminal

sudo tail -f /var/log/vsftpd.log

The above command will show last 20 lines dynamically for the FTP server log.
# STEP 8
Uncomment ftpd_banner and place your own welcome text.

Here, I typed, "Welcome to TBDIT FTP service" for my own banner. Please type yours one.
# STEP 9
Now, save & exit from the vsftpd.conf file. To do so, if you are using vim then

Press esc then press & hold shift button and then press : and then finally press x and then press enter. This will save and exit from the file.
# STEP 10
Our initial configuring is done. Now, make sure you are restarting your vsftpd service to accept the changes that we had made so far. To do so, please type the following in your terminal

sudo service vsftpd restart

This will restart the vsftpd service with the new configuration that we had made so far.
# STEP 11
Though you will came to know form the previous step that your vsftpd is up and running, still we need to make sure that it is properly listening to port 21.

To do so, please type the following in your terminal and wait for something like this

sudo telnel localhost 21

You will see the welcome text banner that you had wrote before. It means everything is fine and working ☺

Also, you can type the following in your terminal to see whether vsftpd is up and running for you

ps -aux | grep vsftpd

And lastly, type the following in the terminal and see that vsftpd is listening on the port 21 for any incoming FTP connection.

sudo netstat -ntaulp | grep vsftpd
# STEP 12
Now, add a user in your Linux.

To add a user in your Linux distribution, type the following in your terminal

sudo adduser ftp1user

This will add a user named ftp1user on your Linux OS.

Type a password that you can remember easily or write in a safe place in case if you forget it.
# STEP 13
Now, use another computer or workstation (laptop/desktop) whatever you have to download Filezilla. Please visit this link https://filezilla-project.org/ and download filezilla according to your operating system. We will use Filezilla application, which is an open source ftp client and widely used for uploading and download files to & from any FTP server.

Actually, there are few ways of uploading or downloading files to our FTP server. One is, we can use command line terminal and the other one is using a free or paid ftp client like Filezilla. We can use a web browser to download file from our FTP server as well.

After downloading Filezilla, just follow on screen instructions to install it. It's very easy to install it.

Important thing is, make sure you are using the same network subnet or class for this computer or workstation where you are installing Filezilla. Say, your FTP server has an IP address of 192.168.0.1/32 where you install the vsftpd. So, the computer or workstation that you are using to install Filezilla must have an IP address of that same class as well such as 192.168.0.2/32. You can use whatever IP address you want to use except the broadcast IP address of that class. If the IP address are not from the same class, your workstation and the FTP server will not be able to communicate between them.
# STEP 14
It's time to connect our FTP server by using Filezilla application. Here, my FTP server IP address is 192.168.1.11

Open FileZilla application.

Type your FTP server IP address in the Host imput field. My FTP server IP address is 192.168.1.11. Type ftp1user as your User Name in the Username field. And your password that you have set earlier for the user ftp1user in the Password field. Type 21 in the Port field.

Now, click quickconnect and it will connect to your server and it will move you to the user home directory on the right hand side panel.

Now, browse to any directory and upload a file. Here, I am uploading a file name Hello FTP.txt to my FTP server.

To download the file you can use filezilla or you can use any web browser to download the file.

Type ftp://192.168.1.11/ on your favorite web browser from your workstation (laptop/desktop).

Here 192.168.1.11 is my FTP server IP address. Please use your FTP server IP address.

It will ask for your username & password and enter ftp1user and it's password respectively.

If everything goes well, you will see the file that you have uploaded earlier. I can see my Hello FTP.txt file there. Now click the file to download it.

That's all for today. Hope you enjoyed it.
Feature image: Craig Chapman-Hall via Flickr.

# data[].attributes.attachment_link.title
How to Install And Configure FTP Server In Ubuntu

# data[].attributes.attachment_link.description
Today, we will walk thorough how to install, configure and test an ftp server. Let's began then. The File Transfer Protocol (FTP) is a standard network protocol used to transfer computer files from one host to another host over a TCP-based network, such as the Internet or over LAN (Local Area Network).

# data[].attributes.body
Intro to Cyber Security
CISCO