November 6, 2017 0 Comments

yum -y install lsyncd vi /etc/lsyncd.conf settings { logfile = "/var/log/lsyncd.log", statusFile = "/var/log/lsyncd.stat", statusInterval = 2, } sync { default.rsync, source="/home/ning/cloud/", target="/home/ning/www/" } sync { default.rsync, source="/home/ning/www/", target="/home/ning/cloud/" }

January 18, 2016 0 Comments

Cloud storage is everywhere in today's multi-device environment, where people want to access content across multiple devices wherever they go. Dropbox is the most widely used cloud storage service thanks to its elegant

December 26, 2015 0 Comments

1. Create a new ssh key, you need enter your key name and password $ cd ~/.ssh $ ssh-keygen 2. Start the ssh-agent and load your keys replace id_ras to your key name

December 22, 2015 0 Comments

# Allow outgoing traffic and disallow any passthroughs iptables -P INPUT DROP iptables -P OUTPUT ACCEPT iptables -P FORWARD DROP # Allow traffic already established to continue iptables -A INPUT -m state --state

December 21, 2015 0 Comments

sudo yum -y update sudo yum -y install perl wget sudo sh Then access panel by https://your ip address:10000/

December 18, 2015 0 Comments

1. Install git yum install git git config --global "Ning Ma" git config --global "" 2. Clone file from the bitbucket git clone 3. Commit a file git init git

December 10, 2015 0 Comments

Step 0 – Login to your server via SSH. You better login as root. Step 1 – Now issue this first command syntax: yum install -y git example: Step 2 – Now also

December 10, 2015 0 Comments

Pre-Flight Check These instructions are intended specifically for adding a user on CentOS 6.5. I’ll be working from a Liquid Web Core Managed CentOS 6.5 server, and I’ll be logged in as root.

July 23, 2015 0 Comments

cd /etc/yum.repos.d sudo wget [root@node1 ~]# yum clean all [root@node1 ~]# yum install hhvm [root@node1 ~]# yum update hiphop-php After this, check that hhvm is installed correctly [root@node1 ~]# hhvm --version

July 23, 2015 0 Comments

Install Node from the EPEL Repository An alternative installation method uses the EPEL (Extra Packages for Enterprise Linux) repository that is available for CentOS and related distributions. To gain access to the EPEL