Install and use Ubuntu logs on virtual machines

Source: Internet
Author: User
1) download and install the iso file http://www.linuxidc.com/Linux/2012-04/59239.htm2) execute startx to enter the GUI 3) Access windows File Location from Ubuntu-& gt; connect to the server, select windows share in service type ", enter the IP address or computer name of the windows computer in the server and click Connect. Then, a file connected to the windows computer is displayed on the desktop.

1) download and install the iso file http://www.linuxidc.com/Linux/2012-04/59239.htm

2) execute startx to enter the graphic interface

3) Access windows files from Ubuntu

Location-> connect to the server, select "windows sharing" in the service type, enter the IP address or computer name of the windows computer in the server, and click Connect, in this way, a file volume connected to a windows computer is displayed on the system desktop, which is the shared directory of the windows computer.
Enter the user name and password of smb during access.

Or use the following command to load:

Mount-t smbfs-o iocharset = uft8, codepage = cp936, clmask = 777, fmask = 777, userneme = [username], password = [password] // 192.168.0.1/share/mnt/diskD

4) Add a common user

Sudo adduser dev-home/dev

5) The maximize, minimize, and close buttons are moved from the upper left corner of the window to the upper right corner.

Press Alt + F2 to bring up the Run Application dialog box, enter "gconf-editor" in the text field, and click on Run.

NavigateApps/metacity/general

Change the valueButton_layout"Menu: minimize,Maximize,Close"

6) switch to the installer and run the following command to disable the VM:

Sudo shutdown-hP now

7) install the deb package

SudoDpkg-I package_file.deb

Http://www.debian.org/distrib/packages)

8) configure the system proxy

Gconf-editor

Enter the appropriate value in host and port and select use_http_proxy. In this way, you can use ant-autoproxy to configure the system proxy.

9) display all files

Press Ctrl + H to display all the hidden files in the file browser window. Fairly useful shortcut key. if you woshould 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 shoshould now see the hidden files all of the time.

10) view the network port

Netstat-natl

11) set http proxy for apt-get
Export http_proxy = http: // yourproxyaddress: proxyport
 
12) install the full vim Software

Sudo apt-get install vim

13) install the Pinyin Input Method

Open the terminal and run the following command

To prevent scim conflicts with fcitx, if you have installed scim, you 'd better uninstall scim (once my fcitx was inexplicably unable to go to the screen, it would be normal to uninstall it): sudo apt-get purge scim


Sudo add-apt-repository ppa: fcitx-team/stable # The latest versions do not require sudo apt-get updatesudo apt-get install fcitx-config-gtk fcitx-sunpinyin
Sudo apt-get install fcitx-table-all # install other code tables at the same time
Im-switch-s fcitx-z default # set as the default input method, which is generally not required unless the system has multiple input methods

14) display Chinese Characters in VIM
Edit ~ /, Vimrc, add the following three lines
Set encoding = UTF-8
Set fileencodings = UTF-8, gb2312, gb18030, gbk, ucs-bom, cp936, latin1 "if the file encoding you want to open is not included in this column, add it
Set termencoding = UTF-8   15) view the process name and ID of the network connection Port Lsof-n-I   16) install the file encoding viewing tool
Sudo apt-get install enca Install and use Enca-f filename

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.