Difference between revisions of "Arch Linux"

From PrgmrWiki
(v0.1)
m (remembered the user will not have my customized prompt)
Line 41: Line 41:
 
For example:
 
For example:
 
<pre>
 
<pre>
┌──ben [~]
+
root ~ # git clone https://github.com/prgmrcom/archinstall-scripts
└╼ git clone https://github.com/prgmrcom/archinstall-scripts
 
 
Cloning into 'archinstall-scripts'...
 
Cloning into 'archinstall-scripts'...
 
remote: Counting objects: 20, done.
 
remote: Counting objects: 20, done.
Line 48: Line 47:
 
Unpacking objects: 100% (20/20), done.
 
Unpacking objects: 100% (20/20), done.
 
Checking connectivity... done.
 
Checking connectivity... done.
┌──ben [~]
+
root ~ # </pre>
└╼ </pre>
 
  
 
==== Run the Install Script ====
 
==== Run the Install Script ====
 
Run the `archinstall.sh` script.  
 
Run the `archinstall.sh` script.  
 
<pre>
 
<pre>
┌──ben [~]
+
root ~ # cd archinstall-scripts
└╼ cd archinstall-scripts
+
root ~ # sudo ./archinstall.sh
┌──ben [~]
 
└╼ sudo ./archinstall.sh
 
 
</pre>
 
</pre>
  
Line 66: Line 62:
 
finished
 
finished
 
********
 
********
┌──ben [~]
+
root ~ # </pre>
└╼ </pre>
 
  
 
=== Post Configuration ===
 
=== Post Configuration ===

Revision as of 05:04, 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:

root ~ # 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.
root ~ # 

Run the Install Script

Run the `archinstall.sh` script.

root ~ # cd archinstall-scripts
root ~ # 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
********
root ~ # 

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