Modify the font, MAC address, computer name, firewall, and IP folder name in Linux

Source: Internet
Author: User
Tags network function
(1) How can I change the computer name in Linux? Thank you !! Answer: 1. Change the name of the computer on the network in the/etc/sysconfig/network file. 2. Replace localhost. localdomain localhost in the/etc/hosts file with your desired name. Change the local computer name here. 1 2 The method name can be different or the same. It is best to keep the same memory easily. 3. Some systems also need to log on again, and you can execute "service network restart" 4. The hostname can be changed directly, but it is restored to the original status after the system is restarted. (2) How can I change the MAC address in Linux? A: 1. A method for temporary modification will be restored after restart. The specific method is as follows: ifconfig eth0 down # disable ifconfig eth0 HW ether 00: 00: 5C: 33: 21: 5C # enter the required macifconfig eth0 up # activate the nic and run ifconfig to check whether the MAC address of eth0 has changed. 2 under Linux, the MAC address of a network interface card (NIC) can be changed by doing the following: (you must be root Inorder for this to work)/etc/init. d/networking stopifconfig eth0 HW ether 00: 01: 02: 03: 04: 08/etc/init. d/networking startthat's all there is to it. in RedHat and other similar systems (fedora, etc) an easy way to make it "permanent" guest SS reboots is to just add a variablelike thi S to your ifcfg-eth0 or similar file: macaddr = 12: 34: 56: 78: 90: AB (upper or lower case on the MAC address are fine, because the network function does a "toupper" on it) and service network Restart for prompt results.3 you can use the ifconfig command to see how man sets ifconfig4. First, you must disable the NIC device, otherwise, the system is reported to be busy and cannot be changed. Command: "/sbin/ifconfig eth0 down" 2. Modify the MAC address. This step is simpler than that in windows. Command: "/sbin/ifconfig eth0 HW ether 00? AA? BB? CC? Dd? Ee "3. Enable the NIC"/sbin/ifconfig eth0 up "again and then change the MAC address of the NIC. (3) How can I modify the font with garbled characters. Answer: 1. Edit VI/etc/sysconfig/i180 to delete the font: Save ZH (Simplified Chinese) in other fonts to disable firewall in Linux? Linux firewall configuration command iptables/etc/init. d/iptables stop (stop the firewall) or iptables-F (clear the firewall rules and remove the firewall) linux firewall configuration command 2whitecup_1979 why the IP address and gateway configured in Linux9 must be reconfigured once it is restarted! Occasionally use # ifconfig eth0 192.168.0.200 netmask 255.255.255.0 up # route add default GW 192.168.0.1 after restart # ifconfig will not see the IP # netstart-Rn will not see the gateway and there is a DNS outside in text mode (210.22.70.3, 202.96.209.5) how to add a file to Linux! Thank you! 3. How can I rename a folder under the shell command line? Thank you, MV./origin./new_name. My host is Windows XP. I installed Fedora Core 5 linux1 with vwmare. How can I install VMware Tools? 2. How does one Implement Virtual Machine Fedora Core 5 Linux to access resources on windows? 3. What happened during totem playback of the movie player on Fedora Core 5 Linux? 4. How can I rename a folder on the Virtual Machine Fedora Core 5 Linux? 0 comments in total... the best answer is the answer selected by the questioner, this does not mean that I love to ask knowledgeable people about the incorrect ideas. Sorry, I will comment on this article. [newbie] VMware Tools needs to download the installation package online in two ways to share Linux and Windows resources, one is to use an iso cd image for shared files, and then use VMware to mount the CD image as the optical drive of the virtual computer. The other is to configure the smb service on Linux and set the shared folder. Or enable the httpd or FTP service on Linux and configure the Linux computer as a web server or file server. To implement virtual machine implementation, You need to configure the virtual NAT Function FC 5 of VMware. By default, Totem player is used, this player is very powerful, but FC 5 has not installed any decoder and playback plug-in for it. You need to download the corresponding software on your own. We recommend that you use mplayer, this is one of the most powerful player platforms I have used. It supports hundreds of video drivers. After standard installation, it supports 216 video formats and 96 audio formats, basically, there are no multimedia files that cannot be played. There is a bug in renaming files in the gnome environment of FC 5, which may be caused by scim support. We recommend that you use the MV command to rename the file in shell. Normally, renaming a file is the same as renaming a file in windows!

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.