User login

Who's online

There are currently 0 users and 12 guests online.

Shoutbox

sentono: testing shoutbox :)
sentono: please type something here :)
Captcha
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
8 + 7 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.
All Shouts

Recent comments

Syndicate

Syndicate content

Linux

How To Configure Logrotate Nginx Log in Freebsd and Linux

Here is a simple way How To Configure Logrotate Nginx Log in FreeBSD and Linux Machine.

Configure Nginx Logrotate in FreeBSD Machine

Login into the server via SSH
Edit file newsyslog.conf

#pico /etc/newsyslog.conf


#### add 1 line below into newsyslog.conf ####


/var/log/nginx/*.log            root:wheel      640  7     *    @T00    GJ        /var/run/nginx.pid 30


#### save this file ####





How to Fixed /usr/bin/crontab permissions are wrong. Please set to 4755

If you have a cpanel server and you've a problem with your crontab permission are wrong please set to 4755.

Please kindly to follow up this step below to solved your crontab permission issue.

Anyway, if you get the message:
================================
/usr/bin/crontab permissions are wrong. Please set to 4755

You can fix it by logging in via ssh/root and giving it some:

=============================================================
$chmod 4755 /usr/bin/crontab




How To Install Smokeping in Centos/RHEL Server

What is Smokeping?

SmokePing does not stand alone. It relies on various other tools and services being present. Apart from a Unix OS and a working Perl installation you need the following things. The list contains the names of the tools together with the version of the tool which I am using, and a link for downloading the tool.

Preparing anything to install Smokeping

Download Smokeping : http://oss.oetiker.ch/smokeping/pub/smokeping-2.4.2.tar.gz





How To Format Harddrive in Linux/Unix Console

Here is a simple steps how to formatting a new harddrive in linux/unix console :

First, we need to take a look all partition in your server

$fdisk -l
.....
.....
Disk /dev/hdd: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot      Start         End      Blocks   Id  System

You will see a result above that tell /dev/hdd is have 320GB but don't have any partition on it.





How To Fixed Add-On Domain Problem in Cpanel

There is an error in Cpanel hosting server that cause Add-on domain is not working properly.

Here is a various symptoms:
* When user adding add-on domain and delete it and then re-adding it again, it will show error
* Or if the domain to be added was a single user account on the same server (even after being terminated) it cant be added
* Add-on just disappear after CPANEL update

The fastest solution is :
Login into your Cpanel server with root access.





How To Configure PopTop PPTP VPN Server Linux

What is PPTP?

PPTP stands for Point to Point Tunneling Protocol. It was developed by a consortium including Microsoft and is used for establishing VPN (Virtual Private Network) tunnels across the Internet. This allows remote users to securely and inexpensively access their corporate network from anywhere on the Internet.




How To Fixed PHP Pear Upgrade Issue

Users with very old PEAR versions are unable to follow the PEAR upgrade

instructions on the 1/3/08 news item announcing the XML-RPC service shutdown, due to two issues:
- console_getopt current (v1.2.3) has only v2 package.xml, which older
pear installer can't read
- upgrade to pear-1.4.3 requires at least pear-1.3.3 already installed,
and some users' versions are older than that

To solved this issue we need to upgrade pear step by steps below:





How To Install RRDTool via YUM Centos

By default, the yum repository configuration on Centos does not have rrdtool in it.

To Solve this problem, we need to add more repository that have rrdtool on it.

Login into your server via SSH with root access
$cd /etc/yum.repos.d/

Create a file and name it dag.repo
[code]$vi dag.repo





How To Install and Configure Awstats Statistics in Fedora Core 6

AWStats is a free powerful and featureful tool that generates advanced web, streaming, ftp or mail server statistics, graphically. This log analyzer works as a CGI or from command line and shows you all possible information your log contains, in few graphical web pages. It uses a partial information file to be able to process large log files, often and quickly.




How to Install NGINX as Ruby Mongrell Cluster Front End


Looking for a better front end for mongrel_clusters? need a lightweight webserver as an alternative to apache that will be used on VPS with minimal memory, can serve static files very fast, also has very complete proxy and rewrite modules with maximum performance?

then nginx is for you!. nginx is commonly pronounced as "engine x"





Donate

Does this site make your life easier? Help me keep it online.

YM! Status