Installation of gcloud sdk on windows as gcloud.update.components -permission denied on file ....\google-cloud-sdk.staging\platform\gsutil\third_party - google-cloud-sdk

Trying to install gcloud sdk on windows 10 but facing below issue on installation
Installation of gcloud sdk on windows as gcloud.update.components -permission denied on file ....\google-cloud-sdk.staging\platform\gsutil\third_party

Related

Ruby On Rails on Win 10

On win 10, After installing RoR 3.x and Ruby 7.x, and sqlite 3.x, the server will not start from CLI, I am not using Windows Powershell but the CMD window.
Does any part of the install of those packages require Admin window?
Does the "bin/rails server" command require Admin privileges from CLI.
Thank You
Not really.
I installed Rails in my Windows Computer, but I needed to install Node and Yarn as well.
I suggest you install WSL for Windows. It's like have Linux install but using Windows. It's faster than Windows and you will have less problems by installing Rails or any other software.
Check this link: https://learn.microsoft.com/es-es/windows/wsl/install
You need to use PowerShell as Administrator and run the command wsl --install (see pc requirements)

npm install Angular-cli not working on CentOS7 without Internet

How to install Angular CLI on CentOS7 vm?
The machine doesn't have an internet connection.
I can download the required files to a Windows machine and transfer those files to the CentOS7 virtual machine using winscp.
Please any advises how can I proceed?
I installed nodeJS as well. Please see the Error Messages below while trying:
npm install -g #angular/cli#ll
Snip of Error Messages

Ubuntu Appcelerator - Cannot install node on platforms other than windows or mac

Appc is successfully setup via terminal. Each prerequisite installed but on Studio launch Appcelerator cannot find/recognize installed node and tries to install node again and prompts "cannot install node on platforms other than windows or mac".
Since I am using the latest version of Titanium so it requires the latest Node.js (nodejs, node and npm). Appcelerator tries to install node because it does not find any compatible version.
Secondly Appcelerator tries to install all pending prerequisites and it cannot install node on platforms other than windows or mac so you have to install nodejs via terminal.
To debug issues try to run programs via terminal. Particular to Appcelerator in Ubuntu, go the directory and run it by command $ ./AppceleratorStudio
It will prompt all ERRORS, WARNINGS and NOTICES.

How to install apxs on xampp

I have a site I'm running off an Apache server, and I want to run a python script using the server and the web browser. I'm using xampp, and I have researched that I have to use modwsgi, and I have downloaded the zip and unpacked it onto my desktop. Now using command prompt I run
setup.py install
The first time I did this, I didn't have setup tools installed for python (I have python 2.7.8 and I'm on Windows 7 64 bit), so I went ahead and downloaded that, but now when I run the command again I get the following message
RuntimeError: The 'apxs' command appears to not to be installed or is not exectuable.
Please check the list of prerequistes in the documentation for the package and install
any missing Apache httpd server packages.
How exactly do I install apxs because I don't have Apache but xampp?
I was installing apxs on XAMPP in Windows. I wrote a blog post with the complete solution (in Spanish). I basically compiled my own version of apxs. The steps were:
Install ActiveState Perl for Windows
Add C:\xampp\apache\bin to the environment variable Path
Download apxs from here
Unzip tar.gz file in C:\xampp\apache\bin.
Execute:
ppm install dmake
cd c:\xampp\apache\bin\apxs
perl Configure.pl --with-apache2=C:\xampp\apache
--with-apache-prog=httpd.exe

setting up tomcat in Ubuntu

I have gone through many tutorials for installing tomcat in my Ubuntu system. I installed tomcat7. tomcat7-admin, tomcat7-examples and tomcat7-docs by following commands:
apt-get install tomcat7
apt-get install tomcat7-admin
apt-get install tomcat7-docs
apt-get install tomcat7-examples
After this setup I can start, stop the server by:
/etc/init.d/tomcat7 start/stop
I have following files and folders:
/usr/share/tomcat7/
/etc/tomcat7/
/var/lib/tomcat7/
I have added the following user in tomcat-users.xml file under /usr/sharetomcat7/conf/tomcat-users.xml and /etc/tomcat7/tomcat-users.xml
<user username="admin" password="amdin" roles="admin-gui,standard,manager-gui"/>
Now when I open localhost:8080, I get a dull page saying 'It works' unlike the colorful page we get generally. These are the contents of page:
You might consider installing the following packages, if you haven't already done so:
tomcat7-docs: This package installs a web application that allows to browse the Tomcat 7 documentation locally. Once installed, you can access it by clicking here.
tomcat7-examples: This package installs a web application that allows to access the Tomcat 7 Servlet and JSP examples. Once installed, you can access it by clicking here.
tomcat7-admin: This package installs two web applications that can help managing this Tomcat instance. Once installed, you can access the manager webapp and the host-manager webapp.
But when I click on 'click here' link above to open admin, docs or examples I get "HTTP status 404: The requested resource is not available."
But I have installed admin, examples and docs. I am not getting it. Please help! I am using Ubuntu 13.04
on ubuntu 14.04 it worked for me using following command :
sudo apt-get install tomcat7-docs tomcat7-admin tomcat7-examples
Create a link for each application in webapps folder as below:
cd /var/lib/tomcat7/webapps
sudo ln -s /usr/share/tomcat7-examples/examples examples
sudo ln -s /usr/share/tomcat7-docs/docs docs
sudo ln -s /usr/share/tomcat7-admin/manager manager
sudo ln -s /usr/share/tomcat7-admin/host-manager host-manager