CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Standalone Installations (Moderator: cap10morgan) »
  • Installing civicrm-3.0.3-standalone.tar.gz on UBUNTU 9
Pages: [1]

Author Topic: Installing civicrm-3.0.3-standalone.tar.gz on UBUNTU 9  (Read 3714 times)

bernardgbailey

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
Installing civicrm-3.0.3-standalone.tar.gz on UBUNTU 9
January 13, 2010, 03:15:29 pm
Hi team,

I'm having difficulty getting civicrm-3.0.3-drupal.tar.gz installed on an existing UBUNTU installation including MySQL 5.0.3 and PHP 5.3 (I think this may be the problem right here?).

What download version would I use in this instance?

Would I be better to create a second instance of UBUNTU (with virtualbox?) and then download the full installer?

I have minimal experience in installing Linux apps.  

On my UBUNTU box, I have

XAMPP Control Panel  (starts APACHE, MySQL and  PROFTPD)
Navicat (MySql admin tool)
Gnome Commander  (2 windows File manager)

I have installed the web applications in this path

/opt/lampp/htdocs

I have the install tarball civicrm-3.0.3-drupal.tar.gz in my home directory /home/bernard/


The standalone install instructions say this

1. # Download the latest release version of CiviCRM 3.0 to your home directory. Grab the latest "standalone" tarball from here.
2. # Make sure the tarball is in your home directory on your Linux system. If you're uploading it to a remote web server, usually you can just put it in the first directory your FTP client drops you into.
3. # Untar the archive to your web-root (defaults to /var/www/ on Ubuntu and /var/www/html on Red Hat / CentOS). You'll need to get a shell on your Linux system if you don't already have one. Usually this is done via SSH for a remote web server or by running a Terminal if you're using a Linux system locally.

cd /var/www (or cd /var/www/html)
sudo tar xzvf ~/civicrm-3.0.0-standalone.tar.gz


When I run the "cd /var/www" from the terminal, I get this message "No such file or directory".. This is true. I don't have that directory

So do I need this considering I already have apps working in /opt/lampp/htdocs

When I run the "  sudo tar xzvf ~/civicrm-3.0.0-standalone.tar.gz",

I get this message "Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors"

Any explanation and assistance would be gratefully received.

Cheers
Bernard
« Last Edit: January 14, 2010, 12:06:17 pm by bernardgbailey »

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Installing civicrm-3.0.3-drupal.tar.gz on UBUNTU 9
January 14, 2010, 04:15:53 am
Quote
When I run the "  sudo tar xzvf ~/civicrm-3.0.0-standalone.tar.gz",

Download correct standalone tarball from http://sourceforge.net/projects/civicrm/files/civicrm-stable/3.0.3/civicrm-3.0.3-standalone.tar.gz/download

Then run "tar -xzvf ~/civicrm-3.0.3-standalone.tar.gz"

Kurund
Found this reply helpful? Support CiviCRM

bernardgbailey

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
Re: Installing civicrm-3.0.3-drupal.tar.gz on UBUNTU 9
January 14, 2010, 11:22:21 am
 :)

Kurund,

Thanks, that was a start, I can see where I went wrong there, 

I copied it to my home directory then ran your instruction as below

root@Ubuntu-desktop:/home/bernard# ls

civicrm-3.0.3-drupal.tar.gz      Pictures
civicrm-3.0.3-standalone.tar.gz  Public
Desktop                          Templates
Documents                        Ubuntu One
Downloads                        Videos
examples.desktop                 vtigercrm-5.1.0.bin
gnome-commander-1.2.8.4.tar.gz   vtigercrm-5.1.0RC.bin
Install vtiger on UBUNTU         vtigercrm-5.1.0.tar.gz
Music                            vtigerCRM_linux
navicat8_premium_en              vtiger_install_Dec_23_2009_13_28.log
navicat8_premium_en.tar.gz       xampp-linux-1.7.2.tar.gz

root@Ubuntu-desktop:/home/bernard# tar -xzvf ~/civicrm-3.0.3-standalone.tar.gz
tar: /root/civicrm-3.0.3-standalone.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
root@Ubuntu-desktop:/home/bernard#

Can you please advise?

Cheers
bernard

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Installing civicrm-3.0.3-drupal.tar.gz on UBUNTU 9
January 14, 2010, 11:39:36 am

your best bet will be to hire someone from http://civicrm.org/professional/ to help u with the install.

you'll also need to downgrade to PHP 5.2.x to run CiviCRM

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

bernardgbailey

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
Re: Installing civicrm-3.0.3-standalone.tar.gz on UBUNTU 9
January 14, 2010, 11:46:13 am
Hi team,

Ok, I see now I read the error message and found tar was expecting to find the source in /root

I copied the file into root (cp civicrm-3.0.3-standalone.tar.gz /root ) and then ran the tar command successfully.  Yeeha.

Onto the next step

I changed directory to civicrm/standalone and then ran the chown command

root@Ubuntu-desktop:/home/bernard# cd civicrm/standalone
root@Ubuntu-desktop:/home/bernard/civicrm/standalone# sudo chown -R www-data:www-data files
chown: cannot access `files': No such file or directory

I understand "chown" means "change directory ownership" but I don't think I have the correct context for my system.

All assistance is appreciated.

Cheers
Bernard
« Last Edit: January 14, 2010, 12:05:41 pm by bernardgbailey »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Standalone Installations (Moderator: cap10morgan) »
  • Installing civicrm-3.0.3-standalone.tar.gz on UBUNTU 9

This forum was archived on 2017-11-26.