Category: CentOS Tutorials

  • How to Install the latest LEMP Stack on CentOS 6.5

    In this tutorial,we’ll learn that how we can install the latest LEMP (Nginx, MySQL & PHP) Stack and it’s initial configuration on CentOS 6.5, because Base and EPEL repo are containing really old version of LEMP Stack. Please add the required repos by using the following commands: sudo rpm –import sudo rpm -ivh […]

  • Site-to-Site VPN between AWS VPC and Customer Site using Linux

    In this tutorial, we will use the previous scenario on AWS side for the creation of site-to-site vpn between AWS VPC and Local site. On Amazon side, we’ll use Ubuntu 14.04 LTS, which will act as gateway for private subnet(s) plus the vpn gateway, while on the Local site, we’ll use the CentOS 6.5, which will perform […]

  • Xây dựng hệ thống Raid hoàn chỉnh

    Xây dựng hệ thống raid cho Server là một trong những công việc rất quan trọng của những IT quản trị các hệ thống mạng máy tính. Tùy vào quy mô và ứng dụng của mỗi Server mà ta xây dựng hệ thống Raid cho phù hợp và ổn định dựa trên các yếu tố […]

  • How to map Google Drive on CentOS

    I am learning around with grive, a third party Google Drive client.  It’s pretty cool, but the instructions are based on an Ubuntu install.  I had an interesting time setting it up on CentOS 6.3 64bit, so I decided to share what I learned. First, get connected EPEL and all repositories, #yum update #yum install json-c* […]

  • Install Boost 1.55.0 version on CentOS

    Issue the following commands in the shell (don’t type $; that represents the shell’s prompt): $ cd path/to/boost_1_55_0 $ ./ –help Select your configuration options and invoke ./ again without the –help option. Unless you have write permission in your system’s /usr/local/ directory, you’ll probably want to at least use $ ./ –prefix=path/to/installation/prefix to install somewhere else. Also, consider using the –show-libraries and –with-libraries=library-name-list options to […]

  • Install qmake on CentOS

    CentOS 6.4 cd /etc/yum.repos.d nano qk.repo # Place this in a file in your /etc/yum.repos.d/ directory with a qt.repo extension [epel-qt48] name=Software Collection for Qt 4.8 baseurl=$releasever/$basearch/ enabled=1 skip_if_unavailable=1 gpgcheck=0 [epel-qt48-source] name=Software Collection for Qt 4.8 – Source baseurl=$releasever/SRPMS enabled=0 skip_if_unavailable=1 gpgcheck=0 yum install qt48-qt-webkit-devel ln -s /opt/rh/qt48/root/usr/include/QtCore/qconfig-64.h /opt/rh/qt48/root/usr/include/QtCore/qconfig-x86_64.h source /opt/rh/qt48/enable export PATH=/opt/rh/qt48/root/usr/lib64/qt4/bin/${PATH:+:${PATH}}

  • How To Install Tomcat 7.0.52 Server on CentOS & RedHat 5/6

    Apache Tomcat is an opensource webserver product of Apache Foundation like Apache HTTP server. It is used to deploying Java Servlet and JSP applications. To deploy any application in Tomcat we can simply create a war file and deploy them. For more details about you can visit apache official site . This article will […]

  • How to Resize the Root Partition in Linux on Amazon EC2

    Check the Root Partition size before resize: df -h The current root partition size is ~8 GB. After that, stop your instance: sudo poweroff Go to Volumes on the left-hand EC2 navigation control panel.Right-click on the volume you want to resize and select Create Snapshot. Note: Make sure you also check the availability zone. Fill out the […]

  • OpenVPN server on CentOS 6.4 behind NAT

    This tutorial describes that how to configure the OpenVPN Server in CentOS 6.4 and clients in Windows XP/7. I am taking the scenario of SOHO network, which is protected by Firewall, we’ll implement the OpenVPN on internal CentOS 6.4 server to access the internal SOHO network (Server and PCs) through the internet from anywhere securely. Before […]

  • Backup to Amazon S3 Bucket from CentOS 6.4

    In this tutorial I’ll make mysql db backup and then upload it to AMAZON S3 Bucket using S3CMD tool and bash script. The script will also create the separate folder automatically for each day inside the bucket. Before starting this tutorial, we need to install the EPEL for s3cmd tools: wget wget rpm […]