Skip to content

Instantly share code, notes, and snippets.

@rrolla
rrolla / raspiBuildInstallPHP.sh
Last active Aug 17, 2018
Script to install php7 from source for Raspberry Pi 3 Model B
View raspiBuildInstallPHP.sh
#!/bin/bash
#
# Script to install php7 from source for Raspberry Pi 3 Model B
#
# Author rolla aka Raitis Rolis (raitis.rolis@gmail.com)
#
# Thanks for http://shaunvos.me/2018/06/14/installing-php-7-2-6-on-raspian-stretch-on-raspberry-pi-3-model-b/
# Thanks for https://www.linuxbabe.com/php/compile-php7-source-raspbian-jessie
#
@rrolla
rrolla / install-webmin.sh
Last active Jan 27, 2021
Fast install webmin on ubuntu (20.04, 18.04, 16.04, 14.04) or debian
View install-webmin.sh
#!/bin/bash
#
# Script to install webmin
#
# Author rolla aka Raitis Rolis (raitis.rolis@gmail.com)
#
sudo add-apt-repository 'deb https://download.webmin.com/download/repository sarge contrib';
wget http://www.webmin.com/jcameron-key.asc;
@rrolla
rrolla / composer-global.txt
Created Apr 29, 2016
Prepare development env for linux
View composer-global.txt
composer global require phpunit/phpunit;
composer global require phpunit/dbunit;
composer global require phing/phing;
composer global require phpdocumentor/phpdocumentor;
composer global require sebastian/phpcpd;
composer global require phploc/phploc;
composer global require phpmd/phpmd;
composer global require squizlabs/php_codesniffer;
composer global require fabpot/php-cs-fixer;
export PATH=~/.composer/vendor/bin:$PATH;