-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
457 lines (402 loc) · 10.3 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Step-by-step guide to install Arch Linux the Arch way. Install Arch Linux within 15 minutes with this easy guide.">
<meta name="keywords" content="Arch Linux, installation, guide, easy, tutorial, step-by-step">
<meta name="author" content="Your Name">
<!-- Google Search Console Verification -->
<meta name="google-site-verification" content="mhqW8tWhJ6caY2TXFjuqnkQxfbPD_jzLlh8-pgUbfyY">
<!-- Bing Webmaster Verification -->
<meta name="msvalidate.01" content="8B7C0E2F64AD380BF6CBE7170A270EE8">
<title>Arch Linux Installation Guide</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<h1>Arch Linux Installation Guide</h1>
<br>
<br>
<section>
<p>
<h3> > Easy Arch Install Guide</h3>
<b>
A comprehensive guide to install Arch Linux the Arch way.
Say goodbye to weird installation scripts!
Installing Arch Linux the Arch way is an experience like no other.
I guarantee you, you'll have a working Arch Linux system within 15 minutes. (* Provided you have a decent Internet speed.)
</p>
</section>
<br>
<br>
<br>
<section id="download">
<h2>Download Arch Linux ISO:</h2>
<ul>
<li>Download from <a href="https://archlinux.org/download/">Arch Linux website</a>.</li>
<li>Make the ISO bootable using <a href="https://www.balena.io/etcher/">balenaEtcher</a>.</li>
</ul>
</section>
<br>
<section id="guide">
<h2>Guide Starts Here:</h2>
<section id="set-keyboard">
<h3>Set Keyboard:</h3>
<pre>
<code>
loadkeys us <!-- comment --></code>
</pre>
</section>
<section id="connect-internet">
<h3>Connect to Internet:</h3>
<h4>Ethernet/USB: Plug and play.</h4>
<h4>WiFi:</h4>
<pre>
<code>
iwctl
device list
station wlan0 scan
station wlan0 get-networks
station wlan0 connect "network-name"
Enter Password
exit</code>
</pre>
</section>
<section id="check-connection">
<h3>Check Connection:</h3>
<pre>
<code>
ping 9.9.9.9</code>
</pre>
</section>
</section>
<br>
<section id="partition">
<h2>Partition Disk:</h2>
<section id="identify-disk">
<h3>Identify Disk:</h3>
<pre>
<code>
fdisk -l</code>
</pre>
</section>
<section id="start-fdisk">
<h3>Start fdisk:</h3>
<pre>
<code>
fdisk /dev/nvme0n1
fdisk /dev/sda</code>
</pre>
</section>
<section id="fdisk-commands">
<h3>Commands:</h3>
<pre>
<code>d: Delete previous partitions.</code>
<code>g: Create a new GPT disklabel.</code>
<code>n: Create new partition.</code>
<code>w: Write changes.</code>
<code>p: Print changes.</code>
</pre>
</section>
<section id="create-partitions">
<h3>Create Partitions:</h3>
<pre>
<code>
/dev/nvme0n1p1: 500 MB (EFI)
/dev/nvme0n1p2: 2 GB (Swap)
/dev/nvme0n1p3: Remaining GB (File System)
/dev/sda1: Remaining GB (File System)</code>
</pre>
</section>
</section>
<br>
<section id="format">
<h2>Format Partitions:</h2>
<section id="efi-partition">
<h3>EFI Partition:</h3>
<pre>
<code>mkfs.fat -F 32 /dev/nvme0n1p1</code>
</pre>
</section>
<section id="swap-partition">
<h3>Swap Partition:</h3>
<pre>
<code>mkswap /dev/nvme0n1p2</code>
</pre>
</section>
<section id="file-system">
<h3>File System:</h3>
<pre>
<code>
mkfs.btrfs /dev/nvme0n1p3
mkfs.btrfs /dev/sda1</code>
</pre>
</section>
</section>
<br>
<section id="mount">
<h2>Mount Partitions:</h2>
<section id="mount-file-system">
<h3>File System:</h3>
<pre>
<code>
mount /dev/nvme0n1p3 /mnt
mount /dev/sda1 /mnt/home</code>
</pre>
</section>
<section id="mount-swap">
<h3>Swap Partition:</h3>
<pre>
<code>swapon /dev/nvme0n1p2</code>
</pre>
</section>
<section id="mount-efi">
<h3>EFI Partition:</h3>
<pre>
<code>mkdir -p /mnt/boot/efi & mount /dev/nvme0n1p1 /mnt/boot/efi</code>
</pre>
</section>
</section>
<section id="genfstab">
<h3>Generate fstab:</h3>
<pre>
<code>genfstab /mnt</code>
</pre>
</section>
<br>
<section id="install">
<h2>Install Base Packages:</h2>
<pre>
<code>
pacstrap /mnt base base-devel linux-lts linux-firmware nano sudo networkmanager efibootmgr grub mtools</code>
</pre>
</section>
<br>
<section id="genfstab">
<h3>Transfer Fstab Details</h3>
<pre>
<code>genfstab /mnt > /mnt/etc/fstab</code>
</pre>
</section>
<section id="change-root">
<h3>Change Root:</h3>
<pre>
<code>arch-chroot /mnt</code>
</pre>
</section>
<section id="set-timezone">
<h3>Set Time Zone:</h3>
<pre>
<code>
ln -sf /usr/share/zoneinfo/Asia/Kolkata /etc/localtime
date
hwclock --systohc</code>
</pre>
</section>
<section id="set-locale">
<h3>Set Locale:</h3>
<pre>
<code>
nano /etc/locale.gen
locale-gen
nano /etc/locale.conf
nano /etc/vconsole.conf</code>
</pre>
</section>
<section id="set-hostname">
<h3>Set Hostname:</h3>
<pre>
<code>nano /etc/hostname</code>
</pre>
</section>
<section id="set-root-password">
<h3>Set Root Password:</h3>
<pre>
<code>passwd</code>
</pre>
</section>
<section id="create-user">
<h3>Create User with Sudo Privileges:</h3>
<pre>
<code>
useradd -m -G wheel -s /bin/bash user
passwd user</code>
</pre>
</section>
<section id="sudo-setup">
<h3>Sudo Setup:</h3>
<pre>
<code>
EDITOR=nano visudo
Uncomment wheel group.
su user
sudo pacman -Syu
Check functionality and exit</code>
</pre>
</section>
<section id="enable-services">
<h3>Enable Network Services:</h3>
<pre>
<code>
nano /etc/hosts
127.0.0.1 localhost
::1 localhost
systemctl enable NetworkManager</code>
</pre>
</section>
<section id="install-grub">
<h3>Install and Configure GRUB:</h3>
<pre>
<code>
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfg
exit
umount -a
reboot</code>
</pre>
</section>
<br>
<section id="post-install">
<h2>Post Install</h2>
<h3>Video Drivers and GUI Installation:</h3>
<pre>
<code>
Intel: pacman -S xorg xf86-video-intel mesa
AMD: pacman -S xorg xf86-video-amdgpu mesa
ATI: pacman -S xorg xf86-video-ati mesa
NVIDIA: pacman -S xorg xf86-video-nouveau mesa
</code>
</pre>
</section>
<section id="pipewire">
<h3>Install Pipewire</h3>
<pre>
<code>
sudo pacman -S pipewire pipewire-pulse pipewire-media-session
sudo systemctl enable --now pipewire pipewire-pulse pipewire-media-session
sudo systemctl --global disable --now alsa-restore alsa-state
</code>
</pre>
</section>
<section id="cinnamom">
<h3>Installing Cinnamon</h3>
<pre>
<code>
sudo pacman -S cinnamon nemo-fileroller firefox gnome-terminal
</code>
</pre>
</section>
<section id="display-manager">
<h3>Display Manager</h3>
<pre>
<code>
sudo pacman -S lightdm-gtk-greeter lightdm-gtk-greeter-settings
sudo systemctl enable lightdm
</code>
</pre>
</section>
<section id="keyring">
<h3>Gnome Keyring</h3>
<pre>
<code>
sudo pacman -S gnome-keyring
</code>
</pre>
</section>
<section id="fonts">
<h3>Install some basic fonts</h3>
<pre>
<code>
sudo pacman -S noto-fonts noto-fonts-cjk noto-fonts-emoji ttf-font-awesome
</code>
</pre>
</section>
<section id="packages">
<h3>Some Important Packages</h3>
<pre>
<code>
sudo pacman -S udisks2 udiskie gvfs git gedit flatpak papirus-icon-theme
</code>
</pre>
</section>
<section id="video-codecs">
<h3>Video Codecs</h3>
<pre>
<code>
sudo pacman -S a52dec faac faad2 flac jasper lame libdca libdv libmad libmpeg2 libtheora libvorbis libxv wavpack x264 xvidcore
</code>
</pre>
</section>
<section id="archive-formats">
<h3>Archive Formats</h3>
<pre>
<code>
sudo pacman -S p7zip unrar tar rsync
</code>
</pre>
</section>
<section id="paru">
<h2>After Login</h2>
<h3>Paru</h3>
<pre>
<code>
git clone https://aur.archlinux.org/paru-bin.git
cd paru-bin
makepkg -si
</code>
</pre>
</section>
<section id="paru">
<h2>Customization</h2>
<h3>Nord Color Scheme</h3>
<h4>Nordic Polar Theme:</h4>
<pre>
<code>
git clone https://github.com/EliverLara/Nordic-Polar.git
</code>
</pre>
<h4>Nord Gnome-Terminal:</h4>
<pre>
<code>
git clone https://github.com/arcticicestudio/nord-gnome-terminal.git
</code>
</pre>
<h4>Nord Gedit:</h4>
<pre>
<code>
git clone https://github.com/arcticicestudio/nord-gedit.git
</code>
</pre>
<h4>Shell Color Scripts:</h4>
<pre>
<code>
paru -S shell-color-scripts
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
sudo flatpak override --filesystem=$HOME/.themes
sudo flatpak override --env=GTK_THEME=Nordic-Polar
</code>
</pre>
</section>
<section id="bash">
<h3>Adding lines to Bash</h3>
<pre>
<code>
alias ls='ls -lah --color=auto'
alias update-grub='sudo grub-mkconfig -o /boot/grub/grub.cfg'
colorscript -e arch
eval "$(starship init bash)"
</code>
</pre>
</section>
<section id="wallpapers">
<h3>Nord Wallpapers</h3>
<pre>
<code>
paru -S nordic-wallpapers
</code>
</pre>
</section>
</div>
</body>
</html>