You are on page 1of 3

ip link

ping -c 3 www.google.com
timedatectl set-ntp true
cfdisk /dev/sda
mkfs.ext4 /dev/sda1
mkswap /dev/sda2 && swapon /dev/sda2
mount /dev/sda1 /mnt
pacstrap -i /mnt base base-devel
genfstab -U /mnt >> /mnt/etc/fstab
arch-chroot /mnt
ln -sf /usr/share/zoneinfo/Europe/Belgrade /etc/localtime
hwclock --systohc --localtime
nano /etc/locale.gen
locale-gen
echo LANG=en_US.UTF-8 > /etc/locale.conf
export LANG=en_US.UTF-8
echo arch > /etc/hostname
nano /etc/hosts
127.0.0.1 localhost.localdomain localhost myhostname
::1 localhost.localdomain localhost myhostname

passwd
###
pacman -S intel-ucode
pacman -S grub
grub-install --recheck --target=i386-pc /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
###
exit
umount -R /mnt
shutdown now

systemctl start dhcpcd@enp0s3.service


systemctl enable dhcpcd@enp0s3.service
ping –c 3 www.google.com

useradd -m -G wheel,users -s /bin/bash tomicp


passwd tomicp
EDITOR=nano visudo
# Un-comment %wheel ALL=(ALL) ALL

nano /etc/pacman.conf
# Un-comment [multilib]
Include = /etc/pacman.d/mirrorlist

pacman -Syu

###
# VirtualBox
pacman -S xf86-video-vesa xf86-video-fbdev
###
#
pacman -S reflector
reflector --verbose --latest 15 --sort rate --save /etc/pacman.d/mirrorlist
#
pacman -S alsa-utils alsa-oss
alsamixer
alsactl store
pacman -S bash-completion
pacman -S xorg-server xorg-xinit
pacman -S xterm
pacman -S ttf-droid ttf-inconsolata ttf-dejavu
pacman -S gnome-themes-standard
pacman -S gtk-engines ## nss-mdns
pacman -S adwaita-icon-theme
pacman -S adobe-source-code-pro-fonts
pacman -S adobe-source-sans-pro-fonts
pacman -S adobe-source-serif-pro-fonts
pacman -S xf86-input-synaptics
reboot
###
# User login
###
# VirtualBox
sudo pacman -S linux-headers
sudo pacman -S virtualbox-guest-utils
###########
# for non-default kernels
#sudo pacman -S virtualbox-guest-dkms
####
# Automounting shared folder
#sudo systemctl enable vboxservice.service
###########
sudo pacman -S polkit
cp /etc/X11/xinit/xinitrc ~/.xinitrc
cp /etc/X11/xinit/xserverrc ~/.xserverrc
sudo pacman -S openbox
sudo pacman -S python2-xdg
nano ~/.bash_profile
if [ -z "$DISPLAY" ] && [ "$(fgconsole)" -eq 1 ]; then
exec startx
fi
###
sudo pacman -S xdg-utils
sudo pacman -S xdg-user-dirs
xdg-user-dirs-update
cp -R /etc/xdg/openbox ~/.config/openbox
sudo pacman -S lightdm
sudo pacman -S accountsservice
sudo pacman -S lightdm-gtk-greeter
sudo pacman -S lightdm-gtk-greeter-settings
systemctl is-enabled lightdm.service
systemctl enable lightdm.service
sudo pacman -S networkmanager
##
systemctl disable dhcpcd@enp0s3.service
systemctl enable NetworkManager.service
systemctl start NetworkManager.service
reboot
# VirtualBox
sudo pacman -S arandr
#
sudo pacman -S network-manager-applet
sudo pacman -S gnome-keyring
systemctl enable avahi-daemon.service
systemctl start avahi-daemon.service
sudo pacman -S nss-mdns
reboot
#########
# Applications
sudo pacman -S gmrun
sudo pacman -S geany
sudo pacman -S pcmanfm
sudo pacman -S gvfs ...
sudo pacman -S ntfs-3g
sudo pacman -S exfat-utils
sudo pacman -S xarchiver ...
sudo pacman -S lxappearance-obconf
sudo pacman -S obconf obmenu oblogout
sudo pacman -S nitrogen
sudo pacman -S archlinux-wallpaper
sudo pacman -S rclone
sudo pacman -S ristretto
sudo pacman -S tumbler ...
sudo pacman -S firefox
sudo pacman -S pulseaudio
sudo pacman -S pulseaudio-alsa
sudo pacman -S pavucontrol
sudo pacman -S volumeicon
sudo pacman -S git
sudo pacman -S tint2
sudo pacman -S i3
sudo pacman -S xfreerdp # rdesktop

#########
## AUR
cower, perl-linux-desktopfiles, obmenu-generator, obkey, papirus-icon-theme-git

## Unknown public key ##### gpg --recv-keys 8F0871F202119294


## gpg --recv-keys --keyserver hkp://pgp.mit.edu 1EB2638FF56C0C53
##
git clone https://github.com/addy-dclxvi/openbox-theme-collections ~/.themes
sudo pacman -S gtk2-perl

#########

reboot