-
Notifications
You must be signed in to change notification settings - Fork 1
/
Home.txt
414 lines (277 loc) · 9.25 KB
/
Home.txt
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
====== Archlinux Cheat Sheet ======
Created lørdag 22 oktober 2016
== Foreword ==
**# Read the Github page for more details.**
**# Author : Henrik ( Jeppesen@tutanota.com )**
**# Updated Version : **https://github.com/Stickano/ArchCheatSheet
**# Dotfile Repository : **https://github.com/Stickano/dotfiles
===== System Base =====
**# The following section will help you through what I consider a bare minimum.**
**# Follow the below order for a somewhat painless and stable setup. **
**1) Arch Base Installation**
[[Arch_Base]]
**2 ) Network Connectivity **
**Check out **//netctl//** in **//Network//
**3 ) Create a new User**
**Check out **//Users// //and Groups//** in **//Users//
**4 ) Define some privileges for our newly created user**
[[sudo]]
**4.5 ) Consider installing **//Git//** and cloning Dotfile and CheatSheet repository**
Make it a matter of copypasta!
**5 ) Enable 32bit support **
**Check out **//Mirrors//** in**// Maintenance //
**6 ) Display Server (+xinit)**
[[Xorg]]
**7 ) Touchpad was mad out of the box - Configure it early**
[[Touchpad]]
**8 ) Stable everyday use kernel and Long Time Support (Zen & lts)**
[[Kernels]]
**9 ) Nvidia Video Driver**
[[DKMS]]
**10 ) Intel Video Driver and extended Nvidia controls**
[[Display_Driver]]
**11 ) AUR Support (Unofficial Packages)**
**Check out **//makepkg//** and **//cower //**in **//System Tools//
**12 ) Window Manager**
[[i3]] (+some)
===== Extended System Functionality =====
**# Now we should have a workspace to navigate around on. Quick and Stable - yet so useless. **
**# We still need quite a few things, before it is what I'd consider robust system. **
**# We are not using a Display Manager - Define a nice Welcome Message instead**
[[Login]]
**# External Devices**
[[Automount USB and HDD]]
**# Monitor**
[[DPMS]]
[[Backlight]]
**# Keyboard **
[[Fn-key]]
**# Network**
[[Alpha_AWUS036H]]
**# Bluetooth**
[[Bluez]]
**# Sound**
[[Pulseaudio]]
**# Notifications **
[[SSMTP]] (Emails)
[[Dunst]] (Desktop)
**# Scheduled Jobs - used by some packages throughout **
[[Cron]]
**# Dual Booting**
[[Windows]]
**# Virtual Machine**
[[VirtualBox]]
**# Check these out too!**
[[Additional_rather_useful_software]]
===== Performance and Improvements on Wear Down =====
**# We are well away with our base setup. **
**# Before we start making our system useful for everyday tasks,**
**# we'll first improve some overall performance. **
**# Browser Performance**
[[PSD_and_ASD]]
**# Video Acceleration**
[[VA-API_and_VDPAU]]
**# Watchdog**
[[Disable_Watchdog]]
**# Hardware Specific **
[[SSD]]
[[CPU]]
[[Laptop]]
===== System Tools =====
**# Here are some of the everyday tools you will be working with - and some not so everyday. **
**# Much is installed by Arch Base, but there is a few additional packages and pointers. **
**# Some very low-level, yet good to know tools**
[[Basic_Tools_and_General_Examples]]
[[ls]] (Output Explanation)
[[sed]] (Text Manipulation)
**# Service Manager**
[[Systemd]]
**# Package Manager**
[[Pacman]]
**# Unofficial Packages (AUR)**
[[makepkg]]
[[Cower]]
[[Yaourt]]
**# Pointers on Desktop Entries (Application default run options)**
[[Desktop_Entries]]
**# Pointers on handling Kernel Modules**
[[Kernel_Modules]]
**# File Types default application (mime-types)**
[[Mimeo]]
===== Network =====
**# More Network information can be found throughout. This is mainly based on management**
**# of your network connection. **
**# WiFi and Ethernet Management**
[[netctl]]
===== Users and Groups =====
**# It is recommended to keep your User and Administrator (root) profile apart. **
**# Though I'm the sole user of this system, the option to manage several users**
**# is available in this section.**
**# Manage Users and Groups**
[[Users and Groups]]
**# Manage Permissions and some Explanation (drwx)**
[[Permissions]]
===== Maintenance =====
**# Awesome. Now we got a fast and stable system - and we know how to manage the basics of it!**
**# Before we continue to all the additional user specific packages, let's first see how we can**
**# keep our system at its best even after a long time of abuse. **
== Configure Once ==
**# Automatically Update Mirrors**
[[Mirrors]]
== Revisit Frequently ==
**# When Upgrading Packages**
[[Pacnew_and_Pacsave]]
**# Cleaning the Filesystem - Pacman cache, Orphans, Old configurations, Broken symlinks**
[[Clean_the_Filesystem]]
== When Needed ==
**# Downgrade Kernels or Packages in case of problems**
[[Downgrading]]
===== Getting Information =====
**# This section will (hopefully) help us getting the information we need to get further.**
**# Whether that information might be driver, kernel hardware, network or log information**
**# pointers can be found in this section.**
**# Some tips on getting Hardware information**
[[Hardware]]
**# Logs, Kernel Modules, Drivers and Application information**
[[Software]]
**# Connectivity - Mainly **//ss//** network tool**
[[Network]]
**# System Journal**
[[journalctl]]
===== Shell and Terminal =====
**# Now let us begin with some of the fun stuff. I find myself staring in a terminal window**
**# quite often. Such a wonderful (and powerful) tool needs a little extra caress^**
**# Extended functionality with Aliases and Functions**
[[Aliases]]
[[Functions]]
**# Shell**
[[Zsh]]
**# Terminal **
[[rxvt-unicode]]
[[Xresources]] (a little out of category, but hey)
**# Terminal Wrapper**
[[Gnu_Screen]]
**# A little extra!**
[[Additional_Terminal_Packages]]
[[Terminal_Keks]] (lolcat, fortune, cowsay)
===== Security =====
**Several security steps has been taken - but several more could probably be added. **
**# Anti Virus**
[[clamav]]
**# IDS**
[[Tripewire]]
**# Firewall**
[[iptables]]
[[iptable_rules]] (25 common rules)
[[ipset]]
[[Fail2ban]]
**# Password Manager**
[[KeePass]]
**# Security Audit**
[[lynis]]
**# Secure Browsing**
[[Tor]]
===== Preferred Software =====
**# We've come a long way.**
**# Now let's look at some useful tools, so we can get on with our lives. **
== GUI Tools ==
**# Web Browser**
[[Firefox]]
**# Office Suite**
[[LibreOffice]]
== CLI Tools ==
**# Text Editor**
[[Vim]]
**# File Manager**
[[Ranger]]
**# Bookmark Manager**
[[Buku]]
**# News **
[[Haxor-news]]
[[Reddit_Terminal_Viewer]]
**# IRC**
[[irssi]]
**# Video Player**
[[mplayer]]
**# Music Player**
[[Cmus]]
**# Image Viewer (Also used to display a Wallpaper)**
[[Feh]]
== A little bit of both ==
**# Random list of goodies!**
[[Additional Badass Software]]
===== Eye Candy =====
**# We'll pimp our system a little - make a pleasant on the eyes^**
**# Themes for various situations **
[[Theming]]
**# Some delicious fonts **
[[Fonts]]
**# Random list of orgasm for the eyes!**
[[Additional_sweetass_software]]
===== Development =====
**# With a few years on my back as a Web Developer and a passion to generally learn new**
**# development techniques, this section will handle exactly that. **
**# Development Control**
[[Git]]
**# Integrated Development Environment **
[[Sublime]]
[[MonoDevelopment]]
**# Web Services**
[[LAMP]]
[[SASS]]
**# Images/Design**
[[Gimp]]
===== Gaming =====
**# Ain't nobody got time for that.. I still like the opportunity though. **
**# 100+ Linux Games on Steam \o/**
[[Steam]]
**# Game Specific Troubleshoot**
[[Wasteland_2]]
===== SSH =====
**# Having an old computer act as server (whatever its purpose), is a great use of old hardware**
**# and a great waste of valuable time! This section will help you communicate with that spoiled **
**# little time consumer. Oh joy!**
**# SSH Server and Client Setup**
[[Server_and_Client]]
**# SSH Keys**
[[Keys]]
**# SSH Agent - Providing SSH keys to requesting services**
[[Agent]]
**# Transfer files via SSH**
[[scp]]
===== Crypto =====
**# Cryptography is a mighty interesting subject - Hope I will be able to learn more about **
**# the subject at some point.**
**# GnuPG - Encrypt/decrypt your files/messages**
[[GPG]]
**# Crypto Currency - Coin Farmer**
[[monero]]
===== Analysis =====
**# Here is a few tools to gather that additional information. **
**# Network Host Scanner**
[[nmap]]
**# Network Packet Monitor**
[[wireshark]]
===== Pentest =====
**# A few offensive tools and pointers.**
**# The suite of all suites **
[[aircrack-ng]]
===== Key Binds =====
**# At this point I have no more configurations or packages to throw at you. **
**# Hope it was manageable. Bare in mind, that his was not actually meant to teach you**
**# the technical stuff, but rather how to quickly install, configure and a quick scope of it capabilities. **
**# At this point, I would suggest you to trim down all this nonsense text. Get a better overview. **
**# Happy Tinkering!**
**# Phew, that sure was a lot of configuration. At this point we've already forgot what we are**
**# capable of. Good thing this section is a throwback section - covering only the most necessary **
**# handling. **
**# Navigate the Window Manager**
[[i3_mapping]]
**# Our Text Editor**
[[vim_mapping]]
**# Our Developer IDE**
[[Sublime_mapping]]
**# Actions from our Terminal (Missing Aliases and Functions)**
[[Terminal]]
**# Navigating our File Manager**
[[Ranger_mapping]]