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.
Read more »
Tags:
backup,
linux,
Shell script
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:
linux,
Script,
Ubuntu
yum install php-ldap
vi /etc/php.ini
add extension=ldap.so
service httpd restart
Tags:
linux
แอบไปอ่านเจอมาว่าตัว Ubuntu 9.04 ตัวใหม่ที่จะออกมัน Support ไฟล์ระบบแบบ ext4 ก็เลยเกิดคำถามขึ้นในใจว่า มันดีกว่า ext3 ยังไง คุณสมบัติเด่นๆ มีอะไรบ้าง ว่าแล้วผมก็ไปเริ่มที่ wikipedia ก็ไปเจอคำตอบมา ว่าแล้วก็ลองดูกันครับว่ามีอะไรน่าสนใจบ้าง
Read more »
Tags:
ext4,
linux
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:
CISCO,
linux
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:
linux
ได้รับมอบหมายให้มาจัดการกับ 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
- บนเครื่อง DNS มีจะทำเป็น Virtual Hosting ด้วย
- มี Service ที่ต้องใช้ใน Virtual Hosting นี้ก็คือ wwwin.aoddy.com, twiki.aoddy.com และ trac.aoddy.com
Read more »
Tags:
DNS,
linux
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:
dhcp,
linux
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:
Apache,
linux
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:
linux,
zimbra