Connecting to FTP server on Ubuntu Linux

How to setup and use FTP Server in Ubuntu Linux

FTP stands for “File Transfer Protocol” and is a great protocol for downloading files from a remote or local server, or uploading files onto the server. Using FTP proves to be a pretty basic task after it has been setup properly. It works by having a server that is listening for connections (on port 21 by default) from clients. The clients can access a remote directory with their user account, and then download or upload files there, depending on the permissions that have been granted to them. It’s also possible to configure anonymous authorization, which means that users will not need their own account in order to connect to the FTP server.

On Ubuntu Linux, there are a multitude of different FTP server and client software packages available. You can even use default GUI and command line tools as an FTP client. A very popular and highly configurable FTP server package is vsftpd, available for many Linux systems, including Ubuntu.

In this guide, we will go over the step by step instructions to install vsftpd on Ubuntu. We’ll also see how to to configure the FTP server through various settings, then how to use command line, GNOME GUI, or FTP client software to connect to the FTP server.

WARNING
FTP will suffice for some situations, but for connections over the internet, SFTP is recommended. This is because FTP is not secure to use over an internet connection, since your credentials and data are transmitted without encryption. The ‘S’ in SFTP stands for ‘Secure’ and tunnels the FTP protocol through SSH, providing the encryption needed to establish a secure connection. To learn more about SFTP, see our guide on How to Securely Transfer Files With SFTP.

In this tutorial you will learn:

  • How to install and configure vsftpd on Ubuntu
  • How to setup an FTP user account
  • How to connect to FTP server via command line
  • How to connect to FTP server via GUI
  • How to configure anonymous FTP login
  • How to change the default FTP listening port
  • Troubleshooting “connection refused” FTP connection error

Read more

Configuring the wireless interface on Ubuntu Linux

Setup Wireless interface on Ubuntu

Setting up the wireless interface on Ubuntu Linux is likely one of the first things you’ll need to do after installing the operating system and booting into it for the first time. As long as you have the proper hardware, Ubuntu can easily connect to Wi-Fi networks configured with various types of security like WEP, WPA, and WPA2.

In this guide, we will cover the step by step instructions to connect to a Wi-Fi network from the GNOME GUI (the default desktop environment) on Ubuntu. We will also show how to connect to Wi-Fi from command line, which is handy in the case of headless servers or those running without a desktop environment. Follow along with us below to find out how.

In this tutorial you will learn:

  • How to connect to Wi-Fi network in GNOME GUI
  • How to connect to Wi-Fi network via command line
  • How to enable or disable the system’s Wi-Fi adapter

Read more

WordPress admin menu

WordPress Installation on Ubuntu Linux with Apache and MySQL

WordPress has remained one of the best and easiest ways to get a sleek site up and running ever since its inception in 2003. As a matter of fact, current trends only show its popularity continuing to increase. WordPress is simple to use, and even hosting it yourself isn’t that hard, as we’ll prove to you in this article.

In this guide, we’ll show you how to get your site hosted with WordPress on Ubuntu Linux. We’ll use Apache as our HTTP server, and also install PHP and MariaDB (an open source implementation of MySQL) since WordPress requires them in order to function. This assortment of packages is commonly referred to as a LAMP stack (Linux, Apache, MySQL, PHP). Once those packages are installed, we’ll go over the configuration of Apache and MySQL, including initial setup of a database and user, before installing WordPress itself. Towards the end, we’ll also show you how to configure a self signed SSL certificate, or get a free one from Let’s Encrypt, which enables your site to utilize HTTPS.

In this tutorial you will learn:

  • How to install and configure Apache
  • How to install and configure MariaDB for MySQL
  • How to setup a MySQL user and database for WordPress
  • How to download and install WordPress
  • How to configure a self signed SSL certificate for your WordPress site
  • How to configure a free SSL certificate from Let’s Encrypt

Read more

How To Upgrade Ubuntu To 21.04

How To Upgrade Ubuntu To 21.04

The new Ubuntu 21.04 is expected to be released on 22 April 2020. However, there is no need to wait until then. If you feel adventurous and impatient you can upgrade to Ubuntu 21.04 today. All you need is to have fully upgraded and updated Ubuntu 21.10 Groovy Gorilla at your disposal.

In this How To Upgrade Ubuntu To 21.04 Hirsute Hippo tutorial you will learn:

  • How to fully update and upgrade your current Ubuntu system.
  • How to configure the release upgrader.
  • How to upgrade your Ubuntu system.

Read more

Installed NVIDIA drivers on Ubuntu 21.04 Hirsute Hippo Linux

How to install the NVIDIA drivers on Ubuntu 21.04

The objective is to install the NVIDIA drivers on Ubuntu 21.04 Hirsute Hippo Linux and switch from a opensource Nouveau driver to the proprietary Nvidia driver.

To install Nvidia driver on other Linux distributions, follow our Nvidia Linux Driver guide.

In this tutorial you will learn:

  • How to perform an automatic Nvidia driver installation using standard Ubuntu Repository
  • How to perform an Nvidia driver installation using PPA repository
  • How to install the official Nvidia.com driver
  • How to uninstall/switch back from Nvidia to Nouveau opensource driver

Read more

Ubuntu 20.04 Download

Ubuntu 20.04 Download

In this Ubuntu 20.04 Download guide you will learn where to download and how to download Ubuntu 20.04 LTS ISO image for Ubuntu, Kubuntu, Ubuntu Budgie, Ubuntu Studio, Xubuntu, Lubuntu, Kylin desktops and Ubuntu 20.04 Server.

Additionally, you can download Ubuntu 20.04 server preinstalled images for Raspberry Pi and various other architectures. Lastly, hypervisor cloud images such as Azure, Vagrant, KVM or VirtualBox are also available for download.

Read more

Checking for open ports on Ubuntu Linux with the ss command

How to show/check for open ports on Ubuntu Linux

Some Linux software works by listening for incoming connections. A simple example would be a web server, which handles user requests whenever someone navigates to a website. As a Linux administrator or user, it’s important to always know which ports of your system are open to the internet. Otherwise, you could be unaware of outside connections being made to your computer, which consumes bandwidth and resources, along with being a potential security hole.

In this guide, we’ll see how to check for open ports on Ubuntu Linux. This can be done with several different command line utilities, which we’ll go over in detail. We’ll also see how to use Ubuntu’s ufw firewall to make sure ports are secure. So, do you know which ports of your system are open? Let’s find out.

In this tutorial you will learn:

  • How to check for open ports with ss command
  • How to check for open ports with Nmap utility
  • How to check for and add allowed ports in ufw firewall
Checking for open ports on Ubuntu Linux with the ss command

Checking for open ports on Ubuntu Linux with the ss command

Read more

Mounting and accessing an ISO file in Ubuntu Linux

How to open ISO files on Ubuntu Linux

An ISO file is an image file of a CD/DVD or other disc. It contains all the files from the disc, neatly packed into a single .iso file. This allows users to burn new copies of the disc, or they can open the ISO file to browse and copy its contents to their system.

An ISO file can also be mounted, which is the virtual equivalent to inserting a disc into your PC. The operating system will treat the ISO as a physical CD rom. In this guide, we’ll see how to open and mount an ISO file on Ubuntu Linux. This can be done from both command line and GUI, so we’ll be covering the steps for both methods.

In this tutorial you will learn:

  • How to open and mount an ISO file via GNOME GUI
  • How to open and mount an ISO file via command line
Mounting and accessing an ISO file in Ubuntu Linux

Mounting and accessing an ISO file in Ubuntu Linux

Read more

How to delete a file on Ubuntu Linux

How to delete file on Ubuntu Linux

Deleting a file in Linux is a fundamental task that every user will find themselves doing frequently. If you’ve recently installed Ubuntu Linux and are wondering how to delete files, we’ve got you covered in this guide.

In this tutorial, we’ll show how to delete files through GUI and command line on Ubuntu Linux. You’ll also see how permissions play a role in what files you’re able to delete or not.

In this tutorial you will learn:

  • How to delete files via GNOME GUI
  • How to delete files via command line
  • How permissions determine which files you can delete
How to delete a file on Ubuntu Linux

How to delete a file on Ubuntu Linux

Read more

How to install Swift on Ubuntu 20.04

How to install Swift on Ubuntu 20.04

Swift is a modern open source high-performing programming language with a focus on safety. It was developed by Apple and released in 2014. Swift was designed as a replacement for the older Objective-C language. Although, the language was originally proprietary, in 2015 Apple open-sourced the language and made it available for GNU/Linux systems. Although Swift is most well known for being the language used in iOS app development, there is an uptick in using it for server-side programming on Linux. Additionally, the fact that it is a young open source general-purpose programming language may lead to increased use in other domains over time.

Read more

Checking the status of NGINX on Ubuntu

How to check NGINX status on Ubuntu

After installing NGINX on Ubuntu Linux, either as a web server or reverse proxy server, you’ll need to learn the basics of administrating the service.

In this guide, we’ll show how to check the status of NGINX on Ubuntu. This will give you information about the state of the NGINX service, to help you determine if it’s running, accepting connections successfully, etc. We’ll also explain the various states of NGINX, so you know what to do with the information that’s presented.

In this tutorial you will learn:

  • How to check the status of NGINX with systemd
  • How to configure and access the NGINX status page
  • How to check NGINX configuration, restart, and reload the service
Checking the status of NGINX on Ubuntu

Checking the status of NGINX on Ubuntu

Read more