User login

Who's online

There are currently 0 users and 8 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.
1 + 17 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.
All Shouts

Recent comments

Syndicate

Syndicate content

FreeBSD

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 Install Nginx, PHP, MySQL, Zend Optimizer and PHP Extensions in FreeBSD

What is Nginx ?

Nginx is (pronounced "engine X") is a lightweight web server/reverse proxy and e-mail (IMAP/POP3) proxy, licensed under a BSD-like license.

In This tutorial we will try to install Nginx web server with PHP5, PHP5 Ext, MySQL5 and Pecl-Memcache PHP module in FreeBSD7 server.

I assume you already have freebsd server up and running.
We will using port to install all packages.

Installing MySQL5





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 Set Date, Time and Timezone FreeBSD

Here is the simple and fastest How To Set Date, Time and Timezone in FreeBSD.

Login into your FreeBSD box with root access.
$

Set Date, Time
$date yymmddhhss

* yy : Year in two digit
* mm : Month (1-12)
* dd : Day (1-31)
* hh : Hours (0..23)
* ss : Seconds

For example following command set date to 10-Sept-2006, 4:27 PM (remember you must be a root user to set date and time)
$date 06091021627

Next, Setup a Timezone Info





How To Configure Net-Snmp 5.x in FreeBSD

Simple Network Management Protocol (SNMP) is a widely used protocol for monitoring the health and welfare of network equipment (eg. routers), computer equipment and even devices like UPSs. Net-SNMP is a suite of applications used to implement SNMP v1, SNMP v2c and SNMP v3 using both IPv4 and IPv6.

Installing SNMP services in FreeBSD

Login into your server with SSH

$cd /usr/ports/net-mgmt/net-snmp
$make install clean

Wait until finish.

Configure snmpd.conf





How To Upgrade FreeBSD 6.2 to FreeBSD 6.3

We need to prepare anything before we go ahead upgrading old FreeBSD 6.2 to FreeBSD 6.3

First, we need to have a box running old FreeBSD.
Login into your server and type this command and see what is your current FreeBSD version

athena# uname -mrs
FreeBSD 6.2-RELEASE-p10 i386

This is mean your current FreeBSD version is 6.2-RELEASE-p10

IMPORTANT :
Before we start upgrade old FreeBSD 6.2 to FreeBSD 6.3 we need to make sure we have a FreeBSD GENERIC kernel running on it.





How To Update FreeBSD Latest Version With Make World

When a new version of FreeBSD is released, or there have been a number of security updates released it is necessary to update FreeBSD with Make World. The process may seem very complex if you have never done one before, but overall it is very straight forward and painless.

Getting New Sources With CVSup

If you don't know how to setup CVSup, you can follow this link to Get CVSup up and running first,
Here is the URL http://www.wowtutorial.org/en/tutorial/70.html

Building a New World Sources





How To Install And Configure Litespeed Load Balancer

What is LiteSpeed Load Balancer

LiteSpeed Load Balancer (LSLB) is a high-performance, content-aware, session-aware HTTP application load balancer. It can forward requests based on request content as well as session stickiness preference. LiteSpeed Load Balancer can help scale your application beyond one server deployment, as well as improve the reliability of your service in case of hardware failures.

Example: we will build 1 load balancer with 2 webserver behind load balancer.





How To Install and Integrate Awstats With Lighttpd In FreeBSD

What is AWStats ?

AWStats is an open source Web analytics reporting tool, suitable for analyzing data from Internet services such as web, streaming media, mail and FTP servers. AWstats parses and analyzes server log files, producing HTML reports. Data is visually presented within reports by tables and bar graphs. Static reports can be created through a command line interface, and on-demand reporting is supported through a web browser CGI program.

What is Lighttpd ?





How To Monitor FreeBSD Server With Munin

What is Munin?

Munin is a monitoring tool available in the FreeBSD ports. It tracks the vital signs of your servers and charts everything on graphs by day, week, month and year. It makes it easy to see when your server gets spikes of traffic and how well it handles them. It can also show you how your traffic is increasing over the month or year so that you can plan out when you will need to upgrade or add more servers.





Donate

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

YM! Status