VisionLAN 2016

Robert AndresenBlogLeave a Comment

Finally, VisionLAN 2016 is ready for launch! It’s been 8 years since last time 🙁 VisonLAN is a LAN-party / E-sport event, that I and some friends are hosting 14.-16. october. Location: Rissahallen, Rissa municipality, Norway Start: Friday, 14. october 2016 End: Sunday, 16. october 2016 Participants: Max 300 I’m just about to finish the development of the ticket-system, so … Read More

Setting up external hotspot with Ubiquiti (ubnt) and debugging

Robert AndresenProgramming, Tutorials2 Comments

My setup: Webserver: Ubuntu 16.04 with default Apache2, PHP7 and MySQL. The webserver also has a local issued certificate with HTTPS. UniFi Controller: 4.8.18 (Running on a Windows 10 client) Laptop with wireless, running Windows 10, for testing. This article will focus more on debugging than on the setup itself, as there are multiple of howto-guides everywhere on the Internet. My guest … Read More

How to Secure Apache with Let’s Encrypt on CentOS 6

Robert AndresenProgramming, TutorialsLeave a Comment

Install the Let’s Encrypt client $ git clone $ cd letsencrypt I didn’t have git installed, so I just downloaded it from Github and added it under /opt/letsencrypt on the server.   So to the Centos 6 “fix” You’ll need to run the client in Pyhon 2.7. $ yum install centos-release-SCL $ yum install python27 Your python version should … Read More

Setting up a Raspberry Pi 3

Robert AndresenBlog, PC and apps, Reviews, TutorialsLeave a Comment

My last Pi’s was one of the first ones (2x USB) from around 2012/13. I just bought the new Pi 3, but not all was straight forward… First of all, the filesystem is limited to 3,5 GB of my 16GB SD Card – after creating it with the Win32 Disk Imager and the default Raspbian image. “df -h” shows that … Read More

Some simple Powershell cmd

Robert AndresenPC and apps, ProgrammingLeave a Comment

I will use this post to update some simple Powershell commands. A cheatsheet that I can share with others 🙂   To get the serial number from a computer run the following PowerShell command: gwmi win32_bios | fl SerialNumber To get more information e.g. bios version and manufacturer just run: gwmi win32_bios

Create a bootable USB to Install ISO from (Linux/Windows…)

Robert AndresenPC and apps, TutorialsLeave a Comment

Rufus is a easy program that does this for you Download Rufus Run program. Check that the Device is correct. Select ISO (by clicking small CD-rom button at the left… Where it’s written “Create a bootable disk using…”) Click Start.   The other way Check this link, to do it the hard commando-line-style way – or check one of my old blog post (in Norwegian). … Read More

PHP error: child pid 1234 exit signal Segmentation fault (11)

Robert AndresenProgrammingLeave a Comment

Just wasted a couple of hours troubleshooting the PHP error:  AH00052: child pid 2460 exit signal Segmentation fault (11). The browser (Google Chrome) just returned: ERR_EMPTY_RESPONSE. The /var/log/httpd/my_virtual_domain-error_log didn’t say anything. But the default /var/log/httpd/error_log printed this error [core:notice] [pid 1400] AH00052: child pid 2682 exit signal Segmentation fault (11) for every page request. The problem was actually a PHP recursive error, which … Read More

Centos and Inodes

Robert AndresenProgrammingLeave a Comment

In progress… This post will be updated if I get any more information/fixes… I currently have a web-server (Centos6) hosted at a third-party. Today the Inodes usage was 100% for the second time in 3 months. It looks like it’s the PHP sessions that fills up. Last time I tried to edit the session-settings in php.ini, but didn’t seem to have any affect, … Read More

Use PHP Composer with an existing project

Robert AndresenProgrammingLeave a Comment

I have been aware of what PHP Composer has been for a long time, but I never used it before these last days. My goal was to “install” Adldap2 and replace it with the first deprecated version. This wasn’t as straight forward as I thought, because of bad or not relevant documentation everywhere. Almost every documentation about PHP Composer shows what … Read More