Sunday, May 24, 2009
Wednesday, May 20, 2009
Monday, May 18, 2009
How to Install Webmin on Ubuntu
- sudo su
- apt-get update
- apt-get install libnet-ssleay-perl
- apt-get install smbfs
- cd /usr/local
- mkdir webmin
- cd webmin
- wget http://switch.dl.sourceforge.net/sourceforge/webadmin/webmin-1.210.tar.gz
- tar xzvf webmin-1.210.tar.gz
- cd webmin-1.210
- sh setup.sh
Config file directory [/etc/webmin]:
Log file directory [/var/webmin]:
Full path to perl (default /usr/bin/perl):
Web server port (default 10000):
Login name (default admin): afokkema (wat je wilt)
Login password: P4ssword (wat je wilt)
Password again: P4ssword (wat je wilt)
Use SSL (y/n): y
Start Webmin at boot time (y/n): y
moreinfo ::::: http://webmin.com/
Sunday, May 10, 2009
ຫມູເຮັດນາຫມາກິນເຂົ້າ:
ເພິ່ນເຄີຍບອກໃຫ້ຮູ້ ວ່າຫມູສ່າວນາເຟືອງ
ເປືອງແຕ່ເງງດັງດຸດ ກ່ອນຫວ່ານດໍາຕາກ້າ
ພາຍທ້າຍຫມາກິນເຂົ້າ ຫມູເຮົາຕ້ອງກິນແກບ
ແຊບບໍ່ແຊບກໍຫຍໍ້າ ເພາະເສັຍແຕ້ມໃຫ້ບັກດໍາ...ແລ້ວເດ
ເພິ່ນວ່າຄວາຍເບື່ອຫຍ້າ ຢ່າໄປຂົ່ມໃຫ້ເຂົາຫັກ...ມັນເດີ
ມັກແຕ່ມີໂມໂຫ ອວດຄຸນຄູຍໂມ້
ເອົາແຕ່ໂວຍໆເວົ້າ ເຂົາບໍ່ຍອມກໍຍັງຂົ່ມ
ສຸດທ້າຍຫນີບໍ່ມົ້ມ ໃຫ້ຄົນເຍີ້ຍທັບຖົມ...ເຈົ້າແລ້ວ
ເພິ່ນວ່າກົບອື່ງເພົ້າ ເຂົາໄປຄຸບຫັກຂາ...ໃສ່ຂ້ອງ
ຍ້ອນວ່າໂຕສຽງດັງ ຖືກຫິ້ວຂາໄປຈ້ອຍ
ຂ້ອຍວ່າພັງເພີຍເວົ້າ ໃຫ້ຄົນ້ຮົາລະວັງປາກ
ຄັນວ່າຄວນຈິ່ງເວົ້າ ບໍ່ຄວນເວົ້າກໍໃຫ້ເຊົາ...ດີຫຼາຍ
ຄົນໃດເຕະຕູດກົ້ນ ແລ້ວມາລູບຫລັງດີ...ພາຍຫຼັງ
ຄົນນີ້ມີສັນດານ ທ່ານຣະວັງເອົາໄວ້
ຂ້ອຍວ່າຄົນນິສັຍນີ້ ມີມາຍາບໍ່ເຂົ້າທ່າ
ໃຜຫາກພານພົບຫນ້າ ແນມໄວ້ຢ່າຫ່າງຕາ...ຣະວັງ.
Friday, May 8, 2009
Install SNMP on UBUNTU Linux
1. SNMPD
SNMPD is the service running SNMP on a managed entity. SNMP comes in 3 versions. Version 1, the one we are going to use here is not secured, therefore we are going to make sure that only localhost is going to be able to access it.
People opening the service to the outside should make sure that trusted hosts can access the service either though the use of iptables or through the use of /etc/hosts.allow.
1.1. Installing the SNMP server
The only package which is required on the server site is snmpd, the SNMP daemon.
To install it type:
$ sudo apt-get install snmpd
snmpd is now installed but we still have to tweak it a little bit to make it work as we want.
1.2. Configuring SNMPD
The first thing we want to make sure is that snmpd is only going to wait for connections on localhost. To do this, edit file /etc/default/snmpd and make sure those values are set:
SNMPDRUN=yes
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1'
If you want your server to listen on all interfaces, remove the 127.0.0.1 bit.
This setting will make sure that the service will be started and that the service is going to bind to localhost.
Finally, we are going to configure snmpd in such a way that it will only return datas to trusted host for a specific community.
Edit /etc/snmp/snmpd.conf and make sure that com2sec it only set to:
com2sec readonly localhost mycommunity
If you want a remote machine to be able to gather information for the community mycommunity, make sure you replace localhost by mynetwork, where mynetwork can be of the form: 1.1.1.1 or 1.1.0.0/16.
1.3. Checking SNMP configuration:
We are going to use the snmpwalk utility to verify that the server is working as wanted.
Here we want snmp to reply only to localhost for the community mycommunity.
From localhost
$ snmpwalk -Os -c mycommunity -v 1 localhost system
Should return a lot of output and:
snmpwalk -Os -c public -v 1 localhost system
Timeout: No Response from localhost
credit: easyguardian.com
Tuesday, May 5, 2009
ssh ຜ່ານມືຖື symbian
ວິທີຕິດຕັ້ງ ປ່ຽນປີຂອງລະບົບເປັນປີ 2007
download