Fedora14 Development Environment Installation

Source: Internet
Author: User
Tags svn client
Similar data has been written several times, but each time it is scattered. This time, we strive to write a more comprehensive one. Includes all the necessary software installation and settings at work. The installation of Fedora14 is very simple. After the disc is inserted, restart the computer and select boot to go to the boot interface of the disc. Select InstalltoDisk on the desktop. After the installation is successful, install the software: System-& gt; Administration-& gt; Add/RemoteSoftware1.

Similar data has been written several times, but each time it is scattered. This time, we strive to write a more comprehensive one. Includes all the necessary software installation and settings at work.

The installation of Fedora 14 is very simple. After the disc is inserted, restart the computer and select boot to go to the boot interface of the disc. Select Install to Disk on the desktop.

After the installation is successful, install the software:

System-> Administration-> Add/Remote Software

1. Install codeblocks:

Write: codeblocks in the search box.

Select All plug-ins.

2. Install the compiler:

Write: gcc-c ++ in the search box

3. Install nfs server:

Write: nfs in the search box

Select nfs_utils.

4. Install sambe:

Write: sambe in the search box

5. Install svn client:

Write: svn in the search box

Select the svn client.

6. Install emacs:

Write: emacs in the search box

7. Install sudo

Write: sudo in the search box

8. libc.:

# Yum install glibc-static

After the required software is installed, start the Configuration:

1. Configure NFS Server:

# Emacs/etc/exports

/Home/sam/work1/NFS_DIR-rw 10.0.0.12

The mount directory of the Server is/home/sam/work1/NFS_DIR.

The remote device that can be mounted Is 10.0.0.12.

The permission is read/write.

Set NFS Server to auto start:

# Setup

System Serivces

Select nfs.

In the future, the nfs server will be automatically started when it is restarted.

Start NFS Server:

/Etc/init. d/nfs restart

On the Development Board (10.0.0.12), you can mount the Server to specify the directory:

# Mount-t nfs-o nolock 10.0.0.39:/home/sam/work1/NFS_DIR/mnt

2. Configure samba:

Samba is a common method for Sam to access Linux in Windows.

Sam often uses vs or SourceInsight to read and write Linux code on Windows. And use Makefile for compiling in Linux. Is to map the Linux directory to a partition on Windows using samba.

Add a samba user. Note that the user name to be created must have the same name as an existing user in a system.

Add samba user --- sam

# Smbpasswd-a sam

Enter the password.

Set samba to auto start:

# Setup

System Serivces

Select smb

Samba will be automatically started when it is restarted in the future.

Start SMB:

/Etc/init. d/smb restart

In Windows,

My computer --> tool --> ing network drive

\ 10.0.0.39 \ sam

In Windows, multiple partitions are added. Is the Sam directory in Linux.

3. Causes and handling of NFS and samba usage exceptions:

1. iptalble

# Setup

System Serivces

Remove iptables

2: firewall:

# Setup

Remove the Firewall option.

3: SELinux:

# Emacs/etc/selinux/config

Modify as follows:

SELINUX = disabled

4. Add the user to the sudoers list:

Modify the configuration file permission to writable:

# Chmod 640/etc/sudoers

# Emacs/etc/sudoers

Find the following statement:

Root ALL = (ALL) ALL

Add the following statement below:

Sam ALL = (ALL) ALL

Modify the Configuration File Permission back:

# Chmod 440/etc/sudoers

Now sudo can be used normally.

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.