×


Blog


Install PHP OPcache on Ubuntu 20.04 LTS - Step by step guide ?

This article covers the complete procedure for installing the PHP OPcache on your Ubuntu 20.04 LTS Focal Fossa system. In fact, OPcache is an Apache module for the PHP interpreter which is used to increase performance by storing precompiled scripts in shared memory space. It basically removes the need for PHP to load and parse scripts on each request.


How to Install and Configure PHP OPcache with Nginx ?

1. First, install the Nginx, PHP and other PHP extensions with the following command:

$ apt-get install nginx php php-fpm php-cli php-opcache php-mysql php-zip php-gd php-mbstring php-curl php-xml -y

2. Once all the packages are installed, verify the PHP version with the following command:

$ php -version

3. Next, you will need to enable the PHP OPcache by editing php.ini file.

$ nano /etc/php/7.4/fpm/php.ini

Uncomment the following lines:

opcache.enable=1
opcache.memory_consumption=128
opcache.max_accelerated_files=10000
opcache.revalidate_freq=200

Next, Save and close the file then restart Apache service to apply the changes:

$ systemctl restart nginx php7.4-fpm

4. You can now verify the PHP OPcache installation with the following command:

$ php -i | grep opcache


Install FTP Server on Linux Mint 20 - Step by step guide ?

This article covers the complete procedure to install and configure the latest version of the FTP Server on the Linux Mint system. In fact, VSFTP (very secure FTP) is a secure FTP protocol which encrypts information transfer between systems.

To Install VSFTPD on Linux Mint 20, Simply Run the following commands to install VSFTP server on Linux Mint 20:

$ sudo apt-get update
$ sudo apt install -y vsftpd


Install Nvidia Drivers on Ubuntu 20.04 LTS - Step by step guide ?

This article covers the complete procedure of installing Nvidia Drivers on your Ubuntu 20.04 LTS Focal Fossa system. In fact, Nvidia GPUs (graphics processing units) have exceptional parallel computing potential, much higher than that of CPUs. 


How to Install Nvidia Driver via Command Line on Ubuntu?

1. Search for Nvidia Drivers

Begin by Opening the terminal by pressing Ctrl+Alt+T or search for "terminal" in the Applications menu. Then, Run the following command:

$ apt search nvidia-driver

The output will display a list of available drivers for your GPU.


2. Update the System Package Repository

Before installing the driver, make sure to update the package repository. Run the following commands:

$ sudo apt update
$ sudo apt upgrade


3. Install the Right Driver for Your GPU

First, Choose a driver to install from the list of available GPU drivers. The best fit is the latest tested proprietary version. The syntax for installing the driver is:

$ sudo apt install [driver_name]

Here, we installed nvidia-driver-340, the latest tested proprietary driver for this GPU, so the command to run would be:

$ sudo apt install nvidia-driver-340


4. Reboot the System

Reboot your machine with the following command:

$ sudo reboot


Install Komodo Edit on Ubuntu 20.04 LTS - Step by step guide ?

This article covers the process of installing the Komodo Edit on your Ubuntu 20.04 LTS Focal Fossa system. In fact, Komodo Edit is a free multi-language code editor that supports Python, Perl, Ruby, HTML/CSS, JavaScript and so on.


Main features of the Komodo editing free text editor:

  • Komodo Edit is an excellent code editor similar (not the same) to Notepad ++ found in Windows and other operating systems.
  • We will find this program available for Mac, Windows and Gnu / Linux.
  • We can use this application to program using multiple programming languages, like PHP, CSS, Ruby, HTML, SQL, XML, and many more.
  • Supports the fautomatic code completion and syntax highlighting.
  • We will have the possibility to obtain a preview of the web page that we are designing.
  • It is available for operating systems of 32 bit and 64 bit.
  • The free text editor Komodo supports macros.
  • We can download the source code of this application from your github page.


Install FreeIPA on CentOS 8 - Step by step guide ?

This article covers how to install the FreeIPA on CentOS 8 system. In fact, FreeIPA is a free and open source identity management tool for managing centralized authentication along with account management, policy (host-based access control) and audit.


How to Open Required FreeIPA ports on Firewall ?

FreeIPA uses a number of ports to communicate with its services which must be opened on firewall to allow external connections. You can simply open all the required ports using the service names by running the command below:

$ firewall-cmd --add-service={freeipa-ldap,freeipa-ldaps,dns,ntp} --permanent
$ firewall-cmd --reload


Install MySQL Workbench on Ubuntu 20.04 LTS - Step by step guide ?

This article covers the process of installing MySQL Workbench on your Ubuntu 20.04 LTS Focal Fossa system. In fact, MySQL workbench is a GUI tool for managing MySQL database system used by database administrators, database architects and developers to visualize database design.


How to Download and Install MySQL Workbench on Ubuntu ?

1. Update and upgrade your system, before any installation:

$ sudo apt update && sudo apt upgrade

2. Now you can download and install Workbench with the command:

$ sudo apt install mysql-workbench