I want to install jenkins plugins on a remote machine. I have root permission on it and I install jenkins using yum install now I want to install a list of plugin but I don't know how to do that.
I googled and found some website but all of the solution they provided weren't what I expected.
You can use the Jenkins command line interface to install plugins from a script. See https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+CLI. If this isn't what you expected, perhaps you could tell us more about what you expect.
Related
I was using Phantomjs with Phoenix framework for test, and the package I use in phoenix is hound.
I previously installed phantomjs with apt-get which was giving problems (this github comment said the installation method was the culprit), so I downloaded the latest binary from the official website but that was giving permissions denied error, so I had to build it from the source, but to my surprise the build.py which is mentioned in the official guide wasn't avaialble, so I even failed to build it that way.
I also failed to install through npm, so I gave up on phantomjs.
Now I installed slimerjs, but I don't know what is slimerjs's alternative command to phantomjs --wd.
I use Ubuntu 16.10. I tried installing Selenium module of python via the command - sudo pip3 install -U selenium. But, I am not able to install it. It is giving an unexpected error. I am sharing the screenshot of the terminal here. Please help!
Please click here for the screenshot
If you are using Ubuntu, I'd suggest checking in the package manager as it may already be there. I'm on Mint and it was already there when I loaded python (2.7 also).
Platform: Ubuntu 14.10
Appium - 1.3.7
One similar question I had come across -
How to setup Appium in Ubuntu for android
and following suggestion, I install npm via HomeBrew
And eventually, appium execution fails with error -
error: Appium will not work if used or installed with sudo. Please rerun/install as a non-root user. If you had to install Appium using `sudo npm install -g appium`, the solution is to reinstall Node using a method (Homebrew, for example) that doesn't require sudo to install global npm packages.
Is there anything I missed?
Appium allows to run under sudo since 1.2.3: source
apparently I was on wrong directory when invoking invoking appium. I should be in /node-v0.12.2-linux-x64/bin$ and invoke appium.
even though I was in wrong directory, the error message I received was so descriptive (and misleading) that it made me believe that I installed appium in wrong way.
Trying to install the module vcsrepo with puppet, but really unsure how it could be done. The commandline to install it is:
puppet module install puppetlabs-vcsrepo
Tried to install it this way, but that didn't work:
package { 'vcsrepo':
ensure => installed,
}
It'd be really helpful to see the error output of the first command as that IS the way one installs a Puppet module. If I had to guess, it probably errored out saying something like /home/yourusername/.puppet/ does not exist - by default, when ran by a regular user, puppet install will attempt to download the module into .puppet/modules in that user's home directory. Running sudo puppet module install module-name though by default would install the module system-wide into /etc/puppet/modules.
Is it possible to install Apache with a script/batch file?
Sure is...
apt-get install apache2
right inside the ol' batch file, depending on your package manager.
If you wanted to install from source, just
wget linktoapachesource.com
and put all the steps you would normally take inside a bash script.