diff options
author | Silvino Silva <silvino@bk.ru> | 2019-02-14 06:08:44 +0000 |
---|---|---|
committer | Silvino Silva <silvino@bk.ru> | 2019-02-14 06:08:44 +0000 |
commit | fed632cea589a4fc730dc852538cb40ca6f559fa (patch) | |
tree | 618a392022a78dd0cc7d4f7094d2051daa90e717 /core/configure.html | |
parent | bdfc05251acbb99c6bbcd4ff794a01dde2f8dc3b (diff) | |
parent | 4fafa3dbe6bddda8655ad1a8521f99de9f5f9e24 (diff) | |
download | doc-fed632cea589a4fc730dc852538cb40ca6f559fa.tar.gz |
release 0.4.2
Diffstat (limited to 'core/configure.html')
-rw-r--r-- | core/configure.html | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/core/configure.html b/core/configure.html index 7d34bf7..c814091 100644 --- a/core/configure.html +++ b/core/configure.html @@ -45,24 +45,24 @@ <h2 id="hostname">1.2.1. Set hostname and hosts</h2> - <p>Give it a name, this example we will call it c9;</p> + <p>Give it a name, this example we will call it machine;</p> <pre> - # hostname c9 + # hostname machine </pre> <p>Edit /etc/hosts to contain your hostname and FQDN, - this example uses c9.core and hive.gnu.systems sub-domain from + this example uses machine.example and machine.example.org sub-domain from <a href="http://freedns.afraid.org">afraid.org</a> pointing to 10.0.0.1 ip;</p> <pre> # IPv4 127.0.0.1 localhost.localdomain localhost - 127.0.0.1 c9.core c9 + 127.0.0.1 machine.example machine #<ip-address> <hostname.domain.org> <aliases> - 10.0.0.1 hive.gnu.systems + 10.0.0.1 machine.example.org # IPv6 #::1 ip6-localhost ip6-loopback @@ -79,9 +79,9 @@ <pre> $ hostname - c9 + machine $ hostname -f - c9.core + machine.example </pre> <h2 id="time">1.2.2. Set timezone</h2> @@ -185,14 +185,15 @@ </dl> <pre> - # useradd -m -k /etc/skel -s /bin/bash c9admin - # usermod -G adm,wheel,audio,video c9admin - # passwd c9admin + # group -g username username + # useradd -u username -g username -m -k /etc/skel -s /bin/bash username + # usermod -G adm,wheel,audio,video username + # passwd username </pre> <pre> # chmod 0700 /root - # chmod 0700 /home/c9admin + # chmod 0700 /home/username </pre> <h3>1.2.4.3 Add Administrator to Wheel group</h3> @@ -262,7 +263,7 @@ FONT=default KEYMAP=dvorak TIMEZONE="Europe/Lisbon" - HOSTNAME=c9 + HOSTNAME=machine SYSLOG=sysklogd SERVICES=(lo iptables wlan crond) |