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
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
相关文章推荐
- Cannot install ubuntu or other linux flavours on citrix Xen server
- Webcam Streaming Desktop Recording on Linux for ubuntu or its destros
- How to install Firefox 17 on Linux Mint, Ubuntu, Debian, CentOS, Fedora ... or any other Linux dist
- [easy way] remote access a ubuntu pc (or some other Linux)
- some website about something or other persons
- Choreographer: Skipped 129 frames! The application may be doing too much work on its main thread.
- Domino Server installation on Linux (Centos or Redhat) – something somewhere
- Simple ASP.NET 2.0 Tips and Tricks that You May (or may not) have Heard About [from internet]
- Andriod部分手机频繁闪退,vivo y55a等,Skipped 62 frames! The application may be doing too much work on its main thread
- The application may be doing too much work on its main thread.
- 解决Linux下Firefox启动报错找不到配置文件。Your Firefox profile cannot be loaded. It may be missing or inaccessible.
- notes about crosstool,uboot,mysql and some tools in linux(ubuntu)
- The application may be doing too much work on its main thread.
- Compiling Xen-4.4 From Source And Installing It On Ubuntu Server (Amd-64)
- Simple ASP.NET 2.0 Tips and Tricks that You May (or may not) have Heard About [from dwahlin]
- sql-server-on-linux-how-i-think-they-did-it : Anthony Nocentino's Blog
- swagger在本地没问题可是上传至服务器报错解决办法Can't read from server. It may not have the appropriate access-control-or
- Installing Git on a server (Ubuntu or Debian)
- ubuntu下安装 Sql server on linux