User menu

Search form

You are here

Love what you guys have done here. I recently downloaded the wordpress appliance to put my small biz website on. I was wondering how to remove the "Powered by TurnKey Linux" footer from the bottom of all of my pages, or at least from the side bar as it interferes with a portion of my site and does not look very professional.

The credit link is intended to help spread the word about the appliances. TurnKey Linux is a relatively new project so that's an important part of finding new users we can help. By default it's themed in a tiny font that doesn't spoil most themes.

In any case, it's easy to override the CSS for the credit footer so you can theme it to your liking like this:

/* This removes the credit link, but if possible we ask that you try and
re-theme it to your liking instead as a courtesy to the TurnKey Linux
project */
#turnkey-credit #override {
display: none;
}

I love what your project is doing and I want to leave the footer, actually mod it just a bit and still give you guys props. What I really need to remove is the one on the side bar. I have a looping news gaget going and your credit is in the way. I am new to wordpress and my web developer did 90% of the work. I understand what to do I just cant find the correct css file.

Any CSS code you add to any CSS file is applied globally. Unlike with templates it doesn't matter which file you add your code to. If you can't get the credit link to display in a way that doesn't spoil your site I recommend you turn off it's display and consider giving us credit elsewhere in a way that is more suited to your site.

Thanks for the help. The footer is gone. I will be adding a custom footer back and include the link to here. I still have it on my side bar. It is an iframe inside a text widget located on the sidebar. Sorry for the annoyance. Any ideas on this one.

It sounds like the CSS override isn't being applied inside your text widget which is being served as an IFRAME using the output from a separate PHP script. There are a couple of things you can try. Editing the PHP script to insert a bit of inline CSS into the PHP code that generates your widget, like this:

which css file should be edited? i'm using an appliance that was initially phpbb but now has wordpress on it, as well. i want to remove the "phpBB Appliance -" and just have "power by turnkey linux", but editing single directory css files doesn't seem to make the change.

While I do appreciate all the hard work and contribution to the OS community that you guys have done, I have found on some of my website (pro ones) that is necessary to remove the footer message. But please do give as much credit to these people that we can because what they have done is nothing less than extraordinary. Anyone can host professional websites from home or the cloud because of what they have done.

I found the best way to do it other than CSS, because non-CSS pages will still have this footer message:

1. Login to webmin using your root account.

2. Under the Servers tab go into Apache.

3. Click Default server.

4. Under Per-Directory Options click Location /

5. Click Edit Directives.

6. Delete all the stuff in that box. Save and restart apache/ click apply changes.

We had to restore our server from backup (which also worked perfectly), but the "Powered by . . ." reappeared.

I tried to follow the same instructions, but the directives were already empty. I tried clearing cache, etc. to no avail.

I love Turnkey Linux and have recommended them a lot, but forcing themselves into the footer, and then forcing the very people who benefit form turnkey's ease of use to deal with it does far more harm than good for them. (I know you are not affiliated; just needed to vent!)

Thanks CK for the info! I appreciate the work that you guys do with these TurnKey -servers but please keep in mind that this forcing-way of spreading your message can be harmful for your success. Hopefully you change this policy and continue the good work!

If it's about giving credit where it's due, you yourself removed the "powered by Drupal" from this very site. With some little persistent bug like this in the code, I'm not going to use or recommend it now for production servers, which means it won't be an accurate test server either.

If I did use it, I'd be thinking: What other little self-serving bugs have you placed in the stack/code? Will redirect ads start popping up on all the turnkey sites in a few months? Have you left backdoors? Yikes!

As Liraz pointed out, the credit link is intended to help spread the word about the appliances. TurnKey Linux is a relatively new project so that's an important part of finding new users we can help. By default it's themed in a tiny font that doesn't spoil most themes.

From what I can tell all TurnKey appliances that have the credit link insert it in the same way so there is no Moodle specific place you should need to know about. There are several ways to remove the footer, all documented above. The easiest is to simply to 'display: none' it in your CSS stylesheet.

Look at the comments posted by Liraz and later CK. But really you should consider styling the link so that it blends into your site naturally. TurnKey is still a relatively new project. By keeping the credit link you are helping to spread the word and help people just like you find it.

How is this message generated? Is it within Drupal somewhere or a directive to replace the </body> tag with the added code within Apache2? I'm curious to know; it seems a bit unsecure that an external process is modifying pages without my knowledge.

I took a look at this a while back and the way this is implemented doesn't use any external processes to modify the outgoing request. It's just a pretty simple static post-processing directive on the outgoing response done by Apache which users can can easily modify (or disable). If you read carefully you'll see this is actually documented in the above thread. It's just easy to skim over...

Thanks Jimmy. I did indeed miss that line about disabling mod_substitute, it was a little hidden under the code box!

For those interested in the specifics, the Apache module mod_substitute is used to search and replace any pattern matched as directed. In this instance, the conf file for this directive is located at /etc/apache2/mods-available/substitute.conf. You can modify the contents of this file OR you can run this command "a2dismod substitute" to disable the module. You'll then need to restart Apache via the command "/etc/init.d/apache2 restart".

I love spreading the word and all, but I use this server to display client's websites as well as to display lots of marketing collateral. If I send someone to a static HTML page to review and approve graphics, Flash, videos, etc., it's very distracting to have this message just under what I'm trying to show off.

Perhaps this is a little too well embedded. I am trying to use the VM to run two test websites and the substitute mod is forcing its way onto my other CMS' pages. I worked for a company that makes a CMS product and we never assumed that the client will want Powered By... pasted into their design. We always asked them first. Maybe as a compromise you could put it in the standard template that comes with the CMS you are supplying.

We implemented the credit footer this way because it's the only generic solution we know of that would work across appliances. This way, it's always in the same place, so tweaking it to your liking or turning it off is just one google search away and one command line away. We're still open to other ideas though.

Note that we don't enable the credit link for all appliances, only where we figure it makes sense. For example, the LAMP stack appliance doesn't have one.

But as with any other default. It's a compromise. You can't please everyone all of the time. Every solution has pros and cons either way. If you're one of the many users who discovers TurnKey via the credit link, you might appreciate it more than if you found out about the project some other way and you're just annoyed that it needs to be tweaked a little to do exactly what you want.

Remember, as a small open source project we have limited tools for helping people discover the appliances. This is one of the most important. Users can always turn it off but we're hoping they don't. We're donating our time to help you for free and we're hoping that inspires you to pay it forward and give back by helping others.

I understand sometimes you don't have a choice and you have to remove it, in which case I hope you'll at least help spread the word about the project in some other way (e.g., word of mouth referrals, blog posts, tweets, etc.)

I just wanted to say that the point that Liraz Siri is making is a very good one!

I personally found out about TurnKey Linux from a footer link. I am happy that the method to remove the credit is freely posted here in the forum (which is sometimes necessary), but I also will be leaving the link most of the time I work with TurnKey.

Thanks for all the work you guys do on TurnKey Linux! This is truly an awesome product! I look forward to more softwares being "TurnKey-ed" such as Nagios and I look forward to turnkey moving to later versions of Ubuntu as well. Again, this is an awesome product and "thank you".

If you have administrative access to the host and you want to completely remove the "Powered by TurnKey Linux" you simply need to delete two symlinks and restart apache. From commandline run the following commands (Assuming you are using Ubuntu):

But considering the range of TKL appliances then doing it with CSS seems the only logicial (and possible) way to acheive this across all appliances. The way it is makes it consistant code that can be applied across the board (rather than having a different plugin/code for each appliance).

First, I actually discovered this project by footer too-- and I am very glad I did! I use it for all sorts of customer and project work, it's amazing what I've been able to use it for and how much it's helped me. And had I not seen the footer one day.... well, who knows.

My question is -- I see where and how it's declared in CSS style sheets-- but where is "Powered by Turnkey Linux" actually defined? That is, where are those words actually set in order to be displayed?

I ask this, because I would like to continue using all the appliances for customers and projects WITH the footer in place-- but I would like to append my company to the verbiage (separate, but on same line) so that my customers see both the Turnkey credit, and my company -- that adds professionalism for my customers and work.

In other words-- what file would I go in and edit where I could keep the TKL credit and append my company name? (NOT taking any credit for the project, just having my company name on the footer noting that my company is using the project.)

First, great to hear that you found the project through the footer.
That's why we put it there!

Regarding the technical details, for many (but not all) of the LAMP
stack based appliances the footer is inserted into the HTML output using
the Apache mod_substitute module which we're using because it's the most
generic way to insert a footer without messing with application code.
Look in /etc/apache2/mods-available/substitute.conf if you want to edit it.

Gentlemen, telling people to edit a css file is equivalent to telling people to put a flowerpot in front of the stain in the carpet.

It creates invisible text, readable by crawlers and bots-- bad juju for google.

I don't mind leaving your turnkey linux link. Setting up the server is something I cannot do, and I'm grateful to you guys that you have done it so well. I sure don't mind spreading the word. I have a few tech visitors, so who knows? Here's hoping!

but "wordpress application?" my virtual host-- despite my repeated requests to not be so kind, I can install wordpress with three clicks of the mouse, WP is famous for that-- she went ahead and saddled me with your self-congratulatory phrase.

Maybe it is an idea to charge money and get rid of this *&^%^&* footer thing of yours. Please try to learn marketing and you will soon understand the reason why not so many people like these kinds of footers. Not every site in the world is to reach tech geeks with tech geek stuff. Maybe it is hard for programmers to understand that they are not the only people that take use of the thing called world wide web these days, I hope this message will make you understand a glimps.

As you can see I'm pretty frustrated. I was almost ready with my site and noticed this anoying footer message. Came on this page and tried all the steps from css to the apache code named several times.

On restart apache: files not found, unable to restart.

I don't know what to do next and think about leaving this system behind. This way of working is certainly not meant for the group you are trying to reach.

I'll begin by stating that TKL is one of the best open-source projects aorund, miles ahead of comparable, ready made appliances by other vendors. That being said, I'd defintely prefer to deploy some of them, especially in commercial environments, without the pesky footer.

I've looked at all the threads discussing how to disable the footer but neither the Apache mods-enabled commands work, nor does adding the line to display footer none in CSS files work for me.

May I request the TKL authors to provide a clear, step-by-step how-to document that clarifies how to remove the footer that is embedded in each appliance, especially the newest v13 appliances? Simply saying modify the template css file is not good enough as there is actually no template.css file to be found in /var/www directory.

Trust me, this one step would be deeply appreciated by your community and will lead to more deployments of TKL appliances in enterprise networks, not less.

Most of the LAMP based appliances are configured the same, but some are different.

I think your point and request are reasonable and we probably should add it to the Issue Tracker. However it would take significant labour to sit down and document how the footer is done in each and every appliance. As we are a small team (only 3 of us) we have tons of work to do on existing bugfixes and feature requests; let alone getting to the (very overdue) library refresh. With Jessie release just around the corner; getting together a v14.0 release candidate is also high on the agenda... Because of our labour bottleneck we constantly need to prioritise and re-prioritise so many "nice to have" things (like your request) just never get done...

Having said that, if it is something that you think would be of particular value to TurnKey Linux then please feel free to look over the build code and document it. I have no doubt that others would appreciate it. For example from my cursory glance it looks like this is where the footer is created for the ownCloud appliance. That should give you a good place to start in working out how to disable/remove it. I imagine that it would generally be configured in an appliance's conf.d/main config script.

PS great to hear that you like TurnKey so much - even despite the footer! :)

When I have to go into plugins and remove 10 of them, then I had to go to google to search for where you have hidden the footer, it is no longer a turnkey solution. I had to do more configuration your image than if I had just installed everything with a few apt-gets and it makes me wonder what else might have been changed...

Apache2 is not installed on the system. I tried to recompile Ngins without http_sub_module, but it did not work. I'll try again with removing the cache after. And I coudn't found the footer in gitlab files.

I searched the contents of the file in directories gitlab and app on Linux and even in Windows, but these tools apparently failed me. The next time I'd rather look for the source code. Thank you so much!

<p>
I adore what your task is doing and I need to leave the footer, really mod it a tad and still give you all props. What I truly need to evacuate is the one as an afterthought bar. I have a circling news gaget going and your credit is standing out. I am new to wordpress and my web engineer completed 90% of the work. I comprehend what to do I simply cant locate the right css document. Makuv