WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Problem with create an extension  (Read 2986 times)

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Problem with create an extension
« on: February 20, 2011, 03:32:07 AM »
Since I am not able to get unpacking in php I wanted to create the xampp package so that i can take apart with ondemand and do not spend ram.
However, installing the content folder in opt is much smaller than it should be and obviously i can not get to the localhost.
However, if i unsquash the package and replace /opt/lampp everything works magically!
This is the package, almost 90 mb:
Direct Link -- Direct Rapidshare -- Rapidshare

Pay attention, xampp require bash

The process of packaging that I used:
1 sudo tar xvfz xampp-linux-1.7.4.tar.gz -C /opt
2 sudo editor /opt/lampp/etc/httpd.conf to change user and group in tc & staff
3 create a simlink in /opt/lampp/htdoc/.www to /home/tc/.www for confort (if one does not have that folder, it goes unnoticed)
4 create a simlink in /usr/local/bin to /opt/lampp/lampp always for confort
5 create a script to /usr/local/tce.installed to autostart server after install:
Code: [Select]
#!/bin/sh

lampp start
6 move everything to a directory with the corresponding part of the filesystem, owner, group and permission ( in this case /opt/squash/opt... .../usr...)
7 sudo mksquashfs /opt/squash/ xampp.tcz

Repeat for clarity, installation is successful but i can not get the localhost in the browser and /opt/lampp is really small, instead unzip all by hand using unsquash i browsing perfectly on local page.

Please tell me a reason.
« Last Edit: February 20, 2011, 03:35:28 AM by vinnie »