Categories

Archives

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

แก้ปัญหา ssh refuse

http://askubuntu.com/questions/30080/how-to-solve-connection-refused-errors-in-ssh-connection http://askubuntu.com/questions/607635/ssh-connection-refused-from-specific-location-only http://www.linuxquestions.org/questions/linux-security-4/%5Bnew-bie%5D-sshd-refused-connect-from-192-168-x-x-125445/ http://www.snailbook.com/faq/libwrap-oops.auto.html http://superuser.com/questions/977104/ssh-connect-to-host-localhost-port-22-connection-refused https://www.centos.org/forums/viewtopic.php?t=29873

ทำ Bonding บน RHEL6/CentOS

NIC Bonding in RHEL6 Solution Red Hat Enterprise Linux allows administrators to bind multiple network interfaces together into a single channel using the bonding kernel module and a special network interface called a channel bonding interface. Channel bonding enables two or more network interfaces to act as one, simultaneously increasing the bandwidth and providing redundancy. […]

วิธีการ copy ด้วย tar บน linux

 

You want to create a tar file away from the place the files you need to tar reside?

There are many ways to do this.

If it is to be created locally (= on the same machine) :

tar czvf /path/to/destination/newfile.tar.gz ./SOURCEDIR_OR_FILES

You can add additionnal files or directories to tar at the end […]

Linux Force fsck on the Next Reboot or Boot Sequence

Force fsck on boot using /forcefsck

By creating /forcefsck file you will force the Linux system (or rc scripts) to perform a full file system check.

Login as the root: $ su – Change directory to root (/) directory: # cd / Create a file called forcefsck: # touch /forcefsck Now reboot the system: […]

เปลี่ยน logo ตอน boot linux

ก่อน compile kernel ให้เปลี่ยน file logo ด้วย file ของเราก่อน

> pngtopnm your_logo.png | ppmquant -mapfile /usr/src/linux/drivers/video/logo/clut_vga16.ppm | pnmtoplainpnm > logo_linux_vga16.ppm

> cp logo_linux_vga16.ppm /usr/src/linux/drivers/video/logo/

> pngtopnm your_logo.png | ppmquant -fs 223| pnmtoplainpnm > logo_linux_clut224.ppm

> cp logo_linux_clut224.ppm /usr/src/linux/drivers/video/logo/

เสร็จแล้ว make menuconfig เพื่อเลือกให้แสดง logo ขณะ boot

[device driver] –> [graphic support]

[*] Bootup logo

 

ที่มา: […]

ติดตั้ง SSL บน Apache

ตัวอย่าง config เพื่อติดตั้ง SSL บน Apache

<VirtualHost *:443> DocumentRoot “/home/myweb” ServerName myweb.com ErrorLog logs/myweb_ssl.com-error_log CustomLog logs/myweb_ssl.com-access_log common <Directory “/home/myweb”> allow from all Options Indexes FollowSymLinks AllowOverride All </Directory> SSLEngine On SSLCertificateFile /etc/httpd/conf/ssl/myweb.com.crt SSLCertificateKeyFile /etc/httpd/conf/ssl/myweb.key <Location /> SSLRequireSSL On SSLVerifyClient optional SSLVerifyDepth 1 SSLOptions +StdEnvVars +StrictRequire </Location> </VirtualHost>

สร้าง Radius Account แบบหมดอายุนับจากวันแรกที่ใช้งาน

Hi,

I’ve been experimenting with freeRadius for 2 weeks now, but I still havent got it to do the following:

I need to expire a specific time (could be different for each account) after their first login. This time is listed in the MySQL database under the attribute “Max-All-Session” in seconds. The server has a […]

การทำให้ freeradius เชื่อมต่อฐานข้อมูลผ่าน ODBC

ง่ายๆครับ ก็ติดตั้ง ODBC Driver บน Linux ซะ ก็สามารถติดต่อฐานข้อมูลอื่นๆผ่าน ODBC ได้แล้ว

http://www.easysoft.com/applications/freeradius/odbc-authorization.html

Linux Cluster Management Console

โปรแกรมสำหรับ config Linux Cluster

ที่มา: http://lcmc.sourceforge.net/

Sample Configuration of DRBD On CentOS 4.5

What is DRBD?

DRBD is an abbreviation of Distributed Replicated Block Device. DRBD is a block device which is designed to build high-availability clusters. This is done by mirroring a whole block device via (a dedicated) network. You could see it as a network RAID1.

Pre-Configuration Requirements:

I used two nodes with the following system […]

Page 1 of 612345...Last »