Haha, tonight, when copy and paste an article about changing timezone in Linux
, I discover that blog service wordpress.com has some changes. Some popular tag (ex: code, quote…) are available (very nice), so I don’t need code HTML (not nice :D). Hehe.
Test:
#This's Code
This’s quote
This’s quote
Edit: Hix, code tag is as nice as quote
It’s possible to change the system timezone in Linux in a few short steps.
Steps
- Logged in as root, check which timezone your machine is currently using by executing `date`. You’ll see something like “Mon 17 Jan 2005 12:15:08 PM PST -0.461203 seconds”, PST in this case is the current timezone.
- Change to the directory to /usr/share/zoneinfo, here you will find a list of time zone regions. Choose the most appropriate region, if you live in Canada or the US this directory is the “Americas” directory.
- If you wish, backup the previous timezone configuration by copying it to a different location. Such as `mv /etc/localtime /etc/localtime-old`.
- Create a symbolic link from the appropiate timezone to /etc/localtime. Example: `ln -s /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime`.
- If you have the utility rdate, update the current system time by executing `/usr/bin/rdate -s time.nist.gov`.
- Set the hardware clock by executing: ` /sbin/hwclock –systohc`
Tips
- On some versions of RedHat Linux, Slackware, Gentoo, SuSE, Debian, Ubuntu, and anything else that is “normal”, the command to display and change the time is ‘date’, not ‘clock’
- On RedHat Linux there is a utility called “Setup” that allows one to select the timezone from a list, but you must have installed the ‘redhat-config-date’ package.
Warnings
- Some applications (such as PHP) have separate timezone settings from the system timezone.
- On some systems, /etc/localtime is actually a symlink to the appropriate file under the /usr/share/zoneinfo directory (rather than a copy of that file).
- On some systems, there is a system utility provided that will prompt for the correct timezone and make the proper changes to the system configuration. For example, Debian provides the “tzsetup” utility.
Source: http://www.wikihow.com/Change-the-Timezone-in-Linux
1/Install NVidia driver
Download NVIDIA driver <a href=’http://download.nvidia.com/XFree86/Linux-x86/1.0-8774/NVIDIA-Linux-x86-1.0-8774-pkg1.run’>here</a> (about 12,5 MB).
First switch X off by command:
Then run command with root permission
| sh NVIDIA-Linux-x86-1.0-8774-pkg1.run |
And startx to view result.
2/Config network
First, run command
If use dhcp, run:
| #/etc/rc.d/rc.inet1 restart |
3/Config sound
ru command
Then run
to change volume and
to save result.
4/Power down
uncomment the line
in /etc/rc.d/rc.modules
Other way:
Source:http://www.linuxforums.org/forum/slackware-linux-help/45453-power-down-question.html
Compile the kernel
| if you compiled kernel config support into your kernel you dont even need the config files laying around
download the 2.6.10 kernel source, extract it into /usr/src
zcat /proc/config.gz > .config
make menuconfig , adjust
make modules; make modules_install;
I hope apm is module only and not kernel specific, also
building your own kernel unless you know what you are doing breaks things |
5/Fix Lilo error
Lilo’s error come from config file (/etc/lilo.conf).
In config file, where config to start Fedora core 5:
image = /boot/vmlinuz
root = /dev/sda5
label = Fedora
read-only |
After ask this error on HVA forum, Mr.Khoai (oja brother’s nick after be changed) tell me try to comment where config FC5. After comment those line, type command:
Do againt tasks that I did, and restart computer 
———————————————————————
Some command that I’ve learned:
lspci
lsmod
installpkg
removepkg
upgradepkg <path/to/new pakage>
To view pakages that were installed in computer:
ls /var/log/adm
or
grep <pattern> /var/log/adm/*
(But in fact, my computer hasn’t this director
)
(source: chairuou, hxizan and kyanh on VNOSS forum)
Hé, hôm nay làm bài bằng tiếng Việt 
Khửa khửa, cuối cùng thì cũng quyết định dùng thằng Slackware. Tham khảo lung tung, hỏi thêm mới biết là Slackware nó cõ mỗi 2 cái đĩa, 2 cái sau là source. Tải về, burn ra, và cài. Hix, gặp tý trục trặc với phần khởi động, vẫn chưa fix được. Dùng Grub thì vào được, còn xài
| dd if=/dev/sda6 of=/mnt/sda1/Slackware.mbr bs=512 count=1 |
Rồi thêm Slackware.mbr vô boot.ini thì thằng win nó chả cho vào 
Hớ, vào rồi mới biết nó không tự cài network, đành phải chuyển sang Win để online vậy (FC đang có vấn đề). Xem qua lung tung, nghĩa được cái cách cài driver cho NVIDIA, bộp về cài liền, không startx phát, màn hình nó nháy, nhức mắt kinh. Hé, cài suôn sẻ cái driver (thực ra nó auto cả, có phải làm gì đâu
). Đọc bài trên VNOSS thấy có nói dùng lệnh netconfig, nhưng rồi cũng chả làm được (có tý kiến thức mạng nào đâu, với lại cũng chưa tìm thấy tài liệu nói làm sao để cấu hình mạng khi mình dùng router, nối mới card mạng chớ không phải modem).
Tạm để đó, mai đi khai giảng về tranh thủ luyện công, giờ ôn chuẩn bị thi cái đã
Use middle mouse button to paste 
Source: http://www.linuxforums.org/forum/linux-desktop-x-windows/38640-strange-when-copy-paste-between-xterm-other-application.html