Linux 单网卡多 IP 的配置方法 1 .永久配置的方法: 知道在 Linux 下网卡被称为 eth0,eth1,eth2..... ,所有网卡的配置文件都存储在 /etc/sysconfig/network/ 下,文件名是以 ifcfg-eth0,ifcfg-eth1,ifcfg-eth2.... 来命名的. 一块网卡对应一个配置文件.如果我们要给 eth0 配置两个 IP 地址,我们该怎么办呢? 可以找到对应 MAC 地址的网卡信息: ifcfg-eth-id-00:0c:29:7…
一.Linux内核配置编译 1. 交叉编译设置:make ARCH=arm CROSS_COMPILE=arm-linux- 注:也可以直接修改顶层Makefile ARCH ?= arm CROSS_COMPILE ?= arm-linux- 2. 加载默认设置:make mini2440_defconfig ① make mini2440_config: 将arch/arm/configs目录下的mini2440_defconfig文件复制为.config ② make menuconfig…
在Linux上配置xampp后远程访问域名报错: New XAMPP security concept: Access to the requested object is only available from the local network. This setting can be configured in the file "httpd-xampp.conf". 初步分析了一下错误原因是:安全异常,需要修改httpd-xampp.conf.这个文件在:/opt/lampp/…