Skip to content
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.

Setup Server

ZeroC0D3 Team edited this page Jan 20, 2018 · 2 revisions

Setup Server

Server Configuration for VPS (Virtual Private Server) Ubuntu version 16.04

Setup Hosts Development / Staging

127.0.0.1        localhost
192.168.0.10     dev.zeroc0d3lab.com

Setup Hosts Production

127.0.0.1        localhost
127.0.1.1        zeroc0d3lab.com
192.168.0.100    zeroc0d3lab.com

Change Hostname (Without Reboot)

sudo sysctl kernel.hostname=[YOUR_HOST_NAME]
hostname -f    # check hostname changed

Setup Environment

# /etc/environment

LANG=en_US.UTF-8
#LC_COLLATE=$LANG
#LC_CTYPE=$LANG
#LC_MESSAGES=$LANG
#LC_MONETARY=$LANG
#LC_NUMERIC=$LANG
#LC_TIME=$LANG
LC_ALL=en_US.UTF-8
Clone this wiki locally