Ubuntu swap & ram

ALT+F2 gksudo gedit /etc/sysctl.conf #append or modify (if already exists) the following: #0 .. 100 (0 = no swap) vm.swappiness=1 # http://askubuntu.com/questions/1357/how-to-empty-swap-if-there-is-free-ram # swap info swapon -s cat /proc/swaps vmstat 1 systemctl list-units –type=swap systemctl list-units | grep .swap # […]

Ubuntu: phpMyAdmin setup

wget https://files.phpmyadmin.net/phpMyAdmin/4.5.0.2/phpMyAdmin-4.5.0.2-english.tar.gz tar xvzf phpMyAdmin-4.5.0.2-english.tar.gz mv phpMyAdmin-4.5.0.2-english myadmin mkdir myadmin/config chown -R **** myadmin/config /etc/php5/fpm/php.ini session.gc_maxlifetime = 3600 sudo service php5-fpm restart #save configuration created using https://adrhc.go.ro/myadmin/setup mv -v myadmin/config/config.inc.php myadmin/config.inc.php sudo chown **** myadmin/config.inc.php rmdir myadmin/config sudo service php5-fpm […]

Ubuntu and Plex

installation sudo apt-get install plexmediaserver ### my custom systemd setup (plex-override.conf) # # Plex Media Server – Systemd service override file # # All entries must be systemd compliant (Environrment=”var=absolute_value”) # # cp -v $HOME/bin/systemd-services/plex-override.conf /etc/systemd/system/plexmediaserver.service.d && sudo chown […]