You are here
Basil Kurian - Wed, 2010/08/11 - 08:54
Almost Over.
base : Turnkey core lucid
Currently i have some problem with phpmyadmin on port 12322
If someone is able to find the mistake , please help me .
Now every problem is solved ........
http://<ip>
PHPMyadmin - https://<ip>:12322
Forum:
LAMP for lucid - need
If LAMP for lucid is ready , i can use it as base for other appliances :)
Cool
That's nice. Now anyone who wishes to base appliances on Lucid Core can nest this patch in their LAMP based patch. The beauty of this is if TKL devs tweak the official TKL LAMP it shouldn't matter and they don't have to pull apart a patch that includes LAMP stuff as well as something else! Good work Basil.
I repackaged it as .tar.gz and it started fine.
The patch is erroring out for me (just one file though):Does your patch use file(s) not within the repos that are enabled in TKL by default? I'll have a bit more of a look...[update again] Turns out my error was caused by a corrupted file on my local Lucid mirror (I use a custom sources.list, same as default, but includes my local Ubuntu mirror listed higher than the default Ubuntu repo). I reverted to default Ubuntu repos and patch completed fine. There were some warnings but obviously not critical:
Obviously not show stoppers and I'm sure for my purposes it'll be fine.
I just downloaded the zip
I just downloaded the zip file and extracted it ... here i 'm having no problem with the zip format .
Also i didn't used anything outside the repo .
As far as i know , the apt-get in lucid-core having some problem , sometimes it works , sometimes it won't.
just try one more time . i 'm sure , it will work.
The error may caused because of an invalid entry in resolv.conf
JedMeister , a new archive
JedMeister , a new archive added .Please check that
Thanks Basil
Not sure whats happening with the zip, wonder why it works for you and not me? I'm doing all this within TKL Core Lucid with only an 'apt-get upgrade' and tklpatch installed. I only tried once and then repackaged as .tar.gz and it worked ok.
In case you missed my edited post above, it was a corrupted file on my mirror that was the problem.
I'll try to have a look tomorrow. Its very late now here and I have to go to sleep...
Goodnight ZZzzz...
I'll update the patch
I'll update the patch tommorow ,and will upload it here ........
JedMeister , Thanks for checking !
Think I may know what problem is with zip?
Basil, from your post above:
So you are extracting first? Then patching using the extracted patch? I reckon thats it then. If its in .tar.gz format you can use it as it is (no need to extract the patch first). Just like this:
Could that be it do you think?
[update] Oops, I just noticed that you've removed the zip so I guess thats irrelevant now. I'll test shortly and report back.
so tar.gz can be used for
so tar.gz can be used for patching iso ?? that i didn't know.
What i mean is that , just extract the zip or tarball and run it as
tklpatch turnkey.iso LAMP_Patch_folder
Yep!
Its all clear now. So your .zip patches probably would've worked fine, but I think having them packaged as .tar.gz is preferable and removes a step, so that's got to be good!
Thanks for uploading a new patch. Sorry I haven't had a chance to test it yet. I'll hopefully get to it in the next few days. I'm still a bit of a newb but I'll have a look at the phpMyAdmin issue too (although don't hold your breath).
PS I hope you don''t mind I edited some of your posts to take out extra line breaks (& fixed a minor typo).
solved
The problem with phpmyadmin is solved , now everything is fine.
Corrupted file?
If I click on the LAMP.tar.gz link above it just opens in my browser as gibberish. (The address is http://www.turnkeylinux.org/files/attachments/LAMP.tar_1.gz)
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
Sorry
Reuploaded !!
Awesome
Thanks Basil. Looks good. I just donwloaded and it saved and opened fine. I haven't actually fully tested it yet but will do a bit later.
Please, how to...?
I'm a newbie on TurnkeyLinux. I know how to download and use the appliances, with the VMware player.
But I don't know how to install the patches, like this one for LAMP on Lucid.
I didn't find the explanation in the help or forums, so please, can you tell me how to use this patch on a base appliance or show me where are the instructions to do it.
PS: I'm using it on Windows.
Thanks you very much.
First of all , this is not
First of all , this is not the right thread to ask
Download the VMDK image of any appliance and open it with vmware player.
Or download the ISO file and install it as a virtual machine on VMware/VirtualBox
Like Basil suggests...
Unless your problems relate specifically to this patch (which is sounds like it doesn't), you'd be better starting your own thread, probably in the support area.
Secondly, if you're newbie, unless you have a specific need to use a Lucid based LAMP stack then you would probably be better off using the current stable TKL LAMP release. It's secure, works well and requires no additional steps beyond install (such as installing patches). IMO unless you are keen to learn more about TKL and/or help with beta testing there are only 2 valid reasons for using the TKL Lucid Core beta with Basil's LAMP patch. 1) Hardware support (which doesn't apply to you seeing as you're using a virtual environment); or 2) You need to later version of Apache, MySQL and/or php than what's included in TKL LAMP stable.
Third and final point; not sure where you looked but a search (box in top right corner) for "install tklpatch" or "apply tklpatch" turns up quite a few links that would head you in the right direction. Or navigating to Help>>Community Documentation>>TKLPatch - a simple appliance customization mechanism would've done the trick too! But to make it even easier, have a look at this post I wrote yesterday.
Good luck, any further questions or points that need clarification, please don't hesitate to ask (but perhaps either on that other thread I posted or start your own).
First of all, sorry for the
First of all, sorry for the delay answering and thanks for your help.
I didn't find the right documentation because I was no searching the right terms, thanks again.
I need Lucid Lamp to use this appliance (OrangeHRM):
http://www.turnkeylinux.org/forum/general/20100810/applaince-created-ora...
So I installed the Lucid appliance using the iso and now I'm trying to apply this patch, to have the LAMP installed and then apply the OrangeHRM patch.
My problem now is when I try to apply this patch I get an error. I tryed:
And I get:
I tryed using sudo, or creating the directory but it's useless because the temporary directory changes every time.
Any ideas? THANKS A LOT
* Install the turnkey core
* Install the turnkey core lucid on a VM
* apt-get update
* apt-get install tklpatch
* copy the downloaded patch and turnkey-core-lucid.iso to /root
* route add defaults gw <your_network_gatweway> (turnkey core lucid have some problem with dhcp client). Before continuing , check whether you can successfully ping google.com
* tklpatch turnkey-core-lucid.iso orange_hrm_patch_folder
Again the same error...
Thanks Basil, I followed your instructions.
I've downloaded the "Beta of TurnKey Core on Ubuntu 10.04 LTS" ISO and installed on a VM.
Once is installed and running, I tryed to install the LAMP patch (because if I understood well, orangeHRM needs first LAMP installed):
And from the last command I get:
Ok I know what's going on!
Basil has named his patch "LAMP_Lucid" but the folder inside is actually "LAMP". When TKLPatch processes the patch it unpacks it to a randomly named folder in /tmp. Then it looks for a folder the same name as the patch inside that temp folder. So it is looking for a folder named "LAMP_Lucid" but the folder there is "LAMP". To workaround this issue simply rename the patch prior to applying it:
then applying it should work. Sorry about that. So much for it being all very easy! Hopefully you'll be right now. Let us know if there's any other issues.
It worked!
Thanks JeidMeister, is working now!
I executed:
And I already can acces to the apache server via browser :-)
Glad you got it working
Its possibly a bit late now, but while the steps you used obviously work, I would recommend that you patch an ISO rather than patching the installed system. It is generally more reliable. You could apply the LAMP patch to the ISO first and then apply the OrangeHRM patch to the ISO you have already patched with LAMP. This will mean that you need to install your OrangeHRM ISO into a new VM, but if anything goes wrong you'll be able to simply reinstall from the ISO rather than patch a new system all over again. Also you can burn the ISO to CD and share with friends etc.
@Basil - perhaps you can either rename the patch LAMP.tar.gz or repackage it with the folder inside renamed LAMP_Lucid so this error doesn't occur?
Also I'm not sure if you are aware but patches can be nested (ie one patch inside another). So (if you could be bothered) you could repackage your LAMP based patches (eg OrangeHRM) with an extra folder inside called "patches" where you can put your LAMP patch (for claficiation see "Anatomy of a patch" in the TKLPatch Overview section - also if you don't make the above change first then it will fail). Then the patch can be applied in a single step to TKL Core (no need to apply LAMP first then other patch). Obviously no need to do this as primarily patches are aimed at devs, and the 2 step process isn't too hard. But it may just make it a tad easier for newbs :)
BTW keep up the good work Basil - you've been doing an awesome job with all these patches!
I develop on Windows
I develop on Windows, so I need a Linux OS to patch the appliances. That's why it was simplier for me to patch the already installed SO than use another VM to patch the appliance and then use it.
But what you say about "repatching" or sharing is interesting, I'll take in consideration for the next time.
thanks!
Patch reuploaded
Patch reuploaded in .tar.gz format
@ JedMeister
Actually i wasn't aware of that nesting of patches , Thanks a lot for the inforamation
No worries Basil
Sorry I always seem to be saying "Oh Basil, just one more thing..." :) I'm glad you take it so well! (Obviously you realise I mean no offense).
:)
Add new comment