diff options
Diffstat (limited to 'core/configure.html')
-rw-r--r-- | core/configure.html | 55 |
1 files changed, 23 insertions, 32 deletions
diff --git a/core/configure.html b/core/configure.html index c283adc..a8d1ddd 100644 --- a/core/configure.html +++ b/core/configure.html @@ -10,9 +10,8 @@ <h1 id="chroot">1.1.2. Configure</h1> - <p>If you don't have active chroot and don't are - yet inside chroot follow this steps from - <a href="install.html">install</a>;</p> + <p>If you don't mounted chroot follow this + steps from <a href="install.html">install</a>;</p> <pre> $ export CHROOT=/mnt @@ -35,15 +34,7 @@ $ sudo mount $BLK_HOME $CHROOT/home </pre> - <p>Activate Chroot;</p> - - <pre> - $ sudo mount --bind /dev $CHROOT/dev - $ sudo mount -vt devpts devpts $CHROOT/dev/pts - $ sudo mount -vt tmpfs shm $CHROOT/dev/shm - $ sudo mount -vt proc proc $CHROOT/proc - $ sudo mount -vt sysfs sysfs $CHROOT/sys - </pre> + <p>Now you can chroot;</p> <pre> $ sudo chroot $CHROOT /usr/bin/env -i \ @@ -166,7 +157,7 @@ <h3>1.2.4.2. Create Administrator User</h3> <pre> - # useradd -U -m -s /bin/bash c9admin + # useradd -U -m -k /etc/skel -s /bin/bash c9admin # passwd c9admin </pre> @@ -226,46 +217,48 @@ #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=4ed0d5c1-d0c6-4eeb-bbbf-dc94f6f66efd / ext4 defaults 0 1 + UUID=c8776551-2a98-4335-9fcd-e337331216dd / ext4 defaults 0 0 #/boot #/dev/sda2: - UUID=c304a4a0-bb4f-4d19-be62-75aaa6b713f3 /boot ext4 defaults,nodev,noexec,nosuid 0 2 + UUID=3b408790-65e1-4638-9591-7ba61f266913 /boot ext4 defaults,nodev,noexec,nosuid 0 0 #/boot/efi #/dev/sda1: - UUID=15B2-1D41 /boot/efi vfat umask=0077 0 2 + UUID=962D-0DE1 /boot/efi vfat umask=0077 0 0 #/var #/dev/sda4: - UUID=182a7038-1f14-4cea-88f8-4347a3e9c3a2 /var ext4 defaults,nodev,noexec,nosuid 0 2 - - #/tmp - #/dev/sda5: - UUID=1325ee41-27c9-4621-ab69-125bb6e1c63b /tmp ext4 defaults,nodev,nosuid,noexec 1 2 + UUID=f0b112e2-6761-472f-b41e-e9c8ccd27702 /var ext4 defaults,nodev,noexec,nosuid 0 0 #/usr #/dev/sda6: - UUID=9004d59a-310c-44cc-a0f5-b338c2619af6 /usr ext4 defaults,nodev 0 2 + 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=d1df6743-d3cb-4d5a-badb-96cef3181095 /home ext4 defaults,nodev,nosuid,noexec 0 2 + 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 2 - - #swap - #/dev/sda9: - #UUID=182a7038-1f14-4cea-88f8-4347a3e9c3a2 none swap sw 0 0 + #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 + pkgmk /usr/ports/work tmpfs size=30G,gid=101,uid=101,defaults 0 0 - devpts /dev/pts devpts noexec,nosuid,gid=tty,mode=0620 0 0 + + #swap + #/dev/sda9: + UUID=2925bf9d-6111-43cb-ab3f-2d95c55e40ca none swap sw 0 0 # End of file </pre> @@ -339,7 +332,5 @@ Silvino Silva. See the file <a href="../fdl-1.3-standalone.html">Gnu Free Documentation License</a> for copying conditions.</p> - - </body> </html> |