1. initialize the configuration after fedora19 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. Service1.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
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.