Category: Linux Tutorials

  • How to Install/Upgrade to PHP 7.4 on RHEL/CentOS VestaCP

    STEP 1 : Install Remi Repository and EPEL Repository on your server : RHEL 8 dnf install dnf install RHEL 7 wget wget rpm -Uvh remi-release-7.rpm epel-release-latest-7.noarch.rpm subscription-manager repos –enable=rhel-7-server-optional-rpms RHEL 6 wget wget rpm -Uvh remi-release-6.rpm epel-release-latest-6.noarch.rpm rhn-channel –add –channel=rhel-$(uname -i)-server-optional-6 CentOS 8 dnf install dnf install […]

  • Install H264 Streaming Module for Apache & PHP on CentOS Server

    Installing the streaming module can be a problem sometimes. This is a simple ins;tall guide which worked fine in a standard CentOS7/cpanel server: For Cpanel: yum install ea-apache24-devel otherwise: yum install httpd-devel wget tar -zxvf apache_mod_h264_streaming-2.2.7.tar.gz cd mod_h264_streaming-2.2.7 ./configure make make install Edit /usr/local/apache/conf/httpd.conf Add the following lines: LoadModule h264_streaming_module /usr/lib64/httpd/modules/ AddHandler h264-streaming.extensions .mp4 […]

  • Using cron to delete files older than X minutes/ days

    If you want to empty files in /tmp folder older than X minutes: find /tmp -mmin +30 -type f -name “*.*” -exec rm -f {} ; +30: 30 minutes; “*.*”: if you want to delete all files (please specify name as you want) If you want to empty files in /tmp folder older than X days: […]

  • How To Install And Run VLC On CentOS 6/7 As Root

    VLC media player (commonly known as VLC) is a portable, free and open-source, cross-platform media player and streaming media server written by the VideoLAN project. VLC media player supports many audio and video compression methods and file formats, including DVD-Video, video CD and streaming protocols. It is able to stream media over computer networks and […]

  • [TUT] How to Solve Rar/Unrar Problem in Rapidleech

    Welcome to my tutorial about Rapidleech. I noticed numerous threads about people getting errors and find it difficult to install rar / unrar on their server and make that function work in Rapidleech. I found a solution and I want to share it with us all. Step 1 : Download zip file from Step 2 […]

  • How to Install the latest version of s3cmd tool on Linux

    Please install the required packages before installing the s3cmd tool and download the source zip from github: sudo yum install unzip python-pip wget Unzip the downloaded source zip file and move to the unzipped directory: unzip cd s3cmd-master/ Once you have moved to the unzipped directory then just run this command: sudo python […]

  • Initial Settings after installing the CentOS 7

    1) To change the hostname permanently, edit the following file: sudo vi /etc/hostname Here you can simply put the name of your system (in my case, I have assigned it CentOS-7): After that, edit the hosts file: sudo vi /etc/hosts Here add the same name, that you have added in the /etc/hostname file, after After reboot, it will display […]

  • How to Install the latest LEMP Stack on CentOS 6.5

    In this tutorial,we’ll learn that how we can install the latest LEMP (Nginx, MySQL & PHP) Stack and it’s initial configuration on CentOS 6.5, because Base and EPEL repo are containing really old version of LEMP Stack. Please add the required repos by using the following commands: sudo rpm –import sudo rpm -ivh […]

  • How To Install WordPress with Nginx in Ubuntu Server 14.04 LTS

    Install the LEMP stack(Linux, Nginx, Mysql, PHP) with the command below: sudo apt-get install nginx mysql-server php5-fpm php5-mysql Note: Please set the MySQL root password, when it will prompt for it during the installation of MySQL-Server. Secure the PHP by editing the php.ini file: sudo vi /etc/php5/fpm/php.ini Uncomment the cgi.fix_pathinfo and change it from 1 to 0: cgi.fix_pathinfo=0 Create the new […]

  • Linux IPSec Site-to-Site VPN: AWS VPC & Cisco Router

    In this tutorial, we will use the Site-to-Site VPN scenario with the modification and one of the customer site that is using Cisco router, which is also acting as gateway for LAN plus the vpn gateway while from the AWS side, we are using the exact same Ubuntu Linux router. Please review the previous tutorial before starting this tutorial, […]