日韩久久久精品,亚洲精品久久久久久久久久久,亚洲欧美一区二区三区国产精品 ,一区二区福利

Something you need to perform after RedHat 6

系統 1831 0
Something you need to perform after RedHat?6.x installed

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
      
    

?

Something you need to perform after RedHat 6.x installed


更多文章、技術交流、商務合作、聯系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯系: 360901061

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

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 丹阳市| 郓城县| 皮山县| 恩平市| 乌苏市| 许昌县| 丹巴县| 合水县| 道真| 东城区| 望谟县| 新安县| 六安市| 洪洞县| 竹北市| 资兴市| 德化县| 丰宁| 西峡县| 云浮市| 伊金霍洛旗| 连云港市| 湾仔区| 龙山县| 洛宁县| 夹江县| 乌什县| 千阳县| 板桥市| 纳雍县| 墨脱县| 夹江县| 寻乌县| 资兴市| 吉林省| 正镶白旗| 临泉县| 鸡泽县| 时尚| 洛扎县| 揭阳市|