-添加sudoer
su -
vi /etc/sudoers
在root ALL=(ALL) ALL 下添加:
pete ALL=(ALL) ALL
-安装拼音:
sudo yum install "@Chinese Support"
设置输入法:System - preferences - input method,注销。
-安装chromium
cd /etc/yum.repos.d
sudo wget http://people.centos.org/hughesjr/chromium/6/chromium-el6.repo
sudo yum install chromium
下载pdf插件:
cd /home/pete/Download
sudo wget https://raw.github.com/hughesjr/chromium_el_builder/master/chrome_libpdf_copy.sh
chmod +x chrome_libpdf_copy.sh
sudo ./chrome_libpdf_copy.sh
下载flash插件:
get.adobe.com/cn/flashplayer/download/?installer=Flash_Player_11.2_for_other_Linux_(.tar.gz)_64-bit&standalone=1
解压tar包;
chmod +x libflashplayer.so
sudo cp libflashplayer.so /usr/lib64/mozilla/plugins/
sudo cp -r usr/* /usr/
-安装Thunderbird mail
sudo -
## Remi Dependency on CentOS 6 and Red Hat (RHEL) 6 ##
rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
## CentOS 6 and Red Hat (RHEL) 6 ##
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
yum list thunderbird
yum update thunderbird
## OR ##
yum install thunderbird
- 加执行权限
chmod 744 ***
chmod u+x ***
- 安装jdk
sudo mkdir -v /usr/java
cd /usr/java
sudo cp /home/pete/Download/dev_tools/jdk*** .
sudo ./jdk***
配置环境变量:
sudo vi /etc/profile
在export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE HISTCONTROL 下面添加:
export JAVA_HOME="/usr/java/jdk1.6.0_43"
export CLASSPATH=".:$JAVA_HOME/bin"
export PATH="$PATH:$JAVA_HOME/bin"
更新环境变量:
source /etc/profile
java -version
-准备开发环境
sudo mkdir /zj100
sudo chmod 777 /zj100
cd /zj100
mkdir appserver
mkdir iproject
mkdir devtools
- 安装tomcat
cd /zj100/appserver/apache-tomcat-6/bin
chmod +x *.sh
- 安装svn client
yum install -y subversion
-查看端口
lsof -i:8080
-rpm文件
rpm -ivh *.rpm
rpm -e package
-安装编程字体
wget http://www.my-guides.net/en/images/stories/fedora12/msttcore-fonts-2.0-3.noarch.rpm
sudo rpm -ivh msttcore-fonts-2.0-3.noarch.rpm