- 添加lmis用户
以root用户登录,建立lmis用户
adduser lmis
修改lmis用户密码
passwd lmis
- 将新建立的用户加到sudoer组中去
修改/etc/sudoers文件,将lmis用户添加到文件中去,可参考add user to sudoers - 将cenetos上的selinux disable
参考how to:disable selinux on centos
yum install curl wget
yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel
yum install -y gcc ruby-devel libxml2 libxml2-devel libxslt libxslt-devel
yum install mysql-devel
yum install httpd
yum install mysql-server
service mysql start