Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 19 Oct 2017, 14:40
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Network
XAMPP 1.8.1 - server package
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 3 [44 Posts]   Goto page: Previous 1, 2, 3
Author Message
rockedge


Joined: 11 Apr 2012
Posts: 400
Location: Connecticut, United States

PostPosted: Fri 20 Jan 2017, 10:07    Post subject:  

first use
Code:
#adduser mysql


then run the installer. That way the XAMPP installer will not generate an error when it can not find or create the user 'mysql', it will already be present.
Back to top
View user's profile Send private message Visit poster's website 
frourio

Joined: 04 Jan 2017
Posts: 112

PostPosted: Sun 22 Jan 2017, 22:23    Post subject:  

Ok. Removed the said packages. (I also removed their dependencies too. I hope I won't need their dependencies for future use.)

Then I typed the SQL commands.

Before I go ahead and run the installer, does this screenshot look about right as a response from the terminal? I'm guessing the "mysql" folder doesn't exist yet because I haven't run the installer? (Or should I have not gotten that error message?)
adduser-after-packages-removed.png
 Description   
 Filesize   8.12 KB
 Viewed   294 Time(s)

adduser-after-packages-removed.png

Back to top
View user's profile Send private message 
rockedge


Joined: 11 Apr 2012
Posts: 400
Location: Connecticut, United States

PostPosted: Mon 23 Jan 2017, 00:13    Post subject:  

That is how it supposed to look. Looks like it worked...now run the XAMPP installer...it will create everything you will need I think you are almost there!

The error messages can be ignored....and those packages you removed should cause no further problems.
Back to top
View user's profile Send private message Visit poster's website 
frourio

Joined: 04 Jan 2017
Posts: 112

PostPosted: Wed 25 Jan 2017, 00:37    Post subject:  

Ok. Confirming that it's working.

Rockedge you're a rock star.

For my own future reference and that of others, these are the dependencies I removed as a result of removing the "password" package, in case I/you ever need them back for other apps:

libpam-modules_1.1.8
libsemanage1_2.2-1
libsemanage-common_2.2-1
libustr-1.0-1_1.0.4
debconf_1.5.51ubuntu2


Now, one other question... if I want XAMPP to live outside of the save file, is it simply a matter of copying the /lampp folder into /mnt/home, and then creating a symlink back to /opt? Or might that mess it all up, now that it's installed?

I tried creating that symlink before installing, but it wasn't able to install, citing errors such as permissions as the problem. It had aborted the install.
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 1401
Location: Brisbane, Australia

PostPosted: Wed 25 Jan 2017, 11:49    Post subject:  

frourio wrote:
Now, one other question... if I want XAMPP to live outside of the save file, is it simply a matter of copying the /lampp folder into /mnt/home, and then creating a symlink back to /opt? Or might that mess it all up, now that it's installed?

I tried creating that symlink before installing, but it wasn't able to install, citing errors such as permissions as the problem. It had aborted the install.
I know it works, I run it symlinked to /opt/lampp from a different partition on a different drive. I can't remember what order I did it in.

Why not:
Back it up.
Move it.
Symlink it.
Try it.

gyro
Back to top
View user's profile Send private message 
frourio

Joined: 04 Jan 2017
Posts: 112

PostPosted: Wed 25 Jan 2017, 14:07    Post subject:  

Yeah, I was going off the suggestion of your previous post Gyro, but if I'm not mistaken, you mentioned to symlink it first, and then try the install which didn't seem to work in my case. That's why I was wondering if it can be done after the fact.

In any case, yup, I'll give it a try.
Back to top
View user's profile Send private message 
rockedge


Joined: 11 Apr 2012
Posts: 400
Location: Connecticut, United States

PostPosted: Thu 26 Jan 2017, 01:00    Post subject:  

Glad to read you have success! Yes you can move XAMPP and symlink into /opt after the install. I mostly just change the apache configs in /opt/lampp/etc to indicate the root paths or move the mysql storage by config or symlink. I think I left /opt/lampp/xampp with just the xampp start script and changed the perl to start the servers in /mnt/home/lampp. Getting permissions set correctly is a tad tricky but you will find what works for you.

let me know how you make out!

P.S did you get the GUI control panel going in /opt/lampp/share/xampp-control? You will need more python installed if you didn't. It is just eye candy.
Back to top
View user's profile Send private message Visit poster's website 
gyro

Joined: 28 Oct 2008
Posts: 1401
Location: Brisbane, Australia

PostPosted: Thu 26 Jan 2017, 03:22    Post subject:  

frourio wrote:
In any case, yup, I'll give it a try.
It just occured to me that I have ommitted an important piece of information.
The partition that contains my actual "lampp" directory, is formated with an "ext4" filesystem. I expect it to not work if your "/mnt/home" is not a linux partition.

gyro
Back to top
View user's profile Send private message 
frourio

Joined: 04 Jan 2017
Posts: 112

PostPosted: Thu 26 Jan 2017, 14:41    Post subject:  

@rockedge

I think you lost me a little. Are you talking about defining to XAMPP which is your public (htdocs) folder, after you've migrated XAMPP out of the savefile?

I did get the GUI control panel to run. I couldn't locate a setting on it to redefine which folder to set as my public folder (having something different than the default htdocs). I'm guessing I need to do that in some kind of a config file?

@gyro

When you say "for it to work", do you mean for being able to have your XAMPP installation outside of the save file. The particular USB I was working with is not a linx partition. XAMPP works currently but I haven't yet tried to migrate it outside of the savefile. My main Puppy setup will be a linux partition in the end however.

Last edited by frourio on Thu 26 Jan 2017, 20:52; edited 1 time in total
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 1401
Location: Brisbane, Australia

PostPosted: Thu 26 Jan 2017, 17:12    Post subject:  

frourio wrote:
When you say "for it work", do you mean for being able to have your XAMPP installation outside of the save file. The particular USB I was working with is not a linx partition. XAMPP works currently but I haven't yet tried to migrate it outside of the savefile. My main Puppy setup will be a linux partition in the end however.
Yes.
When it's inside the savefile it is on a linux filesystem, so it works ok.
If you want to move it outside the savefile, then you need to move it to a partition formated with a linux filesystem.

gyro
Back to top
View user's profile Send private message 
frourio

Joined: 04 Jan 2017
Posts: 112

PostPosted: Thu 26 Jan 2017, 20:53    Post subject:  

Ok good to know.

Needless to say, "for it work", was supposed to read "for *it to work". Wink
Back to top
View user's profile Send private message 
moi_classic2007

Joined: 20 Mar 2016
Posts: 21

PostPosted: Fri 17 Feb 2017, 11:26    Post subject:  

Thank author! live link for one, who needs it:

http://mirror.yandex.ru/puppyrus/puppyrus/repository/xampp-linux-1.8.1-20130107.pfs
Back to top
View user's profile Send private message 
jotab

Joined: 13 Jun 2017
Posts: 2

PostPosted: Tue 13 Jun 2017, 23:02    Post subject:  

The control panel doesn`t start apache and mysql.

I`m using slacko64 6.3.2

Please I need to work with xampp, there is another way to work tell me
Back to top
View user's profile Send private message 
rockedge


Joined: 11 Apr 2012
Posts: 400
Location: Connecticut, United States

PostPosted: Wed 14 Jun 2017, 11:33    Post subject:  

Quote:
The control panel doesn`t start apache and mysql.


Probably this version of XAMPP will not start because it will not run in 64 bit.

look into a 64 bit version here
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 3 of 3 [44 Posts]   Goto page: Previous 1, 2, 3
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Network
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0499s ][ Queries: 12 (0.0058s) ][ GZIP on ]