fedora20系统安装及配置

fedora20系统安装及配置刻录系统启动盘

首先在官网下载fedora镜像文件,在windows下使用软碟通,打开映像文件,插入U盘,点击:启动->写入硬盘映像。U盘启动盘就做好了。

注:打开镜像文件后要确认,是否镜像里的所有文件都被读取到了,我第一次使用的软碟通有问题,只读取了部分文件。后来换了个版本的软碟通就好了。

fedora20安装时的磁盘分区

在windows下有一个空盘150G用于安装fedora,分区时系统提示需要留出9G+用于安装程序,%&¥#@。所以分好/、/boot和swap后一定要留出来10G的可用空间。

注:我不知道为什么要留出这么多给安装程序使用,注意看错误信息就好,不看错误信息害死人

配置网络

fedora20下默认的网卡名字居然是p2p1,这个名字好像是可以改的。 先找到配置文件

# cd /etc/sysconfig/network-scripts# vi ifcfg-p2p1

确定几个参数值:

BOOTPROTO=”dhcp” ONBOOT=”yes”

再配置好DNS

# vi /etc/resolv.conf

基本上就是默认的吧。

安装锐捷

锐捷是使用的Linux绿色版,安装锐捷最重要的是看ReadMe文件啊,最最重要的是使用–help选项查看各个参数的使用啊。

选项 参数

-a [0/1]认证模式,0–无线模式、1–有线模式(默认)

-d [0/1]使用dhcp,0–使用系统配置(默认)、1–dhcp

-n [eg. eth0]指定网卡名称,先用ifconfig查看网卡名称

-u 用户名

-p 密码

切换中文输入法

fedora20默认安装了ibus输入法,,但是安装成功之后切换往往会不成功。这时候就要检查语言设置中有没有添加中文输入源。

All Settings->Region&Language->Input Sources->Chinese(Intelligent Pinyin)

输入法切换是super键+space键

窗口最小化等界面优化

窗口右上角居然只有关闭按钮,没有最小化实在是不爽。这就需要安装gnome-tweak-tool来进行设置。

# sudo yum install gnome-tweak-tool

在Activities中呼出所有软件,在Utilities中找到Tweak Tool。里面的设置挺多的,可以显示最大化和最小化按钮,在桌面上显示图标等。

设置最快软件源

安装yum-plugin-fastestmirror插件

# sudo yum install yum-plugin-fastestmirrorxx is not in the sudoers file

fedora普通用户下使用sudo操作会出现下面的错误:

xxx is not in the sudoers file. This incident will be reported.

这是因为系统中并没有把任何root用户之外的用户默认的添加到sudoers之中,这样我们在执行sudo 命令时就会出现这样的错误输出。现在为了安全起见比较提倡使用普通用户做日常操作,而在需要超级用户的时候使用sudo 来做,这样,我们就有必要把一些用户添加到sudoers之中。 修改步骤如下: 1.查找文件的位置(默认都是/etc/sudoers)并查看文件的操纵权限

# whereis sudoers# ls -l /etc/sudoers

2.以超级用户登录,修改sudoers文件属性,添加root的写权限

# su# chmod u+w /etc/sudoers

3.使用vi在root ALL=(ALL)ALL行下添加XXX ALL=(ALL)ALL,XXX为你的用户名

# vi /etc/sudoers

4.将文件权限恢复为原始权限

# chmod u-w /etc/sudoers

5.Done

启动ssh以便能远程访问# systemctl start sshd# systemctl enable sshd安装remarkable

Remarkable好用到哭,所以赶紧装上吧。 官网下载: 安装:

# rpm -ivh remarkable-1.41.rpm

错误:

error: Failed dependencies: python3-markdown is needed by remarkable-1.41-1.noarch python3-beautifulsoup4 is needed by remarkable-1.41-1.noarch wkhtmltopdf is needed by remarkable-1.41-1.noarch

解决:

# sudo yum install python3-markdown# sudo yum install python3-beautifulsoup4

错误:

error: Failed dependencies: wkhtmltopdf is needed by remarkable-1.41-1.noarch

解决:

# sudo yum install wkhtmltopdf

再试一次:

# sudo rpm -ivh remarkable-1.41.rpm

安装Chrome:

yum localinstall –nogpgcheck https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm

安装了google-chrome,但是却在root用户下打不开,经过搜索有一个解决办法:

修改(vi /opt/google/chrome/google-chrome): 到达最后一行,将原来的“exec -a “HERE/chrome” “@””修改为:

exec -a “HERE/chrome” “@ –user-data-dir” 即在@后面加上–user-data-dir就好了!!

充满了恐惧的声音,一种不确定的归宿的流动。

fedora20系统安装及配置

相关文章:

你感兴趣的文章:

标签云: