about summary refs log tree commit diff stats
path: root/core/configure.html
diff options
context:
space:
mode:
Diffstat (limited to 'core/configure.html')
-rw-r--r--core/configure.html105
1 files changed, 46 insertions, 59 deletions
diff --git a/core/configure.html b/core/configure.html
index 66ed69c..b3ca259 100644
--- a/core/configure.html
+++ b/core/configure.html
@@ -52,19 +52,17 @@
         </pre>
 
         <p>Edit /etc/hosts to contain your hostname and FQDN,
-        this example also uses core.privat-server.net. If you wish get a
-        subdomain from
-        <a href="http://freedns.afraid.org">afraid.org</a>
-        pointing to your public ip, example of static 192.168.1.9 ip
-        with core.privat-server.net pointing to c9 host;</p>
+        this example uses c9.core and c9.root.sx 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.localdomain c9
+        127.0.0.1       c9.core c9
 
         #&lt;ip-address&gt;	&lt;hostname.domain.org&gt;	&lt;aliases&gt;
-        192.168.1.9	core.privat-network.net c9.core
+        10.0.0.1                c9.root.sx
 
         # IPv6
         #::1		ip6-localhost	ip6-loopback
@@ -77,6 +75,15 @@
         # End of file
         </pre>
 
+        <p>Checkup;</p>
+
+        <pre>
+        $ hostname
+        c9
+        $ hostname -f
+        c9.core
+        </pre>
+
         <h2 id="time">1.2.2. Set timezone</h2>
 
         <p>Setup timezone;</p>
@@ -164,8 +171,22 @@
 
         <h3>1.2.4.2. Create Administrator User</h3>
 
+	<p>Description of most default pretinent groups;</p>
+
+	<dl>
+		<dt>adm</dt>
+		<dd>Administration group.</dd>
+		<dt>ftp</dt>
+		<dd>Access to files served by ftp.</dd>
+		<dt>users</dt>
+		<dd>Standard users group.</dd>
+		<dt>wheel</dt>
+		<dd>Administration group used to give access to sudo.</dd>
+	</dl>
+
         <pre>
-        # useradd -U -m -k /etc/skel -s /bin/bash c9admin
+        # useradd -k /etc/skel -s /bin/bash c9admin
+        # usermod -G adm,wheel,audio,video
         # passwd c9admin
         </pre>
 
@@ -177,10 +198,6 @@
         <h3>1.2.4.3 Add Administrator to Wheel group</h3>
 
         <pre>
-        # usermod -a -G wheel c9admin
-        </pre>
-
-        <pre>
         bash-4.3# sudoedit /etc/sudoers
         </pre>
 
@@ -195,7 +212,7 @@
         <a href="install.html#step2">target partition</a>,
         blkid list all while vol_id --uuid /dev/sdb1 returns
         only uuid. Add all block ids to the end of file
-        /etc/fstab</a>
+        /etc/fstab;
         </p>
 
         <pre>
@@ -203,7 +220,7 @@
         </pre>
 
         <p>Read <a href="http://linux-audit.com/securing-mount-points-on-linux/" title="Securing mount points">Securing mount points</a>,
-        and edit /etc/fstab according to your disk layout.</p>
+        and edit /etc/fstab according to your disk layout. Blocks with uuid will later be created at lvm</p>
 
         <pre>
         #
@@ -222,51 +239,21 @@
         #/dev/dvd              /dvd      udf       ro,user,noauto,unhide            0      0
         #/dev/floppy/0         /floppy   vfat      user,noauto,unhide               0      0
         #tmp                   /tmp      tmpfs     defaults                         0      0
-        shm                   /dev/shm  tmpfs     defaults                         0      0
+        #shm                   /dev/shm  tmpfs     defaults                         0      0
         #usb                   /proc/bus/usb usbfs defaults                         0      0
 
-        devpts                 /dev/pts  devpts    noexec,nosuid,gid=tty,mode=0620  0      0
-
-        #/
-        #/dev/sda3:
-        UUID=c8776551-2a98-4335-9fcd-e337331216dd	/		ext4	defaults			0	0
-
-        #/boot
-        #/dev/sda2:
-        UUID=3b408790-65e1-4638-9591-7ba61f266913	/boot		ext4	defaults,nodev,noexec,nosuid	0	0
-
-        #/boot/efi
-        #/dev/sda1:
-        UUID=962D-0DE1					/boot/efi	vfat    umask=0077			0       0
-
-        #/var
-        #/dev/sda4:
-        UUID=f0b112e2-6761-472f-b41e-e9c8ccd27702	/var            ext4    defaults,nodev,noexec,nosuid	0       0
-
-        #/usr
-        #/dev/sda6:
-        UUID=35755a81-89b2-4f84-a945-5185d1d3b10b	/usr            ext4    defaults,nodev			0       0
-
-        #/tmp
-        #/dev/sda5:
-        UUID=1325ee41-27c9-4621-ab69-125bb6e1c63b	/tmp            ext4    defaults,nodev,nosuid,noexec	0	0
-
-        #/home
-        #/dev/sda7
-        UUID=0ccd903c-b9e2-425f-bd30-78682ffce361   	/home           ext4    defaults,nodev,nosuid		0       0
-
-
-        #/usr/ports
-        #/dev/sda8
-        #UUID=d1df6743-d3cb-4d5a-badb-96cef3181095   	/usr/ports       ext4    defaults,nodev,nosuid,noexec	0       0
-
-        #/usr/ports/work
-        pkgmk   					/usr/ports/work tmpfs size=30G,gid=101,uid=101,defaults 0 	0
-
+        /dev/sda3               / 		ext4	defaults,noatime,ro				0	1
+        devpts                  /dev/pts	devpts	noexec,nosuid,gid=tty,mode=0620			0	0
+        /dev/sda2               /boot	ext4	defaults,ro,noatime     		  		0	0
+        /dev/sda1               /boot/efi	vfat	ro,noauto,umask=0077      			0	0
+        /dev/sda4               /var		ext4	defaults,nodev,noexec,nosuid,errors=remount-ro  0	0
+        /dev/sda5               /usr		ext4	defaults,ro,nodev,errors=remount-ro		0	0
 
-        #swap
-        #/dev/sda9:
-        UUID=2925bf9d-6111-43cb-ab3f-2d95c55e40ca  none            	swap    sw              		0       0
+        UUID=66c083d6-b8f2-4a98-ae55-9412f98cc089  /usr/ports	ext4	        defaults,ro,nodev,errors=remount-ro     0	0
+        pkgmk                                      /usr/ports/work tmpfs        size=30G,gid=101,uid=100,defaults       0       0
+        UUID=36e9e1d5-8356-451e-a301-81098b9a15ea  /srv		ext4	        defaults,nodev,errors=remount-ro	0	0
+        UUID=cd15196a-69f1-4fb4-9730-a384c62add91  /home        ext4            defaults,nodev,nosuid,errors=remount-ro	0	0
+        #UUID=04f07488ce7b36205acc6d404dcf924643660ac5
 
         # End of file
         </pre>
@@ -279,7 +266,7 @@
 
         <p>Edit /etc/rc.conf and define keyboard layout, hostname and timezone,
         more information about
-        <a href="http://crux.nu/Main/Handbook3-1#ConfigurationVariables">configuration variables</a>.
+        <a href="http://crux.nu/Main/Handbook3-3#ConfigurationVariables">configuration variables</a>.
         </p>
 
         <pre>
@@ -292,14 +279,14 @@
         TIMEZONE="Europe/Lisbon"
         HOSTNAME=c9
         SYSLOG=sysklogd
-        SERVICES=(lo net crond)
+        SERVICES=(lo iptables wlan crond)
 
         # End of file
         </pre>
 
         <a href="index.html">Core OS Index</a>
         <p>This is part of the c9 Manual.
-        Copyright (C) 2016
+        Copyright (C) 2017
         c9 team.
         See the file <a href="../fdl-1.3-standalone.html">Gnu Free Documentation License</a>
         for copying conditions.</p>