VMwareDebainEtch40r3 Installation notes

Source: Internet
Author: User
Tags gpg
VMwareDebainEtch40r3 Installation notes-Linux Release Technology-Debian information. For more information, see the following. Author: ifeifei

Install and set VMware
1. Check the instruction set supported by the CPU (32 or 64-bit) to ensure MB memory and 8 GB hard disk storage space.

2. VMware can install v5.5.4.44. After v6.0.0.0 is displayed in full screen mode, the tool bar will not work properly.

3. When a New virtual machine is created, select Custome, Other linux2.6x kernel 64bit (Host CPU architecture), the memory size is 512 MB, and network settings. If you want to share the Internet with windows, you can select "NAT". If you want to Use "Use bridged networking" for a network independent from windows, refer to "vmwarevm installation" for network configurations of virtual machines ". Select LSI Logic when using the SCSI Adapter. Select SCSI for the hard disk. The size is tentatively set to 8.0 GB.



Install Base System
1. Because the school network is good, I chose network installation. Mount the debian-40r3-i386-netinst.iso disc to the CD-ROM of the Virtual Machine and start the virtual machine to start installation.

2. English language> Other Region-> China-> American english keyboard. The Host name uses Debian and the Domain uses tsinghua.edu.cn.

3. Select Use entire disk and LVM for the disk Partition, and select Separate/home/usr/swqp… for Partition Scheme... Partition result,/home-2.9GB-ext3/usr-289.3MB-ext3 swap_1-494.9MB-swap,/tmp-260MB-ext3,/usr-3.0GB-ext3,/var-1.4GB-ext3. Because the virtual disk is selected, the size of the Virtual Disk varies with the amount of software installed.

4. Set the Root password and create a new user name and password.

5. Install the minimum system. It takes about 8 minutes.

6. Set the network. You do not need a network image (set after installation). The apt source will be automatically set later, which takes several minutes.

7. Install GRUB. After installation, restart.



Adjust settings under Base
1. Network.

Modify the network inversion, run vim/etc/network/interfaces AFTER root login, and add a line of auto eth0 after allow-hotplug etho. DHCP will be used to assign a dynamic IP address to eth0.

Run/etc/init. d/networking restart to restart the network.

Run ifconfig to check that an IP address already exists (if the Internet is shared, the IP address is 192 ). In the XP Network Neighbor attribute of the host, set local connection> advanced to share. If it is in NAT mode, select share with vmnet8. VMnet1/8 Vmprotocal to be checked, can be shared with wondows out of school or abroad.



2. Modify Sourcelist

Run vim/etc/apt/sources. list and modify sourceslist according to the image writing format (see other blog articles ).

If you select a Tsinghua image (cn99.com is not selected, it already contains the debian-keyring Software Package), run apt-get update and the GPG error is displayed. The correction method is as follows.

Run gpg -- keyserver keyring.debian.org? Recv-keys "last eight bits"

Run gpg? Armor? The last eight digits of export | apt-key add?

Run apt-get update to correct GPG error.



3. Modify the clock

Run vim/etc/default/rcS to change the time zone UTC = yes to no.

Run apt-get install ntpdate.

Run vim/etc/default/ntpdate, NTPSERVERS = "time.windows.com" (or another XP time server), save and exit. After each restart, Debian will synchronize with the time server, in this way, time synchronization between debian and xp is achieved.

Execute ntpdate time.windows.com to synchronize the time in real time.



4. Set locales.

# Dpkg-reconfigure locales

Ensure that those starting with zh_CN and zh_TW are selected, especially those with UTF-8. Then select zh_CN.UFT8 as the interface language. At the next startup, it will be the Chinese environment. If you do not want to use the Chinese interface, you can keep the en_US.UTF-8 unchanged.



5. Driver sound card

# Apt-get install alsa-base alsa-utils

# Alsaconf select the first snd-ens1371 (AudioPCI-97) in the displayed interface and press Enter.

# Alsamixer adjusts the volume.

# Alsactl store Save settings.

# Cat/dev/urandom>/dev/dsp. If there is sound, it indicates that the sound card has been correctly driven.

Install gnome Desktop Environment
1. Install gnome Desktop Environment

Execute apt-get install x-window-system, which is the basic X system. At the end of the installation process, the system will ask the user to set xerver-xrog. Because my monitor is a 17-inch LCD, select 1280*768,800, 600,640*480.

Execute apt-get install gnome. It takes about 25 minutes to complete the installation.

Run apt-get install TPD (GNOME Display Manager). This is the startup interface. If not, it will be accessed from the console every time, and then enter startx to enter Gnome. However, Etch has installed this package by default when installing gnome.

Run apt-get install menu. After GNOME is installed, there is a "Debian menu" in the application bar, which is blank by default and does not have any menu items. Use this menu, you need to install the menu package. After installation, you can find the software installed on the Debian system in the "Debian menu" bar.





2. Install VMtools

VMtools is equivalent to the graphics card driver of virtual machines. It is a set of drivers that enhance the performance and functions of virtual machines and provides the following functions:

1) Update the graphics card driver in the virtual machine to enhance the virtual graphics card, so that XWindows in the virtual machine can run in SVGA mode, support up to 32-bit display and higher display resolution.

2). A vmware-toolbox is provided. This tool in Xwindows allows you to modify some VMWare parameters and functions, such as shared folders of systems and hosts under virtual machines.

3). Synchronize the Time of the VM and Host.

4). Supports starting from a partition and starting from a virtual machine, and automatically modifying the corresponding settings file.



Before installation, install GCC and kernel-header for the installation of vmtools.

# Gcc-v: Check whether gcc has been installed. Its version will be displayed if it is installed.

# Apt-get install gcc, install gcc, and use gcc after installation? Run the v command to view the gcc version.

# Uname? A. Check the Linux release version and kernel version. My version is: Linux debian-40r3 2.6.18-6-486.

# Apt-cache search headers 2.6.18-6-486: search for Kernel-related header files.

# Apt-get install Linux hearders-2.6.18-6-486, install kernel-header.

After the preparation is complete, you can install vmtools.



The first step is to host VMware Workstation-> VM-> Install vmware tools... In this case, a newly generated VMware Tools CD is displayed under the Virtual Machine Debian. Sometimes the CD is full of empty files, which can be solved after restart (for some reason, it may be that the disk needs to be restarted after being mounted ).

Step 2: # mkdir tmp/vmtools. Create a vmtools folder in the/tmp directory

# Cd/tmp/vmtools. Enter the new directory.

# Cp/media/cdrom0/VMware-linux... ./. Copy the files in CD.

Step 3: # tar xzvf VMware-linux .... Decompress and install vmtools.

# Cd/vmware-tools-distrib. Enter the new folder that is decompressed

#./Vmware-install.pl. Run the command and press Enter.

When the installation is complete, the screen resolution will be set to the best resolution (my version is 1280*1024). After the vmtools installation is complete, you can also set the shared folder of the Guest and Host in VM> Setting under XP. In addition, you can add support for the scroll wheel through the following settings.

# Vim/etc/X11/xorg. conf

Line 3: Change "ps/2" to "ImPS/2 ".

All changes made in Debian must be logged Out and then logged in.

Font and input method
3.1 font

Linux's support for East Asian fonts has not been very good, so its beautification is a headache, and countless beginners waste a lot of time here. I have installed the font and input method by referring to the online materials and made some simple beautification to satisfy my daily application. Now I write my installation process here, hoping to save everyone's time.

Step 1: install the required deb software package.

# Apt-get install ttf-bitstream-vera. Our font beautification relies on Bitstream Vera family fonts, so we first install this software package.

# Apt-get install ttf-arphic-ukai. DING Wen.

# Apt-get install ttf-arphic-uming. Wen Ding, Song ti.

# Apt-get install xfonts-wqy. Wenquanyi lattice font. I heard that the official black dot matrix of wenquanyi has come out. It is said that the effect is good. Well, when can I get it.

Step 2: modify the configuration file.

Download the configuration files 65-fonts-zgx.conf and 90-synthetic-zgx.conf and 95-synthetic-zgx.conf to the/etc/fonts/conf. avail/directory.

Next, we will create a symbolic link under/etc/fonts/conf. d/to point to the two configuration files just downloaded:

# Cd/etc/fonts/conf. d

# Ln-s ../conf. avail/65-fonts-zgx.conf

# Ln-s ../conf. avail/90-synthetic-zgx.conf

# Ln-s ../conf. avail/95-synthetic-zgx.conf



If you think the font optimization effect is not satisfactory, consider using the Windows Font. First, delete the link file and copy the font in C: \ Windows \ fonts to/usr/local/share/fonts, in addition, you must modify the font's read and write permissions to 644 (normal users have read permissions ).

Simfang. ttf imitation

Simhei. ttf simhei

Simkai. ttf entity

Simsun. ttf and, original file name: simsun. ttc

Tahoma. ttf tahoma font

Tahomabd. ttf tahoma font in bold

Verdana. ttf verdana font

Verdanab. ttf verdana in bold

Verdanai. ttf verdana font in italic format

Verdanaz. ttf verdana font in bold + italic format

Run fc-cache.





3.2 install the input method fcitx.

# Apt-get install fcitx. Install the penguin input method.

#/Vim etc/X11/Xsession. d/55gnome-session_gnomerc. Add the following content at the end of the file.

Export XIM_PROGRAM = fcitx

Export XIM = fcitx

Export XMODIFIERS = "@ im = fcitx"

Fcitx &

Use the penguin Input Method on the English interface.

# Vim/etc/gtk-2.0/gtk. immodules. Add "en: ko" ja: th: zh "before" ko: ja: th: zh "to enable the GTK program to use xim as the input method in the en_US environment.

Network
# Apt-get install mozilla-firefox. The default browser is not easy to use. It is better to install Firefox.

# Apt-get install gaim. A good chat software that is compatible with most instant chat tools, such as QQ and MSN. The new version is renamed as pidgin and only available in sid.

# Apt-get install qterm. The qterm of the BBS.

# Apt-get install lftp. The ftp tool in Linux is quite powerful.

# Apt-get install wget. The automatic download tool in Linux. Gnome has been installed.



Multimedia
5.1 install the video player and decoder.

# Apt-get install w32codecs ffmpeg libdvdcss. Install the decoder. W32codecs and libdvdcss cannot directly find the installation package in the source. In this case, you need to download the package online.

# Apt-get install mplayer kmplayer. Install the video player.

5.2 Install Multiple audio players

# Apt-get install xmms.

So far, a Debian_etch40r3 system with basic network and entertainment functions that can be developed in linnux has been installed. The next application is divided into two steps: one is the addition of daily functions, including email, document processing, and other functions, which makes it possible to complete windows functions in linux, since I installed a virtual machine, I don't plan to study it any more unless necessary.
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.