Tag Archives | CentOS

Linux: How to upgrade GCC

To view your current version of GCC, you can use the command: Result or use the command Result: You try to upgrade GCC but unsuccessfully. How to upgrade GCC on Linux? Method 1: Install redhat developer toolset 1.1 Step 1: Download file devtools-1.1.repo to your server. Result: Step 2: use yum to install redhat developer […]

Read full story Comments { 0 }

Protect the VPS from ShellShock

As you may or may not be aware, a new GNU bash exploit has been disclosed by the name of ShellShock, (CVE-2014-6271). This affects the VPS hosting clients running Linux. What can ShellShock be used for? ShellShock makes your servers vulnerable to remote attacks from attackers without you in the knowledge. The most common attack […]

Read full story Comments { 0 }

Disable the email alert by cronjobs

You installed some cronjobs, you feel uncomfortable due to too many email alerts. How to disable them? First, you need know Unix / Linux crontab file stored Now, you download it for editing, (or you can use some editor like vi, nano…)   change line to save file and upload it (rewrite) Final, you restart […]

Read full story Comments { 0 }

Unix / Linux crontab file stored

Linux and Unix-like operating system may change the default from /var/spool/cron/ to something else. Use the following as a guideline for your OS (assuming that user name is tutorialspots): Mac OS X – /usr/lib/cron/tabs/ (user cron location /usr/lib/cron/tabs/tutorialspots) FreeBSD/OpenBSD/NetBSD – /var/cron/tabs/ (user cron location/var/cron/tabs/tutorialspots) CentOS/Red Hat/RHEL/Fedora/Scientific Linux – /var/spool/cron/ (user cron location/var/spool/cron/tutorialspots) Debian / Ubuntu Linux – /var/spool/cron/crontabs/ (user cron location/var/spool/cron/crontabs/tutorialspots) HP-UX Unix – /var/spool/cron/crontabs/ (user […]

Read full story Comments { 1 }

Vesta Control Panel installation

Read new version: Vesta Control Panel installation – new update 2016 Vesta CP available for 1. RHEL 5, RHEL 6 2. CentOS 5, CentOS 6 3. Debian 7 4. Ubuntu LTS, Ubuntu 13.04, Ubuntu 13.10 Step 1: Download installation script curl -O http://vestacp.com/pub/vst-install.sh result: Step 2: bash vst-install.sh Result:   Step 3: Run it bash […]

Read full story Comments { 1 }
Verify CentOS 32 or 64 bit?

Verify CentOS 32 or 64 bit?

To verify if a CentOS Linux system is 32 bit versus 64 bit you can use the uname command. Below are examples of using the uname command from the CLI on a 32 bit system followed by using the uname command on a 64 bit system. 32 Bit CentOS Linux Server [root@localhost ~]# uname -a […]

Read full story Comments { 2 }
How to Install RPMforge yum repository on CentOS 5

How to Install RPMforge yum repository on CentOS 5

In this tutorial we will learn how to install and add the RPMforge repository into CentOS 5. We will also learn how to disable it once it is installed. Installation: Follow the simple steps below and the rpmforge repo will be installed in seconds. 1. Verify 32 Bit or 64 Bit: Verify if your server […]

Read full story Comments { 2 }
How to Install RAR/UnRAR on CentOS Linux

How to Install RAR/UnRAR on CentOS Linux

The rar and unrar packages are not available from the default yum repositories on CentOS Linux so you will need to install the rpmforge repo to install these packages via yum. Read this article for steps on how to install the RPMforge repository on CentOS Linux. Once installed you can install rar and unrar using […]

Read full story Comments { 0 }

Howto Install php-soap in CentOS

Step 1: yum search php-soap result: [root@oanhnhau ~]# yum search php-soap Loaded plugins: fastestmirror, protectbase Loading mirror speeds from cached hostfile * epel: mirrors.solfo.com * updates: mirror.5ninesolutions.com * base: centos.mirror.freedomvoice.com * addons: mirror.pac-12.org * extras: mirrors.usc.edu epel | 3.6 kB 00:00 32b030121b83fbe38c4fd0bcdbbe5334dfde766b-primary.sqlite. | 3.1 MB 00:00 0 packages excluded due to repository protections ============================== Matched: […]

Read full story Comments { 0 }

How to find out version of CentOS Linux via SSH

Step 1: Log in to SSH. Step 2: You can check centOS version installed on your dedicated derver / VPS using below SSH command: cat /etc/*release* Result: [root@vps ~]# cat /etc/*release* CentOS release 5.3 (Final) version of centos ssh How to check version of CentOS Linux by SSH The easiest way to check your CentOS […]

Read full story Comments { 0 }