Linux 安装记录
1.flash安装
#tar zxvf install_flash_player_11_linux.i386.tar.gz
#cp ./install_flash_player_11_linux.i386/libflashplayer.so /usr/lib/mozilla/plugins/
重启浏览器即可
2.JDK 安装
#tar zxvf ./jdk-7u21-linux-i586.tar.gz -C /usr/lib/jvm
#cd /usr/lib/jvm/
#mv jdk1.7.0_21/ java-7-sun
添加环境变量
#vim /etc/profile
在其中加入
export JAVA_HOME=/usr/lib/jvm/java-7-sun export JRE_HOME=${JAVA_HOME}/jre export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib export PATH=${JAVA_HOME}/bin:$PATH
可能会有默认的JDK,如openjdk,所以,为了将我们安装的JDK设置为默认JDK版本,还要进行如下工作。
# update-alternatives --install /usr/bin/java java /usr/lib/jvm/java-7-sun/bin/java 300 # update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/java-7-sun/bin/javac 300 # update-alternatives --install /usr/bin/jar jar /usr/lib/jvm/java-7-sun/bin/jar 300 # update-alternatives --install /usr/bin/javah javah /usr/lib/jvm/java-7-sun/bin/javah 300 # update-alternatives --install /usr/bin/javap javap /usr/lib/jvm/java-7-sun/bin/javap 300
执行代码:
#update-alternatives --config java
3.Gnome3安装自定义程序图标
#vim /usr/share/applications/eclipse.desktop
[Desktop Entry] Name=eclipse Comment=powerful java ide Exec=/opt/eclipse/eclipse Icon=/opt/eclipse/icon.xpm StartupNotify=true Terminal=false Type=Application Categories=GNOME;GTK;Application;Development; X-GNOME-Bugzilla-Bugzilla=GNOME X-GNOME-Bugzilla-Product=eclipse X-GNOME-Bugzilla-Component=general X-GNOME-Bugzilla-Version=3.7.1
4.字体安装
#mkdir /opt/fonts
#ln -s /opt/fonts /usr/share/fonts/win_fonts
#cp 存放字体目录/sim.ttc /opt/fonts/
#cd /opt/fonts
#mkfontscale
#mkfontdir
#fc-cache -fv
相关推荐
farwang 2020-11-25
星愿心愿 2020-11-24
tianhuak 2020-11-24
zhjn0 2020-11-24
昭君出塞 2020-11-23
bluecarrot 2020-11-23
linuxwcj 2020-10-21
以梦为马不负韶华 2020-10-20
彼岸随笔 2020-10-20
yutou0 2020-10-17
applecarelte 2020-10-16
ourtimes 2020-10-16
waterhorse 2020-09-19
MRFENGG 2020-11-11
rainandtear 2020-10-30
kyssfanhui 2020-10-20
liuhangtiant 2020-10-20