This is for a dev environment. Let’s start by installing apache
pacman -S apache
Now install PHP
pacman -S php php-apache php-mcrypt
Installing MySQL (MariaDB)
pacman -S mariadb
This is for a dev environment. Let’s start by installing apache
pacman -S apache
Now install PHP
pacman -S php php-apache php-mcrypt
Installing MySQL (MariaDB)
pacman -S mariadb
Create a hidden .bin folder somewhere you like. I did it on my home folder:
mkdir ~/.bin
You can add this folder to your $PATH by adding to .bashrc:
## Path
export PATH=$PATH:/home/dth/.bin
Now let’s test by adding a bash script I wrote called qdb (creates SQL DB, user and pwd)
cd ~/.bin && wget https://raw.githubusercontent.com/xdth/qdb/master/qdb
+5 ---+---------------+---+ | | | R +----------+ | | 8 4 | +---+------+-----|7 3|------/\/\/\---+------- Vout : | | LMC555 | | C to test +-----|6 | ----- : | | ----- ground +-----|2 5|----+ | | | 1 | | ground | +----------+ 0.1 uF | | | Clock ----+ ground ground ^
I needed a quick calculator for the 555 chip and decided to write one in C. Enjoy.
Read more “Calculator written in C for the 555 timer IC”
Install irssi and libnotify
pacman -S irssi libnotify pygobject perl-html-parser
Now cd to your build-repos folder and clone irssi-otr
cd .build-repos && git clone https://aur.archlinux.org/irssi-otr.git
Enter folder and make the package
cd irssi-otr && makepkg -sri
Read more “irssi with OTR, custom theme and desktop notifications”