CentOS7.4.1708にjumpserver4.0をインストールするコマンド

2018年3月13日

1.システム
1.1 依存パッケージのインストール
#yum install epel-release
#yum install -y redis

#yum install -y zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel gcc gcc-c+

#yum -y install git python-pip mysql-devel gcc automake autoconf python-devel vim sshpass lrzsz readline-devel
#yum -y install sqlite-devel libffi-devel openssl-devel

1.2 python3のインストール
#mkdir /usr/local/python3.6
#tar -xvf Python-3.6.1.tgz -C /usr/local/python3.6/
#./configure –prefix=/usr/local/python3.6/
#make && make install
#ln -s /usr/local/python3.6/bin/python3.6 /usr/bin/python3.6
#ln -s /usr/local/python3.6/bin/pip3.6 /usr/bin/pip3.6

1.3 python環境の設定
#python3.6 -m venv jumpserver_py3.6
#source /opt/jumpserver_py3.6/bin/activate

2.Jumpserver 0.4.0のインストール
2.1 Jumpserver 0.4.0のダウンロード
#cd /opt/
#git clone https://github.com/jumpserver/jumpserver.git

2.2 依存rpmのインストール
#yum -y install libtiff-devel libjpeg-devel libzip-devel freetype-devel
lcms2-devel libwebp-devel tcl-devel tk-devel sshpass openldap-devel
#pip install -r requirements.txt
#chmod +x make_migrations.sh

Linux

Posted by arkgame