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一大堆,然后就 ...
随机推荐
- ReactJS实现的通用分页组件
大家多少都自己写过各种版本的分页工具条吧,像纯服务版的,纯jsWeb板的,Angular版的,因为这个基础得不能再基础的功能太多地方都会用到,下面我给出以个用ReactJS实现的版本,首先上图看下效果 ...
- python获取指定时间段内的随机不重复的时间点
上篇 <python时间时分秒与秒数的互相转换>http://www.cnblogs.com/gayhub/p/6154707.html 提到了把时间转成秒数的方法, 这篇写写转换成秒数后 ...
- Objective-C学习笔记-第四天(1)
解决以下昨天遇到的问题 1.@class与import是怎么样的呢?参考:http://www.cnblogs.com/ios8/p/ios-oc-test.html 在头文件中, 一般只需要知道被引 ...
- Python学习路程day21
本节内容: 项目实战:开发一个WEB聊天室 功能需求: 用户可以与好友一对一聊天 可以搜索.添加某人为好友 用户可以搜索和添加群 每个群有管理员可以审批用户的加群请求,群管理员可以用多个,群管理员可以 ...
- 样式PC和手机页面
/*媒体查询--当页面大于1200px时*/ @media (min-width: 1200px) { } /*在922和1199像素之间的屏幕里,中等屏幕*/ @media (min-width: ...
- ubuntu卸载安装mysql
安装(转自http://www.cnblogs.com/xz1024/p/5802637.html): deb安装: 一.下载MySQL 到mysql网站下载相应的mysql安装包,我的mysql-s ...
- Orchard中的命令行工具
在Orchard中提供了一个命令行工具,我们可以使用这个命令行工具创建用户.创建博客.生成代码.配置网站.打包模块等.并且这个命令行工具是可以扩充的,只要我们在自己开发的模块中创建一个Command类 ...
- css实现隐藏显示
<head> <meta http-equiv="content-type" content="text/html;charset=utf-8" ...
- [GodLove]Wine93 Tarining Round #6
比赛链接: http://vjudge.net/contest/view.action?cid=47642#overview 题目来源: 2012 ACM/ICPC Asia Regional Jin ...
- 黑马.net12期视频教程
完整高清视频http://www.ggfenxiang8.com/?p=301