Basic configuration after installation of Fedora16

Source: Internet
Author: User
The Basic System of Fedora16 has been installed, but it still cannot work well. This article records the problems encountered during the installation and solution of some tool software. 1. Log On As the root user, and comment out authrequiredpam_succeed_if.souser in vi/etc/pam. d/gestation! = Rootquiet

The installation of the Basic System of Fedora 16 is complete, but it still cannot work well. This article records the problems encountered during the installation and solution of some tool software.
1. root User LoginVi/etc/pam. d/MCM comment out auth required pam_succeed_if.so user! = Root quiet vi/etc/pam. d/MCM-password comment out auth required pam_succeed_if.so user! = Root quiet
2. Automatic Login by the root userVi/etc/TPD/custom. conf add [daemon] AutomaticLoginEnable = true AutomaticLogin = root
3. vi/vimYum install vim-enhanced-7.3.315-1.fc16.i686
Copied directly from the original Ubuntu system. vimrc and. in the vim folder, we found that many of vim plug-ins are not easy to use under the root user, and c-support does not even have file header comments. I found the cause, it turns out that both vi and vim in ubuntu are linked to gvim (forgot whether it is the system's own or later installed by myself, ^ _ ^), but there is no gvim on fedora 16, therefore, using vi does not work. Solution: Add alias vi = 'vim 'to vi/root/. bashrc'
4. Set static IP addressesRun the command ifconfig to find out the NIC device name, I am here p2p1, new/etc/sysconfig/network-scripts/ifcfg-p2p1, add content

  1. DEVICE=P2p1
  2. IPADDR=192.168.18.200
  3. NETMASK=255.255.255.0
  4. HWADDR=00:03:25:24:93:C5
  5. ONBOOT=Yes
  6. BOOTPROTO=None
  7. USERCTL=No
  8. TYPE=Ethernet
  9. GATEWAY=192.168.18.1
  10. PREFIX=24
Restart the network service network restart
5. Add the Switch module to perlYum install perl-Switch.noarch (Required when compiling Android source code)
6. run google-chrome as the root user Vi/opt/google/chrome/google-chrome, replace the last line with exec-a "$0" "$ HERE/chrome" "$ @" -- user-data-dir $ HOME
7. Install the X11 header file Yum-y groupinstall "X Software Development" (often used to compile Software source code)
8. Install JDK 6 : Http://www.Oracle.com/technetwork/java/javase/downloads/jdk-6u25-download-346242.htmlDecompress the package to/usr, run vi/root/. bashrc, and add
  1. Export JAVA_HOME=/Usr/Jdk1.6.0_25
  2. Export JRE_HOME=/Usr/Jdk1.6.0_25/Jre
  3. Export PATH=$PATH:/Usr/Jdk1.6.0_25/Bin
  4. Export CLASSPATH=./:/Usr/Jdk1.6.0_25/Lib:/Usr/Jdk1.6.0_25/Jre/Lib

9. Install AdobeReader$ Rpm-ivh H T T P :// L I N U X D O W N L O A D. A D O B E. C O M/ A D O B E- R E L E A S E/ A D O B E- R E L E A S E- I 3 8 6- 1. 0- 1. N O A R C H. R P M$ Rpm -- import/etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux $ yum install AdobeReader_enu
10. Modify the Host Name$ Vi/etc/sysconfig/network modify the HOSTNAME field and restart the network

For more information about Fedora, see Fedora topics page http://www.linuxidc.com/topicnews.aspx? Tid = 5

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.