Record some necessary software packages to be installed after fedora20 Installation

Source: Internet
Author: User
Tags gstreamer

1. initialize the configuration after fedora20 is installed


1.1. Firewall

If your computer is in a LAN, the firewall does not need to be stopped!

Sudo systemctl stop firewalld. service
Sudo systemctl disable firewalld. service


1.2. SELinux


Stop SELinux if you don't need it.

Sudo vi/etc/sysconfig/selinux

# This file controls the state of SELinux on the system.
# SELINUX = can take one of these three values:
#

Enforcing-SELinux security policy is enforced.
# Permissive-SELinux prints warnings instead of enforcing.
# Disabled-SELinux is fully disabled.
SELINUX = Disabled# Change

# SELINUXTYPE = type of policy in use. Possible values are:
#
Targeted-Only targeted network daemons are protected.
# Strict-Full SELinux protection.
SELINUXTYPE = targeted
2. Install the rpmfusion Source



It has a lot of free and non-free software, audio and video decoder.


Source of Fedora 14:

Sudo yum localinstall -- nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-14.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-14.noarch.rpm

Source of Fedora 15:
Sudo yum localinstall -- nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-15.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-15.noarch.rpm

Source of Fedora 16:
Sudo yum localinstall -- nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-16.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-16.noarch.rpm

Source of Fedora 17:
Sudo yum localinstall -- nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-17.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-17.noarch.rpm

Source of Fedora 18:
Sudo yum localinstall -- nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-18.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-18.noarch.rpm


Source of Fedora 19:
Sudo yum localinstall -- nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-19.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-19.noarch.rpm

Source of Fedora20:
Sudo yum localinstall -- nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-20.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-20.noarch.rpm


3. install some useful software packages.


Sudo yum-y install yum-fastestmirror unrar thunderbird emacs ibus-table \
Redhat-lsb gstreamer-plugins-bad gstreamer-plugins-uugly gstreamer-ffmpeg \
Compat-libstdc ++-33 NetworkManager-devel python-gevent tracker-ui-tools qemu \
Libpciaccess-devel xorg-x11-util-macros llvm-devel mtdev * mutt msmtp tftp \
Tftp-server policycoreutils-gui mtd-utils-ubi vim ibus-pinyin \
Gnome-tweak-tool ckermit stardict stardict-dic-zh_CN stardict-dic-en \
Ibus-table-chinese-wubi-haifeng gnash smplayer vlc samba pidgin-sipe \
Meld failed CT glibc-static ncurses-static genromfs cmake ccache p7zip nmap \
Gstreamer1-plugins-bad-freeworld gstreamer1-plugins-ugly gstreamer1-libav



4. upgrade the system:



Sudo yum-y update


5. Install chrome


32-bit system:
Wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.rpm
Sudo rpm-ivh google-chrome-stable_current_i386.rpm

64-bit system:
Wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
Sudo rpm-ivh google-chrome-stable_current_x86_64.rpm
6. Install flash plugin

32-bit system:

Wget http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm

Sudo rpm-ivh adobe-release-i386-1.0-1.noarch.rpm

64-bit system:

Wget http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm

Sudo rpm-ivh adobe-release-x86_64-1.0-1.noarch.rpm


Sudo yum-y install flash-plugin




7. install an audio/video decoder:


Wget http://mplayerhq.hu/MPlayer/releases/codecs/all-20110131.tar.bz2
Tar jxf all-20110131.tar.bz


32-bit system:

Sudo mkdir-p/usr/lib/codecs

Sudo cp all-20110131/*/usr/lib/codecs

64-bit system:

Sudo mkdir-p/usr/lib64/codecs

Sudo cp all-20110131/*/usr/lib64/codecs

8. Configure samba


Sudo smbpasswd-a-UYour_username # Set the login user name and password. You can run whoami to view your user name

Sudo systemctl enable smb. service # Start samba at startup

Sudo systemctl start smb. service # start samba immediately

Sudo systemctl restart smb. service # restart samba immediately

Sudo firewall-cmd -- permanent -- zone = public -- add-service = samba # configure the firewall so that other computers can access your computer.


The following is a simple configuration example:

Mkdir/home/public
Chmod 777/home/public

[Share]
Comment = Galen's Share
Path =/home/public
Writable = yes
Valid users =Your_username #You can run whoami to view your Username


After configuration, restart samba (sudo systemctl restart smb. service)


9. Configure NFS


Sudo systemctl enable nfs-server.service # boot NFS

Sudo systemctl start nfs-server.service # start NFS now

Sudo systemctl restart nfs-server.service # restart NFS now

# Disable the firewall. Otherwise (Mount: RPC: Unable to receive; errno = No route to host)

Sudo systemctl status firewalld. service
Sudo systemctl stop firewalld. service
Sudo systemctl disable firewalld. service

The following is a simple configuration example:

Vi/etc/exports

/Home/nfsroot * (rw, sync, no_subtree_check)


10. Configure the Input Method

The previous im-chooser cannot be used normally. Otherwise, the following Error occurs: "grule. Error: org. gtk. grule. UnmappedGError. Quark. _ imsettings_2derror_2dquark.Code5: Current desktop isn't targeted by Input Method ."


1. Click your user name in the upper-right corner of the screen, and a drop-down menu will appear. Click "System Settings/System Settings", similar to windows Control Panel.

2. Click "Region & Language/Region & Language"

3. Click the "Input Source/Input Sources" to add the Input method you want,

If no input method is available, enter the following command in the console to display all input methods:


Gsettings set org. gnome. desktop. input-sources show-all-sources true


4. In the Shortcut key/Shortcut Setting, set "Switch to next source" to Ctrl + Space.






Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.