Difference between revisions of "Arch Linux"

From PrgmrWiki
(v0.1)
Line 1: Line 1:
These instructions are valid as of 2016-02-01. Please contact support if anything is unclear.
+
The purpose of this document is to provide the minimum necessary information to get arch up and reasonably secure.
  
 +
=== Accessing the Management Console ===
 +
If you're not familiar with accessing the management console, please see [http://wiki.prgmr.com/mediawiki/index.php/Management_Console http://wiki.prgmr.com/mediawiki/index.php/Management_Console]
  
== Draft [2016-02-01] ==
+
=== Boot a Rescue Image ===
 +
Shut down your machine if it is running. Then in the management console select
 +
<pre>
 +
    2. create/start, opens OOB console (try this if the machine is not running)
 +
</pre>
 +
This will bring up a menu resembling:
 +
<pre>
 +
    GNU GRUB  version 0.97  (131072K lower / 0K upper memory)
  
The purpose of this draft is to provide the minimum necessary information to get arch up. Later it will be updated for user friendliness and formatting.
+
+-------------------------------------------------------------------------+
 +
| user bootloader configuration                                          | 
 +
| Debian GNU/Linux, kernel 3.2.0-4-amd64 Live Rescue                      |
 +
| Debian GNU/Linux, kernel 3.2.0-4-amd64 (single-user mode) Live Rescue  |
 +
| ubuntu-trusty-14.04-64 rescue                                          |
 +
| ubuntu-trusty-14.04-64 install                                          |
 +
| centos5-64 rescue                                                      |
 +
| centos5-64 install                                                      |
 +
| debian-wheezy-7.0-64 rescue                                            |
 +
| debian-wheezy-7.0-64 install                                            |
 +
| fedora20-64 rescue                                                      |
 +
| fedora20-64 install                                                    |
 +
| centos6-64 rescue                                                      | v
 +
+-------------------------------------------------------------------------+
 +
    Use the ^ and v keys to select which entry is highlighted.
 +
    Press enter to boot the selected OS, 'e' to edit the
 +
    commands before booting, or 'c' for a command-line.
 +
</pre>
  
For starters, use the guide to load the rescue image:
+
Boot <code>Debian GNU/Linux Live Rescue</code> from GRUB.
  
[http://wiki.prgmr.com/mediawiki/index.php/Accessing_your_guest_from_the_rescue_image http://wiki.prgmr.com/mediawiki/index.php/Accessing_your_guest_from_the_rescue_image]
+
=== Installing Base Arch ===
 +
==== Clone the Repository ====
 +
Clone this repo in the rescue image instance:
 +
[https://github.com/prgmrcom/archinstall-scripts https://github.com/prgmrcom/archinstall-scripts]
  
 
Next, clone this repo in the rescue image instance:
 
 
[https://github.com/prgmrcom/archinstall-scripts https://github.com/prgmrcom/archinstall-scripts]
 
 
For example:
 
For example:
 
<pre>
 
<pre>
Line 26: Line 51:
 
└╼ </pre>
 
└╼ </pre>
  
 
+
==== Run the Install Script ====
 
+
Run the `archinstall.sh` script.  
Finally, run the `archinstall.sh` script. When the script ends, there will be the word "finished" on a new line which will look like this:
 
 
<pre>
 
<pre>
[tons of script output]
 
finished
 
 
┌──ben [~]
 
┌──ben [~]
└╼ </pre>
+
└╼ cd archinstall-scripts
There is currently a pending pull request to make this message more verbose, like so:
+
┌──ben [~]
 +
└╼ sudo ./archinstall.sh
 +
</pre>
 +
 
 +
When the script ends, there will be the word "finished" on a new line which will look like this:
 
<pre>
 
<pre>
 
[tons of script output]
 
[tons of script output]
Line 43: Line 69:
 
└╼ </pre>
 
└╼ </pre>
  
 +
=== Post Configuration ===
 
This script should take care of the hardware aspects of configuring an arch install, however you will still need to set up timezones, user accounts, passwords and so forth. See the arch beginner's guide for details:
 
This script should take care of the hardware aspects of configuring an arch install, however you will still need to set up timezones, user accounts, passwords and so forth. See the arch beginner's guide for details:
  
 
[https://wiki.archlinux.org/index.php/beginners'_guide https://wiki.archlinux.org/index.php/beginners'_guide]
 
[https://wiki.archlinux.org/index.php/beginners'_guide https://wiki.archlinux.org/index.php/beginners'_guide]
 +
 +
and general recommendations:
 +
 +
[https://wiki.archlinux.org/index.php/General_recommendations https://wiki.archlinux.org/index.php/General_recommendations]
 +
 +
The beginner's guide is really quite thorough, and should be glanced through if not read in its entirety. Some things you might find important:
 +
 +
==== Setting Up a New User (super important) ====
 +
[https://wiki.archlinux.org/index.php/General_recommendations#Users_and_groups https://wiki.archlinux.org/index.php/General_recommendations#Users_and_groups]
 +
 +
==== Networking (it's all reasonably useful) ====
 +
[https://wiki.archlinux.org/index.php/General_recommendations#Networking https://wiki.archlinux.org/index.php/General_recommendations#Networking]
 +
 +
==== Console Improvements ====
 +
[https://wiki.archlinux.org/index.php/General_recommendations#Console_improvements https://wiki.archlinux.org/index.php/General_recommendations#Console_improvements]
 +
 +
==== Changing Your Locale (system language) ====
 +
[https://wiki.archlinux.org/index.php/beginners'_guide#Locale https://wiki.archlinux.org/index.php/beginners'_guide#Locale]
 +
 +
==== Changing Your Timezone ====
 +
[https://wiki.archlinux.org/index.php/beginners'_guide#Time https://wiki.archlinux.org/index.php/beginners'_guide#Time]
 +
 +
==== Available Applications ====
 +
[https://wiki.archlinux.org/index.php/List_of_applications https://wiki.archlinux.org/index.php/List_of_applications]
 +
 +
== Bibliography ==
 +
booting into rescue image
 +
[http://wiki.prgmr.com/mediawiki/index.php/Accessing_your_guest_from_the_rescue_image http://wiki.prgmr.com/mediawiki/index.php/Accessing_your_guest_from_the_rescue_image]

Revision as of 05:01, 24 February 2016

The purpose of this document is to provide the minimum necessary information to get arch up and reasonably secure.

Accessing the Management Console

If you're not familiar with accessing the management console, please see http://wiki.prgmr.com/mediawiki/index.php/Management_Console

Boot a Rescue Image

Shut down your machine if it is running. Then in the management console select

    2. create/start, opens OOB console (try this if the machine is not running)

This will bring up a menu resembling:

    GNU GRUB  version 0.97  (131072K lower / 0K upper memory)

 +-------------------------------------------------------------------------+
 | user bootloader configuration                                           |  
 | Debian GNU/Linux, kernel 3.2.0-4-amd64 Live Rescue                      |
 | Debian GNU/Linux, kernel 3.2.0-4-amd64 (single-user mode) Live Rescue   |
 | ubuntu-trusty-14.04-64 rescue                                           |
 | ubuntu-trusty-14.04-64 install                                          |
 | centos5-64 rescue                                                       |
 | centos5-64 install                                                      |
 | debian-wheezy-7.0-64 rescue                                             |
 | debian-wheezy-7.0-64 install                                            |
 | fedora20-64 rescue                                                      |
 | fedora20-64 install                                                     |
 | centos6-64 rescue                                                       | v
 +-------------------------------------------------------------------------+
    Use the ^ and v keys to select which entry is highlighted.
    Press enter to boot the selected OS, 'e' to edit the
    commands before booting, or 'c' for a command-line.

Boot Debian GNU/Linux Live Rescue from GRUB.

Installing Base Arch

Clone the Repository

Clone this repo in the rescue image instance: https://github.com/prgmrcom/archinstall-scripts

For example:

┌──ben [~]
└╼ git clone https://github.com/prgmrcom/archinstall-scripts
Cloning into 'archinstall-scripts'...
remote: Counting objects: 20, done.
remote: Total 20 (delta 0), reused 0 (delta 0), pack-reused 20
Unpacking objects: 100% (20/20), done.
Checking connectivity... done.
┌──ben [~]
└╼ 

Run the Install Script

Run the `archinstall.sh` script.

┌──ben [~]
└╼ cd archinstall-scripts
┌──ben [~]
└╼ sudo ./archinstall.sh

When the script ends, there will be the word "finished" on a new line which will look like this:

[tons of script output]
~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
finished
********
┌──ben [~]
└╼ 

Post Configuration

This script should take care of the hardware aspects of configuring an arch install, however you will still need to set up timezones, user accounts, passwords and so forth. See the arch beginner's guide for details:

https://wiki.archlinux.org/index.php/beginners'_guide

and general recommendations:

https://wiki.archlinux.org/index.php/General_recommendations

The beginner's guide is really quite thorough, and should be glanced through if not read in its entirety. Some things you might find important:

Setting Up a New User (super important)

https://wiki.archlinux.org/index.php/General_recommendations#Users_and_groups

Networking (it's all reasonably useful)

https://wiki.archlinux.org/index.php/General_recommendations#Networking

Console Improvements

https://wiki.archlinux.org/index.php/General_recommendations#Console_improvements

Changing Your Locale (system language)

https://wiki.archlinux.org/index.php/beginners'_guide#Locale

Changing Your Timezone

https://wiki.archlinux.org/index.php/beginners'_guide#Time

Available Applications

https://wiki.archlinux.org/index.php/List_of_applications

Bibliography

booting into rescue image http://wiki.prgmr.com/mediawiki/index.php/Accessing_your_guest_from_the_rescue_image