all
This commit is contained in:
parent
b2d9201c76
commit
73037972e1
@ -6,11 +6,19 @@ $ mongo
|
||||
> use admin
|
||||
> db.createUser({
|
||||
user: "root",
|
||||
pwd: "root",
|
||||
pwd: "123456",
|
||||
roles: [ { role: "userAdminAnyDatabase", db: "admin" }]
|
||||
}
|
||||
)
|
||||
|
||||
db.auth('root', '123456')
|
||||
db.createUser({
|
||||
user: "light",
|
||||
pwd: "123456",
|
||||
roles: [ { role: "root", db: "admin" }]
|
||||
}
|
||||
)
|
||||
# mongodb://light:123456@127.0.0.1:27017/
|
||||
# mongodb://tester:xyz123@127.0.0.1:27017/test
|
||||
use test
|
||||
db.createUser(
|
||||
{
|
||||
|
||||
@ -7,9 +7,9 @@
|
||||
``` bash
|
||||
sudo apt install nodejs
|
||||
sudo apt install npm
|
||||
npm install npm@latest -g
|
||||
sudo npm install n@latest -g
|
||||
sudo n stable
|
||||
npm install npm@latest -g
|
||||
node -v
|
||||
npm -v
|
||||
```
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
# redis 安装配置
|
||||
|
||||
> https://redis.io/download
|
||||
|
||||
## 安装
|
||||
|
||||
``` bash
|
||||
|
||||
@ -11,5 +11,5 @@ screen -dmS sslocal sslocal -c /etc/shadowsocks.json -d start
|
||||
screen -dmS test ngrokStart -d
|
||||
sudo ./bin/ngrokd -tlsKey=server.key -tlsCrt=server.crt -domain="ngrok.hellolight.me" -httpAddr=":8081" -httpsAddr=":8082"
|
||||
|
||||
|
||||
sudo screen -S 12597 -X quit
|
||||
```
|
||||
18
ubuntu/uget.md
Normal file
18
ubuntu/uget.md
Normal file
@ -0,0 +1,18 @@
|
||||
# ubuntu 16.04 安装使用 uget
|
||||
|
||||
> http://www.cnblogs.com/EasonJim/p/7119294.html
|
||||
|
||||
|
||||
## 安装uget
|
||||
|
||||
``` bash
|
||||
sudo add-apt-repository ppa:plushuang-tw/uget-stable
|
||||
sudo apt update
|
||||
sudo apt install uget
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo add-apt-repository ppa:t-tujikawa/ppa
|
||||
sudo apt update
|
||||
sudo apt install aria2
|
||||
```
|
||||
Loading…
x
Reference in New Issue
Block a user