歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Fedora 17 安裝後配置筆記

Fedora 17 安裝後配置筆記

日期:2017/2/28 15:47:36   编辑:Linux教程

設置 root 可登錄
vim /etc/pam.d/gdm-password
注釋掉這一行
auth required pam_succeed_if.so user != root quiet

設置 sudo
visudo
找到
root ALL=(ALL) ALL
一行,在下面添加
xxx ALL=(ALL)NOPASSWD: ALL
其中,xxx 為自己的用戶名

關掉 SELinux
vim /etc/selinuxconfig

SELINUX=enforcing
改為
SELINUX=disabled
重啟.... 或 臨時關閉方法
setenforcde 0

下載安裝 rpmfusion 源
http://download1.rpmfusion.org/free/Fedora/rpmfusion-free-release-stable.noarch.rpm
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
下載後,(切換到存儲這兩個 rpm包 目錄)執行
rpm -ivh rpmfusion*.rpm

安裝其他 yum 源(我試了,好像沒什麼效果)
163 源:http://mirrors.163.com/.help/fedora.html
搜狐 源:http://mirrors.sohu.com/help/fedora.html
中科大 源:http://lug.ustc.edu.cn/wiki/mirrors/help/fedora
下載後,放入 /etc/yum.repos.repo 目錄下,執行
yum makecache

更新
yum -y update
刪除舊內核
yum remove kernel

解決 vim 中文亂碼
vim /etc/vimrc
在最後加上如下內容(注意雙引號的問題,英文輸入法下的雙引號)
set encoding=utf-8
set fileencodings=utf-8,chinese,latin-1
if has("win32")
set fileencoding=chinese
else
set fileencoding=utf-8
endif

安裝 dconf-editor
yum install dconf-editor
解決 gedit 中文亂碼
打開 dconf-editor
找到 org --> gonme --> gedit --> preferences --> enchding
在 auto-detected 選項中添加 GB2312、GB18030 編碼

安裝當前目錄右鍵打開終端
yum install nautilus-open-terminal
安裝gnome3 tweak tool工具
yum install gnome-tweak-tool
安裝Gnome Do (快速文件搜索)
yum install gnome-do
安裝其他終端(介紹:http://blog.51osos.com/linux/Ubuntu-terminal-emulator/)
yum install terminator


安裝Faenza圖標集
先搜索
yum search faenza
根據搜索的結果,安裝
yum install faenza-icon-theme.noarch

安裝 windows 字體
復制 windows 系統內的字體到 /usr/share/fonts/winfonts(目錄 winfonts 可自己自由創建,並修改權限 755)
後,更新字體緩存
fc-cache -fv

安裝 主題、拓展
yum install gnome-shell-theme*
yum install gnome-shell-extension*


安裝 ftp 客戶端
yum install filezilla

安裝 flash
官網下載 (http://get.adobe.com/flashplayer/) rpm 安裝包,執行
yum localinstall fla*.rpm (fla*.rpm 為下載的安裝包)
打開 firefox,輸入 about:plugins,查看是否有“Shockwave Flash”一項

Copyright © Linux教程網 All Rights Reserved