Ubuntu 8.04 installation record

Source: Internet
Author: User
I changed my machine from vista to ubuntu 8. 04. I feel a lot faster!
The following are some commands used to record the installation process so that you do not forget them.

1. Set Update Server address
If you think the default ubuntu 8.04 update server is not very fast, configure the fastest server address according to reference 1.
Remember to put the fastest server address updated at the beginning of the/etc/apt/sources. list file.

2. Network
First, install a multi-thread download tool. Here we recommend MultiGet, a product provided by alumni of Tongji University. The address is[Http: // multiget.Sourceforge.net/].
Install sudo apt-get install mldonkey-server
Then go [Http: // sancho-Gui.sourceforge.net/#download the graphic interface of mldonkey.

For the firefox plug-in browser, I chose to install the following:
Adblock Plus, Firebug, Flashblock, FlashGot, Greasemonkey, ImageZoom, Paragrasp, ScrapBook
For more information, see references 4.

3. Multimedia
Install various decoder and player
Sudo apt-get install gstreamer0.10-pitfdll gstreamer0.10-ffmpeg
Gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse
Gstreamer0.10-plugins-uugly gstreamer0.10-plugins-uugly-multiverse
To be simpler, you can enter sudo apt-get install gstreamer0.1 * to install more. However, you cannot use more.

Install w32codecs,
Sudo apt-get install w32codecs if the report cannot be found, you need to manually download and install it. This address [Nobody cares? But I didn't tell you !).

The built-in totem player has problems when playing rmvb. Therefore, you must install mplayer.
Sudo apt-get install mplayer
Note that the default configuration of my machine uses the command "mplayer-vo x11 ~ /D/film/some_film.rmvb "can be played normally, because the video and audio parameter settings in mplayer are incorrect. Please select the correct configuration parameters.
In addition, please ensure ~ /. The mplayer/config file exists, and the content contains the line zoom = yes to enable the graphic zoom function.

4. system configuration and management
When executing this section, you are advised to refer to the content in Reference 2 attached for enhanced understanding.

Install the system management console webmin to avoid modifying the configuration file one by one:
Download the debinstallation package at [http://www.webmin.com/download.html#and install the package. Use "GDebi package installer" to open and install the package. If you install the package manually, run the following command: dpkg-I installation package path. enter https: // localhost: 10000 in the browser to open the webmin interface. firefox will prompt that the ssl certificate is incorrect. Add it to the exception list.

However, you cannot log on to webmin at this time because it requires the root account. The default ubuntu is disabled. therefore, you need to use the sudo passwd root command to set a new complex password for the root user, and then use the root account to log on to webmin.

If you feel insecure, you can set the webmin service to disabled by default on the webmin interface. However, remember to run the following command to start the webmin service:/etc/webmin/start in the future, run the/etc/webmin/stop command to close the service.

5. Install the windows simulated environment
Although ubuntu is installed, it is impossible to abandon windows completely. Therefore, we need two tools: wine and virtual box. the advantage of the former is that the speed is fast and the resource usage is small; the latter is completely simulated. the command is as follows:
Sudo apt-get install wine
Go to [http://www.virtualbox.org/wiki/downloads#to download the installation package of the latest virtual box (which has been bought by sun). Install it directly.

6. Beautify the font
First install a windows xp environment in virtualbox, and then copy the font to your ~ /Myfonts directory, and then
Sudo ln-s ~ /Myfonts/usr/share/fonts
Sudo chmod 755 ~ /Myfonts /*
Sudo mkfontscale
Sudo mkfontdir
Sudo fc-cache-fv
Finally, store the configuration content in reference 11 to/etc/fonts/language-selector.conf, do not overwrite or modify/etc/fonts/font as some posts said. conf, which cannot be started.

7. Modify the ntfs mount.
The ntfs disk cannot be written, so modify the ntfs mount row in/etc/fstab to the following:
/Dev/sda5/media/WORK ntfs-3g uid = 1000, gid = 1000, dmask = 022, fmask = 133, defaults, locale = zh_CN.UTF-8 0 0

To install a notification program, I need to notify myself regularly (programming is easy to forget the time)
Sudo apt-get install libnotify-bin
Command usage: notify-send "hello"

Run the crontab-e command and enter the following content:
0-30/10 0 *** halt-p
30-59/10 22 *** halt-p
30-59/10 18 ** 1-5 halt-p
30-59/9 23 *** y-send "the system will shut down on time at. Please keep the progress in time"
0-30/10 22 **** running y-send "system will shutdown"
45 11 ** 1-5 running y-send "launch time"
0 12, 14, 18 ** 1-5 export DISPLAY =: 0 & totem -- play ~ /Music. pls

Partial content of menu. lst of GRUB with multiple startup:

# This is a divider, added to separate the menu items below from the Debian
# Ones.
Title Other operating systems:
Root

# This entry automatically added by the Debian installer for a non-linux OS
# On/dev/sda2
Title Microsoft Vista Ultimate
Root (hd0, 1)
Savedefault
Makeactive
Chainloader + 1

References:

  1. Ubuntu hard (8.04) source list
  2. [Sharing] optimizing ubuntu from the beginning
  3. Install WEBMIN in ubuntu [http://blog.chinaunix.net/u1/34948/showart_322026.html]
  4. Top 50 FireFox extensions to improve browsing experience [http://www.william amlong.info/archives/702.html]
  5. How to regularly start the graphic application in linux [http://ubuntu.group.javaeye.com/group/blog/42675]
  6. Ubuntu Timed Shutdown [http://www.linuxdiyf.com/viewarticle.php? Id = 88888]
  7. Linux/Unix scheduled task system-cron and crontab)
  8. Dia and planner, a project management tool under ubuntu
  9. [Http://www.debianadmin.com/enable-and-disable-ubuntu-root-password.html]
  10. Ubuntu below frequently used Command [http://www.denimcc.cn/article.asp? Id = 383]
  11. Fix the Ubuntu font to make you feel like in windows

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.