CentOS6.0桌面配置新用户创建、日期和时间的修改以及Kdump设置 - 小众知识

CentOS6.0桌面配置新用户创建、日期和时间的修改以及Kdump设置

2013年01月27日 14:18:05 苏内容
  标签: CentOS/桌面/配置
阅读:7328
进入系统第一件事更新系统
1.yum update
2.安装第三方源
参加如何安装第三方源
3.安装必备工具
1.更新系统
yum update
2.安装第三方软件源
1、安装 yum-priorities 插件;
2、下载与安装相应 EPEL 的 rpm 文件包;
3、下载与安装相应 rpmforge 的 rpm 文件包;
4、测试升级,安装 Nginx。
一、安装 yum-priorities 插件
1、安装 yum-priorities 插件,并正确设置,以保证官方库的优先级最高。
yum -y install yum-priorities
2、然后,设置 /etc/yum.repos.d/CentOS-Base.repo,添加顺序指令 priority=N(N 从 1 至 99,1 优先级最高),对
[base]、[updates]、[addons]、[extras] 设置 priority=1,示例:
[centosplus]、[contrib] 设置 priority=2。
二、下载与安装相应 EPEL 的 rpm 文件包
1、下载与安装 EPEL 的 rpm 文件包
32-bit:rpm -ivh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
64-bit:rpm -ivh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
2、导入 DAG 的PGP Key
rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
3、设置 /etc/yum.repos.d/epel.repo 中源的级别为 priority=11(比上面高就行)。
三、下载与安装相应 rpmforge 的 rpm 文件包
1、下载 rpmforge 的 rpm 文件包
32-bit:wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i386.rpm
64-bit:wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm
2、安装 DAG 的 PGP Key(跟原文方式不一致,如果直接 –import 不成功的话,可以使用下面的办法)
wget http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
rpm –import RPM-GPG-KEY.dag.txt
3、验证 rpmforge 的 rpm 文件包
rpm -K rpmforge-release-0.5.1-1.el5.rf.*.rpm
4、安装 rpmforge 的 rpm 文件包
rpm -i rpmforge-release-0.5.1-1.el5.rf.*.rpm
5、然后再设置 /etc/yum.repos.d/rpmforge.repo 文件中源的级别为 priority=12(比上面高就行)。
四、测试升级,安装 Nginx
yum check-update
yum update
就行了。用
yum –y install nginx
就能安装 Nginx 了。下面是安装好后的欢迎页面:
五、安装脚本
安装脚本仅适用于 CentOS 5.5!
32 位系统,请使用这个脚本(点击下载);64 位系统,请使用这个脚本(点击下载)。
安装 Nginx + MySQL + PHP + fastcgi:
安装所需的程序库:
LANG=C
yum -y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel curl curl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel openldap openldap-devel nss_ldap openldap-clients openldap-servers
安装 PHP 和 MySQL:
yum -y install php mysql mysql-server mysql-devel php-mysql php-cgi php-mbstring php-gd php-fastcgi
安装 Nginx:
yum -y install nginx
安装 spawn-fcgi 来运行 php-cgi:
yum -y install spawn-fcgi
下载 spawn-fcgi 的启动脚本:
wget http://dl.dropbox.com/u/182853/419.sh.zip
unzip 419.sh.zip
mv 419.sh /etc/init.d/php_cgi
chmod +x /etc/init.d/php_cgi
配置 Nginx:
location ~ \.php$ {
root html;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /usr/share/nginx/html$fastcgi_script_name;
include fastcgi_params;
}
配置 MySQL:
vi /etc/my.cnf,在 [mysqld] 一节加入
default-character-set = utf;
在末尾加入以下章节
[mysql]
default-character-set = utf8
然后设置 MySQL root 密码:
mysqladmin -u root password your_pass
启动各种服务:
service mysqld start
service php_cgi start
service nginx restart
3.安装软件
yum install mplayer
yum install lftp
安装插件fastestmirror,可以让yum管理器自动搜索最快源下载
yum -y install yum-fastestmirror
安装下载加速插件
yum install yum-presto
Linux 常用应用软件列表
系统装完后如果想要实现某些需求还得装上相应的软件,可能在安装时已经安装了大部分的软件,那对相关的软件是否了解,是否有更好的软件和版本,给自己做一 张常用软件列表和地址,方便以后查找。有网址的这些软件一般都有是官网,上面不仅可以下载还可以得到帮助。当然要获得这些到处都有像(
  http://sourceforge.net/project/showfiles.php?group_id=6241)这个上面有很多,各种Linux版本的都有。
  [媒体播放]
  1)divx影片:mplayer(http://www.mplayerhq.hu/design7/dload.html)
  2)rm影片: realplayer10 for linux(http://www.real.com/linux/), mplayer
  3)mp3: xmms(http://www.xmms.org/download.php)
  beep media player, mplayer
  4)ape: xmms+monkey's audio plugin(http://www.monkeysaudio.com/download.html)
  (http://supermmx.org/linux/mac/)
  5)其他格式(wma, wmv, mkv, quicktime): mplayer 各种格式的文档和文件
  [文件浏览]
  1)打开微软的office文档: openoffice(http://www.openoffice.org/), starsuite
  2)查看pdf文件:acroread for linux(http://rpmfind.net/linux/rpm2html/search.php?query=acroread)
  kpdf(http://kpdf.kde.org/)
  xpdf(http://www.foolabs.com/xpdf/),
  ggv(http://directory.fsf.org/ggv.html)
  3)查看ps文件: gsview(http://www.cs.wisc.edu/~ghost/gsview/),
  ggv, kghostview
  4)chm文件: archmage(http://archmage.sourceforge.net/),
  chmsee(http://www.gnome-cn.org/software/chmsee/releases/0.9.5),
  Xchm(http://xchm.sourceforge.net/),
  chmviewer(http://sourceforge.net/projects/chmviewer/)
  5)mht文件: ripmime(http://www.pldaniels.com/ripmime/),firefox+MAF插件
  6)图表绘制: dia (http://www.gnome.org/projects/dia/)(等同于visio)
  7).bin虚拟光盘: 用bin2iso(http://users.eastlink.ca/~doiron/bin2iso/)
  或bchunk(http://he.fi/bchunk/)转成iso后mount
  8)压缩文件
  .rar: rar for linux或unrar
  .zip: unzip
  .bz2: bunzip2
  .tar/.tgz: tar
  [中文输入法]
  1)scim(http://www.scim-im.org/)
  2)fcitx(http://www.fcitx.org/main/)
  [网络软件]
  1) QQ: lumaqq(http://lumaqq.linuxsir.org/main/), Gaim+openq plugin
  2) MSN,icq,yahoo: Gaim(http://gaim.sourceforge.net/)
  3) web浏览器:mozilla-firefox, mozilla(http://www.mozilla.com/en-US/), opera
  4) ftp客户端(图形界面) :gftp(http://gftp.seul.org/),
  Iglooftp(http://www.iglooftp.com/unix/)
  5) ftp客户端(终端) : lftp(http://lftp.yar.ru/),
  ncftp(http://www.ncftp.com/)
  6) ftp服务器: pureftpd, proftpd,
  vsftpd(http://vsftpd.beasts.org/)
  7) http下载(终端): wget(http://www.gnu.org/software/wget/),
  curl(http://curl.haxx.se/),
  prozilla(http://prozilla.genesys.ro/)
  8) bt下载: bittorrent(终端)(http://www.bittorrent.com/download),
  azureus(图形界面)(http://azureus.sourceforge.net/)
  9) email软件(图形界面):KMail,
  thunderbird(http://www.mozilla.com/en-US/),
  sylpheed, evolution,
  opera M2(http://www.opera.com/products/desktop/m2/)
  10) email终端: mutt(http://www.mutt.org/),
  pine(http://www.washington.edu/pine/getpine/pcpine.html), gnus
  11) RSS:liferea(http://liferea.sourceforge.net/),
  aKregator(http://akregator.kde.org/)
  12) BBS:qterm(http://qterm.sourceforge.net/wiki/index.php/Main_Page),
  {rxvt,xterm,gnome-terminal,...}+BBSbot
  [编辑器]
  1) 文本: vim, emacs, jedit
  2) 16进制: hexedit, ghex, mc
  3) 图片浏览: gImageView, gqview(http://gqview.sourceforge.net/)
  4) 图片处理: gimp(http://www.gimp.org/),
  ImageMagick(http://www.imagemagick.org/script/index.php)
  5) 音频处理: audacity(http://audacity.sourceforge.net/)
  [常用工具]
  1)英汉字典: stardict(http://stardict.sourceforge.net/)(屏幕取词,词库大,英汉,汉英, 英英)
  dictd(http://www.dict.org/announce.html):英汉 汉英 可以使用stardict的全部词库
  cdict(http://bbs.uestc.edu.cn/download/):英汉 汉英 使用安装方便,彩色显示.
  2)科学计算:matlab, octave(http://www.octave.org/)
  3)科学作图:gnuplot(http://www.gnuplot.info/), metapost
  [虚拟机]
  1) win下虚拟linux: cygwin, virtual-pc, colinux
  2) linux下虚拟win: win4lin(http://www.winehq.com/)
  3) 跨平台: vmware(http://www.vmware.com/), bochs
  4) linux下运行windows程序: wine, winex, crossover office
  5) console下的中文环境: zhcon(http://zhcon.sourceforge.net/),
  cce(http://www.cce.com.br/)
  说明:部份内容经过了再次的更改和补充。
  另外再介绍一个不错的中文的软件下载地:http://www.linuxfans.org
24 个很酷的 Linux/Unix 工具
http://linuxtoy.org/archives/cool-linux-tools.html
BT工具
http://geekery.blog.com/2010/12/05/amule-2-2-6/
http://forum.amule.org/index.php?topic=17268.0
http://forum.amule.org/index.php?board=69.0
http://linuxtoy.org/archives/howto_amule_cvs.html


    CentOS 6.0桌面版应用配置

    上页中提到编者选择“Desktop”安装CentOS 6.0系统。下面来看一下CentOS 6.0桌面版有哪些特色应用。如下图,系统会指导您进行新用户的创建、日期和时间的修改以及Kdump的设置。


Windows 7旗舰版、兼容、下载
创建新用户

Windows 7旗舰版、兼容、下载
配置Kdump

    编者为虚拟机分配了512MB的内容,但是CentOS 6.0安装过程配置Kdump时,仍被告知内存不足。

Windows 7旗舰版、兼容、下载

    Kdump是一个内核崩溃转储机制,在系统崩溃的时候,Kdump将捕获系统信息,这对于针对崩溃的原因非常有帮助。注意,Kdump需要预留一部分系统内存,而且这部分内存对于其他用户是不可用的。如上图所示,Kdump预留了128MB内存。

Windows 7旗舰版、兼容、下载
软件更新

Windows 7旗舰版、兼容、下载
防火墙配置

Windows 7旗舰版、兼容、下载
服务配置

 

    小结:通过对CentOS的全程体验,我们可以感到这款Linux发行版在功能和特性上越来越出众。即使是屡屡跳票,但是仍然有很多忠实的CentOS粉丝。虽然,免费也是CentOS广受欢迎的一个重要原因,但是免费的Linux发行版多了去了,为何唯独CentOS最受欢迎呢,应用说一款产品的品质是最根本的保证。

原文地址:http://server.zol.com.cn/240/2402455.html

 
扩展阅读

Suese

2018-05-12 02:50:34

WGMMhR https://www.genericpharmacydrug.com

Suese

2018-05-13 11:55:52

L9hltO <a href="http://wooynenmhbdv.com/">wooynenmhbdv</a>, [url=http://mxojbukgybae.com/]mxojbukgybae[/url], [link=http://epffrhegsfdf.com/]epffrhegsfdf[/link], http://fszqfszlwnjs.com/

Suese

2018-05-13 13:38:31

YCmBsJ <a href="http://bppimawoqyuq.com/">bppimawoqyuq</a>, [url=http://pmdvfdqdncbs.com/]pmdvfdqdncbs[/url], [link=http://ucwnfmwptcla.com/]ucwnfmwptcla[/link], http://dorzhzxfipgc.com/

Suese

2018-05-13 15:19:32

X5SrC7 <a href="http://fvmitldvqjvx.com/">fvmitldvqjvx</a>, [url=http://euhosoceicyw.com/]euhosoceicyw[/url], [link=http://twfreozkgezh.com/]twfreozkgezh[/link], http://ovoyacfsyjqs.com/

Suese

2018-05-13 17:00:41

ehvQYU <a href="http://aqntqorxsvgc.com/">aqntqorxsvgc</a>, [url=http://fzrzvpmtqzhr.com/]fzrzvpmtqzhr[/url], [link=http://jczdkhpufgqb.com/]jczdkhpufgqb[/link], http://rxzkowtonvoo.com/

Suese

2018-05-13 17:12:30

fIHLek <a href="http://gxyazopxgcbo.com/">gxyazopxgcbo</a>, [url=http://tbleelhyqabo.com/]tbleelhyqabo[/url], [link=http://kwwxbezvdbaa.com/]kwwxbezvdbaa[/link], http://yeutdadwxago.com/

Suese

2018-06-09 15:12:54

e9zeHK <a href="http://cgcdcltyqhjb.com/">cgcdcltyqhjb</a>, [url=http://uebphijrqpys.com/]uebphijrqpys[/url], [link=http://ihmtjpzrvovb.com/]ihmtjpzrvovb[/link], http://wtqslmjevahv.com/

Suese

2018-06-09 18:01:43

ymhvEm <a href="http://sxvrnfhrekyo.com/">sxvrnfhrekyo</a>, [url=http://wcoflekwtpef.com/]wcoflekwtpef[/url], [link=http://cdogiywjxvgb.com/]cdogiywjxvgb[/link], http://dizulnsurcgg.com/

Suese

2018-06-26 20:14:53

b0P1uc <a href="http://mqhredlktbho.com/">mqhredlktbho</a>, [url=http://hyvwukwlhjcj.com/]hyvwukwlhjcj[/url], [link=http://ujjhmvfdwwlw.com/]ujjhmvfdwwlw[/link], http://hocbwmbfrzbd.com/

Suese

2018-06-26 20:19:40

FqIex0 <a href="http://uxujpclmeajr.com/">uxujpclmeajr</a>, [url=http://rfaqblslzmge.com/]rfaqblslzmge[/url], [link=http://dvwjgtkzydeg.com/]dvwjgtkzydeg[/link], http://uaohekvhggjx.com/

Suese

2018-06-26 22:15:29

N9mKic <a href="http://zfiboorhkszi.com/">zfiboorhkszi</a>, [url=http://btuaboktnjqm.com/]btuaboktnjqm[/url], [link=http://ztvjxegqjcug.com/]ztvjxegqjcug[/link], http://wgxvmialvwpv.com/

Suese

2018-06-26 23:49:24

4gtIwH <a href="http://dcyzybiovnwd.com/">dcyzybiovnwd</a>, [url=http://saohzxjixgsk.com/]saohzxjixgsk[/url], [link=http://mvxbcuwguxev.com/]mvxbcuwguxev[/link], http://fftocuibxamy.com/

Suese

2018-06-29 17:07:22

How many weeks' holiday a year are there? <a href=" https://www.drugonsale.com ">levitra</a> From Pretoria to Abuja, governments have begun voicingfrustration that China's use of Africa as a source of naturalresources and a market for its goods may be hindering thecontinent haul its billion people out of poverty.

Suese

2018-06-29 17:43:24

How much does the job pay? https://www.drugonsale.com online pharmacy Those campaigns also had much more time than San Diego'smayoral opponents - between 120 and 160 days - to gather therequired petition signatures statewide, Spivak said. He said thecity's recall ordinance was also riddled with "litigation traps"that could drag out the overall process.

Suese

2018-06-29 18:17:24

What sort of music do you listen to? <a href=" https://www.drugonsale.com ">online pharmacy</a> Nine-year-old Ita Moel was one of those turned away from Ellis Island in New York in 1922, because she had the infectious eye disease trachoma. Her brother Morris recounts in a video how their mother made the painful choice of sending her back alone.

Suese

2018-06-29 21:10:36

No, I'm not particularly sporty <a href=" https://www.drugonsale.com#renting ">levitra</a> Siciliano said she’s sure the cap was snatched by a heartless fan who had watched Rivera sign it for her son. The thief “had to see it belonged to a little kid,” Siciliano added. “I was really surprised. I never thought anybody was going to take it.”

Suese

2018-06-29 22:05:52

Pleased to meet you https://www.drugonsale.com kamagra Husami got frustrated because he gives a lot of complimentary services to clients, like tax advising, in the expectation that they will turn to him when they buy investment products that confer sizeable commissions. He explained that to the clients, but soon after, they went elsewhere for a life insurance policy.

Suese

2018-06-29 22:43:29

Could I borrow your phone, please? <a href=" https://www.drugonsale.com ">purchase medication online </a> Until 1980 christening services were still given in 17th Century language. But while the Alternative Service Book introduced modern language, it provided "quite a thin service, with short questions and fewer [of them]", says Stratford.

Suese

2018-06-29 22:56:47

International directory enquiries <a href=" https://www.drugonsale.com#ruse ">cialis</a> Energy price increases, often the key driver of the overall index, slowed to 0.2 percent in August following a 0.6 percent increase in July. Prices of capital and durable consumer goods, such as cars and electronics, were flat in August from July.

Suese

2018-06-29 23:36:01

I'm sorry, I didn't catch your name https://www.drugonsale.com cialis The charges make the GSK case the highest profile corporateinvestigation in China since four executives from mining giantRio Tinto were jailed in March 2010 for takingbribes and stealing commercial secrets.

Suese

2018-06-30 00:15:59

Could you give me some smaller notes? <a href=" https://www.drugonsale.com ">levitra</a> Yet he is seen as the winner of the budget showdown while House Speaker John Boehner, a moderate, struggled to control conservative Republicans.who tried and failed to roll back Obama’s health reforms.

Suese

2018-06-30 00:51:12

Will I have to work shifts? <a href=" https://www.drugonsale.com ">levitra</a> When I was a young newspaperman on the Daily Record in Glasgow in the early 1970s, the great off-shore oil rush was beginning in the North Sea. It then seemed a pretty impossible dream, turning an island of coal into a place with abundant oil and gas supplies.

Suese

2018-06-30 01:31:23

Not available at the moment https://www.drugonsale.com kamagra Davos is networking, it’s where politicians can officially meet with their paymasters, it’s where wannabes and slimey fake businessmen run aroundtrying to sell themselves. And it’s full of something that rhymes with pull grit. The WEF does do some decent research, but it is a business enterprise, let us never forget that. The statistic I would like to see is how many jobs did those billionaires eliminate in the past 5 years.

Suese

2018-06-30 02:11:40

Remove card <a href=" https://www.drugonsale.com ">levitra</a> There is also an untouched politically active pocket — an extensive network of Brotherhood students at universities across the country. Mohamed Soliman, the elected head of the Al-Dostour Party's student organization, said that none of the main Brotherhood student leaders nationwide has been arrested.

Suese

2018-06-30 03:35:21

Please call back later <a href=" https://www.drugonsale.com ">viagra</a> Still, House Minority Leader Nancy Pelosi, who staked her speakership on the controversial vote, said the website’s glitches are “disappointing,” but she rejected calls from fellow Democrats to delay the law’s implementation.

Suese

2018-06-30 04:15:36

Looking for work https://www.drugonsale.com cheap order drugs Indie bands, local food, beers and even ping pong tables and a mini-golf course are in the offing at the 24,000-square-foot warehouse at 165 Banker St. in the midst of hipster heaven: the border of Greenpoint and Williamsburg.

Suese

2018-06-30 04:41:26

Can you hear me OK? <a href=" https://www.drugonsale.com ">online pharmacy</a> "Parkland" begins hours before Kennedy's arrival in Dallas, jumping around the various locations that would soon be consumed by the day's madness. We are formally introduced to some of the names and faces that are usually confined to the footnotes of history. The level of awareness and enthusiasm about the president's visit varies from character to character, but none of them know that it will be his last.

Suese

2018-06-30 04:56:28

I'll text you later <a href=" https://www.drugonsale.com ">kamagra</a> Likely reason two: For the leader of a country under the world’s klieg lights, and perhaps in its crosshairs, it always pays to posture as a voice of reason. At the very least, it stalls a reckoning.

Suese

2018-06-30 05:20:46

Could you tell me my balance, please? https://www.drugonsale.com purchase medication online Undercover family judges said: “Behind every exhibition there’s the real person’s story. There’s a display about a shipwrecked family – their boat was sunk by killer whales – and their survival story. The kids could have been my two kids. We went in a helicopter and I’ve never been in a helicopter before. The girls always say, 'Oh no!’ to museums, but they love it, they loved everything you could do.”

Suese

2018-06-30 05:59:49

real beauty page <a href=" https://www.drugonsale.com ">viagra</a> MacRumors attracts a broad audience of both consumers and professionals interested in the latest technologies and products. We also boast an active community focused onpurchasing decisions and technical aspects of the iPhone, iPod, iPad, and Mac platforms.

Suese

2018-06-30 07:23:30

Could you ask him to call me? <a href=" https://www.drugonsale.com ">viagra</a> Omarova and Joshua Rosner, managing director at independent research firm Graham Fisher & Co., argue that traders at banks that own physical commodities businesses have a natural incentive to use inside knowledge gleaned from their co-workers to reap profits from trades of derivatives tied to the underlying commodities.

Suese

2018-06-30 08:04:16

It's a bad line https://www.drugonsale.com cialis Brian Whiteside, initially the only humanist "solemnizer" certified to legally marry couples, was already booked well into next year when the civil registry office agreed in late June to approve 10 others, taking some of the pressure off him.

Suese

2018-06-30 08:45:14

We need someone with qualifications <a href=" https://www.drugonsale.com ">kamagra</a> Wilson was part of a rock star social set and introduced Manson around. Neil Young recommended Manson to Mo Ostin at Warner Records. No go. So Manson fixated on Terry Melcher — a successful record producer and the son of Doris Day who lived with Candice Bergen.

Suese

2018-07-07 22:49:43

r7JHvW <a href="http://lztuiirunken.com/">lztuiirunken</a>, [url=http://hojvayudjhov.com/]hojvayudjhov[/url], [link=http://erhdntqkgnet.com/]erhdntqkgnet[/link], http://fkaxsrukposb.com/

Suese

2018-07-07 22:52:31

t5Al5F <a href="http://fzlmaeyicapi.com/">fzlmaeyicapi</a>, [url=http://duxbpojtwcbq.com/]duxbpojtwcbq[/url], [link=http://zaeuwfstfwhr.com/]zaeuwfstfwhr[/link], http://ilelsmzxwtpr.com/

Suese

2018-08-08 14:36:34

D6u2Gy <a href="http://alzwsyniodfp.com/">alzwsyniodfp</a>, [url=http://aychhiwjqdxk.com/]aychhiwjqdxk[/url], [link=http://cgopvklzzyja.com/]cgopvklzzyja[/link], http://jspzsofkzdll.com/

Suese

2018-08-08 16:11:42

dCZwuB <a href="http://tpwzlaeahrhu.com/">tpwzlaeahrhu</a>, [url=http://ylskepcqdqki.com/]ylskepcqdqki[/url], [link=http://ijkqfsfbjlju.com/]ijkqfsfbjlju[/link], http://jxqxjpdrwqwr.com/

Suese

2018-08-08 17:45:32

7TgzPE <a href="http://pterhhucpqka.com/">pterhhucpqka</a>, [url=http://lkxnxelgyfwf.com/]lkxnxelgyfwf[/url], [link=http://kfcjciabnwuc.com/]kfcjciabnwuc[/link], http://guoypsmalgwm.com/