Skip to main content

Cara Membuat Static IP di Centos 6

Langkah...

## Configure eth0
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
 
DEVICE="eth0"
NM_CONTROLLED="yes"
ONBOOT=yes
HWADDR=A4:BA:DB:37:F1:04
TYPE=Ethernet
BOOTPROTO=static
NAME="System eth0"
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
IPADDR=192.168.1.44
NETMASK=255.255.255.0
 
 
## Configure Default Gateway
# vi /etc/sysconfig/network
 
NETWORKING=yes
HOSTNAME=centos6.your.domain
GATEWAY=192.168.1.1
 
 
## Restart Network Interface  
/etc/init.d/network restart
ifconfig eth0 up
ifup eth0
 
## Configure DNS Server
# vi /etc/resolv.conf
 
nameserver 8.8.8.8 # Replace with your nameserver ip
nameserver 192.168.1.1 # Replace with your nameserver ip 
search .... --> yourdomain
Sumber:

Comments

Popular posts from this blog

Cara menginstall SSH Debian 7

Langkah... Install, apt-get install openssh-server Konfigurasi, nano /etc/ssh/sshd_config , port 22 --> default, disini kita bisa mengganti port sesuai keinginan kita Restart, service ssh restart Cara aksesnya dengan, ketik di terminal linux, ssh (user/root)@(x.x.x.x-->ip) Sumber: Buku Panduan BLC Telkom 

Cara Install Seafile di Ubuntu 14.04lts Server 64 bit

Link : https://www.howtoforge.com/tutorial/seafile-ubuntu-14-04/ List of dependencies as described Java Runtime Environment (JRE) Poppler-utils Libreoffice 4.1+ and Python-uno libpython 2.7 Python libraries (make sure python 2.7 is included in this installation, you may verify using the command on the image 1.2, if its already installed, if not then use this command apt-get install python 2.7 and also if you receive an error of "Wheel installs require setuptools >= ...", then you may use this pip install setuptools --no-use-wheel --upgrade). You also need, to install using easy_install pip and pip install boto as seen on the image 1.3 and 1.4 respectively) Run the following command as root user to install the required software: apt-get install openjdk-7-jre poppler-utils libreoffice libreoffice-script-provider-python libpython2.7 python-pip mysql-server python-setuptools python-imaging python-mysqldb python-memcache Now I will check if the installed pyt...

Perbedaan Create VM dan CT (Proxmox)

Perbedaannya adalah...... Create VM, Kita menggunakan Create VM maka virtualisasi dibuat dengan mengambil resource server induk dan memakainya secara virtual tanpa ada hubungan lagi dengan server induk. Jadi jika server virtual kita mengalami error atau yang lain, maka hal itu tidak berpengaruh dengan hardware server induk. Creat CT, Kita menggunakan Create CT maka virtualisasi dibuat dengan menggunakan resource server induk secara langsung dan masih ada hubungan dengan server induk. jadi jika ada error dan hal hal lainnya maka server induk terkena dampaknya juga.