Search our database

Archive | Centos RSS feed for this section
Viewing 11 to 20 of 26 items

Setup VPN Server on CentOS using SoftEther

SoftEther VPN (“SoftEther” means “Software Ethernet”) is one of the world’s most powerful and easy-to-use multi-protocol VPN software.SoftEther VPN is an optimum alternative to OpenVPN andMicrosoft’s VPN servers. SoftEther VPN has a clone-function of OpenVPN Server. You can integrate from OpenVPN to SoftEther VPN smoothly. SoftEther VPN is faster than OpenVPN. SoftEther VPN also supports […]

Replace HDD for Software RAID in CentOS

When we have detected a hardware failure (by using SmartMonTools or other methods) in one of the HDD of a RAID1 (Mirror type) partition, we need to replace the failed HDD in order to make sure our data is kept intact. To do that, we need to perform some manual removal of the failed HDD, […]

Monitor HDD Health on CentOS

HDD health is very important for a server as failure could happen at anytime, causing loss of precious data. Step 1: Download SmartMonTools by typing:yum install smartmontools Step 2: Find out the names of your hard disks by using one of the following commands:df -hfdisk -lAssume the names of the hard disks are /dev/sda & /dev/sdb. (Use […]

CentOS Installation with Software Raid

Software RAID configuration on CentOS is performed during the installation of the operating system. Here we will perform RAID1 with 2 HDDs, named sda and sdb respectively.Step 1: Boot into CentOS installation disc.Step 2: Select “Install system with basic video driver”.Step 3: Skip media test if prompted.Step 4: Click “Next” to continue.Step 5: Select your preferred […]

Setup LEMP on CentOS 6

LEMP is an acronym for Linux, nginx (Engine x), MySQL, and PHP. It is needed to run web servers due to it containing various software required for other web content management software, such as WordPress and also Joomla.LEMP is similar to LAMP, where LAMP uses Apache instead of nginx as open source web servers. Apache is usually chosen […]

Allow Cloudflare IPs in Firewall

This guide will show you how to only allow Cloudflare IPs to access port 80 using IPTables. Please make sure that all domains is already pointed to Cloudflare, or this guide will make your domains inaccessible. Cloudflare IPs 1 – Create a new file to be your new firewall :- #vi /root/firewall 2 – Paste […]

How to install Fail2ban in Linux Centos

Installation Steps: Step 1 : Install the repo : Centos 6 (32 bit) : # rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm Centos 6 (64 bit) : # rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm Centos 5 (32 bit) : # rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm Centos 5 (64 bit) : # rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm Step 2 : Install the package using YUM: # yum install […]

Restore backup under R1soft

You can restore whole Devices or selected files and folders from any ‘Recovery Point’. You can extract files from a Recovery Point to an off-site server or local hard disk. To restore data in R1soft, follow the instructions below. 1. Click on “Recovery Points” in the Main Menu to open the “Recovery Points” :- 2. In […]

Download Backup Files under R1soft

Download the files stored in Recovery Points as a tar or a zip archive. Follow the instructions below :- 1. Select the Recovery Point you want to save files from and click “Browse.” See the picture below :- 2. Check the boxes next to the files or folders you want to download and click “Download […]

How to change mysql ‘da_admin’ user password

1)   Login to mysql server using current ‘da_admin’ type the following command  at shell prompt: Use mysql database(type command at mysql> prompt):          mysql> use mysql;  Change password for user da_admin, enter:          mysql> update user set password=PASSWORD(“NEWPASSWD”) where User=’da_admin’; Finally, reload the privilegies with: mysql> flush privileges; mysql> quit; After that, we need to […]