This is the very simple script I currently use to check SoYouStart availability. The script also use MandrillApp for notification email sending. You will need to setup the cron to run every minutes for script running. This script is adapted from the one at LowEndTalk community. Setting up Environment Install PHP: […]
Yearly Archives: 2014
This short blog entry will cover how to install nodejs and npm for NodeJS on CentOS. First, install epel repository: [bash]yum install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm[/bash] For CentOS 7, use [bash]yum install http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-1.noarch.rpm[/bash] Then, install nodejs and npm via yum: [bash]yum install nodejs npm[/bash] Finally, go to node project root directory and run: [bash]npm […]
Many of us might think about changing the SSH port is a must-have item for enhancing security. However, the fact is that if we do not fully understand how does the OS handle ports, we might make mistake on security by doing this. You can check the article Why putting SSH […]
When using Linux, the top command might be the most used command for system administrators. This provides a quick look on how your server / VPS is performing and we can quick detect many problems via reading it. However, not everybody really fully understand all output information. So I decide […]
This quick tutorial will guide to install LEMP stack for Laravel on Ubuntu OS. Install PHP Install necessary php mods: [bash]apt-get install nginx php5-fpm php5-cli php5-mcrypt php5-json php5-dev php-pear git[/bash] Enable mcrypt: [bash]ln -s /etc/php5/conf.d/mcrypt.ini /etc/php5/mods-available php5enmod mcrypt[/bash] Modify /etc/php5/fpm/php.ini and change cgi.fix_pathinfo to 0: [bash]cgi.fix_pathinfo=0[/bash] Install opcache: [bash]pecl install […]
This article guides how to take snapshop and restore to a new VM from Vultr snapshots. If you do not know Vultr, you can check Free $10 credit from Vultr – Digital Ocean killer. Take the snapshot Simple, go to the My Servers >> Manage >> Snapshots (BETA), give it a name […]
Recently I purchased a kimsufi i3 server for static content replicating and found that there are much free resources on the node, so I decided to also use it for several other virtual machines. Previously, I did use qemu and XenServer, so this time I chose Proxmox to continue. The […]
This guide explains how you can install and use KVM for creating and running virtual machines on a CentOS 6.4 server. I will guide to install Windows on Linux server with qemu virtualization step-by-step to demonstrate how this must be done. KVM is short for Kernel-based Virtual Machine and makes […]
This tutorial will guide you how to install Handbrake CLI in CentOS and use it for video encoding / converting. Installation It is suggested to use LinuxTech repo to install Handbrake CLI on CentOS automatically (Ubuntu can easily add ppa:stebbins/handbrake-releases). First, add the repo at /etc/yum.repos.d/linuxtech.repo as follows: [bash][linuxtech-release] name=LinuxTECH.NET el6 main […]
New hybrid apps developers might find difficult to get Facebook connect work in a PhoneGap / Ionic project. This tutorial will list out some checklist for setting Facebook Connect for PhoneGap – Ionic. We will use the Simple Facebook Connect without PhoneGap plugin to be able to login with Facebook in […]