Saturday, March 31, 2007

Install Beryl 0.2.0 was lasted version

วิธีการติดตั้ง Beryl v. 0.2.0 มีดังนี้
1. #vi /etc/apt/sources.list
deb http://ubuntu.beryl-project.org/ edgy main
deb-src http://ubuntu.beryl-project.org edgy main
For the GPG key (to ensure that the packages are authentic):
wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O - | sudo apt-key add -

2. Install Beryl
sudo apt-get update
sudo apt-get install beryl emerald-themes
sudo aptitude install beryl

3. Starting Beryl

#สุดท้ายหากไม่สามารถ Run Beryl ได้ให้ทำแค่ 2 ข้อก็พอ ดังนี้
1.
ln -s /usr/bin/beryl ~/.kde/Autostart/beryl
2.
ln -s /usr/bin/beryl-manager ~/.kde/Autostart/beryl-manager

สามารถทำแค่่นี้ก็ได้ หากไม่สามารถรัน Beryl ได้ถึงทำต่อไปตามด้านล่าง

To start Beryl, you might just type beryl, but it is more useful to use the manager instead, so type

beryl-manager

4. Configuring Beryl
#vi /usr/bin/startberyl.sh

GNOME

#!/bin/sh
beryl-manager
sleep 4
exec gnome-session

KDE

#!/bin/sh
export KDEWM="/usr/bin/beryl-manager"
exec startkde

XFCE

#!/bin/sh
beryl-manager
sleep 4
exec xfce4-session

Run this command:
exec dbus-launch --exit-with-session gnome-session
for Gnome, and for KDE substituting gnome-session with startkde
sudo chmod a+x /usr/bin/startberyl.sh

To create the session, create the file /usr/share/xsessions/Beryl.desktop, and give it the following contents in a text editor (again, as root or using gksudo/kdesu):

[Desktop Entry]
Encoding=UTF-8
Name=Beryl
Exec=/usr/bin/startberyl.sh
Icon=
Type=Application
ถ้าทำแล้วไม่โหลดให้ sudo rm /usr/share/xsessions/Beryl.desktop
5. Setup Beryl on load start up every time on logon

KDE

Simpler - but less graphical. In a terminal:

ln -s /usr/bin/beryl-manager ~/.kde/Autostart/beryl-manager

In case you have trouble starting up after adding beryl-manager to the Session startup (such as getting the White Cube/blank screen after the Beryl logo), and hence can't get to the GUI to remove them, you can do the following to remove it:

Press Ctrl-Alt-F2 to get to a console, log in, and type:

Gnome:

rm ~/.config/autostart/beryl-manager.desktop


KDE:

rm ~/.kde/Autostart/beryl-manager




Reference: Beryl

Wednesday, March 28, 2007

kmess

Kmess เป็นโปรแกรมคุยคล้าย ๆ กับ MsN ที่ใช้ในวินโดว์ ไปดาวน์โหลดมาแล้วเก็บไว้ใช้งาน Download Here
Passwd: หฟทหีืเ (samsung)
อกทีหนึ่ง Download

Set NTFS on Kubuntu

เมื่อครั้งแรก ๆ ที่ใช้งานลีนุกส์มักมีปัญหาในการใช้งาน Drive NTFS บนวินโดว กรณีที่เครื่องเรามี 2 OS อยู่ด้วยกัน วันนี้จะแนะนำการติดตั้ง ntfs-3g เพื่อให้สามารถ R/W บน Drive NTFS สามารถทำตามเว็บไซต์นี้ได้เลย NTFS-3G

วิธีการติดตั้ง
1.#sodo vi /etc/apt/sources.list
For Edgy
deb http://flomertens.free.fr/ubuntu/ edgy main main-all
deb http://ntfs-3g.sitesweetsite.info/ubuntu/ edgy main main-all
deb http://flomertens.keo.in/ubuntu/ edgy main main-all

2.#wget http://flomertens.keo.in/ubuntu/givre_key.asc -O- | sudo apt-key add -

3.#sudo apt-get update

4.#sudo apt-get install ntfs-config

5.#gksu ntfs-config
gksu ในกรณีที่เครื่องเรายังไม่ได้ติดตั้งมันจะเรียกไม่ได้ ต้องติดตั้งก่อนโดยไปที่ start->setting->manage packets แล้วค้นหาด้วย gksu ติดตั้งซ่ะ ทีนีก็เรียกใช้คำสั่งได้แล้ว จะได้ดังภาพด้านล่างให้คลิกเพื่อเปิดใช้งาน

ดังภาพประกอบ ก็สามารถ W/R บน Drive NTFS ได้แล้ว

Tuesday, March 27, 2007

Configure Samba

#cp /etc/samba/smb.conf /etc/samba/smb.conf.bak
#vi /etc/samba/smb.conf

[global]
workgroup = workgroup
server string = Kubuntu Server
hosts allow = 192.168.0. 192.168.10. 127.
security = user
load printers = yes
;guest account = nobody
log file = /var/log/samba.%m
max log size = 50
encrypt passwords = true
null passwords = no
local master = yes
os level = 33
;domain master = yes
;preferred master = yes
;domain logons = yes
;logon script = %G.bat


#============================ Share Definitions ==============================
[programe]
comment = programe
path = /media/hda9/programe
create mask =0640
directory mask = 750
valid users = @xisgo, hades
public = yes
writable = yes
[Music]
comment = music on hda5
path = /media/hda5/Download/programe/Music
available = yes
browseable = yes
public = yes
writable =yes
[programe2]
comment = programe2
path = /media/hda5/Download/programe
create mask =0640
directory mask = 750
valid users = @xisgo, hades
public = yes
writable = yes

#################################################
อย่าลืม #smbpasswd -a user เพื่อสร้าง user เข้าไปใช้งานด้วยล่ะครับ

นี้คือตัวอย่างการเซท Samba เพื่อใช้แชร์โฟล์เดอร์
Reference:
1. sontayamyblog

samba command line
Display current connection
$ smbstatus
Display more/detailed information: จำนวนผู้ใช้งานอยู่ ณ ตอนนี้
$ smbstatus -b
$ smbstatus -v |grep "Mon Jun 10 20:" แสดงผู้ใช้งานอยู่ ณ วันจันทร์ที่ 10 มิ.ย. เวลา 20:* 
$ smbstatus -v |grep "share-hr-gm" |grep "Jun 10 20:"
smbstatus --shares
smbstatus -s |grep "Mon Jun 10 20:"

Display verbose output:
$ smbstatus -v
$ smbstatus -v | grep user     display specific user 
Display only list of shares:
$ smbstatus -s

2. ยอมให้รันไฟล์ .exe เพื่อติดตั้งโปรแกรมได้จากเครื่อง Client โดยการเพิ่มบรรทัดด้านล่างเพิ่มเข้าไป
#--------------------------------update 20170214---------------------------------------------------#
[global]
workgroup = WORKGROUP
#server string = Samba Server %v
server string = %h server (Samba, Ubuntu)
netbios name = share-ubuntu
interfaces = 127.0.0.0/8 10.10.10.0/24 192.168.10.0/24
security = user
bind interfaces only = yes
map to guest = bad user
dns proxy = no
unix charset = UTF-8
log file = /var/log/samba/log.%m
max log size = 50000
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
vfs objects = full_audit recycle
full_audit:prefix = %u|%I|%m|%S
full_audit:success = mkdir rename unlink rmdir pwrite
full_audit:failure = none
full_audit:facility = local7
full_audit:priority = NOTICE
########## Enable execute file .exe ##########
acl allow execute always = True

# Enable the recycle bin 
#vfs object = recycle 
recycle: repository = /myfolder /recycle /%U
recycle: touch = Yes
recycle: keeptree = Yes
recycle: versions = Yes
recycle: noversions = * tmp, * temp, * o, * obj, * TMP, TEMP *......
recycle: exclude = * tmp, * temp, * o, * obj, * TMP, TEMP *......
recycle: excludedir = /recycle, /tmp, /tmp, /tmp, /TEMP

#======================= Share Definitions =========================#
[Downloads]
path = /home/user/downloads
browsable =yes
writable = yes
guest ok = yes
read only = no
force user = nobody
create mask = 0777
directory mask = 0777

#--------------------------------------------------------------------------------------------------------#
Ref: execute a exe on a samba share

VPN on Window 2003

นี้เป็นลิงค์วิธีการทำ VPN ด้วย Windows 2003

Thursday, March 22, 2007

Apache Config ง่ายๆ สำหรับนักพัฒนาเว็บไซต์

คือไปอ่านเจอวิธีทำในเว็บไซต์ ubuntuclub.com นะครับ ไม่ได้ต้องการคัดลอกความคิดหรอกนะครับ แต่เอามาเก็บไว้ดูเวลามีปัญหา ไม่ได้มีเจตนาอย่างอื่น และกลัวข้อมูลในเว็บไซต์นั้นหาย แล้วเวลาตัวเองอยากใช้งานหาไม่เจอ และเวลาตัวเองอยากใช้งานก็มาดูในบล็อกของตัวเองจะเร็วกว่า ก็เลยก็อปปี้เนื้อหามาไว้ครับ...

##############################################################
1. การสร้าง Virtual Host ให้เข้าไปแก้ไขที่ /etc/apache2/sites-available/default จะใช้ editor ไรก็ได้ไม่ว่ากัน เพิ่มส่วนข้างล่างไปเลยครับ อันนี้เป็นตัวอย่าง สำหรับ user tee น่ะครับ ผมกำหนดไว้ใน บ้านตัวเองเลย

Listen 9001
NameVirtualHost *:9001

ServerAdmin webmaster@localhost
DocumentRoot /home/tee/VHosts/mydomain.com

Options Includes Indexes FollowSymLinks MultiViews
AllowOverride All
#Order allow,deny
#allow from all
# This directive allows us to have apache2's default start page
# in /apache2-default/, but still have / go to the right place
# Commented out for Ubuntu
#RedirectMatch ^/$ /apache2-default/

#ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
#
# AllowOverride None
# Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
# Order allow,deny
# Allow from all
#

#ErrorLog /var/log/apache2/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
#CustomLog /var/log/apache2/access.log combined
ServerSignature On
#Alias /doc/ "/usr/share/doc/"
#
# Options Indexes MultiViews FollowSymLinks
# AllowOverride None
# Order deny,allow
# Deny from all
# Allow from 127.0.0.0/255.0.0.0 ::1/128
#

อธิบายส่วนสำคัญๆ ไดัดังนี้

1.1 Listen 9001 - ให้เปิด port นี้เอาไว้ (จริงๆ สำหรับ Ubuntu ส่วนนี้ default เค้าจะเอาไว้ใน /etc/apache2/ports.conf แต่เอาไว้ตรงนี้ก็ได้ ไม่ผิดแต่อย่างใด)
1.2 DocumentRoot /home/tee/VHosts/mydomain.com - ก็กำหนด ที่อยู่ของ file เว็บไซต์เลย อย่าลืมสร้างด้วยล่ะ
1.3 .... - ภายใต้ tag นี้ก็เพื่อจะกำหนด option ต่างๆ ของ folder อันนี้ต้องไปศึกษาเพิ่มเติมครับว่าอะไรทำไรบ้าง ขืนเขียนหมด จะยาวไม่จบเสร็จแล้วก็ reboot apache $sudo /etc/init.d/apache2 restart วิธิการเรียกใช้งานมาดูก็ http://localhost:9001/ ครับ
ส่วนที่ผม comment จาก default ก็คือผมไม่ต้องการจะใช้มันเช่น /cgi-bin/ /doc/ แล้วก็พวก error log เพราะมันจะทำเอา harddisk เต็มแบบไม่รู้ตัวนะครับ เผลอๆ ทำ apache เดี้ยงไปเลย

จบครับ Virtual Host ง่ายโคด (เว็บนี้ censor ป่าว) เมื่อย เอ้ายังมีอีกเรื่อง

2. การสร้าง UserDir สำหรับผู้ที่มี User บนระบบ เข้าไปแก้ไข /etc/apache2/apache2.conf หาบรรทัดนี้ครับ

# UserDir is now a module
UserDir Htdocs


AllowOverride FileInfo AuthConfig Limit
Options Indexes SymLinksIfOwnerMatch IncludesNoExec

อธิบายส่วนสำคัญๆ ไดัดังนี้

2.1 UserDir Htdocs - กำหนดชื่อ folder ในที่นี้ผมกำหนดเป็น Htdocs โดย default จะชื่อ public_html จะอะไรก็ได้
2.2 ... - ก็กำหนด option แหละครับ

เสร็จแล้วสร้าง folder Htdocs ลงไปที่ home ตัวเอง เช่น $mkdir /home/tee/Htdocs

ทีนี้ไม่ว่าเราจะยัดอะไรลงไปใน folder นี้ก็จะปรากฏใน http://localhost/~tee/ ครับ เย่ จบแล้วเมื่อยข้อมือ

** ไม่ว่าจะแก้อะไรใน config ถ้าจะให้ take effect ต้อง reboot apache ทุกครั้งนะครับ

#################################################################

Referece: Ubuntuclub

ติดตั้ง Beryl บน Feisty

  1. สั่ง sudo gedit /etc/apt/sources.list เพื่อเรียก Text Editor มาแก้ไข Repository
  2. เพิ่มบรรทัดนี้ลงไป deb http://ubuntu.beryl-project.org feisty main เพื่อเพิ่ม Repository สำหรับชี้ไปที่ไฟล์ Beryl
  3. สั่ง wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | sudo apt-key add - เพื่อติดตั้งคีย์สำหรับขออนุญาตดาวน์โหลดไฟล์จาก Repository ที่เพิ่งตั้งไป
  4. สั่ง sudo apt-get update เพื่ออัพเดทรายชื่อแพคเกจ
  5. สั่ง sudo apt-get install beryl emerald-themes เพื่อติดตั้ง beryl และ emerald
Reference:
1. ubuntuclub
2. anotherlink

Tuesday, March 20, 2007

ตั้งค่า Preset on Xmms

ให้สร้างไฟล์ eq.preset ไปเก็บไว้ใน /home/user/.xmms โดยก็อปปี้ตรงนี้ไปใส่ eq.preset

;
; WinAmp EQ presets for XMMS. converted by Urpo Lankinen <wwwwolf@iki.fi>
; Do whatever you want with these. I don't care. No warranty
; expressed or implied. (And if you blast your speakers with these.
; It's Nullsoft's fault anyway =)
;

[Presets]
Preset0=(WinAmp) Classical
Preset1=(WinAmp) Club
Preset2=(WinAmp) Dance
Preset3=(WinAmp) Full Bass
Preset4=(WinAmp) Full Bass & Treble
Preset5=(WinAmp) Full Treble
Preset6=(WinAmp) Laptop Speakers / Headphones
Preset7=(WinAmp) Large Hall
Preset8=(WinAmp) Live
Preset9=(WinAmp) Party
Preset10=(WinAmp) Pop
Preset11=(WinAmp) Reggae
Preset12=(WinAmp) Rock
Preset13=(WinAmp) Ska
Preset14=(WinAmp) Soft
Preset15=(WinAmp) Soft rock
Preset16=(WinAmp) Techno

[(WinAmp) Classical]
Preamp=-1.11022e-15
Band0=-1.11022e-15
Band1=-1.11022e-15
Band2=-1.11022e-15
Band3=-1.11022e-15
Band4=-1.11022e-15
Band5=-1.11022e-15
Band6=-7.2
Band7=-7.2
Band8=-7.2
Band9=-9.6

[(WinAmp) Club]
Preamp=-1.11022e-15
Band0=-1.11022e-15
Band1=-1.11022e-15
Band2=8
Band3=5.6
Band4=5.6
Band5=5.6
Band6=3.2
Band7=-1.11022e-15
Band8=-1.11022e-15
Band9=-1.11022e-15

[(WinAmp) Dance]
Preamp=-1.11022e-15
Band0=9.6
Band1=7.2
Band2=2.4
Band3=-1.11022e-15
Band4=-1.11022e-15
Band5=-5.6
Band6=-7.2
Band7=-7.2
Band8=-1.11022e-15
Band9=-1.11022e-15

[(WinAmp) Full Bass]
Preamp=-1.11022e-15
Band0=-8
Band1=9.6
Band2=9.6
Band3=5.6
Band4=1.6
Band5=-4
Band6=-8
Band7=-10.4
Band8=-11.2
Band9=-11.2

[(WinAmp) Full Bass & Treble]
Preamp=-1.11022e-15
Band0=7.2
Band1=5.6
Band2=-1.11022e-15
Band3=-7.2
Band4=-4.8
Band5=1.6
Band6=8
Band7=11.2
Band8=12
Band9=12

[(WinAmp) Full Treble]
Preamp=-1.11022e-15
Band0=-9.6
Band1=-9.6
Band2=-9.6
Band3=-4
Band4=2.4
Band5=11.2
Band6=16
Band7=16
Band8=16
Band9=16.8

[(WinAmp) Laptop Speakers / Headphones]
Preamp=-1.11022e-15
Band0=4.8
Band1=11.2
Band2=5.6
Band3=-3.2
Band4=-2.4
Band5=1.6
Band6=4.8
Band7=9.6
Band8=12.8
Band9=14.4

[(WinAmp) Large Hall]
Preamp=-1.11022e-15
Band0=10.4
Band1=10.4
Band2=5.6
Band3=5.6
Band4=-1.11022e-15
Band5=-4.8
Band6=-4.8
Band7=-4.8
Band8=-1.11022e-15
Band9=-1.11022e-15

[(WinAmp) Live]
Preamp=-1.11022e-15
Band0=-4.8
Band1=-1.11022e-15
Band2=4
Band3=5.6
Band4=5.6
Band5=5.6
Band6=4
Band7=2.4
Band8=2.4
Band9=2.4

[(WinAmp) Party]
Preamp=-1.11022e-15
Band0=7.2
Band1=7.2
Band2=-1.11022e-15
Band3=-1.11022e-15
Band4=-1.11022e-15
Band5=-1.11022e-15
Band6=-1.11022e-15
Band7=-1.11022e-15
Band8=7.2
Band9=7.2

[(WinAmp) Pop]
Preamp=-1.11022e-15
Band0=-1.6
Band1=4.8
Band2=7.2
Band3=8
Band4=5.6
Band5=-1.11022e-15
Band6=-2.4
Band7=-2.4
Band8=-1.6
Band9=-1.6

[(WinAmp) Reggae]
Preamp=-1.11022e-15
Band0=-1.11022e-15
Band1=-1.11022e-15
Band2=-1.11022e-15
Band3=-5.6
Band4=-1.11022e-15
Band5=6.4
Band6=6.4
Band7=-1.11022e-15
Band8=-1.11022e-15
Band9=-1.11022e-15

[(WinAmp) Rock]
Preamp=-1.11022e-15
Band0=8
Band1=4.8
Band2=-5.6
Band3=-8
Band4=-3.2
Band5=4
Band6=8.8
Band7=11.2
Band8=11.2
Band9=11.2

[(WinAmp) Ska]
Preamp=-1.11022e-15
Band0=-2.4
Band1=-4.8
Band2=-4
Band3=-1.11022e-15
Band4=4
Band5=5.6
Band6=8.8
Band7=9.6
Band8=11.2
Band9=9.6

[(WinAmp) Soft]
Preamp=-1.11022e-15
Band0=4.8
Band1=1.6
Band2=-1.11022e-15
Band3=-2.4
Band4=-1.11022e-15
Band5=4
Band6=8
Band7=9.6
Band8=11.2
Band9=12

[(WinAmp) Soft rock]
Preamp=-1.11022e-15
Band0=4
Band1=4
Band2=2.4
Band3=-1.11022e-15
Band4=-4
Band5=-5.6
Band6=-3.2
Band7=-1.11022e-15
Band8=2.4
Band9=8.8

[(WinAmp) Techno]
Preamp=-1.11022e-15
Band0=8
Band1=5.6
Band2=-1.11022e-15
Band3=-5.6
Band4=-4.8
Band5=-1.11022e-15
Band6=8
Band7=9.6
Band8=9.6
Band9=8.8

Reference:
UbuntuClub

Way back into Love

The song on The music and lylices

I've been living with a shadow overhead
I've been sleeping with a cloud above my bed
I've been lonely for so long
Trapped in the past, I just can't seem to move on

I've been hiding all my hopes and dreams away
Just in case I ever need em again someday
I've been setting aside time
To clear a little space in the corners of my mind

All I want to do is find a way back into love
I can't make it through without a way back into love
Oh oh oh

I've been watching but the stars refuse to shine
I've been searching but I just don't see the signs
I know that it's out there
There's got to be something for my soul somewhere

I've been looking for someone to shed some light
Not somebody just to get me through the night

I could use some direction
And I'm open to your suggestions

All I want to do is find a way back into love
I can't make it through without a way back into love
And if I open my heart again
I guess I'm hoping you'll be there for me in the end
oh, oh, oh, oh, oh

There are moments when I don't know if it's real
Or if anybody feels the way I feel
I need inspiration
Not just another negotiation

All I want to do is find a way back into love
I can't make it through without a way back into love
And if I open my heart to you
I'm hoping you'll show me what to do
And if you help me to start again
You know that I'll be there for you in the end
oh, oh, oh, oh, oh

Reference:
download music

Sunday, March 18, 2007

I need some RAM

I need some RAM

เช้าลืมตาขึ้นมา ก็นั่งตรงเครื่องเดิมๆ
ก็ไม่มีใครมาเติม HardDisk ให้เป็นเครื่องใหม่
แค่รอเครื่องเปิด อืดจนคลั่งตาย
หันไปมองปลั๊กไฟจะดึงก็กลัวเครื่อง พัง

แล้วทำไมเครื่องเราไม่เร็วและไม่เห็นทันใจ
แล้วต้องทนเดียวดายมี คอมฯ เอาไว้ทำไม
ไม่ได้ใช้งาน ไม่ทันงานใหม่ ไม่มีกำลังใจที่ไหนเลย

อยากมี RAM อีกซักอัน มาช่วยกัน ให้เครื่องเรามัน แรง แรง
ปล่อยไว้เดี๋ยวก็พัง จะซื้อเองก็ตังค์ ไม่มี...................

Please I need somebody. Please อยากขอเพิ่ม RAM เถอะ
Please ให้น้องใหม่ได้บ้างาน มีคนให้ งานทำ มีคืนวันที่ดี ด้วย
Please I need somebody. Please อยากขอเพิ่มRAM เถอะ
Please ให้น้องใหม่ได้รักงาน ใครคือคนที่แคร์ คนที่มีรักแท้คือใคร

เครื่องที่ดัง แอ่ - แอ๊บ ทุกวันตอนเช้า
เครื่องที่ Chat เอ็มสาว ติดกันแล้วดับ
เครื่องที่คลิกไม่ไปเมื่องานต้องซอย (ปั่น) ได้หรือเปล่า ได้หรือเปล่า

แล้วทำไมเครื่องเรามันเร็วไม่เห็นทันใจ
แล้วต้องทนเดียวดาย มีคอมฯ เอาไว้ทำไม
ไม่ได้ใช้งาน ไม่ทันงานใหม่ ไม่มีกำลังใจที่ไหน เลย


อยากมี RAM อีกซักอัน มาช่วยกัน ให้เครื่องเรามันแข็งแรง ปล่อยไว้
เดี๋ยวก็พัง จะซื้อเองก็ตังค์ ไม่มี...................


Please I need somebody. Please อยากขอเพิ่มRAM เถอะ
Please ให้น้องใหม่ได้บ้างาน มีคนให้ งานทำ มีคืนวันที่ดีด้วย
Please I need somebody. Please อยากขอเพิ่มRAM เถอะ
Please ให้น้องใหม่ได้รักงาน ใครคือคนที่แคร์ คนที่มีรักแท้คือใคร

จะดูแลอย่างดี ถ้าเจอใครคนนั้น จะคอยเป็นห่วงกัน ไม่ทิ้งกัน...ไป
ไหน? (เพิ่ม RAM ให้รักตายเลย)

Please I need somebody. Please อยากขอ เพิ่มRAM เถอะ
Please ให้น้องใหม่ได้บ้างาน มีคนให้งานทำ มีคืนวันที่ดี ด้วย
Please I need somebody. Please อยากขอเพิ่มRAM เถอะ
Please ให้น้อง ใหม่ได้รักงาน ใครคือคนที่แคร์ คนที่มีรักแท้คือใคร


เครื่องที่ดัง แอ่ - แอ๊บ ทุกวันตอนเช้า
เครื่องที่ Chat เอ็มสาวติดกันแล้วดับ

เครื่อง ที่คลิกไม่ไปเมื่องานต้องซอย
(ปั่น) ได้หรือเปล่า ได้หรือ
เปล่า ??..Plaese

Print Screen

เป็นโปรแกรม Print Screen บนวินโดว์พร้อมไฟล์แคร็กดาวน์โหลดที่นี่ SnagIt7
1. teenee.com
2. 4shared
passwd: หฟทหีืเ พิมพ์ภาษาอังกฤษ = samsung

Remove Windows Geniune

การลบ windows geniune นั้นทำได้ตามลิ้งค์ดังนี้
1. teenee.com
2. download programe remove WGA and LegitCheckControl (ตัวนี้ให้แตก Zip ไฟล์ ออกมา แล้ว Copy ตัวไฟล์ LegitCheckControl.dll ไปไว้ที่ C:\WINDOWS\system32) เป็นอันเสร็จเรียบร้อย
WGA and LegitCheckControl.zip
passwd: หฟทหีืเ พิมพ์ภาษาอังกฤษโดยเปลี่ยนแป้นคีย์บอร์ดเป็นภาษาไทย : samsung

Thursday, March 15, 2007

เปิด Explorer ไม่ได้

ปัญหาการ Double click ที่ Drive H/D usb external แล้วเปิดไม่ได้ มันขึ้น Err. แบบนี้

เนื่องจากว่ามันติดโทรจัน วิธีแก้ปัญหาคือไปดาวน์โหลดโปรแกรม Hacked by Godzilla! มาฆ่ามันซะ

Reference:
1. Thaiadmin
2. Load program Hacked by Godzilla!
3. 4shared.com
passwd: หฟทหีืเ (samsung)

Lexitron -> วิธีติดตั้ง

วิธีติดตั้ง Dictionary Lexitron มีดังนี้ ให้เปิด shell แล้ทำตามดังนี้

wget ftp://mirror.in.th/nectec/Linux_TLE/8.0/i386/pool/main/libl/liblexite/liblexite_0.1-1_i386.deb
sudo dpkg -i liblexite_0.1-1_i386.deb

wget ftp://mirror.in.th/nectec/Linux_TLE/8.0/i386/pool/main/p/python-pysqlite2/python-pysqlite2_2.3.2-1build1_i386.deb
sudo dpkg -i python-pysqlite2_2.3.2-1build1_i386.deb

wget ftp://mirror.in.th/nectec/Linux_TLE/8.0/i386/pool/main/l/lexitron/lexitron_2.0.1-1_i386.deb
sudo dpkg -i lexitron_2.0.1-1_i386.deb

เมื่อติดตั้งเสร็จสร้าง short cut ได้ที่ start -> utility -> Lexitron v 2.0.1

Reference:
Lexitron
Download
passwd: หฟทหีืเ (samsung)

Wednesday, March 7, 2007

Mega Clever 01-03-2007

รายการ Mega Clever ประจำวันพฤหัสบดีที่ 1 เดือน มีนาคม 2007 สรุปมีคำถามได้ดังนี้
1. สิ่งใดต่อไปนี้ มีกระดูกมากที่สุด
ก. มนุษย์ ข. สุนัข ค. หนู

2. ลูกข่างจะเป็นอย่างไร เมื่ออยู่ในสภาพไร้น้ำหนัก
ก. ลอยตัวสูงขึ้น ข. หยุดหมุน ค. หมุนเร็วขึ้น

3. สัตว์ใหญ่ในแอฟริกาในข้อใดต่อไปนี้ มีอันตรายต่อมนุษย์มากที่สุด?
ก. ฮิปโปโปโปเตมัส ข. ช้าง ค. จระเข้

4. สิ่งใดต่อไปนี้ช่วยให้ปลอกมันฝรั่งที่ต้มสุกได้เร็วที่สุด?
ก. แอลกอฮอล(ราดแอลกอฮอลจุดไฟเผา) ข. น้ำเย็น

5. กระป๋องน้ำอัดลมเปล่า ๆ สามารถรับน้ำหนักได้มากที่สุดเท่าใด?
ก. 100-200 กก. ข. มากกว่า 500 กก.

6. สิ่งใดที่ทำให้กระป๋องเปล่า ๆ (กระป๋องน้ำอัดลม) บุ๋มได้? (โดยให้ผู้ชายหนัก 80 กก. ยืนบนกระป๋องใบนั้น)
ก. ฆ้อง (อาศัยเสียงจากฆ้อง) ข. ก๊าซดับเพลิง (ฉีดใส่กระป๋อง) ค.หลอดกาแฟ

7. อาวุธใดสามารถยิงทะลุถังสายไปได้
ก. ปืน ข. ธนู












คำเฉลย...

1. (ค.) 2. (ก.) 3. (ก.) 4. (ข.) 5. ( ก.) 6. (ค.) 7. (ข.)

Dictionary Moohin

ติดตั้งดิกชั่นนารี หมูฮิ่น บนทูลบาร์ไฟฟอร์กจากเว็บไซต์นี้ Moohin

Monday, March 5, 2007

การสร้างความปลอดภัยให้แก่ Mail Server

พอดีไปอ่านเจอวิธีการปรับ Mail Server ให้ปลอดภัย เป็นเอกสารจากทีมงาน nectec และได้ลองไปปรับใน Mail serve ของคริสโก้ ซึ่งใช้ Centos 4.4 เป็นเมลเซิร์ฟเวอร์ ไฟล์ที่ต้องแก้อยู่ใน /etc/mail/sendmail.mc ดังนี้ โดยให้ตัดสองบรรทัดนี้ทิ้งแล้ว complied ใหม่

FEATURE('accept_unresolvable_domains') => อนุญาตให้โดเมนที่ไม่สามารถ reverse lookup ip สามารถ relay ผ่านได้
define('confAUTO_REBUILD','false') => สร้างไฟล์ aliase ขึ้นมาโดยอัติโนมัติ ไม่ควรเปิดเพื่อป้องกันการสร้าง aliase โดยไม่จำเป็น

เสร็จแล้วก็ m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf

Reference: Nectec