- uname -a (Print all Information)
- uname -r (Print the kernel name)
- uname -m
- cat /proc/version
- cat /etc/issue
- cat /etc/redhat-release
- lsb_release –a
- tail /etc/redhat-release
本網誌主要是記錄筆者在使用電腦上疑難解決方法。希望藉著此平台跟大家分享交流。
This blog is used for sharing how to troubleshoot my computer problem. I would like to share them to each other through this platform.
2014-09-24
查找LINUX 版本, KERNEL 版本
Check the Linux Version, Release name and Kernel version
2014-07-10
[Solved] Access denied ("java.util.PropertyPermission" "user.timezone" "write")
解決 Access denied ("java.util.PropertyPermission" "user.timezone" "write") 問題
Edit $JAVA_HOME\lib\security\java.policy (Both Program File and Program File x86)
grant {
...
permission java.util.PropertyPermission "user.timezone", "write";
};
save as java.policy and then replace the original.
Restart java.exe process
Edit $JAVA_HOME\lib\security\java.policy (Both Program File and Program File x86)
grant {
...
};
save as java.policy and then replace the original.
Restart java.exe process
2014-07-09
取得資料夾和子資料夾的權限和路徑列表
Get the List of Sub Directories with Their Owner & Permissions & Full Paths
先以find -type d找出所有/var以內所有資料夾的路徑,然後再用ls -dl 列出
ls -dl `find /var -type d`
source: http://www.ducea.com/2009/06/05/linux-tips-get-the-list-of-subdirectories-with-their-owner-permissions-and-full-paths/
先以find -type d找出所有/var以內所有資料夾的路徑,然後再用ls -dl 列出
ls -dl `find /var -type d`
source: http://www.ducea.com/2009/06/05/linux-tips-get-the-list-of-subdirectories-with-their-owner-permissions-and-full-paths/
2014-04-24
Enable JMX on tomcat7 running as Windows service
- Start 'Tomcat Configure' --> 'Java' tab --> 'Java Options' text box --> Append the followings
-Dcom.sun.management.jmxremote.port=8090
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
- Save, Exit and then restart the service
- Connect to the JMX console
- Start
jconsole
from your JDK installation location
example: C:\java\jdk1.6.0_37\bin\jconsole.exe - Click 'New Connection'
- Checked 'Remote Process'
- Enter
hostname:8090
訂閱:
文章 (Atom)
Review Who is Connected to Windows Shared Folder
1. Open Computer Management Console Windows Key + R -> compmgmt.msc 2. Expand System Tools -> Shared Folder -> Sessions ...
-
Copy / Transfer Putty Configuration File / Profile 首先,你必需有權限執行登錄檔編輯程式。 First of all, You may have both computers administrative right to ...
-
Start Chrome with Incognito (Private) Browsing Mode Firstly, right click "Chrome" shortcut --> click "Properties" ...