Difference between revisions of "RHEL"
From Wasya Wiki
(→RHEL setup) |
|||
| Line 12: | Line 12: | ||
# screenrc | # screenrc | ||
# virtual site for another port for now... | # virtual site for another port for now... | ||
| + | # enable proxy_module for httpd | ||
| + | # /etc/httpd/conf/httpd.conf, include all virtual site definitions | ||
== RHEL bashrc == | == RHEL bashrc == | ||
Revision as of 21:56, 2 June 2017
RHEL setup
yum install httpd -y service httpd start yum install git emacs screen -y yum groupinstall "Development Tools" -y yum install -y openssl-devel readline-devel zlib-devel # manage keys # get rbenv, rubies # put stuff in that ~/.bashrc file # screenrc # virtual site for another port for now... # enable proxy_module for httpd # /etc/httpd/conf/httpd.conf, include all virtual site definitions
RHEL bashrc
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
alias ll='ls -lah'
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
export PATH="/opt/.rbenv/bin:$PATH"
export RBENV_ROOT="/opt/.rbenv"
if [ -d "${RBENV_ROOT}" ]; then
export PATH="${RBENV_ROOT}/bin:${PATH}"
fi
eval "$(rbenv init -)"