wenlong1423
9/28/2014 - 3:40 PM

Fedora 20 setup

Fedora 20 setup

#依赖 ping 值选择最近源服务器
sudo yum install yum-plugin-fastestmirror

#基础应用
sudo yum install wget
sudo yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-20.noarch.rpm  http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-20.noarch.rpm
sudo yum install filezilla

#更多设置
sudo yum install gnome-tweak-tool
#窗口->Titlebar Buttons->Maximize&&Minimize

#Flash 32 位
sudo rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
sudo yum install flash-plugin

#Flash 64 位
sudo rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm
sudo yum install flash-plugin

#右键在终端中打开
sudo yum install nautilus-open-terminal

#字体渲染使用 infinality
sudo rpm -Uvh http://www.infinality.net/fedora/linux/infinality-repo-1.0-1.noarch.rpm
sudo yum install freetype-infinality fontconfig-infinality

#USE_STYLE="DEFAULT"
sudo yum install faenza-icon-theme  #安装faenza图标主题
sudo yum install gnome-shell-theme-zukitwo  #为系统安装zukitwo透明主题

#SS
sudo yum install m2crypto python-setuptools
sudo easy_install pip
sudo pip install shadowsocks

#gcc
sudo yum install gcc
sudo yum install gcc-c++

#wireshark
sudo yum install wireshark wireshark-gnome
sudo usermod -g wireshark wenlong

#亮度
echo "GRUB_CMDLINE_LINUX_DEFAULT=\"quiet splash acpi_osi=Linux acpi_backlight=vendor\"" >> /etc/default/grub 
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg

#chrome
wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
#双击安装

#mplayer
sudo yum install mplayer mplayer-gui


#中文
yum install kde-i18n-Chinese kde-l10n-Chinese
yum install im-chooser ibus-libpinyin
sudo yum install libreoffice-langpack-zh-Hans


#SSD
sudo yum install hdparm
wget -O /tmp/test_trim.sh "https://sites.google.com/site/lightrush/random-1/checkiftrimonext4isenabledandworking/test_trim.sh?attredirects=0&d=1"
chmod +x /tmp/test_trim.sh
sudo /tmp/test_trim.sh tempfile  50 /dev/mapper/fedora00-root