Monat: Januar 2017

virsh – resize partition (smaller, decrease)

#on the vm itself boot the gparted live image iso and resize your partitions gparted live – default settings enter enter enter link: http://gparted.org/download.php deeplink: http://downloads.sourceforge.net/gparted/gparted-live-0.27.0-1-amd64.iso decrease the / partition and recreate the swap partition with the new size (512mb – half of the 1024mb ram) that it is behind the new / #on the …

virsh – resize partition (smaller, decrease)Weiterlesen »

mysqldump error: session_variables doesn’t exist

Troubleshooting database export error: mysqldump: Couldn’t execute ‚SHOW VARIABLES LIKE ‚gtid\_mode“: Table ‚performance_schema.session_variables‘ doesn’t exist (1146) mysql_upgrade -u root -p –force systemctl restart mysql After this your mysql database export should work.

Magento Error – cron

Error: /usr/bin/php -c /etc/php5/apache2/php.ini /var/www/test/bin/magento setup:cron:run >> /var/www/test/var/log/setup.cron.log& I have removed magento but im still recieving mails: /bin/sh: 1: cannot create /var/www/test/var/log/setup.cron.log: Directory nonexistent #you cant su to www-data because the shell is not set so you have to specify it su www-data –shell /bin/bash #in crontab -e you find the three lines from magento …

Magento Error – cronWeiterlesen »

pyload – socks5 proxy tutorial

Tutorial: Socks5 Proxy unter pyload einstellen: Activate the proxy in pyload: Einstellungen -> Menu -> Proxy Start the socks5 proxy: (maybe in tmux/screen background) ssh -D8080 root@YOURSERVERIP Check if the traffic is going over the proxy with iptraf/iptraf-ng/iftop: The good thing is that if the tunnel is broken pyload stops the download automatically and isn’t …

pyload – socks5 proxy tutorialWeiterlesen »

right syntax to use – at line 1

Error: right syntax to use near “a:4:{s:5:\“child\“;a:1:{s:0:\“\“;a:1:{s:3:\“rss\“;a:1:{i:0;a:6:{s:4:\“data\“;s:‘ at line 1   Solution: Don’t use phpmyadmin to import the mysqldump. Try it over the command line with mysql. First create the user and the database, then import the file over the cli. mysql -u username -p < mysqldump This worked for me. Now my database was imported correctly …

right syntax to use – at line 1Weiterlesen »

Raspberry Pi 3 – install Kodi/OpenElec

Download OpenElec: https://openelec.tv/get-openelec/category/7-raspberry-pi2-builds File: Raspberry Pi 2 and Pi3 [Model B+ 512MB] – Diskimage OpenELEC-RPi2.arm-6.0.3.img.gz Don’t download the update file! Unzip the archive: gunzip OpenELEC-RPi2.arm-6.0.3.img.gz Copy the image file onto the sd card: Mathiass-MacBook-Pro:Downloads mathias$ sudo umount /dev/disk4s1 Mathiass-MacBook-Pro:Downloads mathias$ sudo dd if=OpenELEC-RPi2.arm-6.0.3.img of=/dev/disk4 Mathiass-MacBook-Pro:Downloads mathias$ sudo sync Put the sd card in the pi …

Raspberry Pi 3 – install Kodi/OpenElecWeiterlesen »

Scroll to Top