I have installed and configured Rundeck but I want to change the logo to my companies logo. Which file do I have to edit or is there a different method all together?
Take a look at this answer (tested successfully on Rundeck 4.7), but if you want to replace the default logo consider this.
Right now doesn't exist an API endpoint to change that without restarting the Rundeck service, so, the procedure is as follows (probably to automate in a bash script): put the files in the user-assets directory, put the parameters on the rundeck-config.properties file (in that specific order) and restart the service.
Related
I've been developing in Idea on Linux for a little while now and am getting used to it after the initial pain of transitioning from Eclipse.
One of my problems has been how to configure the file manager. I'm running Openbox on Arch Linux and I can't see an obvious way (despite some extensive Googling) to specify a default file manager and I'm not sure if Idea would use it if I did.
Does anyone know how to specify the file manager in Idea for Openbox on Linux?
Click IDE Settings -> External Tools, and then click the Add button.
Specify the tool - like in this screenshot:
http://kobo.github.io/grails-improx/img/idea-external-tools-edit-sh.png
Basically you can specify any external program you want.
The program path should point to the binary file you want to use as a file manager (for example thunar is a great one: /usr/bin/thunar (you can find the correct path by executing "$which thunar" in a terminal)).
The parameter & working dir should be "$FilePath$" & "$FileDir$ (or you can choose other variables if you prefer different functionality)
I have next to no experience with Orchard, or .NET in general for that matter, but I have agreed to do some development on an existing Orchard website.
I have an admin-login with access to the Dashboard and I have an admin-login at the hosting provider (Arvixe). I've started moving the site over to Azure so I can use that as a staging environment.
I've successfully exported all the content, but the site is also running a custom theme that I also need to move over. From what I gather the only way to package that theme is using the command line interface, but I can't find a way to run the command line executable via the hosting provider's web interface (I haven't been able to connect to it with SSH).
Is there any way to run what is usually command line operations via the Dashboard? Some kind of module that I have not discovered? Is there any way of moving a theme from one installation to another without using the command line?
If you have access to the Arvixe account, you also have access to ftp. Do that, then look under the Themes directory. Copy the theme's folder. What's the web site?
I have thought of using cron jobs recently. In my site, I have css, js and images folders in my setup, which isn't very relevant, but might be needed.
I know how to do a cron job, but am unsure as to where to put it in my files so that it always runs every day.
So where should I put the cron job file, should I create a new folder for it and what should the file extension be?
Log in to your system via SSH, and then enter,
crontab -e
If this is your first time editing, it may ask you what editor you would like to use.
Then start editing.
*/1 * * * * /var/www/mysite/public/cron/script.php
Will run script.php every minute.
The cron I have installed on my Mythbuntu system keeps its daily cron scripts in /etc/cron.daily/.
File extensions don't matter on *nix. The file just needs to have executable permissions (and should have a shebang line at the top to state what program it should be run with).
anywhere, but I recommend outside web root. file extension to match the file type
Does not matter where you put it, as long as you call all included files by their absolute paths to avoid confusion. I've run into situations where
include '../../start.php';
had issues when running using the php command (usr/bin/php I think it was). Probably because it was running it from the different folder under which the php running command lies on the Apache server. So when including files I would use $_SERVER['DOCUMENT_ROOT'] as a reference point to include files.
alternatively you can always use the wget command to run it as if you are running it out of your own browser. Here's what I use:
wget http://www.mydomain.ca/cron/cron_whatever.php
And the timing can be set using the cPanel cron option, or you can write it out too.
And always have email notifications turned on to make sure you get the results written out to see if there's any issues.
You don't edit cron directly but rather run crontab -e which will effectively save allow you to edit and save it into a system area.
You can use SSH as described by guys before, but there is some hosting service providers who use cPanel and allows you to create those cron jobs easily via a web based interface easy to use and you will also easily make the correct time for run with them .
Need to launch two application on system startup.
A desktop file is created starting the fist one. Unfortunately could not find any way to launch the two application in single desktop file. If there is way please write in comments ?
As a workaround created the second desktop file for launching the second app.
Now Need to know the order of invoking *.desktop files in autostartup.
It that performed by alphabetical order ?
Regards,
Levon
You can always run script, which will then run your applications. For example:
#!/bin/bash
app1
app2
or, if you don't want to keep separate script, adding line Exec=app1;app2 to your .desktop file may do the trick.
I'd like to be able to have either web dashboard logged in administrators or general users depending on which the team prefers be able to see the contents of this file without remoting into the box, is this possible using the webdashboard?
This is not an answer to how it can be seen from the web dashboard...
... but it is possible to store the ccnet.config file in source control and set up a special build on the build server that automatically retrieves the newest config file.
This way you do not even have to remote into the box in order to edit the contents of the file.
See more details in the documentation:
http://confluence.public.thoughtworks.org/display/CCNET/Configure+CruiseControl.Net+to+Automatically+Update+its+Config+File