标签:
sudo adduser [username] vboxsf
step 1:
sudo passwd rootstep 2:
sudo passwd -u rootyou want to work on a root console you can also use
sudo -iIf 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-passwordJust below it, add the following line:
PermitRootLogin yesThen restart SSH:
service ssh restart
I run this command:
npm config set strict-ssl falseThen 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 packagenamenpm 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