最近遇到一個有關timezone的問題:有些application需要環境變數TZ,可是我們剛剛裝好的RHEL沒有設定TZ,而我又沒有root許可權去改,查了半天資料,發現所有對timezone的改動都需要重啟機器才會生效,沒有辦法即時生效……Anyway,還是把查到的資料羅列在下面,以備將來用到。Linux Clock ConfigurationHowto: Linux server change or setup the
1.測試環境伺服器:RedHat Linux 3.4.3-9.EL4(核心版本 2.6.9-5.EL),Tomcat5.5.20,Sun JDK 1.5.0_09,JProfiler 4.3.2 for linux(安裝包:jprofiler_linux_4_3_2.sh) 用戶端:Windows XP,JProfiler 4.3.2 for windows(安裝包:jprofiler_windows_4_3_2.exe) 2.JProfiler軟體
特徵:系統開機記錄:Bringing up interface eth0: pcnet32 device eth0 does not seepresent, delaying initialization.ifconfig輸出:輸出結果未發現裝置interface eth0 原因:未知我懷疑是自己亂改hostname造成的!linux 修改hostname常規流程:# hostname NEWhostname# vi /etc/sysconfig/network hostname=
http://www-numi.fnal.gov/computing/minossoft/releases/R2.3/WebDocs/Errors/unix_system_errors.htmlErrors: Linux System ErrorsWhen system requests fail, error code are returned. To understand the nature of the error these codes need to be interpreted.
/* Arrange for userspace references to be interpreted as kernel * pointers. That way we can pass a kernel pointer to a routine * that expects a __user pointer and it will work okay. */ set_fs(get_ds());#define