安装配置fedora 18
1.制作启动u盘
Fedora-18-x86_64-Live-KDE.iso用liveusb制作就可以了
Fedora-18-x86_64-Live-Desktop.iso要用ultraiso制作
下面主要讲gnome版本.
2.修改label
在isolinux文件夹中,打开isolinux.cfg,将里面所有出现“Fedora-18-x86_64-Live-Desktop.is”的地方改为“Fedora-18-x”(也就是当前你的u盘的名字),再将syslinux.cfg的内容复制为与isolinux.cfg一模一样
3.为fedora18换源
参考:http://www.cnblogs.com/sheling/archive/2011/11/12/2246640.html
打开终端:按alt+F2,输入gnome-terminal,回车
在/etc/yum.repos.d中,删除所有的repo,再新建如下几个文件:
[fedora] name=Fedora $releasever - $basearch - 163.com failovermethod=priority baseurl=http://mirrors.163.com/fedora/releases/$releasever/Everything/$basearch/os/ mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch enabled=1 metadata_expire=7d gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch [fedora-debuginfo] name=Fedora $releasever - $basearch - Debug - 163.com failovermethod=priority baseurl=http://mirrors.163.com/fedora/releases/$releasever/Everything/$basearch/debug/ mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch enabled=0 metadata_expire=7d gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch [fedora-source] name=Fedora $releasever - Source - 163.com failovermethod=priority baseurl=http://mirrors.163.com/fedora/releases/$releasever/Everything/source/SRPMS/ mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-source-$releasever&arch=$basearch enabled=0 metadata_expire=7d gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
[updates] name=Fedora $releasever - $basearch - Updates - 163.com failovermethod=priority baseurl=http://mirrors.163.com/fedora/updates/$releasever/$basearch/ mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch [updates-debuginfo] name=Fedora $releasever - $basearch - Updates - Debug - 163.com failovermethod=priority baseurl=http://mirrors.163.com/fedora/updates/$releasever/$basearch/debug/ mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f$releasever&arch=$basearch enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch [updates-source] name=Fedora $releasever - Updates Source - 163.com failovermethod=priority baseurl=http://mirrors.163.com/fedora/updates/$releasever/SRPMS/ mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f$releasever&arch=$basearch enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
[Release-ftp.ustc.edu.cn] name=Fedora 18 – x86_64 baseurl=http://mirrors.ustc.edu.cn/fedora/linux/releases/18/Fedora/x86_64/os/ enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora [Everything-ftp.ustc.edu.cn] name=Everything 18 – x86_64 baseurl=http://mirrors.ustc.edu.cn/fedora/linux/releases/18/Everything/x86_64/os/ enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora [updates-ftp.ustc.edu.cn] name=Fedora updates baseurl=http://mirrors.ustc.edu.cn/fedora/linux/updates/18/x86_64/ enabled=1 gpgcheck=0
上交的源用不了,我不知道为啥。。。
命令:yum makecache
yum install fastestmirror
yum update
4.安装fcitx输入法
参考:http://tpf880725.blog.163.com/blog/static/59897698201253113155145/
先把自带的IBUS输入法删除掉yum remove ibus
yum remove imsettings imsettings-libs im-chooser
安装:
yum install fcitx
yum install fcitx-pinyin
yum install fcitx-sunpinyin
修改环境变量: vi ~/.bashrc
增加如下内容:
export GTK_IM_MODULE=xim
export XMODIFIERS="@im=fcitx"
export QT_IM_MODULE=xim
设置开机自动启动:打开终端,输入gnome-session-properties,在打开的图形界面中添加一条,名称和命令分别为fcitx fcitx就可以了。
重启以后就可以使用fcitx了。
不过还有两个问题,一个是没找到capslk的行为在哪里设置,二是没有找到桌面放不了东西这个怎么改。。。