잠시만 기다려 주세요

     '왜 이재명은 자꾸만 국민들 보고 길바닥에 나가라고 하는 건가.. 정작 당신들은 뜨뜻한 곳에서 입만 나불거리고 있으면서...'
전체검색 :  
이번주 로또 및 연금번호 발생!!   |  HOME   |  여기는?   |  바다물때표   |  알림 (19)  |  여러가지 팁 (1095)  |  추천 및 재미 (163)  |  자료실 (28)  |  
시사, 이슈, 칼럼, 평론, 비평 (800)  |  끄적거림 (142)  |  문예 창작 (719)  |  바람 따라 (75)  |  시나리오 (760)  |  드라마 대본 (248)  |  
살인!


    리눅스 서버

리눅스 서버 - 각 운영체제별 서버 네트워크 아이피 설정, 랜카드 아이피 세팅, 설정
이 름 : 바다아이   |   조회수 : 8997         짧은 주소 : https://www.bada-ie.com/su/?211591784089
아래는 제 서버 아이피 기준으로 작성된 겁니다.
자신의 서버 아이피에 맞게 고치시면 되겠습니다.

 
Location: New Jersey
Main IP Address: 207.246.87.123


Important Information

  • In most cases, you should not need to adjust these files. Instances are normally configured using DHCP. You only really need to change these files if you are trying to enable additional IPs.
  • Changing to the examples below will cause problems if you take a snapshot of an instance and restore it. We recommend reverting back to DHCP before taking a snapshot.
  • You must restart your server via the control panel after adding extra IPs.

FreeBSD 10.x, FreeBSD 11.x, FreeBSD 12.x

Populate the /etc/rc.conf file with the following text.
static_routes="linklocal"
route_linklocal="-net 169.254.0.0/16 -interface vtnet0"
ifconfig_vtnet0="inet 207.246.87.123 netmask 255.255.254.0"
defaultrouter="207.246.86.1"


Reboot the system.
reboot

CentOS 6, CentOS 7

Populate the /etc/sysconfig/network-scripts/ifcfg-eth0 file with the following text.
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=207.246.87.123
NETMASK=255.255.254.0
GATEWAY=207.246.86.1
DNS1=108.61.10.10

Populate the /etc/sysconfig/network-scripts/route-eth0 file with the following text.
169.254.0.0/16 dev eth0
Restart networking or reboot.
service network restart

Debian 7, Debian 8

Populate the /etc/network/interfaces file with the following text.
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
	address 207.246.87.123
	netmask 255.255.254.0
	gateway 207.246.86.1
	dns-nameservers 108.61.10.10
	post-up ip route add 169.254.0.0/16 dev eth0


Restart networking or reboot.
systemctl restart networking.service

Debian 9

Populate the /etc/network/interfaces file with the following text.
auto lo
iface lo inet loopback

auto ens3
iface ens3 inet static
	address 207.246.87.123
	netmask 255.255.254.0
	gateway 207.246.86.1
	dns-nameservers 108.61.10.10
	post-up ip route add 169.254.0.0/16 dev ens3


Restart networking or reboot.
systemctl restart networking.service

Fedora 24 - 28

Populate the /etc/sysconfig/network-scripts/ifcfg-ens3 file with the following text.
DEVICE=ens3
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=static
NOZEROCONF=yes
IPADDR=207.246.87.123
NETMASK=255.255.254.0
GATEWAY=207.246.86.1
DNS1=108.61.10.10

Populate the /etc/sysconfig/network-scripts/route-ens3 file with the following text.
169.254.0.0/16 dev ens3
Restart networking or reboot.
systemctl restart network.service

Fedora 29

Run the following commands to configure the public network.

nmcli con add con-name public-net ifname ens3 type ethernet ipv4.method 'manual' ipv4.addresses '207.246.87.123/23' ipv4.gateway '207.246.86.1' ipv4.dns ''
nmcli con mod public-net +ipv4.dns '108.61.10.10'

OpenBSD 6.0 - OpenBSD 6.2

Populate the /etc/mygate file with the following text.
207.246.86.1
Populate the /etc/hostname.vio0 file with the following text.
inet 207.246.87.123 255.255.254.0 NONE
Populate the /etc/resolv.conf file with the following text.
nameserver 108.61.10.10
lookup file bind
Reboot the system.
reboot

OpenBSD 6.3, OpenBSD 6.4

Populate the /etc/mygate file with the following text.
207.246.86.1
Populate the /etc/hostname.vio0 file with the following text.
inet 207.246.87.123 255.255.254.0 NONE
Populate the /etc/resolv.conf file with the following text.
nameserver 108.61.10.10
lookup file bind
Reboot the system.
reboot

Ubuntu 12.xx - Ubuntu 15.xx

Populate the /etc/network/interfaces file with the following text.
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
	address 207.246.87.123
	netmask 255.255.254.0
	gateway 207.246.86.1
	dns-nameservers 108.61.10.10
	post-up ip route add 169.254.0.0/16 dev eth0


Start each interface or reboot the system.
ifup eth0

Ubuntu 16.xx, Ubuntu 17.04

Populate the /etc/network/interfaces file with the following text.
auto lo
iface lo inet loopback

auto ens3
iface ens3 inet static
	address 207.246.87.123
	netmask 255.255.254.0
	gateway 207.246.86.1
	dns-nameservers 108.61.10.10
	post-up ip route add 169.254.0.0/16 dev ens3


Start each interface or reboot the system.
ifup ens3

Ubuntu 17.10, Ubuntu 18.xx

Populate the /etc/netplan/10-ens3.yaml file with the following text.
network:
  version: 2
  renderer: networkd
  ethernets:
    ens3:
      dhcp4: no
      addresses: [207.246.87.123/23]
      gateway4: 207.246.86.1
      nameservers:
        addresses: [108.61.10.10]
      routes:
      - to: 169.254.0.0/16
        via: 207.246.86.1
        metric: 100
Update networking or reboot.
netplan apply

Windows Server 2012 R2, Windows Server 2016

To configure the main IPv4 manually:
  1. Open the windows control panel. You can access it from the start menu.
  2. Click "Network and Internet".
  3. Click "Network and Sharing Center".
  4. Click "Change adapter settings".
  5. Right click on the primary ethernet adapter, and click "Properties". The "Ethernet Properties" window will open.
  6. Select "Internet Protocol Version 4 (TCP/IPv4)", then click the "Properties" button. The "Internet Protocol Version 4 (TCP/IPv4) Properties" window will open.
  7. Check the box that reads "Use the following IP address:". Populate the fields:
    • IP address: 207.246.87.123
    • Subnet mask: 255.255.254.0
    • Default gateway: 207.246.86.1
  8. Check the box that reads "Use the following DNS server addresses:". Populate the fields
    • Preferred DNS server: 108.61.10.10
    • Alternate DNS server: (blank)
  9. Click "OK". Then click "OK" on the "Ethernet Properties" window. The main IPv4 has been configured manually. Note that it is normal for the connection to hiccup after pressing "OK".


출처 : vultr.com
 
| |





      1 page / 6 page
번 호 카테고리 제 목 이름 조회수
155 리눅스 서버 apt ... ... apt 바다아이 311
154 리눅스 서버 , smartctl, hdd ssd 바다아이 467
153 리눅스 서버 , .... arch kernel compile.... 바다아이 456
152 리눅스 서버 [Vim, Vi] 바다아이 439
151 리눅스 서버 ... 바다아이 528
150 리눅스 서버 vps root .. 바다아이 463
149 리눅스 서버 Ubuntu 24.04 LTS - SSH Port , ssh 바다아이 498
148 리눅스 서버 samba ... , ... 바다아이 1392
147 리눅스 서버 postfix main.cf ... 바다아이 5053
146 리눅스 서버 /etc/crontab ... 바다아이 3369
145 리눅스 서버 - MEMTEST, , 바다아이 5057
144 리눅스 서버 top , top 바다아이 5699
143 리눅스 서버 , systemd-networkd, archlinux network setting 바다아이 7058
142 리눅스 서버 mirror .. ... 바다아이 7325
141 리눅스 서버 [Ubuntu] (swapfile) , ... 바다아이 7358
140 리눅스 서버 ufw , iptables 바다아이 8308
139 리눅스 서버 ... grub . submenu, grub-mkconfig, grub 바다아이 6843
138 리눅스 서버 CentOS 7 Upgrade Kernel, centos 바다아이 9237
137 리눅스 서버 , dd , 바다아이 7183
136 리눅스 서버 ... ntp .. ... 바다아이 7939
135 리눅스 서버 archlinux netstat , netstat ... 바다아이 7560
134 리눅스 서버 ps , ps option 바다아이 7379
133 리눅스 서버 , swap , ... swap . 바다아이 7544
132 리눅스 서버 crontab , .... 바다아이 7549
131 리눅스 서버 ssh , ssh 바다아이 8797
130 리눅스 서버 SSH SSH , ssh-keygen rsa 바다아이 8311
129 리눅스 서버 , date : () , () , 바다아이 8560
128 리눅스 서버 aws lightsail, ssh .. .pem 바다아이 13573
127 리눅스 서버 , ubuntu generic kernel 바다아이 8951
126 리눅스 서버 .. apt ... 바다아이 8816
| |









Copyright ⓒ 2001.12. bada-ie.com. All rights reserved.
이 사이트는 리눅스에서 firefox 기준으로 작성되었습니다. 기타 브라우저에서는 다르게 보일 수 있습니다.
[ Ubuntu + GoLang + PostgreSQL + Mariadb ]
서버위치 : 오라클 클라우드 춘천  실행시간 : 0.07509
to webmaster... gogo sea. gogo sea.