(1)请问怎么在linux下面怎么更改计算机的名字啊,多谢了!!
答: 1在 /etc/sysconfig/network文件中改,在此文件夹下改网络上的计算机名。
2. 把/etc/hosts,文件中的localhost.localdomain localhost”替换成你要的名字就行了,在此改本地的计算机名字。1 2 方法名字可不同
也可相同。便于记忆最好相同。
3. 有的系统还需要重新登陆一下,可执行”service network restart”
4. 直接hostname也可改,但是在系统重启后又恢复到原来状态。
(2)请问怎样在LINUX下更改MAC地址?
答:1临时修改的一个方法,重启后会还原。
具体方法如下:
ifconfig eth0 down #把网卡先关闭
ifconfig eth0 hw ether 00:00:5c:33:21:5c #输入所需要的mac
ifconfig eth0 up #激活网卡
运行ifconfig 查看,eth0的MAC地址变了。
2 Under Linux, the MAC address of a Network Interface Card (NIC) can be changed by doing the following: (You must be root in
order for this to work)
/etc/init.d/networking stop
ifconfig eth0 hw ether 00:01:02:03:04:08
/etc/init.d/networking start
That's all there is to it.
In Redhat and other similar systems (Fedora, etc) an easy way to make it "permanent" across reboots is to just add a variable
like this 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通过ifconfig指令
可以看看man设置的非常详细 man ifconfig
4首先必须关闭网卡设备,否则会报告系统忙,无法更改。
命令是:“/sbin/ifconfig eth0 down”
2.修改MAC地址,这一步较Windows中的修改要简单。
命令是:“/sbin/ifconfig eth0 hw ether 00?AA?BB?CC?DD?EE”
3.重新启用网卡
“/sbin/ifconfig eth0 up”网卡的MAC地址更改就完成了。
(3)请问出现乱码怎样修改字体。
答:1编辑 vi /etc/sysconfig/i180
删除字体:::中的其他字体留下zh(中文简体)
保存即可
linux下如何禁用防火墙? linux 防火墙配置命令 iptables
/etc/init.d/iptables stop (停止防火墙)
或
iptables -F (清空防火墙规则,拆除防火墙)
linux 防火墙配置命令
2whitecup_1979为什么在LINUX9中配置好的IP和网关一重启就得重新配置!
偶用
#ifconfig eth0 192.168.0.200 netmask 255.255.255.0 up
#route add default gw 192.168.0.1
重启以后用
#IFCONFIG
就看不到IP
#NETSTART -RN
就看不到网关
还有就是在文本模式下外面的DNS(210.22.70.3,202.96.209.5)如何加的
在LINUX改哪个文件呀!
谢谢!
3在shell命令行下如何重命名一个文件夹?谢谢
mv ./origin ./new_name
我的主机是WINDOWS XP,用Vwmare在其中装了Fedora core 5 linux
1,怎么装Vmware tools?
2,怎么实现虚拟机Fedora core 5 linux 访问主机windows上的资源?
3。Fedora core 5 linux上的电影播放器Totem播放时却出现 怎么回事?
4 在虚拟机Fedora core 5 linux上怎么样给文件夹重命名?
两种方式可以使得linux和Windows资源共享,一种是把共享文件用iso光盘镜像,
然后使用vmware挂载光盘镜像为虚拟电脑的光驱,
另一种是在Linux上配置smb服务,并设置共享文件夹。或者在linux上启用,
httpd或ftp服务,将linux电脑配置成web服务器或文件服务器,虚拟机实现需要
配置vmware的虚拟nat功能
FC 5默认是使用totem播放器,这款播放器很强大,但是fc 5没有为它安装任何解
码器和播放插件,你需要自行下载相应软件,推荐使用mplayer,这是目前我所用
过的夸平台播放器中最强悍的一款,支持上百种视频驱动,标准安装后支持216种
视频格式,96种音频格式,基本上没有它不能播放的多媒体文件。
FC 5的gnome环境在重命名文件时有bug,原因可能是scim支持的问题,建议使用
mv命令在shell下对文件进行重命名,正常情况下,重命名文件和Windows下操作
一样!
返回顶部