Search our database

Archive | Linux RSS feed for this section
Viewing 11 to 20 of 97 items

How to set SSH login email alerts in a Linux Server?

To improve the security of the server, especially web server which exposes to the internet and worldwide hackers, it’s a good way to enable the server to send a notification email automatically to a predefined email address every time someone logs in as “root” to the host. To configure the automatic email alert notification to […]

How To Enable MySQL Remote Host

Remote access to MySQL database server is disabled by default for security purpose. However, there are times you need to allow remote access to the database server from home or anywhere outside your office or data center. This post will guide you how to do just that. 1) Login to your  cPanel and look for Remote […]

How To Create MySQL Database In cPanel

Almost all web software require a database to operate and one of the most popular RDMS (Relational Database Management Software) is MySQL. A web server is pre-installed with LAMP, but if yours do not, you can refer to our earlier tutorials on how to install LAMP on your server for CentOS and Ubuntu. 1) Login into […]

Open Port For Outgoing Connections In IPTables

Step 1 – Access your server via SSH. You can learn how to do that by reading our tutorial here. Step 2 – Run the following command to open port. This will open port 8000 for incoming connection. /sbin/iptables -I OUTPUT -p tcp –sport $uports –dport 8000 -j ACCEPT/sbin/iptables -I INPUT -p tcp –sport 8000 […]

Installatron – Error: Bytecode Loader Failed. See Troubleshooting For Detail.

Your Installatron Application Installer is broken and needs to be repaired when you receive the following error message. Error: Bytecode loader failed. See troubleshooting for detailError: Bytecode loader failed. See troubleshooting for detail   Access your web server via SSH (Guide: <a href=”https://www.ipserverone.info/cloud/how-to-ssh-into-your-cloud-linux/”>Access your web server via SSH</a>.) and run the following command: /usr/local/installatron/repair –stable/usr/local/installatron/repair […]

How To Block All Bots/Crawlers/Spiders For A Special Directory With .htaccess

If spam is an issue for your site or you would not like your site to be indexed by search engines, you can do so by blocking bots/crawlers/spiders from accessing your site. Step 1 – You need to have mod_rewrite enabled. Step 2 – Placed it in .htaccess RewriteEngine On   RewriteCond %{HTTP_USER_AGENT} (googlebot|bingbot|Baiduspider) [NC] […]

How To Enable MySQL Query Log

It is best to enable MySQL query log so that you can backtrack your codes and steps for troubleshooting purposes. To do so, you will need to edit your MySQL configuration file.Step 1 – Login into your web server via SSH.Step 2 – Edit your MySQL configuration file by running the following commands. vi /etc/my.cnf […]

How To sudo Without Password In Ubuntu

If it is too troublesome to key in your password each time you run a sudo command, you can disable it by amending your configuration file on your web server.   Step 1 – Access and login into your web server via SSH. Step 2 –  Run the following command on your server’s SSH terminal. […]