How to backup running config on Cisco switch&router.

This is a simple solution for backup running config on Cisco switch&router. Before you start to backup you should install

  1. tftp service
  2. expect command

After installed tfpt service & expect command. You can test to backup script by my example script below.

Read more »

Tags:, ,

How to start a script by root permission at boot time on Ubuntu server 8.10.

Today my Opmanger server is down, I start it again but my service doesn’t start by automatic at boot time. So I need to start it by root permission at startup time. And this is my solution.

1. Write your script for start a service

#!/bin/bash
echo "Start my service!!!";
cd /path/of/my/script/
./run_my_script.sh

Read more »

Tags:, ,

How to install php-ldap module on CentOS5.

yum install php-ldap

vi /etc/php.ini

add extension=ldap.so

service httpd restart

Tags:

มาทำความรู้จักกับไฟล์ System ext4 กันหน่อยมั๊ย

แอบไปอ่านเจอมาว่าตัว Ubuntu 9.04 ตัวใหม่ที่จะออกมัน Support ไฟล์ระบบแบบ ext4 ก็เลยเกิดคำถามขึ้นในใจว่า มันดีกว่า ext3 ยังไง คุณสมบัติเด่นๆ มีอะไรบ้าง ว่าแล้วผมก็ไปเริ่มที่ wikipedia ก็ไปเจอคำตอบมา ว่าแล้วก็ลองดูกันครับว่ามีอะไรน่าสนใจบ้าง

Read more »

Tags:,

How to install Opmanager version 7 on Ubuntu server 8.10.

Opmanager is software which help you to monitoring your network. It can tell to you about current status of your router, switch and server. Otherthan it can automatic discover your devices in your network too.

These are a list of steps for install the OpManager version 7 on Ubuntu Server 8.10.

Read more »

Tags:,

How to enable RAM more than 4 GB on CentOS 5.

After I had increased the memory in my server from 2 GB to 4 GB, I found my server could see the memory about 3.5 GB only. I found this problem happened from my Kernel didn’t support so I would like to upgrade the Kernel so as to use my memory at 4 GB.

And these are steps for solve this problem.

Read more »

Tags:

How to install DNS server on Ubuntu 8.04.1 .

ได้รับมอบหมายให้มาจัดการกับ Service ต่างๆ ที่ run อยู่ ณ ขณะนี้ใน office โดยพี่เค้าไม่อยากให้ user ต้องมานั่งจำ Service ต่างๆ เป็น IP Address แต่ให้จำเป็นชื่อของ Sub Domain เอา เช่น mail.aoddy.com, backup.aoddy.com, twiki.aoddy.com ฯลฯ โดยเงื่อนไขก็ Basic ทั่วๆไป คือต้องการให้มี DNS Service ที่เป็น Internal ข้างนอกไม่สามารถที่จะเข้ามา Access ได้

คราวนี้ก็มาดูว่า… รายละเอียดของ Network ผมเป็นอย่างไรบ้าง

  1. มี Internal Network เป็น 192.168.0.0/24
  2. IP Address ของ DNS คือ 192.168.0.2 และให้ชื่อเครื่อง ว่า ns.aoddy.com
  3. บนเครื่อง DNS มีจะทำเป็น Virtual Hosting ด้วย
  4. มี Service ที่ต้องใช้ใน Virtual Hosting นี้ก็คือ wwwin.aoddy.com, twiki.aoddy.com และ trac.aoddy.com

Read more »

Tags:,

How to fix MAC Address with IP Address on DHCP server.

Today, I would like to monitor my internet network bandwidth. When my internet network is slow I often have questions from my boss “Why my internet network is slow, who are using a lot of internet bandwidth?”. I cannot answer these questions because I don’t have informations of current network status.

First step, I think I should know which IP Address is using a lot of internet bandwidth and second step I should know who is owner that IP Address.

The answer of the first step , I will use ntop software to answer this question. For the second step, I will fix all MAC Address of Laptop’s wireless card with IP Address on a DHCP Server. And this is my solutions :

Read more »

Tags:,

How to create virtual host on Apache.

Yesterday, my boss wanted to start his new domain on old web server. I ever heard about apache could start many domain on one server by virtual host. I tried to find document for configuration and I found….

Read more »

Tags:,

How to upgrade Zimbra 4.5.9 to 5.0.2 .

These are steps for upgrade Zimbra 4.5.9 to 5.0.2.

1. Download new version from www.zimbra.com

[root@mail] # mkdir Program; cd Program
[root@mail] # wget -c http://files.zimbra.com/downloads/5.0.2_GA/\
zcs-5.0.2_GA_1975.RHEL5.20080130221917.tgz

2. Unzip new software.

[root@mail] # tar xvfz zcs-5.0.2_GA_1975.RHEL5.20080130221917.tgz

Read more »

Tags:,
Page 1 of 212»
© 2008 STORY of AODDY. is powered by WordPress
Creative Commons License
ผลงานนี้ ใช้สัญญาอนุญาตของครีเอทีฟคอมมอนส์แบบ แสดงที่มา-ไม่ใช้เพื่อการค้า-อนุญาตแบบเดียวกัน 3.0 ประเทศไทย.