Find the answer to your Linux question:
Results 1 to 10 of 10
I have tried installing lampp on my new debian system. I went onto lampps website and it recommends typing in the following to intsall the system tar xvfz xampp-linux-1.6.7.tar.gz -C ...
  1. #1
    Just Joined!
    Join Date
    May 2008
    Posts
    21

    INstalling apache server - problem

    I have tried installing lampp on my new debian system. I went onto lampps website and it recommends typing in the following to intsall the system

    tar xvfz xampp-linux-1.6.7.tar.gz -C /opt

    the file I downloaded is called

    xampp-linux-1.6.8a.tar.tar

    I tried to install the system using

    tar xvfz xampp-linux-1.6.8a.tar.tar -C /opt

    It installed so much then came back with the error

    invalid compressed data - format violated

    I have no experience of using linux so I do not know what tho type in.

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,343
    Out of curiosity, why don't you just use Debian packages? It seems like a lot of people struggle with XAMPP when their own distro packages can do the job just fine.

  3. #3
    Just Joined!
    Join Date
    May 2008
    Posts
    21
    So would I just install a webserver? Will i be able to create php files and also databases?

    Is it php4 or php5

  4. #4
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,343
    The version of php will depend on the version of Debian. The latest releases, include php5. There is a good tutorial here, that will guide you.

  5. #5
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    Code:
    apt-get install apache2 php5 mysql-server phpmyadmin
    that should get you a running amp setup.

  6. #6
    Just Joined!
    Join Date
    May 2008
    Posts
    21
    Right - I do not really know what I am doing. I typed in the wrong thing. Then decided to go into synaptic package manager. (probably where I went wrong - installing stuff)

    Then I typed

    apt-get install update

    then

    apt-get install apache2 php4 libapache2-mod-php4

    It then had problems. Can i type in something that will get rid of apache? Then I could install it again.

  7. #7
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    Quote Originally Posted by unclesirbobby View Post


    It then had problems. Can i type in something that will get rid of apache? Then I could install it again.
    what kind of problems, errors or something? post that here

    get rid of which apache, apt installed or installed from source?

    if from apt
    Code:
    dpkg -P apache2
    or
    Code:
    apt-get remove apache2

  8. #8
    Just Joined!
    Join Date
    May 2008
    Posts
    21
    I removed apache2 but it told me that it was not there so could not be removed.

    Well I then typed the following

    debian:~# apt-get install apache2 php5 libapache2-mod-php5

    and got this

    Reading package lists... Done
    Building dependency tree... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies.
    apache2: Depends: apache2-mpm-worker (= 2.0.54-5sarge2) but it is not going to be installed or
    apache2-mpm-prefork (= 2.0.54-5sarge2) but 2.2.3-4+etch4 is to be installed or
    apache2-mpm-perchild (= 2.0.54-5sarge2) but it is not going to be installed
    E: Broken packages

  9. #9
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,343
    Try the following,
    Code:
    apt-get update
    apt-get install -f
    After that try installing the webserver packages you need.

  10. #10
    Just Joined!
    Join Date
    May 2008
    Posts
    21
    Well going back to the origonal method. I just reinstalled debian. Then I downloaded a version of lampp server which is actually called

    xampp-linux-1.6.7.tar.gz

    It worked this time. I was told that you don't get '.tar.tar' files. So I am not sure where that came from.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •