RSS Feed
Knowledgebase : CentOS Linux Server
#1: LS : WHAT’S IN THIS DIRECTORY? The command LS stands for LIST DIRECTORY CONTENTS. And, cleverly, it will do just that: list a directory's contents! Using it with -F will give a list of the directories contents, and denote items that are other direct...
By default SSH comes configured in a way that disables root user logins. This is done as a security precaution and means that you cannot directly login as the root user over SSH. However you can usually get around the need for root ssh login by using the ...
Please take note that Malaysia and in some countries, or better said some ISPs are now blocking SMTP Port 25 to mitigate Spam in their network. An approach lots of systems administrators are taking is to use port 26, so you can configure your email clie...
Here we provide sample of most popular iptables configuration. We will block all connections except specific ports First of all to exclude any errors because of previous config we will delete all current iptables rules. SSH to your server with root ...
HOW TO CHANGE SSH PORT. Open the file _/etc/ssh/sshd_config_ with your favourite text editor. For example: nano /etc/ssh/sshd_config Find the string which defines the port and edit it: # What ports, IPs and protocols we listen for Port 22 Now resta...
To change the root password for your VPS or Dedicated server via WHM: 1. Log into WHM. 2. Go to SERVER CONFIGURATION > CHANGE ROOT PASSWORD menu. 3. Enter the new password in NEW ROOT PASSWORD and CONFIRM PASSWORD fields (you may use built-in Password G...
I) CPANEL/WHM There are a few ways to check your memory usage in WHM or cPanel control panels. You may check the general overview of the server status via WHM > Server Information and WHM > Service Status, which also includes information about memory usa...
METHOD #1: CHECKING THE VERSION OF CPANEL / WHM BY THE ‘CPANEL’ COMMAND Using the cPanel command: /usr/local/cpanel/cpanel -V 11.50.0 (build 27) METHOD #2: CHECKING THE VERSION OF CPANEL / WHM BY LOOKING AT THE VERSION FILE Using the version file:...
THESE INSTRUCTIONS ARE INTENDED SPECIFICALLY FOR REMOVING A USER ON CENTOS 7. STEP 1: DELETE THE USER It's just one simple command to add a user. In this case, we're adding a user called mynewuser: userdel mynewuser If you want to remove all of th...
STEP 1: BACKING UP THE DATABASES Before you attempt to repair any database, you should back it up first. To back up all of the files from all of your databases, follow these steps: * Log in to your server using SSH. * Stop the MySQL server using th...
USE THESE COMMANDS TO SECURELY _DOWNLOAD FROM_ A SERVER STANDARD SSH PORT: rsync -avHe ssh _user_@_server_:_/path/to/file_ _/home/user/path/to/file_ * USER: The username of the remote user through which you'll be logging into the target (remote) se...
HOW TO TEST THE APACHE AND PHP CONFIGURATION Q. HOW CAN I BE SURE THAT MY PHP SERVER IS WORKING? AND HOW TO KNOW THE VERSION AND MODULES ENABLED? A. You can create a simple PHP script and load it from your browser in order to know the version of PHP an...
MALDET (LINUX MALWARE DETECT):- Maldet is a malware detector which is mainly used in Linux based servers. It uses threat data from network edge intrusion detection systems to extract malware that is actively being used in attacks and generates signatures...
In order to deploy WordPress multisite, the following directives should be added to DOMAINS > EXAMPLE.COM > APACHE & NGINX SETTINGS > ADDITIONAL NGINX DIRECTIVES: > # WordPress multisite subdirectory rules. > index index.php; > > # This order might s...
Many articles in this knowledge base advise editing configuration files. We usually recommend using your preferred text editor. At Liquid Web, we prefer vim. Vim, or its older sibling vi, are installed by default on nearly every server that we come across...
TO FIND WHICH MAILS ARE STUCK IN MAIL QUEUE AND WHY? If emails are getting delayed, its better to inspect postfix mail queues, coupled with postfix mail log. STATUS/SHAPE OF MAIL QUEUE Postfix maintains different queues for different purpose.active a...
Your server is only as secure as your weakest password. As a rule of thumb, the more lengthy and complex a password, the stronger it is. Follow the best practices below for generating difficult to crack passwords. Best Practices DOS * DO USE PASSWO...
This is a simple bash script to fix the permissions and ownership of files within a cpanel account. To use, simply copy the script your server, chmod 755, and pass the usernames as arguments: > ./fixperms user1 user2 user3 You can also run a server-wid...
Hi, For server administrators, it is essential to maintain your server upkeep in term of the hard disk space. When the server hard disk is full, there will be a serious downtime that will happen to your server. The most important sign when the hard di...
When configuring your server settings, you may be asked to enter a specific port number for a particular application or service. Here's a list of commonly requested port numbers you can use with your server: * HTTP - Port 80 * HTTPS - 443 * FTP - ...
Brute-Force Attacks occur when an attacker attempts to calculate every possible combination that could make up a password and test against your site to see if it is a correct password. This can be done either by using dictionary words or trying to guess t...
The Redundant Array of Inexpensive Disks or RAID, is a robust method of storing data efficiently. It uses techniques like striping, mirroring, and parity to utilize multiple hard drives combined into larger volumes. RAID serves two main purposes, it can...
Copyright © 1998 - 2018 Shinjiru International Inc. All Rights Reserved.