วัตถุประสงค์
=========
แก้ปัญหา
Unable to read repository at http://dist.springframework.org/release/IDE/content.xml.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
ที่เกิดขึ้นตอนสั่งให้ eclipse update patch
ที่มาของปัญหา
==========
certificate ของ proxy ที่บริษัทใช้
ถูกสร้างขึ้นเอง sign เอง
ไม่ได้ส่งไปให้ well-known CA ทำการ sign ให้
+ eclipse ไม่มีที่ให้ set cert
วิธีการแก้ไข
========
install certificate to jre
ปล. มีหลากหลายวิธีที่ทำได้
วิธีที่ 1 มีขั้นตอนดังนี้
==============
1) d/l http://blogs.sun.com/andreas/resource/InstallCert.java into /temp
2) cd /temp
3) javac InstallCert.java
4) java InstallCert {proxy-server-name}
5) [Enter]
6) cp jssecacerts /usr/java/jdk1.6.0_18/jre/lib/security/
7) (re)start eclipse to take effect
env
====
eclipse 3.5.2
Ref: http://blogs.sun.com/gc/entry/unable_to_find_valid_certification
Thursday, June 17, 2010
Tuesday, June 15, 2010
To setup java plugin for Firefox
Env:
64-bit Fedora 12 Constantine
Firefox 3.5.9
java version 1.6.0_18
before execute
sudo /usr/sbin/alternatives --install /usr/lib64/mozilla/plugins/libjavaplugin.so \
libjavaplugin.so.x86_64 /usr/java/default/lib/amd64/libnpjp2.so 20000
as shown in http://www.mjmwired.net/resources/mjm-fedora-f12.html#java
try
ls /usr/java/default/lib/amd64/libnpjp2.so
and make sure the file exist
for me, libnpjp2.so resides in
/usr/java/default/jre/lib/amd64/libnpjp2.so
not
/usr/java/default/lib/amd64/libnpjp2.so
so change the command to the correct path:
sudo /usr/sbin/alternatives --install /usr/lib64/mozilla/plugins/libjavaplugin.so \
libjavaplugin.so.x86_64 /usr/java/default/jre/lib/amd64/libnpjp2.so 20000
64-bit Fedora 12 Constantine
Firefox 3.5.9
java version 1.6.0_18
before execute
sudo /usr/sbin/alternatives --install /usr/lib64/mozilla/plugins/libjavaplugin.so \
libjavaplugin.so.x86_64 /usr/java/default/lib/amd64/libnpjp2.so 20000
as shown in http://www.mjmwired.net/resources/mjm-fedora-f12.html#java
try
ls /usr/java/default/lib/amd64/libnpjp2.so
and make sure the file exist
for me, libnpjp2.so resides in
/usr/java/default/jre/lib/amd64/libnpjp2.so
not
/usr/java/default/lib/amd64/libnpjp2.so
so change the command to the correct path:
sudo /usr/sbin/alternatives --install /usr/lib64/mozilla/plugins/libjavaplugin.so \
libjavaplugin.so.x86_64 /usr/java/default/jre/lib/amd64/libnpjp2.so 20000
Sunday, June 13, 2010
OpenID by Gmail
My email is Siripong.Pongpinyopap@gmail.com
(สิริพงษ์ พงศ์ภิญโญภาพ)
So my id is http://www.google.com/profiles/Siripong.Pongpinyopap
ตัวอย่าง web ที่ทดลองใช้
http://debianclub.org
more info:
http://openid.net/
(สิริพงษ์ พงศ์ภิญโญภาพ)
So my id is http://www.google.com/profiles/Siripong.Pongpinyopap
ตัวอย่าง web ที่ทดลองใช้
http://debianclub.org
more info:
http://openid.net/
Friday, June 4, 2010
AT&T Mercury on Fedora
AT&T USBConnect Mercury
ใช้กับ Fedora 12 Constantine
Kernel 2.6.32.11-99.fc12.x86_64
ได้เลย
เสียบปุ๊บติดปั๊บ
ใช้กับ Fedora 12 Constantine
Kernel 2.6.32.11-99.fc12.x86_64
ได้เลย
เสียบปุ๊บติดปั๊บ
Labels:
3G,
aircard,
Constantine,
Fedora,
Mercury
Thursday, June 3, 2010
to enable compiz fusion on xfce
fusion-icon = tray icon to launch and manage Compiz Fusion
install and start it
remember to enable window decarations, otherwise all windows will not have title bars.
Debian squeeze
==============
sudo apt-get install compiz compizconfig-settings-manager fusion-icon compiz-fusion-plugins-main
# compiz-fusion-plugins-main : static application switcher
# compiz-fusion-plugins-extra : fade to desktop
Fedora
======
sudo yum install -y fusion-icon
To Start Compiz directly through the XFCE session manager without loading Xfwm
==========================================================
cd /etc/xdg/xfce4/xfconf/xfce-perchannel-xml
sudo cp xfce4-session.xml xfce4-session-Xfwm.xml
sudo vi xfce4-session.xml
Replace the xfwm startup command,
< property name="Client0_Command" type="array" >
<value type="string" value="xfwm4" / >
< /property >
with the following:
< property name="Client0_Command" type="array" >
<value type="string" value="compiz" / >
< value type="string" value="ccp" / >
< /property >
Ref: https://wiki.archlinux.org/index.php/Compiz#XFCE
Troubleshooting
===============
wget http://blogage.de/files/70708/download -O compiz-check
chmod +x compiz-check
./compiz-check
http://forlong.blogage.de/entries/pages/Compiz-Check
Install ATI Proprietary Driver (fglrx)
==========================
http://siripong-computer-tips.blogspot.com/2011/09/ati-redeon-driver-in-linux.html
No title bar after enable Compiz
=======================
Go to CompizConfig Setting Manager (ccsm) -> Effects
and enable "Window Decoration"
different wallpapers for different workspaces
===========================
with http://wiki.compiz.org/Plugins/Wallpaper
allows you to assign multiple wallpapers to your workspaces
- sudo apt-get install compiz-fusion-plugins-extra
- Enable this option and click on the title “Wallpaper” to open the preferences for this plugin.
- click New and browse for the image that you want to upload. In the order that you have them in the list is the order they will be in the cube.
- to kill xfdesktop
xfdesktop --quit
in case slow response when enabling compiz.
===========================================
right click on compiz-fusion icon (on the panel)
choose "Compiz Options"
and enable "Loose Binding" and "Indirect Rendering"
Ref: linuxquestions.org
install and start it
remember to enable window decarations, otherwise all windows will not have title bars.
Debian squeeze
==============
sudo apt-get install compiz compizconfig-settings-manager fusion-icon compiz-fusion-plugins-main
# compiz-fusion-plugins-main : static application switcher
# compiz-fusion-plugins-extra : fade to desktop
Fedora
======
sudo yum install -y fusion-icon
To Start Compiz directly through the XFCE session manager without loading Xfwm
==========================================================
cd /etc/xdg/xfce4/xfconf/xfce-perchannel-xml
sudo cp xfce4-session.xml xfce4-session-Xfwm.xml
sudo vi xfce4-session.xml
Replace the xfwm startup command,
< property name="Client0_Command" type="array" >
<value type="string" value="xfwm4" / >
< /property >
with the following:
< property name="Client0_Command" type="array" >
<value type="string" value="compiz" / >
< value type="string" value="ccp" / >
< /property >
Ref: https://wiki.archlinux.org/index.php/Compiz#XFCE
Troubleshooting
===============
wget http://blogage.de/files/70708/download -O compiz-check
chmod +x compiz-check
./compiz-check
http://forlong.blogage.de/entries/pages/Compiz-Check
Install ATI Proprietary Driver (fglrx)
==========================
http://siripong-computer-tips.blogspot.com/2011/09/ati-redeon-driver-in-linux.html
No title bar after enable Compiz
=======================
Go to CompizConfig Setting Manager (ccsm) -> Effects
and enable "Window Decoration"
different wallpapers for different workspaces
===========================
with http://wiki.compiz.org/Plugins/Wallpaper
allows you to assign multiple wallpapers to your workspaces
- sudo apt-get install compiz-fusion-plugins-extra
- Enable this option and click on the title “Wallpaper” to open the preferences for this plugin.
- click New and browse for the image that you want to upload. In the order that you have them in the list is the order they will be in the cube.
- to kill xfdesktop
xfdesktop --quit
in case slow response when enabling compiz.
===========================================
right click on compiz-fusion icon (on the panel)
choose "Compiz Options"
and enable "Loose Binding" and "Indirect Rendering"
Ref: linuxquestions.org
Labels:
compiz,
Constantine,
enable,
Fedora,
xfce
Subscribe to:
Posts (Atom)