How to redirect HTTP to HTTPS Using .htaccess

Chrome and Firefox have started showing insecure warnings on sites without SSL certificates. Without SSL, your website will show insecure to the visitors. Therefore, using an SSL-encrypted connection for safety, accessibility or PCI compliance reasons is necessary. It becomes very important to redirect from HTTP to HTTPS. What is SSL? SSL (Secure Sockets Layer) is…

How to Check and Upgrade your Linux Kernel Version via Command Line in CentOS 7

This article describes how to check and upgrade the Linux kernel in OpenVZ, KVM, and Dedicated Servers (including the CloudLinux platform). Checking the Kernel Version To check system parameters such as the kernel version and build date, OS architecture, hostname, etc., you can use the uname command, which is included in coreutils package: # uname -rv 3.10.0-693.11.6.el7.x86_64 #1 SMP Thu Jan…

How to Check Apache Concurrent Connections in Linux Using netstat and ss Command?

What’s ss Command? ss stands for socket statistics. It is used to dump socket statistics about network/socket connections. It’s showing information similar to netstat, it works better and faster compared with netstat. It can display more TCP and state information than other tools. Since the ss command gets all the information directly from kernel space…

How To Fix Apache Error “(28)No space left on device” Couldn’t create the mpm-accept mutex

On some occasions apache server will just fail, and become crashed, failing to restart with an error message like # tail /var/log/httpd/error_log [Sun Dec 22 10:05:27.006998 2013] [core:emerg] [pid 15001:tid 140145945569216] (28)No space left on device: AH00023: Couldn’t create the fcgid-proctbl mutex [Sun Dec 22 10:05:38.000403 2013] [core:emerg] [pid 15018:tid 140368783902656] (28)No space left on…

Common SSH Commands

Home and navigation When you first log into your server, you will be in your home directory. For the root user, this is /root/. Linux folder structure Linux uses a nested folder structure to store different files. The top-level directory is considered the root directory, and is designated by /. Folders beneath the root level…

PHP: maximum execution time when importing .SQL data file – phpmyadmin

Well, to get rid of this you need to set phpMyadmin variable to either 0 that is unlimited or whichever value in seconds you find suitable for your needs. Or you could always use CLI(command line interface) to not even get such errors(For which you would like to take a look at this link. Now…