Install in 16min. Amazon Cloud EC2 + Ubuntu Server (LAMP) + Codeigniter

2 Comments

  1. Hi Kamenskytrio, My codeigniter app works fine in WAMP. However, after
    uploading it to html directory of my Amazon EC2 micro instance, I’m getting
    a blank page. I also tried to echo a message from my controller, same blank
    page. What should I do?

  2. Using a cloud service like drop box exposes you to several hazards.
    1. You are using the Internet to transfer your business information. Unless you are pretty sharp, that information will be transferred unencrypted, and vulnerable to interception.
    2. Dropbox is a big name, and is not likely to disappear. But larger tech companies have gone under, sometimes with little or no warning. If that happens, what happens to your data? it could be on a server in India, for all you know.
    3. If you don’t have Internet, you do not have files access, no matter where you are.

    For all these reasons, I do not feel a Web based system is the best solution for business file storage.
    As part of a backup plan? sure
    As a way to make files available when you are out of the office? sure
    But for day to day work – no

    Your best method is to set up your own files server, and make it part of your office network. It really is not that hard to do.

    First, get an internet account for your office. Install a router so that multiple machines can access the connection. Unless you absolutely, positively must have wireless, disable it.
    Get your office machine and your laptop connected to the router by Ethernet cables.
    Then enable file and print sharing on the two machines. You should now be able to see the “public” shared folders on the other machine. Now you have a network.

    Hit Craigs list or a garage sale or your closet. Get an older machine for cheap. Go to the local computer shop and get a second hard drive.
    Now go on the Internet and download FreeNAS
    FreeNAS is an open source operating system based on BSD, the same base Apple uses for it’s OS. In this case the OS is set up and optimized as a Network attached server. It been a round for quite a while, is rock solid and reliable. I have been using it for several years in my home network. I have had no issues at all
    There are plenty of videos and “how-tos” on the net that cover the installation and setup. It’s really not that hard.

    With your files server covered, the last piece of the puzzle is how to get that file you forgot to transfer to your laptop while on the road, or to your home PC.
    This is where remote control software and web sites come in.
    I personally use Logmein.com, but there are plenty of sites out there. You can chose the one you like.
    Once you have chosen your service, you create an account
    The while at the office, you log into your account from your office computer.
    You add that computer to the account, and agree to put some software on your office machine. You install the software and set it up.
    That’s it – it takes about 5 minutes
    Now you leave your office machine turned on, and go about your travels

    Now from any computer that has web access you can go to your service and log in to your account
    You see your office computer on the account, so you click on it. The service, contacts your office machine and sets up an encrypted VPN tunnel between your computer and the office. You then see the desktop of your office computer on your screen. You have full control of the office machine and can use it as if you were at the office.
    So you can transfer files, do e-mail, or whatever else you need to do.
    You can you home machine to the account for even more flexibility

    Hope that gets you going
    You can e-mail me if you have questions

    Good luck

Comments are closed.