Forum archive
Dissecting a Patch or two? Package Installations by hand - their process and control from Wemin or SSH?
I am interested in looking at the details of a few patches, but not getting bogged down with the packages they may contain. Can scripts be easily read inside the patches? I am working in Windows as my workstation envirionment.
From this I want to see if I can go through the process of individually applying some of the patch sequences so that I can better understand the whole Linux/TKL process.
Finally, I would like to explore some variations. IE, I would like to install Zend Server CE over LAMP, and then Move a previous Magento installation into Lamp/Zend Apache setup.
Lots too learn I know. Unfortunately, the optics of "learning" are often lost on those who have already crossed the rubicon. It would seem that what I want to do is actually pretty simple. That said, all my instinct tells me to do is to build some folders, drop some tarballs in, run them (in the case of Zend), then build another folder (in Share or WWW?) for my Magento Install, import SQL into a new Magento Database (RootSQL user and Password noted), reconfigure config.xml type files,,, and shoot away. Of course there is the firewall, DNS good SSL setup that needs to be handled - and correctly pointed to.
I suppose it would be easiest to try moving the Magento without Zend First, but I fear there are a bunch of dependencies Magento normally builds in its own installation. (why I want to look at Patch scripts).
all for now. Remodelling time,
best and thank you,
L. Arnold
If you are in Windows here's how I do it:
Remove patch files from the archives (I use IZArc - its free but not open source, works well though)
Locate the conf file, that's basically the bash script that does most of the work. (Some patches will have a conf folder instead, you'll find multiple conf scripts in there). In Windows I use Notepad++ (open source text/script editor) its complient with Linux bash (and other) scripts and won't corrupt them (as notepad does). If you wish you can copy paste one line at a time into an SSH client (such as PuTTY) connected to a TKL appliance.
If there are any custom debs installed then you will find them in the debs folder. And custom config and other required files/folders are found in the overlay folder. By default debs install first, then overlay files/folders applied, then the conf script runs.
If you wish to recreate a TKLPatch, remember after working on the script(s) in Win, upload them to a TKL appliance and make them executable prior to rebundling with TKLPatch.
For your own purposes you can do it however you like, but if you want to share new or remodeled patches with others, its probably a good idea to try to follow the conventions that are documented. Have a good read of the TKLPatch Documentation.
I'm unfamilar with what you are trying to achieve but I hope this relatively generic information is of some use to you?