Giter Club home page Giter Club logo

file-setting-armbian's Introduction

Setting file for server

Network

berlaku untuk distro dengan basis debian, ubuntu dll kadang lebih mudah(atau sudah terbiasa)mendefinisikan interface network secara manual, dengan cara memodifikasi file interfaces di /etc/network/, ketimbang membiarkan NetworkManager.service memanage semua network interface yang ada didevice kita. berikut cara mendisable NetworkManager (lakukan dengan hati2, jika memodifikasi lewat ssh)

1. Pertama kita check network intrface mana yang dimanage oleh NetworkManager.
nmcli dev status

 DEVICE TYPE
 eth1 802-3-ethernet connected  
 eth0 802-3-ethernet connected
 .....
 ....
 ..
 .

2. Misalkan, kita akan membuat network interface eth0 dengan menggunakan ip address static. edit file /etc/network/interfaces.

auto eth0
iface eth0 inet static

ubah mac address (hanya contoh),

hwaddress ether 00:15:18:01:81:42
address 192.168.99.8
netmask 255.255.255.0
gateway 192.168.99.1
dns-nameservers 192.168.99.1 8.8.8.8
source /etc/network/interfaces.d/*
# Network is managed by Network manager
auto lo
iface lo inet loopback
# Network interfaces
allow-hotplug eth0
iface eth0 inet dhcp
hwaddress ether 00:15:18:01:81:42

3. Disable NetworkManager.service

sudo systemctl stop NetworkManager.service  
sudo systemctl disable NetworkManager.service  
sudo systemctl mask NetworkManager.service

DTB

Tested debian dan ubuntu

DTB mod ke 2GB agar usage RAM bisa sampai habis

file-setting-armbian's People

Contributors

rizkybs70 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.