Install Meteor without disabling Firewall or Defender on Windows - meteor

I've been trying to install meteor but could not. The setup stuck after Exctration of zip files.
I've tried using Powershell and cmd with Administrative privileges.
Is there any installer or package with that I can install meteor with installing chocolatey?
OR
Some solution mentioned to disable Windows defender and install meteor. I can't disable windows defender. Is is possible to allow program/port which chocolatey/meteor use while instaling, which I can allow in outboud/Inboud firewall rule?

Related

Can't install conan recipe from Artifactory OSS server from Bamboo server

I have JFrog Artifactory Community Edition 7.11.2 for C++ installed on a linux server and from my Windows pc I can successfully install required recipes for a project via the conan install .. command. However when I use the same files and scripts on my Bamboo Server (windows) as a build plan I get the following error:
ERROR: Couldn't read login
Conan suggests:
Try removing 'C:\WINDOWS\system32\config\systemprofile\.conan\.conan.db' file.
This I have done but still get the same error.
The Bamboo server runs using the Local System Account.
Are there recommended practices for using Conan with Bamboo for CI uses?
By default, Anonymous user is disabled, which means, only authenticated users can upload or download packages from Artifactory.
If your Bamboo instance is only downloading, without authentication, so first you need to enable the anonymous user access: https://www.jfrog.com/confluence/display/JFROG/Users+and+Groups#UsersandGroups-ManagingUsers
Only administrator account can do it.
The problem was that I had surplus "'s in the remotes.txt file. I had a line like this...
"conancenter" "https://center.conan.io" true when it should of been
conancenter https://center.conan.io true

How to upgrade nginx to latest on Amazon Linux AMI 2018.03?

I have an Elastic Beanstalk web application using Amazon Linux AMI that requires the latest build of nginx. The nginx build that comes with AMI version 2018.03 is version 1.12.1, whereas the latest stable build on nginx.org is 1.15.4. Only 1.12.1 is available from Amazon's yum repositories. The preferred strategy we would like to use would be to create a custom RPM and pull that from an endpoint and install. How would I go about creating a custom RPM of nginx that would run on Amazon Linux? Or is there a pre-built source that I could take advantage of?
It turns out the best way to do this is to create a custom AMI. You can find instructions on how to create a custom AMI here:
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.customenv.html
And how to install from source here:
How to install nginx 1.9.15 on amazon linux disto
If you want to swap out a running instance try here:
https://www.photographerstechsupport.com/tutorials/upgrade-running-nginx-amazon-linux/
I personally got it working with a mix of the code from those two sources. I also had to yum install gcc to get make to work, and had to manually add the folder /var/cache/nginx before the nginx service would work. Happy upgrading!

Is it possible to install rocket.chat on shared server?

I tried to install rocket.chat on my shared hosting from godaddy, using ssh. But there were few permission erros. Is it possible to install without sudo access?
using
cd $HOME/rocketchat/bundle/programs/server
$HOME/meteor/dev_bundle/bin/npm install
The clue is in this line:
sh: nodejs: command not found
This means that nodejs isn't installed on the server. You can ask your hosting provider to install it, but they probably won't. You have a better chance of success looking for a hosting provider that is more nodejs/meteor friendly, such as Digital Ocean, AWS, etc. There are many out there.

Install IPython notebook on a remote server without root privileges

I need to deploy IPython Notebook on an Ubuntu remote server.
One solution is to deploy it as a local user, without sudo privileges, on a system where other servers are already running.
The second solution is to setup a new server, and install IPython with sudo privileges.
I'd like to know before to start, if there are some requirements related to the IPython Notebook server deployment that can make solution 1 difficult.
I found these tutorials particularly useful when setting up IPython nbserver:
Create an iPython HTML Notebook on Amazon's AWS Free Tier from scratch
Running a notebook server
They don't require sudo privileges. You can also try setting up virtualenv to encapsulate the environment to the local user. However, it is necessary to set the port where Notebook can be accessed from the outside, so there can be potential conflict if you're not able to expose ports on the server.

Correct way to setup Virtualbox 4.3 to use symlinks on guest (for meteor)

I use Windows 8 and installed Virtualbox so i can access to a Linux (Ubuntu) System.
The most i still did to do this - so at this moment i have a working Virtualbox with Ubuntu 14.04 LTS.
In my case i need this Virtualbox with Linux for meteor.
The problem:
meteor uses nodejs and so i need to have symlinks access (i think its symlinks - i read a few about it)
Reference: How to run meteor app inside an Ubuntu VrtualBox and edit using an editor on a Windows host?
He describes the same problem i have now:
Error: EROFS, read-only file system '/media/sf_Shared/Dropbox/dev_uhurajr/chat/.meteor/local/.build320446.build/programs/server/npm/logging/main/node_modules'
So i tried to enabled Symlinks on my host (windows) this way:
VBoxManage setextradata YOURVMNAME VBoxInternal2/SharedFoldersEnableSymlinksCreate/YOURSHAREFOLDERNAME 1
Reference: http://www.ahtik.com/blog/fixing-your-virtualbox-shared-folder-symlink-error/
This works fine! When i check the extradata for my VM the field SharedFoldersEnableSymlinksCreate is on 1
I set this value for 2 folders. The shared folder on Windows and also the name of the shared folder on my Linux VM.
But .. the same problem. The following error occurs everytime meteor tries to write symlinks:
Error: UNKNOWN, unknown error '/media/Projekte/test/.meteor/local/.build320446.build/programs/server/npm/logging/main/node_modules'
So whats the right way to get this working ?
Guessing you were using Virtualbox version after 4.0, please:
Enable symlinks VBoxManage.exe setextradata YOUR_VM VBoxInternal2/SharedFoldersEnableSymlinksCreate/YOUR_SHARED_FOLDER 1
Run VirtualBox 'as admininstrator' on Windows.
Replace the YOUR_VM and YOUR_SHARED_FOLDER with your own value. You can check the value via VBoxManage.exe getextradata YOUR_VM enumerate
VirtualBox enabled symbolic for shared folder since 4.0, it's Windows permissions blocking you. You can either enable the permission for user or simply run VirtualBox as an administrator.
Please to refer the Virtualbox documentation:
Doc updated, please refer to the doc Shared Folders:
Starting with version 4.0, VirtualBox shared folders also support symbolic links (symlinks), under the following conditions:
The host operating system must support symlinks (i.e. a Mac, Linux or Solaris host is required).
Currently only Linux and Solaris Guest Additions support symlinks.
I made a development vm with setup and run scripts.
https://github.com/gfk-ba/meteor-dev-vm
Just put your meteor app in the app directory and follow the instructions in the readme.md

Resources