标签:
sudo adduser [username] vboxsf
step 1:
sudo passwd root
step 2:
sudo passwd -u root
you want to work on a root console you can also use
sudo -i
If you want to disable root account in Ubuntu you need to lock the root account by using the following command
sudo passwd -l root
You also need to edit
/etc/ssh/sshd_config
, and comment out the following line:PermitRootLogin without-password
Just below it, add the following line:
PermitRootLogin yes
Then restart SSH:
service ssh restart
I run this command:
npm config set strict-ssl false
Then set npm to run with http, instead of https:
npm config set registry "http://registry.npmjs.org/"
Then I install packages using this syntax:
npm --proxy http://username:password@cacheaddress.com.br:80 install packagename
npm config set proxy http://proxy.company.com:8080 npm config set https-proxy http://proxy.company.com:8080
d
标签:
原文地址:http://www.cnblogs.com/cdjboy/p/5656017.html