zl程序教程

您现在的位置是:首页 >  系统

当前栏目

[Linux] IP 地址配置, 网络地址配置文件

2023-09-14 09:02:26 时间

通过llama.cpp与羊驼聊天的网页界面- 详解 Serge 的启动使用

 

# 查看与配置网络状态命令

$ ifconfig

 

# 临时设置 eth0 网卡的 IP 地址与子网掩码,netmask 可以省略

$ ifconfig eth0 192.168.0.100 netmask 255.255.255.0

 

# 永久配置 IP 地址,修改配置文件

$ vi /etc/network/interfaces

$ systemctl restart networking

 

Link:https://www.cnblogs.com/farwish/p/14994627.html