This is a simple solution for backup running config on Cisco switch&router. Before you start to backup you should install tftp service expect command After installed tfpt service & expect command. You can test to backup script by my example script below.
How to start a script by root permission at boot time on Ubuntu server 8.10.
by aoddy on March 2, 2009
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
How to install php-ldap module on CentOS5.
by aoddy on January 18, 2009
yum install php-ldap vi /etc/php.ini add extension=ldap.so service httpd restart
มาทำความรู้จักกับไฟล์ System ext4 กันหน่อยมั๊ย
by aoddy on January 14, 2009
แอบไปอ่านเจอมาว่าตัว Ubuntu 9.04 ตัวใหม่ที่จะออกมัน Support ไฟล์ระบบแบบ ext4 ก็เลยเกิดคำถามขึ้นในใจว่า มันดีกว่า ext3 ยังไง คุณสมบัติเด่นๆ มีอะไรบ้าง ว่าแล้วผมก็ไปเริ่มที่ wikipedia ก็ไปเจอคำตอบมา ว่าแล้วก็ลองดูกันครับว่ามีอะไรน่าสนใจบ้าง
How to install Opmanager version 7 on Ubuntu server 8.10.
by aoddy on December 22, 2008
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.
How to enable RAM more than 4 GB on CentOS 5.
by aoddy on December 14, 2008
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 [...]
How to install DNS server on Ubuntu 8.04.1 .
by aoddy on October 11, 2008
ได้รับมอบหมายให้มาจัดการกับ Service ต่างๆ ที่ run อยู่ ณ ขณะนี้ใน office โดยพี่เค้าไม่อยากให้ user ต้องมานั่งจำ Service ต่างๆ เป็น IP Address แต่ให้จำเป็นชื่อของ Sub Domain เอา เช่น mail.aoddy.com, backup.aoddy.com, twiki.aoddy.com ฯลฯ โดยเงื่อนไขก็ Basic ทั่วๆไป คือต้องการให้มี DNS Service ที่เป็น Internal ข้างนอกไม่สามารถที่จะเข้ามา Access ได้ คราวนี้ก็มาดูว่า… รายละเอียดของ Network ผมเป็นอย่างไรบ้าง มี Internal Network เป็น 192.168.0.0/24 IP Address ของ DNS คือ 192.168.0.2 และให้ชื่อเครื่อง ว่า ns.aoddy.com [...]
How to fix MAC Address with IP Address on DHCP server.
by aoddy on September 21, 2008
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 [...]
How to create virtual host on Apache.
by aoddy on May 11, 2008
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….
How to upgrade Zimbra 4.5.9 to 5.0.2 .
by aoddy on March 6, 2008
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