您的位置:首页 > 运维架构 > Linux

Some tips about ubuntu server | or it may works on other linux distributions too

2008-08-29 15:24 591 查看
Mount usb-hdd/usb-flash disk to Ubuntu Server:

1, plug the hardware

2, run below command, see which maybe the device name

tail -f /var/log/messages

3, mount it

sudo mount -t <file system type|vfat> <device name|/dev/sdb2> <path to mount|/mnt>

Install Linux header files (maybe for vmware server):

1, run

uname -r

2, run

sudo apt-get install linux-headers-<output from the last command>

Removed your only account out of sodoers:

1, reboot machine.

2, press esc when grub loading

3, select "recovery mode (single root)" mode

4, run

usermod -g admin <username>

5, exit
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐