Linux Resources
- Home
- Linux Resources
This article covers how to install FileZilla on Ubuntu 20.04 LTS system. Also we mentioned the steps to remove FileZilla in case you need to so.
FileZilla is a ftp client for both windows & linux operating system. It is a powerful client for plain FTP, FTP over SSL/TLS (FTPS) and the SSH File Transfer Protocol (SFTP).
To Install FileZilla from command line on Ubuntu / Debian:
Use the following commands.
$sudo apt-get update
$sudo apt-get install filezilla
First command synchronizes the configured repositories.
This command is used to ensure that always the latest version of the software is installed.
This article covers how to install and configure Netdata on Ubuntu 20.04 LTS and different metrics visualized in it. Netdata provides an excellent solution for monitoring your single node in real-time. You can configure alarms and notifications which can be triggered when a certain event or threshold is exceeded.
To install Netdata on Ubuntu:
1. You can install netdata on Ubuntu by running the following commands.
$ sudo apt update
$ sudo apt install netdata
Press 'y' if confirmation prompted by the installer.
2. Edit netdata configuration file in your favorite text editor.
$ sudo vim /etc/netdata/netdata.conf
3. After modifying its configuration file, you can Save your file and restart netdata service:
$ sudo systemctl restart netdata
This article covers how to install VMware Workstation on your instance of Ubuntu 20.04. With a virtual machine application like VMware, you can run another operating system inside your current operating system.
To Install VMware in Ubuntu:
1. Install required build packages
Open a terminal (Ctrl+Alt+T) and use the command below to install required build packages and Linux Kernel headers:
$ sudo apt install build-essential
2. Download VMware Workstation Player
Next step is to download the VMware Workstation Player from their website.
https://www.vmware.com/products/workstation-player.html
3. Install VMware Player
4. Use the command below to make the file executable:
$ chmod +x ~/Downloads/VMware-Player*
5. And then run the installation file:
$ sudo ~/Downloads/VMware-Player*
This will open an installation window.
To Uninstall VMware Player from Ubuntu:
If, for some reasons, you want to uninstall VMware Player, use the following command:
$ sudo /usr/bin/vmware-installer -u vmware-player
Press "Enter" and VMware Player will be removed from your system.
This article covers the basic syntax and usage of the sort command in Ubuntu Linux. To view help and learn about more sort options, visit the sort man page or type sort –help in Terminal.
sort is a simple and very useful command which will rearrange the lines in a text file so that they are sorted, numerically and alphabetically.
By default, the rules for sorting are:
1. Lines starting with a number will appear before lines starting with a letter.
2. Lines starting with a letter that appears earlier in the alphabet will appear before lines starting with a letter that appears later in the alphabet.
3. Lines starting with a lowercase letter will appear before lines starting with the same letter in uppercase.
This article covers an Overview of Async IO in Python. Python 3's asyncio module provides fundamental tools for implementing asynchronous I/O in Python. It was introduced in Python 3.4, and with each subsequent minor release, the module has evolved significantly.
Asyncio is the standard library package with Python that aims to help you write asynchronous code by giving you an easy way to write, execute, and structure your coroutines.
The Asyncio library is for concurrency, which is not to be confused with parallelism.
Concurrency does not mean Parallelism and vice-versa.
We can combine them both.
We can have multiple threads, running Tasks parallely but each thread may not be running Tasks concurrently.
Note:
1. Asynchronous IO (async IO): a language-agnostic paradigm (model) that has implementations across a host of programming languages.
2. async/await: two new Python keywords that are used to define coroutines.
3. asyncio: the Python package that provides a foundation and API for running and managing coroutines.
This article covers how to install docker, pull docker images from docker hub and run an application in a container. Also, you will learn how to create persistent data storage and map with docker containers.
The open-source Docker platform contains a docker engine, a runtime environment that is used to execute, builds, and orchestrates containers.
Facts about Docker Compose configurations file:
1. version: Compose file version which is compatible with the Docker Engine. You can check compatibility here.
2. image: We use latest Nginx and Certbot images available in Docker hub.
volumes:
3. public: we have configured this directory to be synced with the directory we wish to use as the web root inside the container.
4. conf.d: here we will place the Nginx configuration file to be synced with the default Nginx conf.d folder inside the container.
5. certbot/conf: this is where we will receive the SSL certificate and this will be synced with the folder we wish to inside the container.
6. ports: configure the container to listen upon the listed ports.
7. command: the command used to receive the SSL certificate.
To Start Docker Containers:
You need to pass the -d flag which starts the container in background and leaves them running.
$ docker-compose up -d