Welcome 微信登录

首页 / 操作系统 / Linux / 在虚拟机上安装和使用Ubuntu日志

1)下载安装iso文件 http://www.linuxidc.com/Linux/2012-04/59239.htm2)执行startx进入图形界面3)从Ubuntu上访问windows文件位置->连接到服务器,在服务类型中选择“windows共享”,在服务器中输入windows计算机的ip地址或计算机名,点击连接,这样在系统桌面中就会显示一个连接到windows 计算机的文件卷,里面就是windows计算机的共享目录了。 
同样在访问的时候要输入smb的用户名和密码。
或者使用下列命令加载:mount -t smbfs -o iocharset=uft8,codepage=cp936,clmask=777,fmask=777,userneme=[username],password=[password] //192.168.0.1/share /mnt/diskD4)增加一个普通用户sudo adduser dev -home /home/dev 5)将最大化,最小化和关闭的按钮从窗口的左上角移动到右上角Press Alt+F2 to bring up the Run Application dialog box, enter “gconf-editor” in the text field, and click on Run.
navigate to apps/metacity/generalchange the value of button_layout to "menu:minimize,maximize,close"6)切换到安装用户,然后执行下列命令关闭虚拟机sudo shutdown -hP now7) 安装deb包sudodpkg -i package_file.deb(http://www.debian.org/distrib/packages)8)配置系统代理gconf-editor然后在host和port中填入合适的值后选中use_http_proxy。 这样以后使用ant的时候可以使用ant -autoproxy就可以利用系统代理的配置 9) 显示所有文件按下 Ctrl+H 在文件浏览器窗口, 所有隐藏的文件会被显示。Fairly useful shortcut key. If you would just prefer to make this be the default setting when using file browser, go to the Edit menu and select Preferences: Check the “Show hidden and backup files” checkbox, and you should now see the hidden files all of the time.10)查看网络端口netstat -natl11)为apt-get设置http代理
export http_proxy=http://yourproxyaddress:proxyport
 
12)安装full版本vim软件

sudo apt-get install vim
13) 安装拼音输入法请打开终端,并执行以下命令为了防止scim与fcitx冲突,如果你安装了scim,你最好卸载掉scim(有一次我的fcitx莫名其妙无法上屏,卸载掉就正常了):sudo apt-get purge scim
sudo add-apt-repository ppa:fcitx-team/stable #最新的版本都不需要sudo apt-get updatesudo apt-get install fcitx fcitx-config-gtk fcitx-sunpinyinsudo apt-get install fcitx-table-all #同时安装其他码表im-switch -s fcitx -z default#设为默认输入法,一般不需要,除非系统有多个输入法


14) 在VIM中显示中文
编辑~/,vimrc,加入如下三行
set encoding=utf-8
set fileencodings=utf-8,gb2312,gb18030,gbk,ucs-bom,cp936,latin1 " 如果你要打开的文件编码不在此列,那就添加进去
set termencoding=utf-8 15)查看网络连接端口的进程名称和IDlsof -n -i 16)安装文件编码查看工具
sudo apt-get install enca安装后用enca -f filename更多Ubuntu相关信息见Ubuntu 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=2Ubuntu中出现xxx is not in the sudoers file解决方法Linux下分区详解之--Fdisk相关资讯      Ubuntu入门教程 
  • 10个调整让Ubuntu宾至如归  (08/25/2014 06:51:16)
  • Ubuntu 11.10 升级到 12.04 后   (05/20/2012 08:58:03)
  • Ubuntu下的IPMI  (05/19/2012 08:25:38)
  • Ubuntu 12.04 Server安装Gerrit  (05/21/2012 05:42:28)
  • Ubuntu的preseed文件  (05/19/2012 08:26:30)
  • Ubuntu 直接修改IPMIweb登录密码  (05/19/2012 08:24:01)
本文评论 查看全部评论 (0)
表情: 姓名: 字数