| |||||||||
日 | 一 | 二 | 三 | 四 | 五 | 六 | |||
---|---|---|---|---|---|---|---|---|---|
25 | 26 | 27 | 28 | 29 | 30 | 31 | |||
1 | 2 | 3 | 4 | 5 | 6 | 7 | |||
8 | 9 | 10 | 11 | 12 | 13 | 14 | |||
15 | 16 | 17 | 18 | 19 | 20 | 21 | |||
22 | 23 | 24 | 25 | 26 | 27 | 28 | |||
1 | 2 | 3 | 4 | 5 | 6 | 7 |
我用的亞洲上海的時間:
Code:
#ln -sf /usr/share/zoneinfo/Asia/Harbin /etc/localtime
當前有了兩個時間:一個是系統啟動時候的時間,就是主板上的硬件時間一個是當前系統時間。系統以啟動時的系統時間安作為UTC-格林威治標準時間為標準再根據當前時區增加或減少了時差得到的結果。所以是不準確的。
先讀取主板上的硬件時間:
Code:
#hwclock --show
用這個時間同步系統時間:
#hwclock --hctosys
編輯系統時間為本地時間而不是UTC時間:
Code:
#nano -w /etc/conf.d/clock
就是把這一句:
CLOCK="UTC" 改成CLOCK="local"
重啟系統,重新設置時間,并把系統時間 同步回硬件時間
Code:
#date 095502132009
#hwclock --systohc
中間牽扯到系統的UTC和local的變更問題,邏輯關系挺麻煩。做個筆記吧,至少解決了。
livecd / # eix sys-kernel/ sources
* sys-kernel/cell-sources
Available versions:
(2.6.18-r6) ~*2.6.18-r6!b!s
(2.6.19_rc5-r1) ~*2.6.19_rc5-r1!b!s
(2.6.19_rc6-r1) ~*2.6.19_rc6-r1!b!s
(2.6.24-r1) ~*2.6.24-r1!b!s
{build symlink}
Homepage: http://www.kernel.org/pub/linux/kernel/people/geoff/cell/ps3-linux/
Description: Full sources including the cell/ps3 patchset for the 2.6 kernel tree
* sys-kernel/gentoo-sources
Available versions:
(2.6.16-r13) 2.6.16-r13!b!s
(2.6.20-r10) (~)2.6.20-r10!b!s
(2.6.24-r8) 2.6.24-r8!b!s
(2.6.25-r9) 2.6.25-r9!b!s
(2.6.26-r2) (~)2.6.26-r2!b!s
(2.6.26-r3) 2.6.26-r3!b!s
(2.6.26-r4) 2.6.26-r4!b!s
(2.6.27) (~)2.6.27!b!s
(2.6.27-r1) (~)2.6.27-r1!b!s
(2.6.27-r2) (~)2.6.27-r2!b!s
(2.6.27-r3) (~)2.6.27-r3!b!s
(2.6.27-r4) (~)2.6.27-r4!b!s
(2.6.27-r5) (~)2.6.27-r5!b!s
(2.6.27-r6) (~)2.6.27-r6!b!s
(2.6.27-r7) 2.6.27-r7!b!s
(2.6.27-r8) 2.6.27-r8!b!s
(2.6.27-r9) (~)2.6.27-r9!b!s
(2.6.28) (~)2.6.28!b!s
(2.6.28-r1) (~)2.6.28-r1!b!s
(2.6.28-r2) (~)2.6.28-r2!b!s
{build symlink ultra1}
Homepage: http://dev.gentoo.org/~dsd/genpatches/
Description: Full sources including the Gentoo patchset for the 2.6 kernel tree
* sys-kernel/git-sources
Available versions:
(2.6.29_rc5-r1) (~)2.6.29_rc5-r1!b!s
(2.6.29_rc5-r2) (~)2.6.29_rc5-r2!b!s
(2.6.29_rc5-r3) (~)2.6.29_rc5-r3!b!s
(2.6.29_rc5-r4) (~)2.6.29_rc5-r4!b!s
(2.6.29_rc5-r5) (~)2.6.29_rc5-r5!b!s
(2.6.29_rc5-r6) (~)2.6.29_rc5-r6!b!s
(2.6.29_rc5-r7) (~)2.6.29_rc5-r7!b!s
(2.6.29_rc6-r1) (~)2.6.29_rc6-r1!b!s
{build symlink}
Homepage: http://www.kernel.org
Description: The very latest -git version of the Linux kernel
* sys-kernel/hardened-sources
Available versions:
(2.6.25-r13) 2.6.25-r13!b!s
(2.6.26-r9) 2.6.26-r9!b!s
(2.6.27-r7) (~)2.6.27-r7!b!s
(2.6.27-r8) (~)2.6.27-r8!b!s
(2.6.28) (~)2.6.28!b!s
{build symlink}
Homepage: http://www.gentoo.org/proj/en/hardened/
Description: Hardened kernel sources (kernel series 2.6)
* sys-kernel/mips-sources
Available versions:
(2.6.20.18) *2.6.20.18
(2.6.27.10) ~*2.6.27.10
(2.6.28.7) ~*2.6.28.7
{build cobalt ip27 ip28 ip30 ip32r10k}
Homepage: http://www.linux-mips.org/ http://www.gentoo.org/
Description: Linux-Mips GIT sources for MIPS-based machines, dated 20090223
* sys-kernel/mm-sources
Available versions: (2.6.28_rc2-r1) (~)2.6.28_rc2-r1!b!s
{build symlink}
Homepage: http://www.kernel.org/ http://www.gentoo.org/
Description: Andrew Morton's kernel, mostly fixes for 2.6 vanilla, some vm stuff too
* sys-kernel/openvz-sources
Available versions:
(2.6.18.028.056.1) 2.6.18.028.056.1!b!s
(2.6.18.028.059.6) (~)2.6.18.028.059.6!b!s
(2.6.24.006.5) [M](~)2.6.24.006.5!b!s
(2.6.26.9999) [M]**2.6.26.9999!b!s
{build symlink}
Homepage: http://openvz.org/
Description: OpenVZ 26 git
* sys-kernel/sh-sources
Available versions:
(2.6.13) *2.6.13!b!s
(2.6.14) *2.6.14!b!s
(2.6.15) *2.6.15!b!s
(2.6.16.20) *2.6.16.20!b!s
{build symlink}
Homepage: http://dev.gentoo.org/~dsd/genpatches
Description: Full SuperH sources including the gentoo patchset for the 2.6 kernel tree
* sys-kernel/sparc-sources
Available versions: (2.4.34) *2.4.34!b!s
{build symlink ultra1}
Homepage: http://www.kernel.org/ http://www.gentoo.org
Description: Full sources for the Gentoo Sparc Linux kernel
* sys-kernel/tuxonice-sources
Available versions:
(2.6.24-r9) 2.6.24-r9!b!s
(2.6.28-r3) (~)2.6.28-r3!b!s
{build symlink}
Homepage: http://dev.gentoo.org/~dsd/genpatches/ http://www.tuxonice.net
Description: TuxOnIce + Gentoo patchset sources
* sys-kernel/usermode-sources
Available versions:
(2.6.16-r3) (~)2.6.16-r3!b!s
(2.6.16-r4) (~)2.6.16-r4!b!s
(2.6.16-r5) (~)2.6.16-r5!b!s
(2.6.18) (~)2.6.18!b!s
(2.6.18-r1) (~)2.6.18-r1!b!s
(2.6.18-r2) (~)2.6.18-r2!b!s
{build symlink}
Homepage: http://www.kernel.org/ http://user-mode-linux.sourceforge.net
Description: Full sources for the User Mode Linux kernel
* sys-kernel/vanilla-sources
Available versions:
(2.4.36.9) 2.4.36.9!b!s
(2.4.37) 2.4.37!b!s
(2.6.16.62) 2.6.16.62!b!s
(2.6.19.7) 2.6.19.7!b!s
(2.6.23.17) 2.6.23.17!b!s
(2.6.24.7) 2.6.24.7!b!s
(2.6.25.20) 2.6.25.20!b!s
(2.6.26.7) 2.6.26.7!b!s
(2.6.26.8) 2.6.26.8!b!s
(2.6.27) (~)2.6.27!b!s
(2.6.27.10) 2.6.27.10!b!s
(2.6.27.11) (~)2.6.27.11!b!s
(2.6.27.12) 2.6.27.12!b!s
(2.6.27.13) (~)2.6.27.13!b!s
(2.6.27.14) (~)2.6.27.14!b!s
(2.6.27.15) (~)2.6.27.15!b!s
(2.6.27.16) (~)2.6.27.16!b!s
(2.6.27.17) (~)2.6.27.17!b!s
(2.6.27.18) (~)2.6.27.18!b!s
(2.6.27.19) (~)2.6.27.19!b!s
(2.6.28) (~)2.6.28!b!s
(2.6.28.1) (~)2.6.28.1!b!s
(2.6.28.2) (~)2.6.28.2!b!s
(2.6.28.3) (~)2.6.28.3!b!s
(2.6.28.4) (~)2.6.28.4!b!s
(2.6.28.5) (~)2.6.28.5!b!s
(2.6.28.6) (~)2.6.28.6!b!s
(2.6.28.7) (~)2.6.28.7!b!s
(2.6.29_rc1) (~)2.6.29_rc1!b!s
(2.6.29_rc2) (~)2.6.29_rc2!b!s
(2.6.29_rc3) (~)2.6.29_rc3!b!s
(2.6.29_rc4) (~)2.6.29_rc4!b!s
(2.6.29_rc5) (~)2.6.29_rc5!b!s
(2.6.29_rc6) (~)2.6.29_rc6!b!s
{build symlink}
Homepage: http://www.kernel.org
Description: Full sources for the Linux kernel
* sys-kernel/vserver-sources
Available versions:
(2.2.0.6) 2.2.0.6!b!s
(2.2.0.7) 2.2.0.7!b!s
(2.3.0.34) [M](~)2.3.0.34!b!s
(2.3.0.35.6) [M](~)2.3.0.35.6!b!s
(2.3.0.36.4) [M](~)2.3.0.36.4!b!s
{build symlink}
Homepage: http://www.gentoo.org/proj/en/vps/
Description: Full sources including Gentoo and Linux-VServer patchsets for the 2.6 kernel tree.
* sys-kernel/xbox-sources
Available versions: (2.6.16.26) (~)2.6.16.26!b!s
{build symlink}
Homepage: http://www.kernel.org/ http://www.gentoo.org/
Description: Full sources for the Xbox Linux kernel
* sys-kernel/xen-sources
Available versions:
(2.6.18-r11) (~)2.6.18-r11!b!s
(2.6.18-r12) (~)2.6.18-r12!b!s
(2.6.20-r7) [M](~)2.6.20-r7!b!s
(2.6.21) [M](~)2.6.21!b!s
{build symlink}
Homepage: http://xen.org/
Description: Full sources for a dom0/domU Linux kernel to run under Xen
Found 15 matches.
1、安裝jdk并配置環境
# emerge sun-jdk
# nano /etc/env.d/20java-config
添加以下內容
2、安裝jboss并配置環境
進入 http://www.jboss.org/jbossweb/downloads/jboss-web/
下載 JBoss Web Server 2.1.2.GA bintar,文件為jboss-web-2.1.2.GA.tar.gz
# tar -xvf jboss-web-2.1.2.GA.tar.gz
# mv jboss-web-2.1.2.GA /jboss
# nano /etc/env.d/99jboss-config
添加以下內容:
3、瀏覽器里輸入http://localhost:8080,顯示以下頁面說明正常
4、將JBOSS設置為開機自動運行
# nano /etc/conf.d/local.start
添加以下內容: