'linux' Category

  • still showing default apache page after virtualhost has been added

    December 15, 2014

    apache is still showing the default install page after a new virtualhost has been added. why? because 000-default.conf is still set as the default. to remedy this issue a a2dissite 000-default.conf as root (or sudo if you must) then service apache2 restart that should, hopefully, be that.

  • how to start and stop motion at a certain time

    December 9, 2014

    so here’s how to start the motion software controlling your webcam at a certain time and then have it stop at a certain time. this stops it recording when you know you’ll be in a place that’s monitored and you don’t want your drives getting filled with images of your activity. do a crontab -e […]

  • motionpie ssh password error

    November 27, 2014

    recently setup motionpie and it’s working fine. was trying to access it via ssh but kept getting permission denied errors. you use your pi’s serial number for the password and root as the username… for example my pi’s serial is similar to mp-18dc77f1. entering that still gave me the permission denied error. the secret is […]

  • ban IP addresses using ufw

    November 4, 2014

    install ufw with apt-get install ufw this’ll pull in some dependences too. note that nothing is blocked by default. start ufw with ufw enable as root. block an IP with, for example ufw deny from 80.179.91.*** and check it’s working with ufw status verbose which’ll output something like this Status: active Logging: on (low) Default: […]

  • steam (linux) + xbox 360 controller + euro truck simulator 2

    October 6, 2014

    steam (linux) + xbox 360 controller (using xboxdrv) + euro truck simulator 2 = rather tasty. no more stabbing wildly at the arrow keys. no more looking around using the mouse. most of the controls can be mapped to the controller’s many buttons. some might think it’s a bit odd using an MS controller on […]

  • install mods on euro truck simulator 2 with linux

    September 30, 2014

    how to install mods on euro truck simulator 2 (ets2) with linux. navigate to /home/YOUR_USER/.local/share/Euro Truck Simulator 2/mod and add your mods. if you’re using a file manager you’ll have to enable the viewing of hidden files.

  • nginx “fastcgi_pass” directive is not allowed etc

    September 16, 2014

    was setting up nginx with fastcgi for a project. kept getting errors like 2014/09/16 11:38:46 [emerg] 31996#0: “fastcgi_pass” directive is not allowed here in /etc/nginx/sites-en 2014/09/16 11:43:47 [emerg] 5431#0: “fastcgi_pass” directive is not allowed here in /etc/nginx/sites-en 2014/09/16 11:50:28 [emerg] 5476#0: “fastcgi_pass” directive is not allowed here in /etc/nginx/sites-en 2014/09/16 11:52:25 [emerg] 5490#0: “fastcgi_pass” directive […]

  • parallels plesk linux – only host IP being shown in logs

    September 2, 2014

    i battled with this for a while. plesk running ubuntu 14.04 had only the host IP being shown in logs. did the whole if ( !empty( $_SERVER[‘HTTP_X_FORWARDED_FOR’] ) ){ $forwarded_ips = explode( ‘,’, $_SERVER[‘HTTP_X_FORWARDED_FOR’] ); $_SERVER[‘REMOTE_ADDR’] = $forwarded_ips[0]; unset( $forwarded_ips ); } thing in wp-config.php to no avail. i have the mod_cloudflare thing going with […]

 
© cloudplasma 2009 - 2016