在Centos7下安裝pritunl vpn 原

第一步,要確保selinux是disabled

第二步,安裝mongodb,自行搜索安裝方式

第四步,創建數據目錄

mkdir -p /data/mongodata


第五步,啓動mongodb

開始安裝pritunl

第一步,創建pritunl源

 

vi /etc/yum.repos.d/pritunl.repo
[pritunl]
name=Pritunl Repository
baseurl=http://mirrors.shuosc.org/pritunl/stable/yum/centos/7/
gpgcheck=1
enabled=1

第二步,安裝pritunl

yum install epel-release

yum install pritunl

(如果遇到這個命令下載文件中斷,自行單獨下載安裝一下)

wget http://mirrors.shuosc.org/pritunl/stable/yum/centos/7/pritunl-1.26.1188.41-1.el7.centos.x86_64.rpm

rpm -ih pritunl-1.26.1188.41-1.el7.centos.x86_64.rpm 

第三步,啓動服務

systemctl start pritunl

systemctl enable pritunl

第四步,使用pritunl

使用瀏覽器訪問:https://Your-Server-IP:443

//setup 在服務器上執行pritunl setup-key 生成key 使用默認的用戶名和密碼登陸(pritunl:pritunl);

初始化設置 添加組織 添加server Attach Organisation 啓動server 創建user 下載配置文件

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章