From fad7132df6805b8719c4de8327fbabfbdd5afc85 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 16 Jan 2017 11:46:53 +0000 Subject: make vi default text editor in main build script, instead of nano GNU Nano sucks. Vi is better. I'd tell the build system to use Vim, but that's not guaranteed to be installed. Vi is installed on more systems by default, compared to Nano, because Vi is the de facto standard text editor or unix and unix-like systems. --- docs/gnulinux/encrypted_parabola.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'docs/gnulinux') diff --git a/docs/gnulinux/encrypted_parabola.html b/docs/gnulinux/encrypted_parabola.html index 344f0a3e..76a603f0 100644 --- a/docs/gnulinux/encrypted_parabola.html +++ b/docs/gnulinux/encrypted_parabola.html @@ -358,7 +358,7 @@ href="http://www.linux.com/news/software/applications/8208-all-about-linux-swap-

Locale:
- # nano /etc/locale.gen
+ # vi /etc/locale.gen
Uncomment your needed localisations. For example en_GB.UTF-8 (UTF-8 is highly recommended over other options).
# locale-gen
# echo LANG=en_GB.UTF-8 > /etc/locale.conf
@@ -366,7 +366,7 @@ href="http://www.linux.com/news/software/applications/8208-all-about-linux-swap-

Console font and keymap:
- # nano /etc/vconsole.conf
+ # vi /etc/vconsole.conf
In my case:

@@ -387,7 +387,7 @@ FONT=lat9w-16
 				Write your hostname to /etc/hostname. For example, if your hostname is parabola:
# echo parabola > /etc/hostname
Add the same hostname to /etc/hosts:
- # nano /etc/hosts
+ # vi /etc/hosts

 #<ip-address>	<hostname.domain.org>	<hostname>
@@ -401,7 +401,7 @@ FONT=lat9w-16
 				Configure /etc/mkinitcpio.conf as needed (see https://wiki.parabola.nu/Mkinitcpio).
 				Runtime modules can be found in /usr/lib/initcpio/hooks, and build hooks can be found in /usr/lib/initcpio/install. (# mkinitcpio -H hookname gives information about each hook.)
 				Specifically, for this use case:
- # nano /etc/mkinitcpio.conf
+ # vi /etc/mkinitcpio.conf
Then modify the file like so:

    @@ -426,7 +426,7 @@ FONT=lat9w-16

    Set the root password: At the time of writing, Parabola used SHA512 by default for its password hashing. I referred to https://wiki.archlinux.org/index.php/SHA_password_hashes.
    - # nano /etc/pam.d/passwd
    + # vi /etc/pam.d/passwd
    Add rounds=65536 at the end of the uncommented 'password' line.
    # passwd root
    Make sure to set a secure password! Also, it must never be the same as your LUKS password. @@ -547,7 +547,7 @@ FONT=lat9w-16 Extract grubtest.cfg:
    $ ./cbfstool libreboot.rom extract -n grubtest.cfg -f grubtest.cfg
    And modify:
    - $ nano grubtest.cfg + $ vi grubtest.cfg

    -- cgit v1.2.3-70-g09d2