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 )
export PS1="\[${yellow}\]\u@\[$bold\]\h\[$reset\]:\w \$ " #Set variables for foreground colors
fgRed=$(tput setaf ) ; fgGreen=$(tput setaf ) ; fgBlue=$(tput setaf )
fgMagenta=$(tput setaf ) ; fgYellow=$(tput setaf ) ; fgCyan=$(tput setaf )
fgWhite=$(tput setaf ) ; fgBlack=$(tput setaf )
#Set variables for background colors
bgRed=$(tput setab ) ; bgGreen=$(tput setab ) ; bgBlue=$(tput setab )
bgMagenta=$(tput setab ) ; bgYellow=$(tput setab ) ; bgCyan=$(tput setab )
bgWhite=$(tput setab ) ; bgBlack=$(tput setab )
#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的更多相关文章
- RAC的QA
RAC: Frequently Asked Questions [ID 220970.1] 修改时间 13-JAN-2011 类型 FAQ 状态 PUBLISHED Appli ...
- How to setup vsftpd FTP file Server on Redhat 7 Linux
Forward from: https://linuxconfig.org/how-to-setup-vsftpd-ftp-file-server-on-redhat-7-linux How to s ...
- 在RedHat 和 Ubuntu 中配置 Delphi 的Linux开发环境(转)
原文地址:http://chapmanworld.com/2016/12/29/configure-delphi-and-redhat-or-ubuntu-for-linux-development/ ...
- Redhat下安装SAP的相关
Red Hat Enterprise Linux 6.x: Installation and Upgrade - SAP Note 1496410 Red Hat Enterprise Linux 7 ...
- .NET Core & ASP.NET Core 1.0在Redhat峰会上正式发布
众所周知,Red Hat和微软正在努力使.NET Core成为Red Hat企业版Linux (RHEL)系统上的一流开发平台选项.这个团队已经一起工作好几个月了,RHEL对.NET有许多需求.今天在 ...
- 在Redhat上为.Net 项目构建基于Jenkins + Github + Mono 的持续集成环境
在Redhat enterprise 6.5 的服务器上,为在gutub 上的 .net 项目构建一个持续集成环境,用到了Jenkins和mono.因公司的服务器在内网,访问外网时要通过代理,所以在很 ...
- RedHat 和 Mirantis OpenStack 产品的版本和功能汇总和对比(持续更新)
Mirantis 和 Red Hat 作为 OpenStack 商业化产品领域的两大领军企业,在行业内有重要的地位.因此,研究其产品版本发布周期和所支持的功能,对制定 OpenStack 产品的版本和 ...
- CentOS / Redhat : Configure CentOS as a Software Router with two interfaces
CentOS / Redhat : Configure CentOS as a Software Router with two interfaces Linux can be easily co ...
- redhat 配置本地yum源163yum源epel 源,无需卸载yum!无须拷贝ISO,愿网上少一点垃圾教程误人子弟
都知道redhat不收费,但是其yum服务是要收费的,不想出钱那就自己配置yum源就好了. 首先,博主之前也没用过redhat,第一次用yum装包的时候提示什么没注册之类的,balaba一大堆,然后就 ...
随机推荐
- C语言-预估校正法求常微分方程
#include<stdio.h> #include<math.h> #define n 14 int main(){ double a = 0.0, b = 1.4,h,m= ...
- Nutch2.x
http://www.micmiu.com/opensource/nutch/nutch2x-tutorial/
- 超简单的js数字验证
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.or ...
- Beagleboard xm sd卡恢复
来源于:http://circuitco.com/support/index.php?title=BeagleBoard-xM windows下恢复更加简单,推荐windows系统下恢复. To in ...
- 亲身试用python简单小爬虫
前几天基友分享了一个贴吧网页,有很多漂亮的图片,想到前段时间学习的python简单爬虫,刚好可以实践一下. 以下是网上很容易搜到的一种方法: #coding=utf-8 import urllib i ...
- ubuntu 15.10 install nvidia driver
先添加源sudo add-apt-repository ppa:graphics-drivers/ppa 更新一下:sudo apt-get update (附原始链接:http://www.omgu ...
- MyEclipse中直接打开class文件的方法
安装步骤: 1>下载jad.exe(这是一个class文件的反编译工具,但是是命令行运行编译,使用起来不是很方便:), 将其拷贝到%JAVA_HOME%/bin目录下(其他目录也可). 2> ...
- UE4 中在 Actor 中动态 Create Component 与ChildActor 的 小笔记
Note:旧版本的UE4 的Attach 和12.13版本有些不一样 创建Component: UCpp_MyComponent* temp_imageCom = NewObject<UCpp_ ...
- web页面放到手机页面,缩放问题
有时候写页面样式不规范,很多页面元素写死尺寸时,web页面尺寸比较大放到移动端访问时,就背缩放了,div或者按钮变得好小 可以加段js,效果会好点 <script> ! function( ...
- Jquery.Form和jquery.validate 的使用
有些功能需要我们利用Ajax技术进行POST提交表单,这时候就需要用到jquery.Form ,它有两种方式进行提交, AjaxForm和AjaxSubmit方式. AjaxFo ...