how to access share folder in ubuntu virtualbox
sudo adduser [username] vboxsf
enable root and ssh root login
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
npm config settings
- 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:[email protected]:80 install packagename
npm config set proxy http://proxy.company.com:8080 npm config set https-proxy http://proxy.company.com:8080
d
时间: 2024-10-10 06:44:38