Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to customize and minimize installation of ubuntu8.04

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article will explain in detail how to achieve custom minimum installation of ubuntu8.04. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.

# the script directory must exist at the same time:

# sources.list.hardy

# backup.tar.gz

# +

Sudo mv / etc/apt/sources.list / etc/apt/sources.list.bak

Sudo cp sources.list.hardy / etc/apt/sources.list

# change back to the default read and write permissions of sources.lst

Sudo chmod 644 / etc/apt/sources.list

# system upgrade

Sudo aptitude update | tee logfile

Sudo tar xzvf backup-*.tar.gz-C /

Sudo aptitude safe-upgrade | tee-a logfile

# install X window, gdm,gnome core components

Sudo aptitude install-y xserver-xorg-core gdm gnome-core compiz | tee-a logfile

# +

# in this way, the basic X window is ready to start, and execute the startx command to enter the desktop. Then you can execute the following command in the terminal under the X window:

# startx

# then you can execute the following command in the terminal under the X window.

# Audio and video solution. Exaile will automatically package the required gstreamer dependencies, so that mp3 can be played directly.

# replaced the music player ── Exaile here is a brief introduction to the exaile music player

# install a gstreamer0.10-ffmpeg so that even wma can play, and also let totem play wmv,dvd

# the only audio and video file format on my computer is mp3,wma,rmvb,rm,wmv, as long as you can play these media formats

# now it turns out that all my audio and video playback has been solved with a single command from Ubuntu. Apt is a cow!

Sudo aptitude install-y exaile smplayer w32codecs gstreamer0.10-ffmpeg | tee-a logfile

Sudo aptitude install-y totem-xine totem-mozilla libxine1-ffmpeg | tee-a logfile

# Chinese support language Pack for gnome,firefox

Sudo aptitude install-y mozilla-firefox-locale-zh-cn | tee-a logfile

Sudo aptitude install-y language-pack-gnome-zh | tee-a logfile

# P#

# restricted driver Manager, which is used to manage restricted drivers, including video card drivers

# my ati graphics card can also use sudo aptitude install-y xorg-driver-fglrx

Sudo aptitude install-y restricted-manager | tee-a logfile

Sudo aptitude install-y xorg-driver-fglrx | tee-a logfile

# pdf Reader + Chinese support

Sudo aptitude install-y evince xpdf-chinese-simplified | tee-a logfile

# Archive Manager + rar/7z/cab support

Sudo aptitude install-y file-roller rar p7zip cabextract | tee-a logfile

# text editor similar to windows notepad

Sudo aptitude install-y leafpad | tee-a logfile

# Beautiful (including several topics such as clearlook), mainly because it can also install gtk2-engines automatically

Sudo aptitude install-y gnome-themes | tee-a logfile

# text-based tools for setting up services, usage and service configuration, please refer to ubuntu simple Optimization

Sudo aptitude install-y sysv-rc-conf | tee-a logfile

# GUI partition management tool-GNOME partition editor

Sudo aptitude install gparted

# A graphical tool for installing deb packages, in fact, using the dpkg command is sufficient

Sudo aptitude install-y gdebi | tee-a logfile

# Editing the graphical interface editor of GConf configuration database

# set the settings for reference gconf-editor

Sudo aptitude install-y gconf-editor | tee-a logfile

# Star Translation King + Concise English-Chinese Thesaurus

Sudo aptitude install-y stardict | tee-a logfile

# nautilus right-click extension

Sudo aptitude install-y nautilus-gksu nautilus-open-terminal nautilus-wallpaper | tee-a logfile

# Office software

Sudo aptitude install-y openoffice.org-calc openoffice.org-writer openoffice.org-l10n-zh-cn | tee-a logfile

# Network sharing samba and corresponding GUI setting tools

Sudo aptitude install-y samba smbfs system-config-samba | tee-a logfile

# install emerald special effects and compiz advanced settings tools

# if the requirement is not high, installing simple-ccsm is fine.

Sudo aptitude install-y emerald compizconfig-settings-manager | tee-a logfile

# +

# install offline deb package

# install QQ

Sudo dpkg-I linuxqq_1.0-Preview2008_i386.deb | tee-a logfile

# install the Flash plug-in for Firefox

Tar-zxvf install_flash_player_9_linux.tar.gz

Cd install_flash_player_9_linux/ & &. / flashplayer-installer | tee-a logfile

# solve flash garbled

Sudo cp / etc/fonts/conf.d/49-sansserif.conf / etc/fonts/conf.d/49-sansserif.conf.bak

Sudo rm / etc/fonts/conf.d/49-sansserif.conf

# the Oxford Dictionary of the King of Star Translation

Sudo dpkg-I stardict-cdict-gb_2.4.2-1_all.deb

# +

# start re-backing up the downloaded deb package below

Tar cizvf backup- `date "+% Y%m%d" `. Tar.gz / var/cache/apt/archives-- exclude=/var/cache/apt/archives/partial/*-- exclude=/var/cache/apt/archives/lock

This is the end of this article on "how to achieve custom minimum installation of ubuntu8.04". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it out for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report