Skip to content

Instantly share code, notes, and snippets.

@rodacato
Created September 19, 2013 03:28
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rodacato/6618767 to your computer and use it in GitHub Desktop.
Save rodacato/6618767 to your computer and use it in GitHub Desktop.
Things you need to know when install piwik on smartos
# Congifuration Files
vi /opt/local/etc/php.ini
vi /opt/local/etc/php-fpm.conf
vi /opt/local/etc/nginx/nginx.conf
# Restart services
svcadm [refresh|restart|enable|disable] nginx
svcadm [refresh|restart|enable|disable] php-fpm
# Get service help
svcs
svcs -x
tail -f /var/svc/log/pkgsrc-php-fpm:default.log
# Services
svc:/pkgsrc/mysql:default
svc:/pkgsrc/nginx:default
svc:/pkgsrc/php-fpm:default
# Packages you need to install
nginx
scmgit-1.8.3.1
htop
php54-fpm-5.4.19
gzip-1.6
mysql-server-5.5.32nb2
# Mysql package libraries
php54-json-5.4.19
php54-zip-5.4.19
php54-mysqli-5.4.19
php54-pdo-5.4.19
php54-zlib-5.4.19
php54-iconv-5.4.19
php54-dom-5.4.19
php54-mbstring-5.4.19
php54-gd-5.4.19
# Path for mysql modules/libraries
ls /opt/local/lib/php/20120301/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment