Some tips I use at work for my Arch Linux installations (Antergos)
A. If Arch Linux from scratch
$ git clone https://aur.archlinux.org/package-query.git
$ cd package-query
$ makepkg -si
$ cd ..
$ git clone https://aur.archlinux.org/yaourt.git
$ cd yaourt
$ makepkg -si
$ cd ..
B. If Antergos
$ pacman -Sy yaourt
$ yaourt -S sublime-text
$ yaourt -S atom
$ yaourt -S google-chrome
$ yaourt -S vivaldi
$ yaourt -S spotify
$ yaourt -S openconnect
$ yaourt -S owncloud
$ yaourt -S gtk-arc-flatabulous-theme-git
$ yaourt -S mariadb
$ yaourt -S php-apache
$ yaourt -S composer
$ yaourt -S jdk9-openjdk
$ yaourt -S mongodb
$ yaourt -S php-mongodb
$ yaourt -S robo3t
$ yaourt -S pidgin
$ yaourt -S docker
$ yaourt -S htop
$ yaourt -S bower
$ yaourt -S python2
$ yaourt -S npm
$ yaourt --m-arg --skipchecksums --m-arg --skippgpcheck -S discord
$ sudo nano /etc/udev/rules.d/10-local.rules
# Set bluetooth power up
ACTION=="add", KERNEL=="hci0", RUN+="/usr/bin/hciconfig hci0 up"
$ gsettings set org.gnome.desktop.wm.preferences button-layout 'close,minimize,maximize:'
$ sudo chmod 777 -R /srv/http/
$ subl /etc/httpd/conf/httpd.conf
then
- comment
LoadModule mpm_event_module modules/mod_mpm_event.so
- uncomment
#LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
- At the end of the LoadModule list:
LoadModule php7_module modules/libphp7.so
AddHandler php7-script php
- At the end of the Include list:
Include
conf/extra/php7_module.conf
$ subl /etc/httpd/conf/httpd.conf
then
- Change
AllowOverride none
intoAllowOverride All
- Uncomment
#LoadModule rewrite_module modules/mod_rewrite.so
$ subl /etc/httpd/conf/httpd.conf
then uncomment #Include conf/extra/httpd-vhosts.conf
next $ subl /etc/httpd/conf/extra/httpd-vhosts.conf
then write your VirtualHost afterward add your ServerName in /etc/hosts
finally restart Apache.
To check if it is ok : apachectl configtest
$ subl /etc/php/php.ini
then uncomment
#extension=pdo_mysql.so
#extension=mysqli.so
$ sudo mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
Log with $ mysql -u root -p
(no password) then CREATE USER 'USER'@'localhost' IDENTIFIED BY 'PASSWORD';
{
"font_size": 15,
"theme": "Default.sublime-theme",
"line_padding_top": 6,
"line_padding_bottom": 6,
}