You are not logged in.

#1 2011-11-18 11:40:13

helmuthdu
Member
Registered: 2011-11-09
Posts: 85

[Script] Archlinux Ultimate Install Script

Archlinux Ultimate Install Script

Install and configure archlinux has never been easier!
You can try it with a virtualbox

Prerequisites

- A working internet connection
- Logged in as 'root'

How to get it

With git

- Install git: pacman -S git
- get the script: git clone git://github.com/helmuthdu/aui

Without git

- get the script: wget --no-check-certificate https://github.com/helmuthdu/aui/tarball/master -O - | tar xz

How to use

- default mode: cd <dir> && ./aui
- ais mode: cd <dir> && ./aui --ais

Archlinux Install Script Mode
  • Configure keymap

  • Select editor

  • Automatic configure mirrorlist

  • Create partition

  • Format device

  • Install system base

  • Configure fstab

  • Configure hostname

  • Configure timezone

  • Configure hardware clock

  • Configure locale

  • Configure mkinitcpio

  • Install/Configure bootloader

  • Configure mirrorlist

  • Set root password

Default Mode
  • Backup all modified files

  • Install additional repositories

  • System upgrade

  • Create and configure a new user

  • Install and configure sudo

  • Install an AUR Helper [yaourt, packer]

  • Automatic enable services in systemd

  • Install base system

  • Install Xorg

  • Install GPU Drivers

  • Install CUPS

  • Install Additional wireless/bluetooth firmwares

  • Ensuring access to GIT through a firewall

  • Install and configure LAMP Server

  • Install a Desktop Environment or Window Manager [Cinnamon, E17, FluxBox, GNOME, KDE, LXDE, OpenBox, XFCE]

  • Install Developement tools [Vim, Emacs, Eclipse...]

  • Install Office apps [LibreOffice, GNOME-Office, Latex...]

  • Install System tools [Wine, Virtualbox, Grsync, Htop]

  • Install Graphics apps [Inkscape, Gimp, Blender, MComix]

  • Install Internet apps [Firefox, Google-Chrome, Jdownloader...]

  • Install Multimedia apps [Rhythmbox, Clementine, Codecs...]

  • Install Games [HoN, World of Padman, Wesnoth...]

  • Install Fonts [Liberation, MS-Fonts, Google-webfonts...]

  • Many more...

Github: https://github.com/helmuthdu/aui
Tutorial: https://www.youtube.com/watch?v=TLh44czUea0

Last edited by helmuthdu (2013-11-12 15:56:47)

Offline

#2 2011-11-18 13:36:10

twilight0
Member
From: Greece
Registered: 2011-05-01
Posts: 233
Website

Re: [Script] Archlinux Ultimate Install Script

Nice script there, but I would suggest sharing some more information about what exactly it installs.


Proud Arch Linux user since 2007.

Offline

#3 2011-11-18 22:19:36

helmuthdu
Member
Registered: 2011-11-09
Posts: 85

Re: [Script] Archlinux Ultimate Install Script

Yeah, gona make some fixes and post again...
Anyway thx smile

Offline

#4 2011-11-21 22:59:55

vandeminek
Member
Registered: 2010-09-22
Posts: 5

Re: [Script] Archlinux Ultimate Install Script

Thanks for sharing the script!

Offline

#5 2011-11-24 14:11:33

helmuthdu
Member
Registered: 2011-11-09
Posts: 85

Re: [Script] Archlinux Ultimate Install Script

Complete rewrited using some ideas for freitag, aka nexxx, and his Archlinux install helper script

Offline

#6 2011-11-25 05:11:34

Boechat
Member
Registered: 2011-11-01
Posts: 11

Re: [Script] Archlinux Ultimate Install Script

I plan to format my computer and only have postponed for laziness of reinstall everything again.
So accidentally I found this script.

Congratulations on your initiative and also thank you for it.

Could you provide the installation of XFCE in your script?

If you can, I'd be really grateful.
smile

Offline

#7 2011-11-25 10:35:20

satanselbow
Member
Registered: 2011-06-15
Posts: 538

Re: [Script] Archlinux Ultimate Install Script

Excellent stuff - I always maintained a personalised "perfectminimal" type script when I was flitting around the debian based distros and have been meaning to have the same for Arch... they say great minds think alike big_smile

Nice script wink

I always like to include the option to install from an additional list of packages - either manually entered or from txt file as there is always something extra to add before there is time to update the script big_smile

Offline

#8 2011-11-25 12:02:04

SS4
Member
From: !Rochford, Essex
Registered: 2010-12-05
Posts: 699

Re: [Script] Archlinux Ultimate Install Script

edit: what would happen if I chose to "quit" for example because I didn't want any games installed? Would I be kicked out of the script or would it skip that section?

Last edited by SS4 (2011-11-25 12:35:34)


Rauchen verboten

Offline

#9 2011-11-25 16:19:55

helmuthdu
Member
Registered: 2011-11-09
Posts: 85

Re: [Script] Archlinux Ultimate Install Script

...out of the section, maybe instead of "quit" the word "none" would be more appropriate.
Gona chance dat...

Offline

#10 2011-11-27 15:22:18

Boechat
Member
Registered: 2011-11-01
Posts: 11

Re: [Script] Archlinux Ultimate Install Script

I think I have a suggestion for improvement.
I tested the sed command found on line 215 and he made the change in two lines in "/etc/rc.conf".

In:

# -----------------------------------------------------------------------
# DAEMONS @alsa
# -----------------------------------------------------------------------
# ...

And in this:

DAEMONS=(syslog-ng crond dbus lightdm networkmanager bluetooth @alsa)

If my thinking is correct, I think he should find only the second line.
So, I changed the sed command.

From:

sed -i '/DAEMONS/s/\(.*\)\>/& @alsa/' /etc/rc.conf

To:

sed -i '/DAEMONS[=]/s/\(.*\)\>/& @alsa/' /etc/rc.conf

Maybe will be necessary review the other sed commands that have similar goals.

* A curiosity. Why did you use "@alsa" instead of just "alsa"?  As with "@samba", "@acpid"...

I hope this helps.
Rodrigo Boechat

Offline

#11 2011-11-28 13:22:40

SS4
Member
From: !Rochford, Essex
Registered: 2010-12-05
Posts: 699

Re: [Script] Archlinux Ultimate Install Script

Boechat wrote:

I think I have a suggestion for improvement.
I tested the sed command found on line 215 and he made the change in two lines in "/etc/rc.conf".

In:

# -----------------------------------------------------------------------
# DAEMONS @alsa
# -----------------------------------------------------------------------
# ...

And in this:

DAEMONS=(syslog-ng crond dbus lightdm networkmanager bluetooth @alsa)

If my thinking is correct, I think he should find only the second line.
So, I changed the sed command.

From:

sed -i '/DAEMONS/s/\(.*\)\>/& @alsa/' /etc/rc.conf

To:

sed -i '/DAEMONS[=]/s/\(.*\)\>/& @alsa/' /etc/rc.conf

Maybe will be necessary review the other sed commands that have similar goals.

* A curiosity. Why did you use "@alsa" instead of just "alsa"?  As with "@samba", "@acpid"...

I hope this helps.
Rodrigo Boechat

To load the deamon in the background and cut down on boot time?


Rauchen verboten

Offline

#12 2011-11-28 16:20:12

helmuthdu
Member
Registered: 2011-11-09
Posts: 85

Re: [Script] Archlinux Ultimate Install Script

SS4 wrote:

To load the deamon in the background and cut down on boot time?

Yep! smile

Offline

#13 2011-11-29 21:19:33

Drumitar
Member
Registered: 2011-04-13
Posts: 73

Re: [Script] Archlinux Ultimate Install Script

prepare yourselves for a huge nub question, but how can i get this script into a fresh arch install ?

Offline

#14 2011-11-29 21:22:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Script] Archlinux Ultimate Install Script

Drumitar wrote:

prepare yourselves for a huge nub question, but how can i get this script into a fresh arch install ?

Copy the script to a USB beforehand, mount the USB, copy script to your hard drive, execute.

Offline

#15 2011-11-29 22:12:41

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,210

Re: [Script] Archlinux Ultimate Install Script

karol wrote:
Drumitar wrote:

prepare yourselves for a huge nub question, but how can i get this script into a fresh arch install ?

Copy the script to a USB beforehand, mount the USB, copy script to your hard drive, execute.

Or use sftp to connect from the new box  to another box which has the script and download it.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#16 2011-12-03 19:13:28

Drumitar
Member
Registered: 2011-04-13
Posts: 73

Re: [Script] Archlinux Ultimate Install Script

thanks i was able to mount a usb drive, the only issue i had was the when trying to install the nvidia driver, it conflicted with libgl. before when i manually installed arch i had to pacman -rdd libgl then -s nvidia nvidia-utils, is this the correct way to do it ?

Offline

#17 2011-12-04 22:37:13

helmuthdu
Member
Registered: 2011-11-09
Posts: 85

Re: [Script] Archlinux Ultimate Install Script

Drumitar wrote:

thanks i was able to mount a usb drive, the only issue i had was the when trying to install the nvidia driver, it conflicted with libgl. before when i manually installed arch i had to pacman -rdd libgl then -s nvidia nvidia-utils, is this the correct way to do it ?

You are right, dont worry, i need add this to this script. Thx for the tip.

Offline

#18 2011-12-05 05:38:27

otherneo
Member
Registered: 2011-12-05
Posts: 1

Re: [Script] Archlinux Ultimate Install Script

I would like to recommend these changes

1. User input for location of /Sites
2. Emacs, Valgrind, Gdb, Intellij Idea added for DEVELOPMENT APPS
3, User specified .vimrc .inputrc .bashrc from github / gitorious

Last edited by otherneo (2011-12-05 05:43:34)

Offline

#19 2011-12-07 11:36:36

helmuthdu
Member
Registered: 2011-11-09
Posts: 85

Re: [Script] Archlinux Ultimate Install Script

otherneo wrote:

I would like to recommend these changes

1. User input for location of /Sites
2. Emacs, Valgrind, Gdb, Intellij Idea added for DEVELOPMENT APPS
3, User specified .vimrc .inputrc .bashrc from github / gitorious

1. Need more time (college final exams).
2. Done
3. Need more time (same reason).

Cheers

Last edited by helmuthdu (2011-12-07 11:38:02)

Offline

#20 2011-12-12 00:47:25

esc
Member
Registered: 2011-10-23
Posts: 8

Re: [Script] Archlinux Ultimate Install Script

Got a problem while executing the script:

ultimate_archlinux_install.sh: line 20: $'\r': command not found
ultimate_archlinux_install.sh: line 23: $'\r': command not found
ultimate_archlinux_install.sh: line 29: $'\r': command not found
ultimate_archlinux_install.sh: line 40: syntax error near unexpected token `}'
'ltimate_archlinux_install.sh: line 40: `} #}}}

Offline

#21 2011-12-12 01:58:38

blno
Member
Registered: 2011-12-11
Posts: 35

Re: [Script] Archlinux Ultimate Install Script

Nice script.

print_title "CUPS - https://wiki.archlinux.org/index.php/Cups"
pacman -S --noconfirm gutenprint foomatic-db foomatic-db-engine foomatic-db-nonfree foomatic-filters hplip splix cups-pdf
sed -i '/DAEMONS[=]/s/\(.*\)\>/& @cupsd/' /etc/rc.conf

I may be wrong, but it seems that you don't install cups, ghostscript and gsfonts first.

Last edited by blno (2011-12-12 03:19:21)

Offline

#22 2011-12-12 16:42:15

helmuthdu
Member
Registered: 2011-11-09
Posts: 85

Re: [Script] Archlinux Ultimate Install Script

blno wrote:

Nice script.
I may be wrong, but it seems that you don't install cups, ghostscript and gsfonts first.

Thx big_smile,
well, it install as a dep. But, I can add cups to make sure it will be installed. smile

Offline

#23 2011-12-12 18:55:54

SS4
Member
From: !Rochford, Essex
Registered: 2010-12-05
Posts: 699

Re: [Script] Archlinux Ultimate Install Script

I used this to install kde on and it worked brilliantly for the most part! Good work.


Rauchen verboten

Offline

#24 2011-12-13 14:00:57

helmuthdu
Member
Registered: 2011-11-09
Posts: 85

Re: [Script] Archlinux Ultimate Install Script

esc wrote:

Got a problem while executing the script:

ultimate_archlinux_install.sh: line 20: $'\r': command not found
ultimate_archlinux_install.sh: line 23: $'\r': command not found
ultimate_archlinux_install.sh: line 29: $'\r': command not found
ultimate_archlinux_install.sh: line 40: syntax error near unexpected token `}'
'ltimate_archlinux_install.sh: line 40: `} #}}}

Make sure you copy all script, idk what this could be, have tested here many times...

Offline

#25 2011-12-13 14:04:59

SS4
Member
From: !Rochford, Essex
Registered: 2010-12-05
Posts: 699

Re: [Script] Archlinux Ultimate Install Script

esc wrote:

Got a problem while executing the script:

ultimate_archlinux_install.sh: line 20: $'\r': command not found
ultimate_archlinux_install.sh: line 23: $'\r': command not found
ultimate_archlinux_install.sh: line 29: $'\r': command not found
ultimate_archlinux_install.sh: line 40: syntax error near unexpected token `}'
'ltimate_archlinux_install.sh: line 40: `} #}}}

I got the same error when using the pastebin link, if you copy and paste from the OP it should work.


Rauchen verboten

Offline

Board footer

Powered by FluxBB