1.启用sudo: 方法一:用root修改/etc/sudoers文件(vi /etc/sudoers 或visudo),在root ALL=(ALL) ALL 下插入username ALL=(ALL) ALL
方法二:命令:useradd -G username wheel .
注:username替换为真实的username.
2.安装fastestmirror:yum install yum-fastestmirror yum-presto
3.设置网易搜狐源:
1. 添加搜狐的源
进入网站http://mirrors.sohu.com/,在左边找到fedora目录,点击该行右边的help, 然后
下载fedora-sohu.repo和fedora-updates-sohu.repo, 放入/etc/yum.repos.d/
运行yum makecache生成缓存
2. 添加163的源
进入网站 http://mirrors.163.com/,在左边找到fedora目录,点击改行右边的使用帮助,然后
下载fedora-163.repo和fedora-updates-163.repo, 放入/etc/yum.repos.d/
运行yum makecache生成缓存
4.更新系统:
sudo yum check-update
5.安装GCC,G++,Vim,中文输入法ibus-pinyin
sudo yum install gcc gcc-c++ vim ibus ibus-pinyin