码迷,mamicode.com
首页 > 系统相关 > 详细

Ubuntu 使用

时间:2018-12-12 14:59:01      阅读:230      评论:0      收藏:0      [点我收藏+]

标签:manifest   PFS   安装   vcenter   bin   vmw   conf   .sh   dia   

1)初始安装后,方向键/退格键乱码

/etc/vim/vimrc.tiny

set compatible->set nocompatible

下面再增加一行:

set backspace=2

 2)配置网卡信息

/etc/network/interfaces

技术分享图片

reboot

3)创建用户,并授予root权限

useradd -r -m -s /bin/bash elan

chmod u+w /etc/sudoers

在root下面跟着加上

elan ALL=(ALL:ALL) ALL

4)vmware环境中安装vmware tool

vCenter中选择安装vmware tool,这会自动将vmware tool的内容加载到光盘中:

elan@elan-virtual-machine:/media/elan/VMware Tools$ su - root
Password:

root@elan-virtual-machine:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            486M  4.0K  486M   1% /dev
tmpfs           100M  1.2M   99M   2% /run
/dev/sda1        15G  3.8G   11G  27% /
none            4.0K     0  4.0K   0% /sys/fs/cgroup
none            5.0M     0  5.0M   0% /run/lock
none            497M  152K  497M   1% /run/shm
none            100M   68K  100M   1% /run/user
/dev/sr0         56M   56M     0 100% /media/elan/VMware Tools
root@elan-virtual-machine:~# cd /media/elan/VMware\ Tools/
root@elan-virtual-machine:/media/elan/VMware Tools# ls
manifest.txt     VMwareTools-10.2.0-7253323.tar.gz  vmware-tools-upgrader-64
run_upgrader.sh  vmware-tools-upgrader-32
root@elan-virtual-machine:/media/elan/VMware Tools#

root@elan-virtual-machine:/media/elan/VMware Tools# tar -xzf VMwareTools-10.2.0-7253323.tar.gz -C /tmp
root@elan-virtual-machine:/media/elan/VMware Tools# cd /tmp
root@elan-virtual-machine:/tmp# ls
config-err-Kugrt6  unity_support_test.1  vmware-tools-distrib

root@elan-virtual-machine:/tmp# cd vmware-tools-distrib/
root@elan-virtual-machine:/tmp/vmware-tools-distrib# ls
bin  caf  doc  etc  FILES  INSTALL  installer  lib  vgauth  vmware-install.pl
root@elan-virtual-machine:/tmp/vmware-tools-distrib# ./vmware-install.pl

  

 5)源

16.04 国内清华大学的源

https://www.linuxidc.com/Linux/2017-11/148627.htm

 

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main restricted universe multiverse

 

 

14 源

https://blog.csdn.net/u010053463/article/details/49300625

Ubuntu 使用

标签:manifest   PFS   安装   vcenter   bin   vmw   conf   .sh   dia   

原文地址:https://www.cnblogs.com/Elaine-Lan/p/10099059.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!