::: | Welcome to LinuxAdministrator.Pro | :::

Linux Server Administration | Networking | Management | Monitoring | Apache MySQL Optimization | Data Backup Restore | Server Migration | Security | Iptables | Server Hardening | DDoS Prevention | CSF | APF | BFD | Malware Detection Removal | CentOS | Fedora | RedHat | FreeBSD | Ubuntu | Debian | CloudLinux | Amazon AWS | RackSpace | cPanel | Plesk | Ensim | DirectAdmin | Virtualmin Webmin | ISPConfig | HyperVM | SolusVM | MySQL | PostgreSQL | Exim | Qmail | Sendmail | Postfix | Apache | Tomcat | Java | Jboss | Scripting | OpenVZ | Xen

How to setup VPN server on Linux machine (PPTP or Point-to-Point Tunneling Protocol)

The virtual private network (VPN) technology helps secure remote access to private networks. VPN is part of a comprehensive network access solution that includes support for authentication and authorization services, and advanced network security technologies. A VPN solution includes advanced security technologies such as data encryption, authentication, authorization, and Network Access Quarantine Control. Following are […]

,

How to recover or reset Joomla Admin password

There is no way to recover the admin password. You can always reset the password. The passwords are stored as MD5 hash which prevents recovering the password. So you can only reset it. The password is stored in MySQL database where the table name is “jos_users” under password field (If the table prefix is different […]

,

Steps to Add/Bind secondary IP address to CentOS server.

Refer the following steps to bind additional ip address on your CentOS Linux Server. 1. Login to server via ssh 2. Before binding the new ip address you can check the existing ip address and network interfaces using the following command. ifconfig 3. Now navigate to the directory /etc/sysconfig/network-scripts/ cd /etc/sysconfig/network-scripts/ 4. You should be […]

,

SolusVM Management Commands

The VPS management control Panel SolusVM is a very good choice for OpenVZ and Xen based servers. It is a stable and feature rich control panel and has a very low cost compared to the Virtouzzo platform and Panel from the popular brand Parallels. SolusVM use an Administrator user login to manage the VPS. Following […]

,

RPM cheat sheet for Linux

RPM or Redhat Package Manger is the most common and and one of the best package managers. Here are some useful commands for working with RPM’s. To check what files a package has installed rpm -q -l test test is the name of the package as reported by rpm -qa. If you have a .rpm […]

, ,

Steps to Generate a Certificate Signing Request (CSR) using Apache (with mod_ssl) & OpenSSL

Steps to create CSR using Apache and OpenSSL Log in to your server via ssh and enter the following command: openssl req -nodes -newkey rsa:2048 -keyout myserver.key -out server.csr Above command will generate two files. A certificate Signing Request called ‘server.csr’ and a 2048-bit private key called ‘myserver.key’. To complete the generation you will be […]

, , ,

How to Remove the passphrase from a SSL Key

If you use a passphrase protected SSL key in Apache, you may face difficulty while reloading the Apache. Apache wont be able to read the keys without providing the pass-phrase. In this case, you can remove the pass-phrase using the following steps. Make sure to backup the existing key. cp -rp www.key www.key.original Then unencrypt […]

, ,

Steps to prevent hotlinking of Images/Video of your Domain

Bandwidth theft or hotlinking is the way of direct linking to your web site’s files (images, video, etc.). This can be prevented with mod_rewrite module. Just place the following rules in vhost.conf or .htaccess files for the required domain. RewriteEngine on RewriteCond % !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)?domainame\.com(/)?.*$ [NC] RewriteRule \.(gif|jpg|jpeg|png|swf)$ – [NC,F] Thats it.

,

Steps to Enable Mod Deflate in Plesk

By default deflate module is already compiled on Plesk based Linux servers(new versions). You just need to add the rules in Apache to enable/load the deflate module. You can test if your website already has mod_deflate enabled using the following tool. http://www.whatsmyip.org/mod_gzip_test/ Now if its not enabled, login to server via ssh and open the […]

,

How to Fix Pgsql query failed Error

Steps to fix the error Pgsql query failed If you receive the following error while trying to access a page using postgresql database credentials, you can follow the steps listed below to fix this. Warning: pg_query() [function.pg-query]: Query failed: ERROR: permission denied for relation in /home/username/public_html/123.php  Warning: pg_num_rows(): supplied argument is not a valid PostgreSQL result […]

,

Previous Posts

Theme created by thememotive.com. Powered by WordPress.org.