Fedora10 virtual machine configuration

Source: Internet
Author: User

Fedora10 virtual machine configuration to reinstall fedora10: You need to configure samba, nfs, tftp and network 1, disable the firewall. There are two ways to disable selinux: one is to set the first item in system --> administration --> selinux management in the GUI to disabled, the second is to modify vim/etc/selinux/config to change SELINUX = enforcing to SELINUX = disabled. After modification, the modification must be restarted to make the change take effect. 2. network Configuration vim/etc/sysconfig/network-scripts/ifcfg-eth0 write the following configuration: DEVICE = eth0HWADDR = 00: 0c: 29: 5f: 52: 81 BOOTPROTO = noneNETMASK = Authorization = yesUSERCTL = noPEERDNS = yesIPV6INIT = noNM_CONTROLLED = yesGATEWAY = Authorization = ethernetDNS1 = 192.0.0.200DNS2 = Authorization 3. add share in the samba graphic interface, in server setting, authentication mode = share, encrypt password = no, guest account = nobody. Finally, run service nmb restart service smb restart 4. Configure vim/etc/exports for Nfs and add the following content to the exports file:/mnt/rootfs * (rw, sync, no_root_squash) select/mnt/rootfs as the nfs service source folder. The target board can be mounted to rootfs through boot; * indicates that all IP addresses can be accessed; (rw, sync, no_root_squash) indicates permissions: readable and writable, no cache is required for synchronous data transmission, and the root and non-root identities are differentiated. Nfs server restart service nfs restart 5. Tftp configuration install tftp, yum install tftp-server tftp xinetd or install rpm package rpm-ivh tftp-0.42-4.i386.rpmrpm-ivh xinetd-2.3.14-12.fc7.i386.rpmrpm-ivh tftp-server-0.42-4.i386.rpmvim/etc/xinetd. d/tftp add configuration file: service tftp {socket_type = dgram protocol = udp wait = yes user = root server =/usr/sbin/in. tftpd server_args =-s/tftpboot-c disable = no per_source = 11 cps = 100 2 flags = IPv4} modify "server_args =-s/tftp-c". The parameter-s specifies the Home Directory of the tftp server, -c indicates that you can create a file in this directory and modify "disable = no" to enable the tftp service. Create the tftp home directory and start tftp-server. # Mkdir/tftp (create the tftp main directory) # chmod 755/tftp (Set directory permissions) # service xinetd restart (restart super-server) netstat-a | grep tftp verify that the tftp server is successfully configured. 6. fedora_10 root account cannot log on to solution 1. start the terminal with a normal account, and switch su to the root account. 2. switch to/etc/pam. d/directory (note pam dot d) 3 .. use vi to edit gdm4. comment out auth required pam_succeed_if.so user! = Root quiet this line is # auth required pam_succeed_if.so user! = Root quiet5. log out and switch to the root user. Then, your fc10 root account can be successfully logged in.

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.