Guides and tutorials

Hundreds of tutorials and step by step guides carefully written by our support team.

Cómo instalar NodeJS en un Cloud con SWPanel

In this manual we will see how to install NodeJS in a Cloud with SWPanel. In addition, you will learn how to create a startup service so that the NodeJS server is always active as a service of the server and starts automatically in case of restarting (...)

How to install CloudPanel on Ubuntu 22.04

Introduction CloudPanel is free software for configuring and managing a server with a focus on performance, security and simplicity. It runs static websites, PHP, Node.js and Python applications. It uses lightweight components such as NGINX, PHP-FPM (...)

How to install Virtualmin on Ubuntu 22.04

Introduction Virtualmin is a popular web hosting control panel that allows you to manage multiple domains, email accounts and websites on a single server. It is designed to be easy to use, even for non-technical users, and provides a variety of featu (...)

How to install ISPConfig 3 with Nginx on Ubuntu 22.04

Introduction ISPConfig is a widely used open source hosting control panel for Linux, under BSD license, which allows you to manage websites, email addresses, MySQL and MariaDB databases, FTP accounts and DNS records. Its administration is done throug (...)

How to install CyberPanel with OpenLiteSpeed ​​on Ubuntu 22.04

Introduction CyberPanel is a next generation hosting control panel for the high performance OpenLiteSpeed web server with a user friendly interface. The CyberPanel installation script also allows you to install in one click OpenLiteSpeed, and all the (...)

How to send mails from Python

To send emails from Python3 in an authenticated way via SMTP, you can use the smtplib library. You will need the access data to the email account from which the emails are going to be sent, together with the access data to the server. In this case, w (...)

What is the Backtracking algorithm and how to apply it in C++?

The backtracking algorithm is a powerful technique for solving combinatorial and exhaustive search problems. It is used to explore all possible solutions to a problem in a systematic way, discarding those that do not satisfy certain conditions. In th (...)

Basic commands for Debian system administration

Debian is a Linux operating system widely used on servers and workstations. As a Debian system administrator, it is essential to be familiar with the basic commands to perform maintenance, configuration and monitoring tasks. This manual will provide (...)

Use of Pipes on Unix systems

Pipes in Unix-like systems, such as Debian, are a powerful tool that allow us to combine and redirect the output of commands efficiently. By using pipes, we can take the output of one command and send it directly as input to another, allowing us to p (...)

Sorting algorithms with examples in C++

Sorting algorithms are procedures or sets of instructions used to arrange a set of elements in a specific order. These algorithms are widely used in computer science and programming because of their importance for efficiency and process optimization. (...)

Create your first C++ program on Ubuntu 22.04 or Debian 11

C++ is a high-performance, generally compiled programming language. It combines object-oriented programming and low-level programming features, making it suitable for a wide range of applications, from software development to embedded systems or even (...)

How to empty the Swap memory of a Linux server

Occasionally we may receive resource usage alerts indicating that the server's Swap or Exchange Memory is at 100% usage. SERVICE ALERT: ce00000000000.dnssw.net Unix Memory Nou WARNING Usage: real 95% (11404/11995 MB), buffer: 3 MB, cache: 302 MB, swa (...)

Create your first Java 11 program on Ubuntu 22.04 or Debian 11

Java is one of the most widely used programming languages thanks to its great versatility, portability and its ability to create robust and scalable applications. It is an object-oriented language with a large number of libraries and tools that facil (...)

How to install and use Docker on Ubuntu 20.04?

Introduction Docker is a container platform that has revolutionised the way developers build, test and deploy applications. This manual will explain how to install and use Docker on Ubuntu 20.04, allowing developers to quickly and easily create appli (...)

How to scale Node.js applications with clustering

Introduction Node.js is a server-side JavaScript runtime environment used to create scalable, high-speed web applications. Scalability is a critical factor for any web application that intends to handle large volumes of traffic. One of the most popul (...)

How to remove images, containers and volumes from Docker

Docker is a container virtualisation tool that allows developers to create, deploy and run applications in different environments quickly and efficiently. Docker containers are software environments that contain everything needed to run an applicatio (...)

How to create a new user and grant permissions in MySQL

Here is a detailed manual on how to create a new user and grant permissions in MySQL: Step 1: Login to MySQL To create a new user and grant permissions in MySQL, you must log in to your MySQL server. You can do this in a number of ways, but a common (...)

How to configure SSH keys in Ubuntu 22.04/Debian 10

Introduction SSH is a secure network protocol used for remote server management. It is a secure way to connect to and perform operations on a server without the need to be physically present on the server. SSH keys are used to authenticate to a remot (...)

How to install Ruby on Rails with rbenv on Ubuntu 22.04

rbenv is a tool for managing multiple versions of Ruby on a single system. It allows you to install, switch and manage different versions of Ruby, which is useful for projects that require specific versions of Ruby or for working with different proje (...)

How to create a web application using Flask in Python 3

Flask is a lightweight and flexible web framework for Python that allows you to build web applications quickly and easily. It focuses on simplicity and modularity, making it easy to learn and use for small and large projects. It requires no additiona (...)

How to install WordPress on Ubuntu 22.04 with LEMP

Here is the detailed manual on how to install WordPress on Ubuntu 22.04 with LEMP: Step 1: Update the Operating System Before you start installing WordPress, it is important to make sure that your Ubuntu 22.04 operating system is up to date. Open the (...)

Difference between PHP MAIL and PHP MAILER

PHP Mail and PHP Mailer are two very useful tools for sending e-mails from web applications developed in PHP. PHP Mail PHP Mail is a PHP function that allows you to send emails from a web application. To use PHP Mail, you will need the following: A (...)

How to use Cron to automate tasks in Ubuntu 22.04/Debian 11

The Cron is a tool used to automate tasks in Unix based operating systems, such as Ubuntu 22.04 and Debian 11. With Cron, you can schedule commands to run automatically at specific times of the day, week or month. In this manual, we will explain how (...)

How to install UFW on Debian 11/Ubuntu 22.04

UFW (Uncomplicated Firewall) is a network firewall tool for Linux-based operating systems that focuses on simplifying firewall configuration. UFW provides an easy-to-use user interface for managing firewall rules, allowing system administrators to ea (...)

How to install MariaDB on Ubuntu 22.04

What is MariaDB? MariaDB is a very popular open source database and is widely used in web applications around the world. It was created to provide a free and community-based alternative to MySQL. MariaDB is compatible with most applications written f (...)

The 5 ways to find the average of a list in Python

What is the mean of a list? Before diving into ways to find the mean of a list in Python, it's important to understand what the mean is. It is the central numerical value of a dataset obtained by summing all the values and dividing the result by the (...)

How to convert data types in Python 3

Introduction Python is a high-level programming language that uses dynamic types. This means that you do not need to declare the type of a variable before using it. Python can interpret the type of a variable at runtime. In the world of programming, (...)

How to install Webmin on Ubuntu 22.04?

Introduction Webmin is a web-based server control panel that allows you to administer and configure Linux and other Unix-like operating systems from a graphical user interface in a web browser. Webmin provides a wide range of system administration to (...)

How to use the free Gmail SMTP server?

What is SMTP? SMTP (Simple Mail Transfer Protocol) is a network protocol used for transferring email between email servers and other network devices. SMTP is the standard used for sending e-mails over the Internet, and allows the transmission of mess (...)

How to install and secure phpMyAdmin on Ubuntu 22.04?

Introduction The phpMyAdmin is an open source web application written in PHP that is used to administer and manage MySQL databases. It provides a graphical user interface that allows users to create, modify and drop databases, tables, fields and reco (...)

How to use Rsync to synchronise local and remote directories?

Introduction Have you ever been in a situation where you needed to transfer files quickly and securely between different servers, or lost an important file? If the answer is yes, Rsync is the perfect tool for you. Rsync is an open source file and dir (...)

How to install Node.js on Ubuntu 20.04?

Introduction Node.js is a software development platform based on the open source JavaScript V8 engine used by developers around the world to build scalable and fast web applications. The main advantage of Node.js is that it allows developers to build (...)

Upgrade Ubuntu 20.04 to 22.04

This manual will guide you through the upgrade from "Ubuntu 20.04 LTS (Focal Fossa)" to the latest Long Term Support (LTS) version of the Ubuntu operating system, Ubuntu 22.04 (Jammy Jellyfish). This was released on April 21, 2022 Before st (...)

Installing osTicket on a Debian 10 Linux server

In this manual we will show you how to install osTicket on your server. info A completely empty Debian 10 server (without SWPanel) has been used for the manual. Most of the installation will be done through the console. Requirements To be able to i (...)

Rate Limit NGINX

One of the most useful features of NGINX is speed limitation. Lets you limit the number of HTTP / HTTPS requests that a user can make in a given period of time. A request can be as simple as a GET request for a website's home page or a POST request o (...)

How to activate a Bearer Token for access to APIs

What is an API? An application programming interface (API) is a set of subroutines, functions and procedures (or methods in object-oriented programming) that provides certain libraries and functions for use by other software as an abstraction layer. (...)

How to create a reverse proxy with Nginx

In this tutorial we will show you how and for what reasons to create a so called "reverse proxy" with the popular web server Nginx, nowadays, the most popular choice for this kind of tasks. Just started the tutorial, don't you have a Cloud (...)

How to install Webmin on your Linux server

In this tutorial we will explain how to install the "Webmin" control panel for the configuration, management and maintenance of your Linux server. Attention: This manual has been tested for the Ubuntu 18.04 distribution. The steps describe (...)

How to install Jenkins on your Linux server

In this manual we will show you how to install Jenkins in your own Server. This way you will be able to have your own pipelines for CI/CD in a totally private environment. info This manual has been made and tested correctly on Ubuntu 18.04. It is po (...)

How to install MongoDB on your Linux server

In this manual we will show you how to install MongoDB on your Linux server so you can start using this NoSQL database. info In this manual we provide installation steps for the Ubuntu 22.04 distribution. For other distributions, especially RedHat, (...)

How to change the hostname of your Linux server

In this manual we will explain in a simple way the steps to follow to change the hostname of your Linux server. Before going into details, it is convenient to review what exactly is a hostname. What is the hostname of a server? The "hostname&quo (...)

How to install and configure a Node JS environment

In this manual we will show you how to easily install a Node JS environment that features both Node and the "NPM" package manager, one of the fundamental components of any Node JS environment. info Please note that this manual is written s (...)

How to install Docker on your own server

In this manual we will show you how to install and configure Docker on your own server. By following these simple steps you will be able to have Docker installed and fully functional in just a few minutes, allowing you to launch containers or "c (...)

How to create GitLab repositories on your own server

Gitlab is one of the most popular GIT repository providers in the world, but did you know that you can install GitLab software on your own server and start hosting your projects privately at no cost? To install GitLab on your own server, just follow (...)

How to set up a LAMP + PhpMyAdmin environment

In this tutorial we will explain how you can get a LAMP (Linux, Apache, MySQL and PHP) environment by following a few simple steps. In addition, we will also show you how to install PhpMyAdmin so that you can configure and manage your databases direc (...)

Basic commands to use in the terminal

In this manual you will learn the basic commands to handle the terminal of your Linux server. Before starting the tutorial, don't you have a Cloud Linux server? Don't worry! With just one click, you can easily deploy it with SW Hosting. cta:cloud_so (...)

Available memory on our server

In this manual, we will learn to know the available memory in our Linux server. We will connect to our server via SSH via Putty. Once inside, we will use the following command to see the result in Megas: free -m Which will return the following resul (...)

Available space on our server

In this manual we will learn how to see the available space on our Linux server. We will connect to our server via SSH through our terminal. Once inside we will use the following command: # df -h It will return the following result: The folder we c (...)

How to change the permissions of a file or directory in Linux

In this manual we will learn how to change the permissions of any file in a GNU/Linux operating system through the command line. Before starting the tutorial, don't you have a Cloud server with Linux? Don't worry! With just one click, you can easily (...)

Connecting to a server via SSH under Windows

Windows PowerShell OpenSSH The OpenSSH client is a separately installable component of Windows Server 2019 and Windows 10 1809 or higher. Users with these versions of Windows should follow the instructions below to install and configure OpenSSH. Wind (...)

How to activate and deactivate modules in apache

In this manual, we will explain how to activate and deactivate certain modules in your Apache server installation. You will see that it is very easy. Before starting the tutorial, don't you have a Cloud Linux server on which you can install your Apac (...)

How to see which modules are active in Apache

In this manual we will show you how to consult, from a command line, how to find out which are the active modules in your Apache installation. You will see that the steps to follow are very simple. Before starting the tutorial, don't you have a Cloud (...)

How to create new users on linux from the command line

Before starting the tutorial, don't you have a Cloud Linux server? Don't worry! With just one click, you can easily deploy it with SW Hosting. cta:cloud_so Below you will find the steps to create new users on linux from the command line. How to cre (...)

Installing WordPress on VestaCP with SSL (Let's Encrypt)

Installing WordPress on one of our clouds with VestaCP is very easy. Just follow this manual and in a few steps you will have it installed. In order to perform the installation we will need a cloud and a domain that will be used to manage our Wordpre (...)

Categories

Administration (27) Database (13) SSL Certificates (15) Cloud (56) Cloud Storage (2) Containers (1) Backup Copies (6) Mail (33) DevOps (54) Domains (32) FTP (6) General SWPanel (36) Hosting (30) Migrate Services (4) DNS Registers (11) Security (11) Services (8) Support (5) Users and privileges (2) Web (10) WordPress (23)