Category Archives: Linux Centos

Shell Script to Listen on Port and save it to File.

Recently I build a GPS server. Therefor I need to use another port than http port or other used port to grab any string delivered to server. First, create a new shell script that able to read a string. # vi /root/mygps.sh #!/bin/bash echo “Welcome to myGPS Daemon” read -r input echo “${input}” >> /var/www/html/gps.log [...]

How to Change vsftpd Listening PORT ?

Opening FTP port at port 21 is quite danger as 21 is a common port for ftp. I personally recommend to change the ftp port other than 21, try to change it to 50021. Nobody will guess it. Why need to change the port ? FTP port is created by a daemon of ftp-server program, [...]

Use cacti with nginx

cacti is an easy way to keep your eyes on your server and even your router. How did cacti work? cacti will show everything logged by snmp and syslog and other data captured and just everything and show it as graphic and much easy for you to understand. Why dont you try this cacti? Well, [...]

Yum with Proxy

How to use yum through the proxy ? The answer is simple, First have to set the environment variable for yum: http_proxy=proxy:portnum Then, export the variable: export http_proxy Then run yum as usual. Works fine now.

More Info about RAID

In the current generation motherboards, a lot of which is equipped with RAID functions, especially in high-end motherboard. But probably many of the viewers of this blog who do not know or understand about the technology. RAID, Redundant Array of Inexpensive (Independent) Disks, is a system consisting of several hard drive / drives. Simply put, [...]

Install Kloxo Easy

Very easy to install kloxo, Only 2 syntax needed. # wget http://download.lxcenter.org/download/kloxo/production/kloxo-install-master.sh # sh ./kloxo-install-master.sh Then, wait it will ned your confirmation to continue. Very easy ? That’s all folks.

Kloxo and Nginx Together

People loves kloxo as server control panel because it is free, and ease to use. People more prefer nginx because it is very good for handling visitor website with minimum memory and more powerfull. Now, How can we combine these two ? I use both of them in single vps server, and satisfied for the [...]

Nginx : child 3947 exited on signal 11

Are you a noob in nginx ? or php-fpm  ? Stuck with strings in php-fpm error log. May 05 13:38:26.087569 [WARNING] [pool www] child 3912 exited on signal 11 (SIGSEGV) after 12.275636 seconds from start May 05 13:38:26.089376 [NOTICE] [pool www] child 3931 started May 05 13:38:29.964830 [WARNING] [pool www] child 3881 exited on signal [...]

How To free linux memory

Hi, I have Centos installed on HP Proliant Box with 13Gig of RAM Memory. Yesterday, I was running rsync all my websites into another box in LAN. Somehow the memory has dropped out and there is only 32Mb left on free memory. Damn, only copying files has eating more than 12 Gigs of memory, and [...]