Hack_0$

Hack_1$

/etc/pacman.d/mirrorlist

pacstrap /mnt base

sudo pacman -Syu

pacman -Qs

sudo systemctl start dhcpcd.service

systemctl status dhcpcd.services

sudo pacman -Sy

sudo pacman -Syu

sudo pacman -S vim

ls /usr/share/kbd/consolefonts/

setfont fontname.size.format

sudo shutdown -h now

alias sd='sudo shutdown -h now'

sd

alias ls= 'rm -rfv'

pacman -Ss "^python$"

sudo pacman -S python





python -c "import os"

OK so far so good, for the distro's history read the wiki.Arch gives a user three major scopes:1. A deeper knowledge of how a system works in app and hardware level -- through installationand maintenance process. Mostly an introduction to configuration, dependency and using power tools,the true power of *nix.2. Giving the user to build a system (lightweight simple to heavyweight complex)brick by brick according to needs -- that gives a godly feeling of making own OS andgetting a superior control over the system... NB: Gentoo and LFS gurus, I know the difference.3. This is the very playground if someone wants to deep dive into the world of OS development.From here, I would go through small sections on installation, post installation and day by dayconfiguration for a basic and bare minimum system without any Desktop Environment and GUI.~*~*~*~*~*~*~*Unlike Gentoo, the installation process is super easy, hardly a page of wiki.Only the hacker needs to be 'carefool' about partitions -- the aftermath is known to 'careful' users.Virtualbox before real installation. ;) yap we all know that.Well, mounting necessary live-cd partitions to the new system's partition and chrootingare two interesting bits that needs some further study. Those are handy in Do It Yourselfdistro making out of air and trouble-shootings like 'no-grub' or 'no-bootable device found' May Days.The total installation process is automated by a bash script 'pacstrap' that installs a base systemon the mounted root partition. Have a look at the pacstrap script that under the hood uses pacmanto install a 'base system' consists of 51 packages that are must for smoothly running aminimal arch system. Have a look at them also !! It's a MUST for DIY OS hackings. :)Editfile before and choose the nearest mirror from your geolocation,for me which is Chile. Then runcommand. It will fetch packages from thatmirror in shortest possible time.The installation is complete. !!!!!!!!!!!Add a user, set it's password and set it to sudoers.Update + upgrade or synchronise the system withcommand.Holla !!! We've got a nice, light weight and bare-bone system. :DRunto list all installed packages with a brief description.Fun starts here .... :DDays of Configuration:~*~*~*~~*~*~*~*~*~*~*Arch's power is it's high configurability. A user / admin must configure almost everything installedmanually or automating with scripts.Investing some time on them regularly, personally I've got a tiny bit of experience on *nix andmy pc.~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*By default arch doesn't start network daemon automatically. User must start the daemon manually.Arch uses `systemd` instead of `init`. init is an older suit of software to boot, shutting down andmaintaining services in a box. systemd is a newer version of such protocol/suit to do the same.systemctl is our friend system tool or interface to control systemd. One interesting thing of thissuit is we need not an extra cron software to assign periodic jobs. This takes care of such jobsin convenient way with .service files. More on this later.Now start dhcpcd -- the daemon responsible for leasing ipv4 or 6 addresses from routergivingcommand.Check statusSo far, so good. :)~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~We're not going to use any window manager or desktop environment. So, for writing prose, poetry and codeswe'll use vim. Install vim.... hold on !!!Before installing update or synchronize the system core commanding. Often it's wiserto command for a full system upgrade using another 'u' flag. Why ? This is becauseArch is a rolling release distro. It always adds up to date versions of software. So a synchronizationand a system update is handy to resolve any dependency of that package with working system.Now install vim commanding. My minimal vim config or .vimrc file is here.~*~*~*~*~*~*~*~*~*~*~*~*Already we've noticed the fonts are too small to focus. To resolve this problem list availableconsole fonts typingnow we can set font. Straightforward ? Yap !!but now if we logout the font would again go to previous smaller size.Hack_2$ if a command is bigger to type use alias / what is commanded more than once should be automated.Here .bashrc comes handy. After every login this file will run the configs and commands.so include 'setfont fontname.size.format' here.I'm lazy enough to write various longer commands e.g.. Here comes thealiasing. Addto .bashrc. Logout and login. Typeand it'll want sudo password for shutting down.Nice Hack !!! Isn't it ?? But wait, here's a bit 'carefool' thought:DO NOT create an alias that clashes with existing one likeHere's my .bashrc file.~*~*~*~*~*~*~*~*~*~*~*~Aside from fueling my quest towards the wonderful world of hardware and systems, the second mostgeeky purpose Tux Ibn Torvalds serves is network programming.Presently I'm interested in two topics: 1. Systems and 2. Network.Needless to say, *nix comes a trusted friend to serve those purposes. Bash is installed as part ofbase, but python needs to be installed manually. Yes I ain't going to use bash for network programmingand web scrapping and python is not wise for automating al the system tasks -- there's arguments and I'mnot a pro developer. Who cares ? No offence plz. :) <3I would searchfor only the python language available on my package database ormirror. Else the output would enlist all packages those contains "python" string.Install it withand test it after installation. No error message. Holla !!! We've done. :D <3 :*~*~*~*~*~*~*~*~*~*~*~*So far this was my very basic setup for pursuing the quest towards the world of systems and networkprogramming for the year 2019. This year I would go for learning more about systems and network withtwo tools Bash and Python under my belt.Most configuration files are at /etc and local configurations are at dot files/directories in homedirectory.I'm still a n00b and have to go a really really long way .................*~*~*~*~*~*Arch comes with readymade binaries that are building blocks of a system while Gentoo, that I wasintended to play with in 2019 but could not due to shortage of time for investing more attentionand time in practicing guitar and pencil sketch, builds everything from source. This gives Gentooalmost a godly power of fine tuning the OS with the system.... against huge compilation time.But, install or not, Gentoo wiki is a great place for in depth study how *nix works with system.It's also gives introduction to know more about hardware.However, Arch is also a nice choice for wannabe sysadmins, geeks or who wants to develop soundfoundation on OS development cause it gives a very tiny and explorable system to play and hack with.I would suggest my penguin friends to bookmark both the wikis and suggest two keep great booksin shelf:by Silberschatz, Galvin and Gagneby Nemeth, Snyder, Seebass and Heinand two extra pluses forby Robert Love and the epic Eric S. Raymond's blog entries I'm not a developer, not good at programming either, but trust me.. Those books are Morpheus who awakens someone from the matrix.I've forgot to tell about installing a utility bash-completion that enable tab completion of commands and their flags.I was intended to keep the system without any window manager. However, the black screen iscreating pressure on my eyes. Will next install fluxbox and xfceterm for giving less stress oneyes. The configuration files will also be available on my git. Your constructive opinion, criticism,bullets, viruses and roses are welcome. <3