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 Mon 22 Sep 2014, 16:37
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Network
LH64 LAMP 4 Puppy
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
meeki


Joined: 23 Jul 2012
Posts: 123
Location: Portland OR

PostPosted: Wed 18 Sep 2013, 13:21    Post subject:  LH64 LAMP 4 Puppy
Subject description: LAMP Built in Puppy 4 Puppy (Linux, Apache, MySql, PHP) + webmin
 

LAMP 4 Puppy

Note: Currently in Beta - expect changes for the next few weeks. The core is built so updates will be made available as pet packages. Because of the SFS backup feature you can save all changes by pets into a new SFS of your own. No need to loose any of your settings! That's right its a rolling release of sorts.

-=[ Features ]=-
SFS backup - backup your current lamp dir with all its settings into a SFS for easy backup or derivative creation and migration.

-=[ For the novice ]=-
If your looking to run a website with a CM (content manager) like WordPress this is for you. SFS addons for these types of things will be made to extend the functions

-=[ Support ]=-
I do care. I started this project back in Late Feb 2013. I want to add support for all sorts of stuff. Let me know what ya want, or have issues with. If you find a bug or better ya fix it post it here on the forums.

-=[ SPOT ]=-
Any program that is set to use a port over 1024 will automatically run in spot with a restart of that program. With proper port forwards to your router you can run the entire LAMP 4 Puppy in user SPOT. This way if your server gets hacked they can only access any thing in the spot dir and not the rest of your server.

-=[ Made 4 Puppy ]=-
You will find a webpage that sends you to GUI control needed for easy navigation of your server. Webmin, phpMyAdmin, and a ports in use list so you see whats going on in your server.

-=[ New releases ]=-
Every 4-8 months depending on the releases of stable packages I will build a new version. All you have to do is Migrate your Database files and http folder and you will be running on the latest software.


DOWNLOAD
yes these links are hosted from a LAMP 4 Puppy server !!!

Install LAMP_Webmin-0.3.0-x86_64.sfs
SFS - http://puppyfiles.puppytune.org/lighthouse64/lh6.x/LAMP_Webmin-0.3.4-x86_64.sfs - 369Megs
MD5 - http://puppyfiles.puppytune.org/lighthouse64/lh6.x/LAMP_Webmin-0.3.4-x86_64.sfs.md5

restart after install!

You can now access it all from a nice webpage located at
http://http://localhost:2001/
all logins set as 'admin' or 'root', with a password of 'password'
you can change this in:
Webmin
myPHPadmin
apache
phpinfo
ports

Put all your html or files in the DIR
/root/spot/lamp/bitnami/apache2/htdocs
this is its home folder for web hosting

I wanted it out of my pupsave file not eating up space. For my server I symbolicly linked it out of my pup to the hdd.

Unless you know how to chown or chmod dont put it linked to another HDD. keep it on the same drive your pet is at.

Backup
Yes that's right. run the command in shell ' mlampbackup '
It will take you through a script that will take every thing in your lamp dir and turn it into a sfs !!! so you can take your stuff with you or backup any changes you make.

Don't forget to download the lamp_derivitive.pet if you wish to have LAMP run automatically when you restart your OS.




Security
Besides the obvious of running in spot where you can Ive also set webmin to port 2000 and built it with SSL. Just encase you need to host it outside of your local network.

Port 2001 is where the webmin gui is at. I recommend you do not port forward 2001. PHPMyAdmin is a security hole even in SSL. If you have to port forward this I would just delete or move PHPMyadmin. If ya just have to have access to PHPMy admin then you can setup a Virtual host in apache to SSL and set ssl for it. I will not explain how to do this. Your on your own here

Running as root or spot
If you use any port below 1024 that program will run as root. Set all ports above 1024 and it will run as spot.
Webmin will not run as spot unless all ports for all programs are set higher than 1024!

Notes

This lamp is built ontop of Bitnami. See http://www.bitnami.com for more information
Bitnami is great but it don't like puppy all that much. It comes down to root and spot. So I take the bitnami core LAMP and strip out the mysql, scripts and all the other stuff that does not play nice or work. Then I build it all back ontop of the bitnami core.

If you are interested in doing this for some other project PM me and ill send you all my build notes Smile

Build information

If you can't tell this depend list pretty much tells ya that this thing will run just about any thing that's currently popular:)

From Bitnami http://bitnami.com/stack/lamp/installer
Apache version 2.4.4
PHP Version 5.5.4
SQLite
Varnish
ImageMagick
ModSecurity
XDebug
Xcache
OAuth
Memcache
FastCGI
APC
GD
OpenSSL
CURL
openLDAP
PEAR
PECL
Zend Framework
Symfony
CodeIgniter
CakePHP
Smarty
Laravel
+++ allot more.... see the link above to bitnami if you want to learn more.



From Me (compiled or made)
Mysql 5.6.14
phpMyAdmin 4.0.6
Webmin
Mlamp scripts
Server GUI
LampBackup
fdpf17
pdfclass

Last edited by meeki on Mon 23 Sep 2013, 18:50; edited 6 times in total
Back to top
View user's profile Send private message 
meeki


Joined: 23 Jul 2012
Posts: 123
Location: Portland OR

PostPosted: Wed 18 Sep 2013, 13:22    Post subject:  

place holder for video how to and help videos.
coming soon
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
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.0717s ][ Queries: 11 (0.0235s) ][ GZIP on ]