LH64 LAMP 4 Puppy

Configuration wizards, scanners, remote desktop, etc.
Post Reply
Message
Author
User avatar
meeki
Posts: 122
Joined: Mon 23 Jul 2012, 04:48
Location: Portland OR

LH64 LAMP 4 Puppy

#1 Post by meeki »

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/lightho ... x86_64.sfs - 369Megs
MD5 - http://puppyfiles.puppytune.org/lightho ... 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 :)

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, 22:50, edited 6 times in total.

User avatar
meeki
Posts: 122
Joined: Mon 23 Jul 2012, 04:48
Location: Portland OR

#2 Post by meeki »

place holder for video how to and help videos.
coming soon

Post Reply