Tutorials

HardDisk Capacity Monitoring with MRTG

Harddisk

At times, our lack of attention to what is the amount of disk usage is used by our server. Based on experience, a lot of admin Diskspace ignored this problem. Usually the only monitor traffic in and out that could be "captured" through the existing Ethernet. And if you note, actually we really need information about how the rest of our hard disk capacity, or how much is already in use. Monitoring capacity is necessary if we are using the machines we make, requires hard drive capacity is not to run out. For example for a proxy server, database server, and so on.

 

Blocking Internet Explorer 6 with Squid

No IE 6

Did you know that today, many websites that began eliminating compatibility with Internet Explorer 6 browser. Internet Explorer 6 has 119 bugs. For that of the sysadmin side to minimize grievances or complaints from customers is "Suggest to Upgrade to Internet Explorer Internet Explorer 7 or Internet Explorer 8 or to other browsers like Firefox, Opera, or Google Chrome".

 

Setting Up no-password SSH

Server

Sometime we had a script for running process in remote machine. In this case, we need to setup SSH with no-password to remote another machine and run process what we need.
The basic idea is, however, that in the cryptosystem that ssh uses (RSA or/and DSA) the encription and decription are done using diferent keys
Basically, what the user (client) needs is to generate a public/private key pair. The server will know the public key, but only the client will know the private key.

 

Monitoring DNS Server

DNS Server

 

Short for Domain Name System (or Service or Server), an Internet service that translates domain names into IP addresses. Because domain names are alphabetic, they're easier to remember. The Internet however, is really based on IP addresses. Every time you use a domain name, therefore, a DNS service must translate the name into the corresponding IP address.

 

Monitoring Squid with MRTG

If you want to know utilization or performance your Squid Proxy, you can use MRTG to monitoring Squid Proxy. This can do, because Squid Proxy support SNMP and you must configure squid with SNMP support.

 

Setting Up Squid on FreeBSD

Squid is web caching and conserving badwidth application. With Squid, we will reduce the traffic 30% or more from normal usage (without squid) and enhance respone time. In here, i will use squid 2.7.STABLE3.

Installing Squid.
You can download Squid from here. After you download the source of squid, then :

# tar zxvf squid-2.7.STABLE3.tar.gz
# cd  squid-2.7.STABLE3
# ./configure '--sysconfdir=/etc/squid' '--enable-storeio=diskd,ufs,aufs' '--enable-delay-pools' \
'--enable-pf-transparent' '--enable-ipf-transparent' '--disable-ident-lookups' \
'--enable-removal-policies'
# make
# make install


 

Step By Step FreeBSD as Internet Server

Installing FreeBSD

    1. Select Region.
    2. Select Standart Installation.
    3. Use all drive for FreeBSD.
    4. Create Disklabel, on my installation use 80GB of harddisk, and here my disk label
      • / 512MB
      • swap 1GB
      • /tmp 1GB
      • /usr 4GB
      • /var 2GB
      • /home 1GB
      • /cache (all the rest off harddisk space).
 

Load Balancing on MikroTik

Quick Start for Impatient Configuration export from the gateway router:

/ ip address add address=192.168.0.1/24 network=192.168.0.0 broadcast=192.168.0.255 \
interface=Local comment="" disabled=no

add address=10.111.0.2/24 network=10.111.0.0 broadcast=10.111.0.255 \
interface=wlan2 comment="" disabled=no

add address=10.112.0.2/24 network=10.112.0.0 broadcast=10.112.0.255 \
interface=wlan1 comment="" disabled=no


 

The Easy Way to setting Mikrotik + Squid and Simple Queue

In a Case, there is my client wishing topology in its(the network using machine Mikrotik which will be joined forces with Squid, where this Squid stays in machine FreeBSD. He wishs, arrangement of shaping easily, by using Simple Queue.

If topology like this : INET ------- Mikrotik --------- SQUID -------- Client

Bandwidth Management is handle by SQUID. We wanted is like this :

INET | Mikrotik ---- SQUID | Client

So, shaping to client is handle by Mikrotik.

 

Sharing file using Samba on CentOS 4

Following I submit, way of using samba at CentOS. For other OS, usage of samba nor different far.

1. Install Centos 44 Don't forget when install there are option Firewall and selinux, please select;choose option “ no firewall” and Selinux chooses “ disable”.

 

Page 1 of 2

«StartPrev12NextEnd»

About You :

IP Address :
38.107.191.88
United States United States
Browser :
Unknown Unknown
Operating System :
Unknown Unknown

Keep This Site Alive

Your Comment On Tutorial:

Banner
Copyright © 2010 MustNoFee
This blog is 966 days since Jan, 12 2008