Fedora一些设置

设置终端快捷键

【系统设置】-【键盘】-【快捷键】-【自定义快捷键】

选择左下角的"+",输入名称:BootTerminal 命令输入终端路径

/usr/bin/gnome-terminal

(可以用 # locate terminal |grep bin查找terminal命令所在路径)

关闭对话框后,点击【禁用】,同时按下Ctrl+Alt+T.


改变源

下载fedora-sohu.repofedora-updates-sohu.repo, 放入/etc/yum.repos.d/

运行yum makecache生成缓存



开机进入字符界面

You can switch to 'runlevel 3' by running

systemctl isolate multi-user.target (or) systemctl isolate runlevel3.target 

You can switch to 'runlevel 5' by running

systemctl isolate graphical.target (or) systemctl isolate runlevel5.target


安装FLASH插件及READER

Flash plugin

You have to chose either based on the hardware architecture you are using.

x86_64 (64-bit)

sudo yum install http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm -y

x86 (32-bit)

sudo yum install http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm -y

Install the Adobe Flash web browser plugin

The first command imports the GPG key for the Adobe Flash plugin repository and the second command installs the plugin itself.

sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
sudo yum install flash-plugin -y

Installing the plugin on Chromium web browser

Follow all of the instructions in the Enabling Flash Plugin section. Then:

- on 64-bit, create a symbolic link that tells Chromium how to find the 64-bit plugin:

sudo ln -s /usr/lib64/mozilla/plugins/libflashplayer.so /usr/lib64/chromium-browser/plugins/libflashplayer.so

- on 32-bit, create a symbolic link that tells Chromium how to find the 32-bit plugin:

sudo ln -s /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/chromium-browser/plugins/libflashplayer.so

- Exit all Chromium windows and restart Chromium.

- In the Chromium address bar, type "about:plugins" to check whether the plugin loaded. You may have to re-run Chromium with the --enable-plugins command line switch to force Chromium to re-scan its plugins folder.



http://blog.163.com/jackswu@yeah/blog/static/14062912320125854159365/



启动sshd

rpm -qa|grep openssh-server  查看是否安装openssh

service sshd status   查看sshd状态

service sshd start     启动ssh

sysemctl enable sshd.service   开机启动sshd


改变启动顺序

1. 利用终端,首先找到Windows的menuentry.
# cat /boot/grub2/grub.cfg | grep Windows
结果:
menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os {
2. 设置Windows 作为默认的启动项(这儿只能使用上面命令输出中双引号 “ ” 或者单引号 ‘ ‘ 中的内容)
# grub2-set-default "Windows 7 (loader) (on /dev/sda1)"
3. 验证默认启动项
# grub2-editenv list
输出: 
saved_entry=Windows 7 (loader) (on /dev/sda1)
重启电脑之后就看到默认启动项是windows了。
我第一次这么设置没问题的,后来又装了一次系统,这个方法就不好用了,不知道怎么搞的。如果这个方法不行的话,用第二个方法。


安装Chrome

1)下载chrome:chrome download,选择rpm版,下载地址:http://www.google.cn/chrome/intl/zh-CN/landing_chrome.html
2)  在Fedora终端用命令:rpm -ivh google-chrome-stable_current_i386.rpm
出现如下错误:
warning: google-chrome-stable_current_i386.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY
error: Failed dependencies:
    lsb >= 4.0 is needed by google-chrome-stable-18.0.1025.162-131933.i386
    libXss.so.1 is needed by google-chrome-stable-18.0.1025.162-131933.i386
    wget is needed by google-chrome-stable-18.0.1025.162-131933.i386
解决方案:
yum install RedHat-lsb
yum install wget
yum install libXScrnSaver
3)再用命令:rpm -ivh google-chrome-stable_current_i386.rpm

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值