i wanted to run this
"cygrunsrv --install varnishd --path /cygdrive/c/cygwin64/usr/sbin/varnishd.exe"
on windows server 2016 but i am getting.
"-bash: cygrunsrv: command not found. "
Not sure if file is required. But if so please send me the executable as well
You need to install cygrunsrv. You will find it under the "Admin" category in the Cygwin setup utility.
Related
i'd like to install valgrind in custom path. and i use the command
dpkg --instdir=/usr/local/valgrind -i valgrind.deb
the command executed correctly. and installed in the correct path.
but when i check the valgrind installed path by command.
dpkg-query -L valgrind
it shows the wrong path
/usr/lib/...
/usr/etc/...
...
i expecte the result will be show such as
/usr/local/valgrind/lib/...
/usr/local/valgrind/etc/...
i'm not sure whether i use dkp command correctly, any one can help me ?
Hello I am on a linux server running 2.6.18-274.e15. I have installed a program called scons in order to compile a program called rosetta. In order to get scons to install when I ran it's python install I used the following command
python setup.py install flexed --prefix=.
This was because I am unable to use the folder it was trying to download into with my user status. When I call "scons --version" I am getting "command not found".
What I am wondering:
Is running scons even possible with my setup?
If so, what command would I use?
Thanks!
you need to add the directory of your binary to your path, in the shell:
$ export PATH=$PATH:/the/dir/of/your/binary
I followed the instructions here to install pear and download drush in usr/local/src folder and create the symlink in usr/bin/drush
At the end of the instructions is says you can test by running drush. I get this output:
-bash: /cygdrive/c/xampp/php/drush: No such file or directory
Not the bash root of xampp/php. Does that need to be changed?
So, then I tried running /usr/bin/drush and got this output:
Unable to untar C:\cygwin\usr\local\src\drush\lib\dru6B61.tmp.
[error]
Does anyone know where I'm going wrong here?
I had the same issue. I reinstalled the cygwin packages above in the tutorial you mentioned above(I had them already from other installs, I thought). I think it may have been the 'bsdtar' package.
Good luck!
I am trying to set-up cron on my CYGWIN installation on a Win7 box. I am using the procedure mentiond here:
How do you run a crontab in Cygwin on Windows?
This is how I try to start the cron-service:
> cygrunsrv -I cron -p /usr/sbin/cron -a -D
The response that I get is:
cygrunsrv: Error installing a service: OpenSCMManager:
Win 32 error 5: Access denied
Any tips on how to proceed?
Make sure you are starting Cygwin with Administrator privileges. Right click on your Cygwin shortcut, then 'Run as Administrator'.
I am trying to run the following Linux commands on windows. I was able to install curl.exe and run the first command of the two below, however, without the | php at the end of it, as adding it caused an php is not recognized as an internal or external command error.
Then when trying to run the second command of the two I get a host not found error.
I am new to curl and linux command line and I was wondering if someone can help me figure out how to run the second command on my windows machine?
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar install
many thanks in advance!
php is not recognized as an internal or external command
That error means either PHP is not installed on the Windows machine, or it is not in the PATH.
Install it if you have not already. If you have installed it, either specify the full path to PHP in your command
curl -s http://getcomposer.org/installer | C:\Install\Path\php
or ensure that the PHP directory is in the PATH environment variable.