• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[ASK] How to upload CI to Ubuntu Server

Hi Guys,

I don't know if my questions here are repost or I ask in the wrong forum. But I need your help.

I developed a website using CI under Windows using FastCGI. It all work and run well. But later I found out that I have to host my site on Linux Ubuntu Server. I'm really-2 newbie on Linux Environment.
So here what I did:
1. Install the Ubuntu Server
2. Install the Apache, PHP, MySQl and vsftpd for uploading my site.
3. Create a directory under /var/www example : /var/www/mycisite
4. Copy all my files on Windows to /var/www/mycisite

After that I tried to access my site, I got Forbidden access message. I then change the permission of /var/www/mycisite to 777, I got different respon. If I access it with Opera, is just blanc screen, if i try to access it with Chrome, it said there are server problem.

What did I do wrong? Wish you guys can help me with this.


Did you update the database settings, base_url, site_url, possibly .htaccess, etc. for the new environment?

[eluser]TWP Marketing[/eluser]
Also edit your hosts file: /etc/hosts
and check the apache log file: /var/log/apache2/error.log

plus this article may be of help in your LAMP stack configuration

I run Ubuntu 11.04 with the default LAMP stack on my laptop. CI runs just fine, but the configuration does take some learning.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.