Install PHP 7.4 / 7.3 / 7.2 / 7.1 on Debian 10 / Debian 9 Rumi, October 26, 2020October 26, 2020 Add PHP Repository SURY, a third-party repository which offers PHP 7.4 / 7.3 / 7.2 / 7.1 for Debian operating system. By default, Debian 10 ships PHP v7.3. So, you can either install PHP v7.3 from Debian repository or SURY repository. Skip this section if you want to install PHP… Continue Reading
Multiple or Two Default Gateways on One System Rumi, October 26, 2020 Problem Description You have built two or more network cards into one Linux system and each of these cards has its own default gateway. By default, you can only have one default gateway on a system. The case described would lead to asynchronous routing, whereby the router would reject the… Continue Reading
How to find out the connected interface using linux command Rumi, October 26, 2020 Method 1 To find out the connected state of a network cable in Linux, just run: $ cat /sys/class/net/enp5s0/carrier Sample output: 1 If you got output as “1” (Number one), It means that the network cable is connected with the network card. Also, you can do this with the following command too:… Continue Reading
Install LAMP on CentOS 7 with PHP 5.4/7.0/7.1/7.2/7.3/7.4 Rumi, October 26, 2020 Preliminary Note In this tutorial, I use the hostname server1.example.com with the IP p 192.168.0.100. These settings might differ for you, so you have to replace them where appropriate. I will add the EPEL repo here to install latest phpMyAdmin as follows: rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY* yum -y install epel-release To edit files on… Continue Reading
Enable mod_rewrite for Apache on CentOS 7 Rumi, October 25, 2020 The mod_rewrite module is enabled by default on CentOS 7. If you find it is not enabled on your server, you can enable it by editing 00-base.conf file located in /etc/httpd/conf.modules.d/ directory. sudo nano /etc/httpd/conf.modules.d/00-base.conf Add or uncomment the following line: LoadModule rewrite_module modules/mod_rewrite.so Save and close the file, then… Continue Reading
Virtualbox fixing VRDE on 0.0.0.0 instead 127.0.0.1 Rumi, October 21, 2020 By default, Remote Display only works on localhost / 127.0.0.1 and cannot be accessed by ip address or hostname. Check VRDE / Remote Display IP Address You can check VRDE / Remote Display ip address using the following methods: Open command prompt and run netstat -an |find /i “listening” or netstat -an |find /i “[PORT_NUMBER]” and you shall notice it is listening on 127.0.0.1:PORT. Continue Reading
Add Static Route on specific interface from Windows OS Rumi, October 6, 2020 Find out the Interface ID on which you need to apply your static route- netsh interface ipv4 show interfaces It’ll look something similar below- And now apply your static route- route add 172.16.222.0 mask 255.255.255.0 172.16.221.193 IF 20 Continue Reading
Installing MySQL on Debian Rumi, September 26, 2020 Step 1 – Prerequisites Login to your Debian 9 system using shell access. For remote systems connect with SSH. Windows users can use Putty or other alternatives applications for SSH connection. ssh root@debian9 Run below commands to upgrade the current packages to the latest version. sudo apt update sudo apt… Continue Reading
Remove Node from Proxmox Cluster Rumi, September 9, 2020 Step 1 : Migrate all VMs to another active node Migrate all VMs to another active node. You can use the live migration feature if you have a shared storage or offline migration if you only have local storage. Step 2 : Display all active nodes Display all active nodes in… Continue Reading
Permanently add Static Route in Linux Rumi, September 4, 2020September 4, 2020 Static routing is the process of manually entering the routes to the routing table to reach a particular destination. Basically two commands are used in Linux to add routes. The first command is the old traditional route add and second is the IP route command. Earlier we learned how to… Continue Reading