fedora 17 安裝後配置筆記(2012-11-11 更新)



設置 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
    查看當前狀態
        getenforce



安裝 rpmfusion 源
    rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
    rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

設置本地源
        vim /etc/yum.repo.d/local-src.repo
    文件內容以下
        [local-src]
        name=local-src
        baseurl=file:///mnt/local-src
        enabled=0
        gpgcheck=0
    使用方法
    將系統鏡像掛載在 /mnt/local-src 目錄下,執行
        yum --disablerepo=* --enablerepo=local-src makecache
        yum --disablerepo=* --enablerepo=local-src install xxxx
    其中 xxxx 爲要安裝的軟件包

安裝其餘源
    rpm -Uvh http://rpms.famillecollet.com/remi-release-17.rpm



解決 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 選項中添加 GB23十二、GB18030 編碼



安裝Gnome Do (快速文件搜索)
    yum install gnome-do
安裝當前目錄右鍵打開終端
    yum install nautilus-open-terminal
安裝其餘終端(介紹:http://blog.51osos.com/linux/ubuntu-terminal-emulator/)
    yum install terminator    
安裝 filezilla
    yum install filezilla
壓縮工具相關
    yum install unrar
    yum install p7zip



安裝 flash(下載 rpm 包,而後 yum 安裝,能夠順便安裝一些依賴包,否則挺麻煩的,,)
    官網下載 (http://get.adobe.com/flashplayer/) rpm 安裝包,執行
        yum localinstall fla*.rpm
    其中,fla*.rpm 爲下載的安裝包
    打開 firefox,輸入 about:plugins,查看是否有「Shockwave Flash」一項(如圖所示)


安裝 adobe reader(其實,系統自帶的 Document Viewer 就挺好用的!下載 rpm 包,而後 yum 安裝,理由同上)
    官網下載 (http://get.adobe.com/cn/reader/otherversions/) rpm 安裝包,執行
        yum localinstall adbe*.rpm
    其中,adobe*.rpm 爲下載的安裝包



安裝多媒體解碼器
    yum install ffmpeg ffmpeg-libs gstreamer-ffmpeg libmatrosca xvidcore libdvdread libdvdnav lsdvd
    yum install gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-ugly

安裝 vlc (官方安裝方法:http://www.videolan.org/vlc/download-fedora.html)
#    rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm (已安裝 rpmfusion 源了,這個就不用敲了)
    yum install vlc
    yum install mozilla-vlc (optional)

其餘視頻相關(有下面 3 款,我安裝了 gnome-mplayer,固然,可都安裝,,)
    yum install gnome-mplayer
    yum install pitivi
    yum install smplayer
音樂相關(有下面 4 款,,)
    yum install banshee
    yum install audacity
    yum install rhythmbox
    yum install audacious
圖片相關(有下面 5 款,,)
    yum install gimp
    yum install dia
    yum install gthumb
    yum install inkscape
    yum install shutter

星際譯王字典
        yum install stardict
        yum install stardict 【這裏按兩下,就會列出沒有安裝的關於 stardict 的東東,要是沒效果,就多按幾下...】
    詞庫安裝(到這個網站,下載詞庫,更具網站上的說明安裝)
        http://abloz.com/huzheng/stardict-dic/
chm 閱讀器(2 款,,)
    yum install chmsee
    yum install kchmviewer



安裝gnome3 tweak tool工具
    yum install gnome-tweak-tool

安裝Faenza圖標集
    先搜索
        yum search faenza
    根據搜索的結果,安裝
        yum install faenza-icon-theme.noarch
    打開 gnome3 tweak tool工具
    在【Theme】下 設置【Icon theme】爲 Faenza 系列的,便可見效果

安裝 主題、拓展
        yum install gnome-shell-theme*
        yum install gnome-shell-extension*
    打開 gnome3 tweak tool工具
    在【Theme】下 設置【Shell theme】,選擇喜歡的一個

中文美化( 詳見:http://imobile365.com/articles/6331)
        rpm -Uvh http://www.infinality.net/fedora/linux/infinality-repo-1.0-1.noarch.rpm
        yum install freetype-infinality infinality-settings
    編輯配置文件
        vim /etc/profile.d/infinality-settings.sh
    修改
        USE_STYLE="DEFAULT"
    的值(文件內有說明),重啓便可 (若是使用 ubuntu 效果,這一項先不要動,
    按照下面方法安裝 ubuntu 字體,重啓便可)

安裝 ubuntu 字體
    到 http://font.ubuntu.com/ 下載 ubuntu 字體
    解壓到 /usr/share/fonts/ 目錄下
    更新字體緩存
            fc-cache -fv

安裝 windows 字體(安不安裝無所謂的)
    複製 windows 系統內的字體到 /usr/share/fonts/winfonts(目錄 winfonts 可本身自由建立,並修改權限 755)
    後,更新字體緩存
        fc-cache -fv

gonme 拓展的安裝(到下面的網站上隨喜愛安裝,也可所有安裝,而後打開 gnome3 tweak tool工具,在
【Shell Extensions】下有選擇的 打開/關閉)
    https://extensions.gnome.org/
    個人以下
        Remove Accessibility
        Alternative Status Menu
        User Themes
        Axe Menu
        Advanced Settings in UserMenu
        Coverflow Alt-Tab
        SettingsCenter
        CPU Temperature Indicator
        Quit Button
        Removable Drive Menu
        Panel Settings
        SystemMonitor
        Advanced Volume Mixer
        Impatience
        NetSpeed
        Extension List
        Dash to Dock
        Maximus
        Todo list
        Advanced Calculator

gnome 主題、圖標等資源(到下面的網站上隨喜愛選擇(注意一些安裝前的需求,否則出不來效果),設置時,打開 gnome3 tweak tool工具,在【Theme】下進行相關設置)
        http://gnome-look.org/
    我安裝了兩個
        Adwaita Cupertino 1.4.3
        Zukitwo
firefox 安裝 FXChrome 主題
    https://addons.mozilla.org/zh-cn/firefox/themes/



更新
    yum -y update
刪除舊內核保證新內核穩定後,執行此操做
    yum remove kernel



好了,最終效果以下







附:
[0].查看軟件的安裝路徑
    有時經過 yum命令 安裝完一個軟件,但發現不知道該軟件的 執行/配置 路徑在哪,能夠經過下面方式查看
    查看rpm包名,例如 firefox
        rpm -qa |grep firefox
    查看rpm安裝路徑
        rpm -ql firefox

[ 1].終端 顏色/透明 設置
    【Edit】 --> 【Profile Preferences】 --> 【Colors】
    【Edit】 --> 【Profile Preferences】 --> 【Background】

[2].翻。。。牆(原文地址:http://hi.baidu.com/wcj0626/item/531668dd82741113e1f46fd2)
    1.安裝SSH
        yum install openssh*
    2.安裝 firfox 擴展組件 autoproxy
    安裝完成以後,會自動打開一個設置頁面,選擇gfwlist 這個規則,而後在最下面選擇默認代理,設置爲ssh -D 這種方式,以後點完成,完成設置
    3.註冊一個免費的ssh的賬號
    到 http://www.cjb.net/cgi-bin/shell.cgi?action=signup 註冊一個免費的ssh的賬號,填上你的用戶名, 郵箱, 設置密碼就
    成了,郵箱最好是用gmail的郵箱,其餘的郵箱我也沒嘗試過,而後cjb會給你發激活郵件, 收信點裏邊的激活連接,激
    活後會再發送一個郵件給你,告訴你賬號,密碼,服務器之類的,有時候註冊網站打不開,多嘗試幾回就行了
    4.翻。。。牆
    有了以上的準備工做後,在終端輸入
        ssh -qTfnN -D 7070 user_name@216.194.70.6
    其中@以前的user_name換成你剛纔本身的申請的用戶名就行了,原本@以後是主機名shell.cjb.net的,可是聽說是DNS污染,致使指向的不是正確的IP地址,因此直接用IP地址來代替
    而後第一次運行會有個小提示,你直接輸入yes就行了,而後提示輸入密碼,輸入你申請的賬號的密碼就萬事OK了
    5.腳本
    若是認爲每次輸入這個東西比較麻煩的話,建議vim sshd,創建一個sshd的文本文件,而後把剛纔輸入的內容粘貼到sshd文件中,並chmod 755 sshd 而後拷貝到/usr/bin目錄下,之後要翻。。。牆的時候就執行sshd,輸入密碼就行了,系統啓動後,之須要輸入一次就行了。

相關文章
相關標籤/搜索