Preface
Goal: Minimal arch install configuration.
The first thing to do after boot is of course login in TTY. After first boot and first login, our duty is not complete yet. We still need to setup user administration. Then we scan setup GUI as soon as possible, so we can easily do more basic administration.
Table of Content
- Table of Content
- Networking
- User Administration
- GUI Display
- Init: Service Manager
- Basic Tools
- What is Next?
Networking
After login, my needs is to connect to internet, so I can get required package to do basic administration.
Let’s ping. My expectation is failure.
Using iwd
If you are in a hurry, you can use iwd
.
I do not use iwd
for daily basis.
I provide, an article for iwd
in this article series.
Network Manager
I use NetworkManager
for daily basis.
What I do is simply this below:
Networking deserve an article of its own. So I won’t give the detail here. The detail of the command can be found in other article, provided in this article series.
User Administration
Adding User
You can just make a user, and add this user in a wheel
group.
For example this one will create user rizqi
with group rizqi
.
Or you can make different name for the group.
For example this one will create user epsi
in a group users
.
This way you can omit to create a specific user group.
The Artefact
passwd, group, shadow, gshadow
Now we can check the result
Sudoers
We are not finished yet. We still need to setup privilege for sudo. This means who can do sudo, and how the password asked.
Instead of setting per user,
you can set the wheel
group.
I grep all blank lines and commented lines.
Die hard veteran would love visudo
Now try login in TTY for user that you made.
Change Shell
bash
is not the only shell,
you can change to other shell.
First you have to install the shell.
And change the shell.
And finally, check the result in user administration.
GUI Display
Setting up GUI with xorg/wayland
It is a good time to setup GUI. With GUI we can configure stuff easier. I would like to set up xorg first. Then wayland later.
I understand display server deserver an article of its own. So I make it quick here, and I will discuss the detail later.
Display Server
xorg
First the xorg itself
I don’t know if I could install wayland wthout xorg at all.
Desktop Manager
I like lightdm
,
but unfortunately it doesn’t work well with wayland.
So use sddm
instead.
You can enable.
Then start from TTY.
you need to relogin if you are already in window manager.
Or you can stop and disable, so you can learn how to run window manager, directly from TTY.
Window Manager
Let us check the window manager
i3 in xorg with picom compositor.
sway in wayland
Desktop Manager
Beginner would love xfce4.
Personally, I prefer to use AwesomeWM. But I know Awesome is not for everbidy especially beginner.
I’ve been using this AwesomeWM in about four years. Just simply because I do not have time, to explore other goodies.
Screenshot
For the screenshot, I use this tools.
Because wayland
require different screenshooter.
Second Account
For some weird reason, I need two accounts. And sometimes I need to run GUI for other account, without switching desktop. this can be done by this.
Now I can navigate my alternate account, using any file manager.
Init: Service Manager
Init manage what daemon running. The simple terminology for init is service manager.
Init require its own article. However for a glance of overview, This is what we have for daily basis.
systemd
Vanilla Arch is using systemd
.
You can check running services using this command:
You need proper privilege to change service state.
Just don’t forget the magic sudo
word.
Basic Tools
Additional Packages
I put my basic tools here,
I need the rankmirror
available in pacman-contrib
,
the lsusb
available in usbutils
,
the git
and base-devel
to build yay
.
And at last man
to read the manual.
just in case I have an issue and require troubleshooting.
I should rmind myself to visit,
the manual of the man
command regularly.
That is all.
AUR
Arch User Repository
I choose yay
to manage AUR.
And just find out that there is already,
this easy to use yay-bin
.
First we have to clone the git source.
Then makepkg
.
This is going to be a long message.
Then the yay
can just run.
Well, I love to see compilation in my terminal, so much.
What is Next 🤔?
After basic administration and GUI, we can go back setting our arch linux, to work coexist with pre existing partition, in a multiboot situation.
Consider continue reading [ Arch: Multiboot ].