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
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
$chmod 4755 /usr/bin/crontabHere 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
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
Wait until finish.
Configure snmpd.conf
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
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.
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
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.
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 ?
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.
Recent comments
38 weeks 6 days ago
42 weeks 3 days ago
50 weeks 5 days ago