Fedora17初始配置.docx

上传人:b****7 文档编号:16299860 上传时间:2023-07-12 格式:DOCX 页数:10 大小:18.33KB
下载 相关 举报
Fedora17初始配置.docx_第1页
第1页 / 共10页
Fedora17初始配置.docx_第2页
第2页 / 共10页
Fedora17初始配置.docx_第3页
第3页 / 共10页
Fedora17初始配置.docx_第4页
第4页 / 共10页
Fedora17初始配置.docx_第5页
第5页 / 共10页
Fedora17初始配置.docx_第6页
第6页 / 共10页
Fedora17初始配置.docx_第7页
第7页 / 共10页
Fedora17初始配置.docx_第8页
第8页 / 共10页
Fedora17初始配置.docx_第9页
第9页 / 共10页
Fedora17初始配置.docx_第10页
第10页 / 共10页
亲,该文档总共10页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

Fedora17初始配置.docx

《Fedora17初始配置.docx》由会员分享,可在线阅读,更多相关《Fedora17初始配置.docx(10页珍藏版)》请在冰点文库上搜索。

Fedora17初始配置.docx

Fedora17初始配置

Fedora17初始配置

系统基本配置

刚刚安装完毕的系统无法在命令直接添加sudo执行。

可以使用su或su–c'cmd'来执行需要管理员权限的命令。

启用sudo

在终端在root用户下输入,chmodu+w/etc/sudoers加入写权限

在终端下输入vi/etc/sudoers或visudo命令:

搜索文件,找到下面而2行内容:

##Allowroottorunanycommandsanywhere

rootALL=(ALL)ALL

按i键进入编辑模式,然后,在第二行下面添加如下内容

‘username’ALL=(ALL)ALL

提示:

将换成你的用户名即可。

按ESC键,输入“:

wq”(无引号)推出。

在终端输入,chmodu-w/etc/sudoers关闭写权限

检查、安装系统更新

检查系统更新:

sudoyumcheck-update

安装系统更新:

sudoyumupdate

安装快速打开终端

sudoyumnautilus-open-terminal

设置中文输入法

安装Fcitx小企鹅输入法

sudoyuminstallfcitx/ibus-sunpinyin

在应用里面查找“InputMethodselector”(输入法切换器),打开后选择“Show

all”(显示所有输入法),选择“Chinese”,添加“Pinyin输入法”即可。

多媒体编码&Flash插件

Multi-media-codec:

为了正常播放音频、视频文件格式,需安装多媒体编码

yumlocalinstall–nogpgcheckhttp:

//download1.rpmfusion.org/free

/fedora/rpmfusion-free-release-rawhide.noarch.rpmhttp:

//download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-rawhide.noarch.rpm

yuminstallffmpegffmpeg-libsgstreamer-ffmpegxvidcorelibdvdreadlibdvdnavlsdvd

yuminstallgstreamer-plugins-goodgstreamer-plugins-badgstreamer-plugins-ugly

Flash插件:

到AdobeFlashPlayer官网下载.rpm包,下载完成,点击安装即可。

GNOME3.2配置

安装Gnome-tweak-tool

sudoyuminstallgnome-tweak-tool–对于不是很习惯Gnome3的可以事先缓解一下

GNOMEShellExtension

扩展列表:

sudoyuminstallgnome-shell-extension*

扩展列表:

gnome-shell-extension-alternate-tab.noarch

gnome-shell-extension-apps-menu.noarch

gnome-shell-extension-auto-move-windows.noarch

gnome-shell-extension-common.noarch

gnome-shell-extension-cpu-temperature.noarch

gnome-shell-extension-dock.noarch

gnome-shell-extension-drive-menu.noarch

gnome-shell-extension-gpaste.noarch

gnome-shell-extension-icon-manager.noarch

gnome-shell-extension-mediaplayers.noarch

gnome-shell-extension-noim.noarch

gnome-shell-extension-noripple.noarch

gnome-shell-extension-pidgin.i686

gnome-shell-extension-places-menu.noarch

gnome-shell-extension-pomodoro.noarch

gnome-shell-extension-presentation-mode.noarch

gnome-shell-extension-remove-volume-icon.noarch

gnome-shell-extension-righthotcorner.noarch

gnome-shell-extension-systemMonitor.noarch

gnome-shell-extension-theme-selector.noarch

gnome-shell-extension-user-theme.noarch

gnome-shell-extension-windowsNavigator.noarch

gnome-shell-extension-workspace-indicator.noarch

gnome-shell-extension-workspacesmenu.noarch

gnome-shell-extension-xrandr-indicator.noarch

gnome扩展

GNOMEShell主题:

gnome-shell-theme-atolm.noarch

gnome-shell-theme-dark-glass.noarch

gnome-shell-theme-gaia.noarch

gnome-shell-theme-orta.noarch

gnome-shell-theme-smooth-inset.noarch

安装举例:

sudoyuminstallgnome-shell-extension-theme-selector.noarch

扩展安装完毕后,需重启GNOMEShell(按住Alt+F2,输入r)。

打开gnome-tweak-tool,激活安装的扩展即可。

安装编译开发环境

yuminstallcurl-devel/gcc/glibc-devel/gcc-gfortran/gcc-c++/python/perl/erlang/vim/gedit/tcl/tk/emacs

安装X11图形库

sudoyuminstalllibX11-devel

安装autolibtools

yuminstallautoconf/automake/libtool/flex/pkgconfig

安装分布式文件管理工具git

yuminstallgit-core

集成工具与常用软件

优秀集成工具推荐:

Ailurus小熊猫

yuminstallailurus著名的系统设置、软件工具

FedoraUtils

应用安装与系统设置脚本,可安装AdobeFlash,codecs,SunJava,AdobeAir,Wine,GoogleEarth,GTalkplugin,MSTruetypeFonts等其他常用应用。

主页|下载:

clickhere

easyLife

功能与上述几款工具类似。

主页:

easylifeproject

常用应用

邮件

sudoyuminstallthunderbird

文件分享

Transmission(BT客户端)

sudoyuminstalltransmission

Filezilla(FTP客户端):

sudoyuminstallfilezilla

即时通讯IM

Pidgin(同Empathy):

sudoyuminstallpidgin

Emesene(MSN客户端):

sudoyuminstallemesene

Gwibber(微博客户端):

sudoyuminstallgwibber

Pino(Twitter客户端):

sudoyuminstallpino

Hotot(傲兔,Twitter客户端):

yuminstallhotot

图形图像

shutter(截图、截屏):

sudoyuminstallshutter

Gimp:

sudoyuminstallgimp

Dia(流程图):

sudoyuminstalldia

Inkscape(矢量做图):

sudoyuminstallinkscape

Gthumb(图像浏览器):

sudoyuminstallgthumb

Pinta(小Gimp):

sudoyuminstallpinta

播放器

vlc:

sudoyuminstallvlc

Banshee(音乐播放器):

sudoyuminstallbanshee

音视频编辑

Pitivi(视频编辑):

sudoyuminstallpitivi

Audacity(音频编辑):

sudoyuminstallaudacity

安装多媒体解码器,rpmfusion源

某些软件不是很自由、开源的软件,fedora为避免知识产权纠纷,选择不将其添加进官方软件源,这样就需要用户自己手动添加。

在root权限下,运行命令添加rpmfusion源

rpm-ivhhttp:

//download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpmhttp:

//download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

然后运行命令添加RPM-GPG-KEY.atrpms

rpm--importhttp:

//AT

安装SMplayer

yuminstallsmplayer

系统类工具

GnomeDo(快速文件搜索):

sudoyuminstallgnome-do

p7zip(解压缩工具):

sudoyuminstallp7zip

Virtualbox(虚拟机):

sudoyuminstallvirtualbox-ose

Terminator(优秀命令终端):

sudoyuminstallterminator

办公

Stardict(星际词典):

sudoyuminstallstardict

Chmsee(CHM文件阅读器):

sudoyuminstallchmsee

LibreOffice(Office套件):

sudoyuminstalllibreoffice

Foxit(福晰PDF阅读器):

点击下载:

官网

IDE

Anjuta:

sudoyuminstallanjuta

Code:

:

Blocks:

sudoyuminstallcodeblocks

Eclipse:

sudoyuminstalleclipse-platform

版本控制

sudoyuminstallsvngitbzrcvs

网络应用

PPStream(PPS网络电视):

点击下载:

官网

GoogleChrome(网页浏览器):

点击官网下载:

clickhere

其他软件,可以从Fedora17的“添加/删除软件”应用搜索即可。

 

改变启动顺序以及grub2配置技巧

这是一个默认启动Windows的例子:

1.首先找到Windows的menuentry.

#cat/boot/grub2/grub.cfg|grepWindows

结果:

menuentry"Windows7(loader)(on/dev/sda1)"--classwindows--classos{

2.设置Windows作为默认的启动项(这儿只能使用上面命令输出中双引号“”或者单引号‘‘中的内容)

#grub2-set-default"Windows7(loader)(on/dev/sda1)"

3.验证默认启动项

#grub2-editenvlist

输出:

saved_entry=Windows7(loader)(on/dev/sda1)

4.生成,更新grub.cfg(可选)

下面的命令会使用/etc/grub.d下的自动配置脚本和/etc/default/grub中定义的变量,自动生成GRUB2配置文件(包括在/boot下的内核),-o指定输出文件,/boot/grub2/grub.cfg是默认配置文件。

如果是多系统,它会自动的把它们找出来,加入到启动菜单列表中去。

#grub2-mkconfig-o/boot/grub2/grub.cfg

/etc/default/grub中可以配置timeout,背景图片等。

如:

GRUB_TIMEOUT=5

GRUB_DISTRIBUTOR="Fedora"

GRUB_DEFAULT=saved

GRUB_CMDLINE_LINUX="rd.md=0rd.lvm=0rd.dm=0KEYTABLE=usquietSYSFONT=latarcyrheb-sun16rhgbrd.luks=0LANG=en_US.UTF-8"

GRUB_BACKGROUND=/boot/grub2/background.png

GRUB_TERMINAL_OUTPUT=gfxterm

GRUB_THEME=/boot/grub2/mytheme/theme.txt

================

备注:

下面的命令设置Fedora作为默认启动项:

#cat/boot/grub2/grub.cfg|grepFedora

结果:

menuentry'FedoraLinux,withLinux3.1.2-1.fc16.i686.PAE'--classfedora--classos{

menuentry'FedoraLinux,withLinux3.1.1-1.fc16.i686.PAE'--classfedora--classos{

menuentry'FedoraLinux,withLinux3.1.0-7.fc16.i686.PAE'--classfedora--classos{

#grub2-set-default"FedoraLinux,withLinux3.1.2-1.fc16.i686.PAE"

#grub2-editenvlist

#grub2-mkconfig-o/boot/grub2/grub.cfg

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 人文社科 > 法律资料

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2