Pritunl 搭建时,提示用户名和密码错误的解决方案


注意:Pritunl的登陆界面,默认的用户名和密码都是“pritunl”;


Pritunl,网上的搭建过程有错误,下面是我的搭建过程:

一、安装Pritunl

 

apt-getupdate #首先更新软件源 

 

apt-getinstall -y python-software-properties  #安装add-apt-repository工具包 

sudoapt-get software-properties-common  |tee –a ~/log#安装add-apt-repository工具包

add-apt-repositoryppa:pritunl/ppa  |tee –a ~/log #添加软件源 

 

apt-getupdate #更新 

 

apt-getinstall -y pritunl  |tee –a ~/log #安装pritunl 

 

apt-getupgrade -y #当新版本发布时用此命令进行更新


设置 Pritunl 

在浏览器中输入:https://:9700/,注意用自己IP地址进行替换:
提示:EnterMongoDB URI  默认即可(The database can be changed by running pritunl reconfigure then restart the service byrunning service pritunlrestart you will thenbe prompted to enter the MongoDB uriagain.)。

正常情况就应该出现 Pritunl的登陆界面,默认的用户名和密码都是“pritunl”;

参考地址:https://medium.com/pritunl-tutorials/pritunl-tutorial-3b55c75623fa


进入后会提示修改密码。


进入“Users”选项卡,点击“AddOrganization”输入名称后添加组;

点击“AddUser”命令输入名称后在组下添加用户;

继续点击“Servers”选项卡,点击“AddServer”输入名称后添加服务器;

然后点击“AttachOranization”,将刚新建的组添加到服务器中;

最后点击“StartServer”运行服务,结束设置环节。

下载用户key步骤出错,已经解决!原因:使用了中文名称,改为英文即可!




你可能感兴趣的:(操作系统)