TurnKey Linux Virtual Appliance Library

TKLPatch for B-Translator

I have installed a server with B-Translator at https://l10n.org.al, and it took me a long time to configure it properly with NGINX + MySQL + php5-fpm + apc + memcached + Drupal7, so I have tried to create a tklpatch in order to speed up the process of building another server similar to this. It is based on the NGINX appliance from: http://www.turnkeylinux.org/nginx-php-fastcgi

The patch is in github: https://github.com/dashohoxha/B-Translator/tree/master/tklpatch

However it is not working properly yet. I will try to fix it, but if somebody could help me to make it work, I would appreciate.

Thanks,

Dashamir

Is it better to patch NGINX, or to patch Core?

I have removed php-fastcgi and installed php5-fpm instead. I have also changed the configuration of nginx. I am not sure whether it is better to patch the NGINX appliance, or to patch Core. Any idea? Thanks. 


I patched Core

I decided that it would be better to patch Core (instead on NGINX). I have copied a lot of things from existing patches, like di-live.d, live-installer.d, etc. without properly knowing what they are needed for. If you have any suggestions about these I would appreciate it.

I have also noticed that phpMyAdmin looks like an old version. Have I done something wrong or this is normal? Is there anything that can be done to install a more recent version?


Jeremy's picture

Sorry for delay responding

Having a quick look at you patch I'm not sure why you included di-live.d and live-installer scripts for MySQL but didn't include firstboot scripts also.

I'm no expert in these thing but AFAIK the di-live.d script is if you run your patched ISO live. The live-installer.d script is to regen the MySQL admin password (which is always set randomly on install of MySQL) which is a good idea (but I have never bothered with myself - but perhaps should have...)

As for phpMyAdmin, as you are just installing from the repos the version is whatever is there (which would be circa 2010 - when Debian Squeeze was frozen in testing) so it would be an 'old' version. If you can find a newer source somewhere upstream then you could include that in your patch but personally I wouldn't unless there is some functionality that is fundamental to your patched appliance.

Thanks for your reply

I don't think that the patched ISO should be run live, but anyway if it doesn't hurt let di-live.d be there. I should definitely include the firstboot scripts; I think it is important to change the passwords after installation.

About phpMyAdmin, I am not aware of the changes in the latest versions. Only the look seems to be much better. But since this is not so important, I am not going to touch it.


Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)