博主原创:

 #!/bin/bash
echo "更换源&更新源......"
yum install wget -y
yum install yum-fastestmirror -y
rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm
yum install flash-plugin -y
wget -c -P /etc/yum.repos.d http://mirrors.163.com/.help/fedora-163.repo
wget -c -P /etc/yum.repos.d http://mirrors.163.com/.help/fedora-updates-163.repo
wget -c -P /etc/yum.repos.d http://mirrors.sohu.com/help/fedora-sohu.repo
wget -c -P /etc/yum.repos.d http://mirrors.sohu.com/help/fedora-updates-sohu.repo
wget -c -P /etc/yum.repos.d http://mirror.bjtu.edu.cn/fedora-bjtu.repo
wget -c -P /etc/yum.repos.d http://mirror.bjtu.edu.cn/fedora-updates-bjtu.repo
yum makecache
dnf update -y echo "清理垃圾......"
yum clean all
dnf clean all echo "安装‘右键添加打开终端’......"
yum install nautilus-open-terminal -y echo "安装‘界面设置’......"
yum install gnome-tweak-tool -y echo "安装文件压缩插件......"
yum install unzip -y echo "安装谷歌浏览器......"
yum install --nogpgcheck https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm -y echo "安装搜狗输入法......"
yum remove ibus -y
gsettings set org.gnome.settings-daemon.plugins.keyboard active false
yum install fcitx -y
yum install fcitx-configtool.x86_64 -y
echo "export GTK_IM_MODULE=fcitx" >> ~/.bashrc
echo "export QT_IM_MODULE=fcitx" >> ~/.bashrc
echo 'export XMODIFIERS="@im=fcitx"' >> ~/.bashrc
source ~/.bashrc
wget -c -nv -P /opt http://pinyin.sogou.com/linux/download.php?f=linux&bit=64
mv /opt/download.php?f=linux /opt/sougou-.deb
ar vx /opt/sougou-.deb
tar -Jxvf data.tar.xlsz -C /
cp /usr/lib/x86_64-linux-gnu/fcitx/fcitx-sogoupinyin.so /usr/lib64/fcitx/fcitx-sogoupinyin.so
fcitx
sogou-qimpanel echo "安装docker......"
yum install docker -y
sevice docker start
setenforce
cp /etc/selinux/config /etc/selinux/config.bak
cat /dev/null > /etc/selinux/config
echo "SELINUX=disabled" >> /etc/selinux/config
echo "SELINUXTYPE=targeted" >> /etc/selinux/config echo "清理垃圾......"
yum clean all
dnf clean all echo "重启系统......"
reboot

fedora装机运行第一脚本的更多相关文章

  1. [Micropython] TPYBoard STM32F407开发板运行第一个脚本

    从这篇教程开始将动手在TPYBoard STM32F407开发板上运行 Python 脚本,下面教大家拿到这个开发板后怎么用!(该款开发板某宝上有售) 1 连接开发板 通过 USB 线连接你的 PC ...

  2. 如何在命令行里运行python脚本

    python是一款应用非常广泛的脚本程序语言,谷歌公司的网页就是用python编写.python在生物信息.统计.网页制作.计算等多个领域都体现出了强大的功能.python和其他脚本语言如java.R ...

  3. 老李推荐:第5章3节《MonkeyRunner源码剖析》Monkey原理分析-启动运行: 启动脚本

    老李推荐:第5章3节<MonkeyRunner源码剖析>Monkey原理分析-启动运行: 启动脚本   poptest是国内唯一一家培养测试开发工程师的培训机构,以学员能胜任自动化测试,性 ...

  4. 运行 Shell 脚本有两种方法:

    1.作为可执行程序 将上面的代码保存为 test.sh,并 cd 到相应目录: chmod +x ./test.sh #使脚本具有执行权限 ./test.sh #执行脚本 注意,一定要写成 ./tes ...

  5. 如何在Apache中运行Python脚本

    第一步:进入C:\Apache24\cgi-bin: 第二步:在cgi-bin目录下新建一个hello.py文件: 第三步: #!python #coding:utf-8 print("co ...

  6. 如何在Windows下开发Python:在cmd下运行Python脚本+如何使用Python Shell(command line模式和GUI模式)+如何使用Python IDE

    http://www.crifan.com/how_to_do_python_development_under_windows_environment/ 本文目的 希望对于,如何在Windows下, ...

  7. 命令行运行Python脚本时传入参数的三种方式

    原文链接:命令行运行Python脚本时传入参数的三种方式(原文的几处错误在此已纠正) 如果在运行python脚本时需要传入一些参数,例如gpus与batch_size,可以使用如下三种方式. pyth ...

  8. 让powershell同时只能运行一个脚本(进程互斥例子)

    powershell,mutex,互斥,进程互斥,脚本互斥 powershell脚本互斥例子,在powershell类别文章中,声明原创唯一. powershell 传教士 原创文章 2016-07- ...

  9. monkeyrunner之eclipse中运行monkeyrunner脚本之环境搭建(四)

    monkeyrunner脚本使用Python语法编写,但它实际上是通过Jython来解释执行. Jython是Python的Java实现,它将Python代码解释成Java虚拟机上的字节码并执行,这种 ...

随机推荐

  1. css文件放在根目录之后不起作用原因

    修改为

  2. ubuntu16.04忘了root密码

    1.开机点击ESC,进去GUN GRUB界面 2.选择有recovery mode的选项,按e进入命令行 3.找到有recovery nomodeset的行,删除recovery nomodeset, ...

  3. rpcserver不可用

    今天用打印机.电脑一直弹出rpcserver不可用.如图: 解决的方法:将例如以下服务启动就可以解决,如图:

  4. Android应用Preference相关及源代码浅析(SharePreferences篇)

    1 前言 在我们开发Android过程中数据的存储会有非常多种解决方式,譬如常见的文件存储.数据库存储.网络云存储等,可是Android系统为咱们提供了更加方便的一种数据存储方式.那就是SharePr ...

  5. 使用Filter过滤非法内容

    1.首先,需要编写一个响应的封装器ResponseReplaceWrapper,用它来缓存response中的内容,代码如下: ResponseReplaceWrapper.java package ...

  6. iOS开发点滴 - 如何通过Segue写代码传递数据从一个ViewController到另一个ViewController(Swift代码)

    1. 拖线 按住Control键,用鼠标从源控制器的某个控件开始,拖动到目的控制器 2. 选择弹出类型并设置Segue Identifier 在弹出的对话框中,选择“Selection Segue-& ...

  7. 将/home空间从新挂载到/var/lib/docker

    [lxl@node1 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/centos-root 49G 34G 15G ...

  8. Fiber Channel SAN Storage

    http://www.infotechguyz.com/VMware/FiberChannelSANStorage.html Using Fibre Channel with ESX/ESXi Fib ...

  9. maven安装配置部署建项运行

    http://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-websocket/1.4.1.RELEA ...

  10. ngx_lua实现页面跳转

    好久不用ngx_lua了,忽然被问到如何实现页面跳转,半天没反应过来,查了半天资料搞出来的,在这里做一个备份. 需求说明:***.taobao.com 跳转到 www.taobao.com/?url= ...