Linux : How to enable the cPanel feature on R1Soft server

If you are running both cPanel and have your own R1Soft server, there is a nice integration in cPanel that allow users to restore files, database or their whole account from this external backup source/destination. There are several steps involved for this, such as : 1. Enable control panel restore on the R1Soft server ;… Read More »

Linux : How to run Google Chrome as root

By design, Google Chrome cannot be started as root on Linux systems for security reason, which totally make sense. However, there might be some exceptions where it is required. Here is how to make it work. If you need to run it once or really occasionally, you may start it with the following command using… Read More »

macOS : configure: error: C compiler cannot create executables

Having some issues using the GCC compiler? The problem may show up under different circumstances, such as : – Invoking the GCC compiler trying to compile an application manually using “sudo ./configure”. In such case, an output similar as below will be shown :

– Trying to upgrade outdated packages after updating MacPorts (which… Read More »

Linux : How to open a port from a specific source IP address with CSF

It is possible with Config Security Firewall (CSF) to open an inbound port from a specific source IP address. This is defined outside of the global configuration (csf.conf), within a dedicated config file. 1. Open the following file with your favorite text editor :

2. Follow this syntax to open a specific port for… Read More »

Windows : Install XPS Viewer using command line

Since Windows 10 build 1803 from April 2018, the XPS Viewer is no longer included by default in that build of the operating system and has to be installed manually. Usually this is done by browsing to the applications and feature pane but sometimes cannot be found and installed this way. The quickest and most… Read More »

Linux : How to change default route metric

Under some rare circumstances, you may require to change the default route metric. The first way of doing should be through the “ifcfg-ethX” configuration file by adding the “METRIC=” statement. However it has been found to be inefficient for me and had to apply it using “ip route” as followed :

Example :

Read More »