摘要: // 用户db.createUser({user:'sunkaichao', pwd:'123456',roles:['root']})db.auth('sunkaichao','123456')show usersdb.dropUser('sunkaichao')//数据库dbshow dbsus 阅读全文
posted @ 2018-08-20 19:19 Ksitigarbha 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 1:安装node.js的版本控制工具nvm,在终端中执行:curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash2:关闭终端后,重新进入终端,安装nodenvm install node 阅读全文
posted @ 2018-07-21 11:58 Ksitigarbha 阅读(2027) 评论(0) 推荐(0) 编辑
摘要: 步骤: 1,进入家目录下cd ~ 2,创建.pip隐藏文件夹mkdir .pip 3.进入.pip文件夹cd .pip 4,创建pip.conf文件touch pip.conf 5.编辑pip。conf文件gedit pip.conf复制粘贴以下内容:这个是pip清华镜像源[global]index 阅读全文
posted @ 2018-07-14 22:31 Ksitigarbha 阅读(527) 评论(0) 推荐(0) 编辑