fedora装机后要运行的脚本(原创)
脚本:sh.sh
1 #!/bin/zsh 2 #安装rpmfusion源 3 dnf config-manager --add-repo=http://repo.fdzh.org/FZUG/FZUG.repo 4 #安装一下有用的一些软件包 5 yum -y install yum-fastestmirror 6 yum -y install unrar 7 yum -y install thunderbird 8 yum -y install emacs 9 yum -y install ibus-table 10 yum -y install redhat-lsb 11 yum -y install gstreamer-plugins-bad 12 yum -y install gstreamer-plugins-ugly 13 yum -y install gstreamer-ffmpeg 14 yum -y install compat-libstdc++-33 15 yum -y install NetworkManager-devel 16 yum -y install python-gevent 17 yum -y install tracker-ui-tools 18 yum -y install qemu 19 yum -y install libpciaccess-devel 20 yum -y install xorg-x11-util-macros 21 yum -y install llvm-devel 22 yum -y install mutt 23 yum -y install msmtp 24 yum -y install tftp 25 yum -y install tftp-server 26 yum -y install policycoreutils-gui 27 yum -y install mtd-utils 28 yum -y install mtd-utils-ubi 29 yum -y install vim 30 yum -y install ibus-pinyin 31 yum -y install gnome-tweak-tool 32 yum -y install ckermit 33 yum -y install stardict 34 yum -y install stardict-dic-zh_CN 35 yum -y install stardict-dic-en 36 yum -y install ibus-table-chinese-wubi-haifeng 37 yum -y install gnash 38 yum -y install smplayer 39 yum -y install vlc 40 yum -y install samba pidgin 41 yum -y install pidgin-sipe 42 yum -y install meld expect 43 yum -y install glibc-static 44 yum -y install ncurses-static 45 yum -y install genromfs 46 yum -y install cmake 47 yum -y install ccache 48 yum -y install p7zip 49 yum -y install nmap 50 yum -y install gstreamer1-plugins-bad-freeworld 51 yum -y install gstreamer1-plugins-ugly 52 yum -y install gstreamer1-libav 53 yum -y install git 54 yum -y install gedit 55 56 yum -y install codeblocks 57 yum -y install gtk2 58 yum -y install gtk2-devel 59 yum -y install gtk2-devel-docs 60 61 yum -y install ssh 62 yum -y install gcc 63 dnf install sogoupinyin 64 65 #安装网易云音乐 66 wget http://repo.fdzh.org/FZUG/FZUG.repo -P /etc/yum.repos.d/ 67 dnf install netease-cloud-music 68 dnf install gstreamer1-libav 69 70 #升级一下系统 71 yum -y update 72 #安装chrome 73 wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm 74 rpm -ivh google-chrome-stable_current_x86_64.rpm 75 rm google-chrome-stable_current_x86_64.rpm 76 #安装 flash plugin 77 wget http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm 78 rpm -ivh adobe-release-x86_64-1.0-1.noarch.rpm 79 rm adobe-release-x86_64-1.0-1.noarch.rpm 80 #安装音视频解压器 81 wget http://mplayerhq.hu/MPlayer/releases/codecs/all-20110131.tar.bz2 82 tar jxf all-20110131.tar.bz 83 mkdir -p /usr/lib64/codecs 84 tar -jxvf all-20110131.tar.bz2 85 cp all-20110131/* /usr/lib64/codecs 86 rm all-20110131.tar.bz 87 rm -r all-20110131 88 #配置samba