亚洲免费在线-亚洲免费在线播放-亚洲免费在线观看-亚洲免费在线观看视频-亚洲免费在线看-亚洲免费在线视频

Something you need to perform after RedHat 6

系統 1705 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元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦?。。?/p>

發表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 欧美午夜在线播放 | 欧美日韩乱码毛片免费观看 | 国产精品二区在线 | 最新亚洲精品国自产在线 | 香蕉久人久人青草青草 | 99热久久这里只有精品 | 久久国产精品只做精品 | 亚洲精品成人7777在线观看 | 黄色高清在线观看 | 日本高清不卡在线观看 | av天天看 | 天天做天天干 | 久久免费手机视频 | 久草在线视频中文 | 久久综合九色综合狠狠97 | 日本激情啪啪 | 黄色片网站观看 | 99热久久国产精品这里小说 | 四虎影视永久地址www成人污 | 九九99香蕉在线视频美国毛片 | 七七七久久久久人综合 | 亚洲精品视 | 99久久精品国产自免费 | 久久伊人精品综合观看99 | 五月天狠狠干 | 日本精品久久久久中文字幕2 | 狠狠操在线观看 | 雅虎日本免费一区二区三区 | 国产精品欧美一区二区在线看 | 毛片5| 久久精品美女久久 | 久久久夜间小视频 | 在线观看深夜视频 | 欧美成人天天综合在线视色 | 91香蕉嫩草| 久久精品国产主播一区二区 | 欧美精品福利视频 | 欧美v亚洲v国产v | 国产精品久久久久999 | 国产精品videossex激情 | 天天干妹子 |