All Posts By

Asitha de Silva

WordPress Uploading Errors

By Wordpress One Comment

For the first time in quite a while, I had installed WordPress onto a server on my own instead of using a scripting application such as SimpleScript. One of the major issues I was facing was uploading and installing a new template. When I tried to upload the template onto the server, I was getting the following error: The uploaded file could not be moved to wp-content/uploads/2014/01. After a bit of research (Google), the majority of the solutions had basically told me to change the uploads folder and subfolder permissions to 777. Now this is obviously not safe at all – I needed a way to be able to upload content onto my site without the fear of anyone having access to it as well. The solution? It seems that all that was needed was to change the owner of the folders to the correct user. So in order to find…

Read More

Installing Ruby on Rails Environment on Ubuntu

By Rails, Ruby, Ubuntu No Comments

I have recently joined a bootcamp for Ruby on Rails and thought it might be a good idea to share what I believe to be a decent startup guide on how you should setup your server. By no means is this the “best” configuration around, but it’s just an easy step by step guide I’m making based on the tutorials/books I’ve read on setting up the server. For this, I used the free Amazon Web Service’s Ubuntu 12.04.3 LTS 64bit Server. Once you have logged in successfully via SSH, just follow these steps to get you started on getting an environment that can safely run your Ruby on Rails application. Note: If you are not sure how to access your server via SSH, follow the guide by Amazon here.   Where it says “Run”, all you need to do is copy the text that is in bold and paste it into…

Read More