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一大堆,然后就 ...
随机推荐
- 第三章 DOM
节点的概念 5个常用的DOM方法:getElementById.getElementsByTagName.getElementsByClassName.getAttribute.getAttribut ...
- CodeSimth - .Net Framework Data Provider 可能没有安装
使用CodeSimth 连接SQLite数据库库 提示错误 codesmith 6以上的版本,说是支持sqlite生成,也有对应的sqliteprovider.dll,但是使用时却说Test fail ...
- Java 数组声明与初始化
引言 学习了好久的java,每次要写数组的声明和初始化代码,总是理不清.最近又碰到了一次这种情况.这次拿出<Thinking In Java>好好总结一翻. 数组声明 对于数组的声明其实都 ...
- 在web.config配置中添加xml内容
在web.config 中添加需要的内容时, 就是在<configuration>节点内添加一个新的<configSections>元素, 在configSections元素中 ...
- Mac下使用firefoxdriver
Mac使用Firefox浏览器只需要设置WebDriver driver = new FirefoxDriver(),不需要安装firefoxdriver,前提是你的Firefox被安装在默认的位置. ...
- 0526 Sprint1个人总结 & 《构建之法》第八、九、十章
Sprint1的个人总结: 我是老人组的成员,我们是做一款四则运算训练的软件.然后我是接了界面设计的任务,所以我任务将会是sprint1中相对重一点的一方.我的感觉是,界面要做得充满童趣,毕竟我们的软 ...
- Ubuntu 手工挂载硬盘
首先我们得到到/dev/sda3这个分区的UUID,使用以下命令: sudo blkid /dev/sda3 结果如下: 然后,我们按照/etc/fstab文件中的格式添加一行如下内容: UUID=9 ...
- Java的多态
多态的定义: 同一种行为,在不同对象上有不同的表现形式 实现多态的条件: 要有继承 要有方法的重写 要有父类的引用指向子类的对象 代码如下: public class Animal { String ...
- Valid Palindrome ---- LeetCode 125
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignori ...
- Git 的深入理解与GitHub托管服务(转)
源代码管理系统(SCM)与版本控制 版本控制是一种记录若干文件内容变化,以便将来查阅特定版本修订情况的系统. 本地版本控制系统 许多人习惯用复制整个项目目录的方式来保存不同的版本,或许还会 ...