How to Setup a Minecraft Server

First things first… Ok, So you want to start a minecraft server. Well theres some stuff you need to do first to let your friends connect, if you want to run a minecraft server for just you and the people on your WiFi/house, then this tutorial isn’t for you. Secondly this tutorial will not require Hamachi. What you need to do Firstly, you will need a minecraft server, either bukkit or vanilla, I will be using vanilla, but you can use any minecraft server so long as it works. (first make sure that you follow any instructions that any non-vanilla… Continue reading How to Setup a Minecraft Server

Bukkit has been given a DMCA takedown by Wesley Wolfie. what now?

Recently bukkit has been issued a DMCA takedown because of recent events and the massage below appeared on bukkit’s downloads pages. 451 Unavailable for Legal Reasons. This content is unavailable as the direct result of a DMCA takedown request. A copy of the notification can be found at this link. What now? well, we don’t know, as far as we are aware Wesley Wolfie is issuing the DMCA notice to Multiplay (who host bukkit and bukkit’s download links (reference)). I believe that Spigot will continue to update there builds but are in the same boat as bukkit, but that it… Continue reading Bukkit has been given a DMCA takedown by Wesley Wolfie. what now?

Using Hashlib to Securely store user passwords and credentials.

What is hashing? Hashing a password means that users cannot have their passwords compromised when a database engineer is reading cleartext in user databases (to a degree, the passwords could be decoded, but hashing them makes them illegible to someone who is not doing anything extensive). And also prevents hackers from reading passwords in plain text and can be compromised by collision attacks. Additionally when hashing a password a salt may be added to the password, this prevents a database from being attacked by dictionary attacks. Why Hash Passwords? Storing User credentials in Plain Text is generally as bad practice as it allows… Continue reading Using Hashlib to Securely store user passwords and credentials.

Raspberry Pi – PHP permission File Problems Solved!

I recently installed php, but when I was unable to save files, I was very stuck, and that’s why I’m posting it here, I want to tell anyone who Googles this problem to find this solution. The problem was when I used an fopen and fsave within php, the file would always ‘die’ as in the open or die within php. The solution is below Firstly I looked for the Environment user in phpinfo() in my case it was www-data and then I simply typed this chmod 777 -R www-data /var/www that, in its simplicity is the solution, but I am… Continue reading Raspberry Pi – PHP permission File Problems Solved!

Adding Hosts to Godaddy

GoDaddy is a great Domain Registrar, I have GoDaddy as my Domain Registrar. When using domains and Subdomains you may want to have multiple websites on the same server, here is how to add hosts to your GoDaddy account.   First Browse to Godaddy and Login, It may be slightly different for you as I live in the UK. First Click on My Account, then Visit My Account… You should see this page, Expand Domains. On the domain you would like to Add a Host to, Click Launch. You should See this Page…. Please note some of my sensitive information has… Continue reading Adding Hosts to Godaddy

How to Configure Apache to use Virtual Hosts

Using Apache is Good, but for one website is limiting its potential you can create multiple websites, domains and sub-domains with Apache, see below.     First you need to stop your server, you can do this on lunix by entering [box type=”shadow”] $ sudo /etc/init.d/apache2 stop [/box] into your terminal, this allows you to make changes to files in your server without breaking it, for windows you need to stop Apache using Xammp, see below.                                 Now Enable Mod_log_config browse here [box type=”shadow”]xamppapacheconf[/box] and in… Continue reading How to Configure Apache to use Virtual Hosts

Xampp and Apache

I recently played around with Apache and fond it incredibly educational. I used Apache for multiple websites and sub-domains, and its a great web server. and I like Xampp’s user Interface, allowing me to edit, configure and Error check my site.   Don’t get me wrong though, there are some downfalls when putting it through its paces using Owncloud I discovered that php supported was only allowing 2GB uploads, because it is 32Bit, I later discovered that Xampp is only 32Bit for Windows. This was a major disappointment for me, but I still found workarounds. Apache is great and easy to… Continue reading Xampp and Apache