2013년 1월 11일 금요일
add-apt-repository use behind proxy
[add-apt-repository use behind proxy]
1. Prerequisite
1) proxy server address.
ex) proxy.firewall.com:8080
2) proxy server certificate.
ex) sslproxy.crt
2. Instruction
Add proxy server certificate to the end of ca-certificates.crt file.
$ sudo vi /etc/ssl/certs/ca-certificates.crt
$ export HTTPS_PROXY=https://proxy.firewall.com:8080
$ export HTTP_PROXY=http://proxy.firewall.com:8080
$ export http_proxy=http://proxy.firewall.com:8080
$ export https_proxy=proxy.firewall.com:8080
$ sudo -E add-apt-repository ppa:igloocommunity-maintainers/snowball-tools
~~~
~~~
gpg: requesting key 4AEF2843 from hkp server keyserver.ubuntu.com
gpg: key 4AEF2843: public key "Launchpad PPA for IglooCommunity Maintainers" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
$ sudo apt-get update
$ sudo apt-get install riff
2013년 1월 6일 일요일
2013년 1월 5일 토요일
Howto Install sun-java6-jdk on Ubuntu 10.04 64 bit OS
Due to license issue of JDK, it was removed from official APT server.
[Howto install JDK6 from java commuity server]
$ sudo add-apt-repository ppa:sun-java-community-team/sun-java6
$ sudo apt-get update $ sudo apt-get install sun-java6-jdk $ sudo update-java-alternatives -s java-6-sun
>>> http://java.dzone.com/articles/sun-java-6-ubuntu-1004-1010
[Howto install JDK6 manually]
>>> http://codingforme.wordpress.com/2012/05/14/installing-oracle-java-jdk-6-or-7-on-ubuntu-12-04/
-------------------------------------------------------------------------------
- Download the jdk-6u32-linux-i586.bin from the Sun Java Download Centre. If you are on 64-bit Ubuntu, you should grab jdk-6u32-linux-x64.bin.
- Make the bin file executable:1
chmod
+x jdk-6u32-linux-x64.bin
- Extract the bin file:1
.
/jdk-6u32-linux-x64
.bin
- Move extracted folder to this location:1
sudo
mv
jdk1.6.0_32
/usr/lib/jvm/
- Install the new Java source in system:123
sudo
update-alternatives --
install
/usr/bin/javac
javac
/usr/lib/jvm/jdk1
.6.0_32
/bin/javac
1
sudo
update-alternatives --
install
/usr/bin/java
java
/usr/lib/jvm/jdk1
.6.0_32
/bin/java
1
sudo
update-alternatives --
install
/usr/bin/javaws
javaws
/usr/lib/jvm/jdk1
.6.0_32
/bin/javaws
1
- Choose default Java:123
sudo
update-alternatives --config javac
sudo
update-alternatives --config java
sudo
update-alternatives --config javaws
- Check the Java version:1
java -version
- Verify the symlinks all point to the new Java location:1
ls
-la
/etc/alternatives/java
*
---------------------------------------------------------------------------
피드 구독하기:
글 (Atom)