YUM Repos
% yum update % rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm % rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
Development Tools
% yum groupinstall 'Development Tools' % yum install python-devel % curl -O http://peak.telecommunity.com/dist/ez_setup.py; % python ez_setup.py % easy_install pip
Byobu (Screen)
% yum –enablerepo=epel-testing install byobu
openjdk
for java
% yum install java-1.6.0-openjdk
for javac
% yum install java-1.6.0-openjdk-devel
maven
go to? Maven Site ?to download the latest tar ball:
% curl -O http://ftp.mirror.tw/pub/apache/maven/maven-3/3.0.4/binaries/apache-maven-3.0.4-bin.tar.gz % cd /usr/local; tar zxf /path/to/apache-maven-3.0.4-bin.tar.gz % ln -s apache-maven-3.0.4 maven
add following to /etc/bashrc
export M3_HOME=/usr/local/maven export PATH=${M3_HOME}/bin:${PATH}
sbt , for Scala
% rpm -Uvh? http://rpm.typesafe.com/typesafe-repo-2.0.0-1.noarch.rpm
?
Optional:
?
if no color in usr@host $
append below code to ~/.bashrc
# User specific aliases and functions bold = $(tput bold) # This could also be a color. reset = $(tput sgr0) yellow =$(tput setaf 3 ) export PS1 = " \[${yellow}\]\u@\[$bold\]\h\[$reset\]:\w \$ " #Set variables for foreground colors fgRed =$(tput setaf 1 ) ; fgGreen=$(tput setaf 2 ) ; fgBlue=$(tput setaf 4 ) fgMagenta =$(tput setaf 5 ) ; fgYellow=$(tput setaf 3 ) ; fgCyan=$(tput setaf 6 ) fgWhite =$(tput setaf 7 ) ; fgBlack=$(tput setaf 0 ) #Set variables for background colors bgRed =$(tput setab 1 ) ; bgGreen=$(tput setab 2 ) ; bgBlue=$(tput setab 4 ) bgMagenta =$(tput setab 5 ) ; bgYellow=$(tput setab 3 ) ; bgCyan=$(tput setab 6 ) bgWhite =$(tput setab 7 ) ; bgBlack=$(tput setab 0 ) #Set variables for font weight and text decoration B =$(tput bold) ; U=$(tput smul) ; C= $(tput sgr0) #NOTE: ${C} clears the current formatting if [[ $USER = " root " ]]; then PS1 = " ${B}${fgRed}\u\[${C}\]@\h(\s): ${fgRed}\w\[${C}\] > " else PS1 = " \[${B}\]\[${fgMagenta}\]\u\[${C}\]@\h(\s): \[${fgBlue}\]\w\[${C}\] > " fi cal
?
更多文章、技術交流、商務合作、聯系博主
微信掃碼或搜索:z360901061

微信掃一掃加我為好友
QQ號聯系: 360901061
您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。
【本文對您有幫助就好】元
