Skip to content

linux系统运维、服务器架设、常用命令介绍 #132

Open
@v5tech

Description

@v5tech

http://linoxide.com/
https://linux.cn/
https://www.howtoforge.com/
如何在 Ubuntu/Fedora/Debian 中安装 GitLab
https://linux.cn/article-6904-1-shareweibo.html
流媒体服务器搭建
https://www.vultr.com/docs/setup-nginx-rtmp-on-ubuntu-14-04
https://www.vultr.com/docs/setup-nginx-on-ubuntu-to-stream-live-hls-video

VMware Ubuntu 12.04 NAT静态IP配置

1.修改/etc/network/interfaces文件

sudo vim /etc/network/interfaces

2.配置IP信息

#auto lo
#iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.64.128
gateway 192.168.64.2
netmask 255.255.255.0
dns-nameservers 192.168.64.2 8.8.8.8 223.5.5.5 223.6.6.6

3.重启网卡使更新生效

sudo resolvconf -u
sudo /etc/init.d/networking restart
cat /etc/resolv.conf

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions