Difference between revisions of "RHEL"

From Wasya Wiki
Jump to: navigation, search
(Created page with " == RHEL setup == yum install httpd -y service httpd start yum install git emacs -y yum groupinstall "Development Tools" -y # manage keys")
 
(RHEL setup)
Line 4: Line 4:
 
  yum install httpd -y
 
  yum install httpd -y
 
  service httpd start
 
  service httpd start
 
+
  yum install git emacs screen -y
  yum install git emacs -y
+
 
  yum groupinstall "Development Tools" -y
 
  yum groupinstall "Development Tools" -y
 
+
yum install -y openssl-devel readline-devel zlib-devel
 
  # manage keys
 
  # manage keys
 +
# get rbenv, rubies
 +
# put stuff in that ~/.bashrc file
 +
# screenrc
 +
# virtual site for another port for now...
 +
 +
== RHEL bashrc ==
 +
<pre>
 +
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 -)"
 +
</pre>
 +
 +
== virtual site ==
 +
<pre>
 +
 +
</pre>

Revision as of 21:36, 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...

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 -)"

virtual site