Using a Azure Devops python artifact repo on a Microsoft machine learning server - azure-devops

I have a SQL Server 2017 instance with Machine Learning services install in database. I have a custom module that I have a wheels package built and published to a Azure Devops python artifact repo that I can install from other machines using the Azure Artifacts keyring module to authenticate.
I want to setup my machine learning server so I can pip install from this azure devops package repo, but after I install the keyring and artifacts-keyring modules per the documentation and try to pip install with the -i option to specify the url to my azure devops package repo I get prompted to authenticate with my username/password. This is different behavior on my development machines (and does not work), on those machines the keyring modules authenticate me automatically.
Looking at the github page for the artifacts-keyring module it looks like I need pip 19.2 or greater, and the machine learning server has pip 9.0.1. Running .\pip.exe install --upgrade pip from the PYTHON_SERVICES directory gives me an error:
The system cannot move the file to a different disk drive: 'e:\\program files\\microsoft sql server\\mssql14.mssqlserver\\python_services\\scripts\\pip.exe' -> 'C:\\Users\\username\\AppData\\Local\\Temp\\7\\pip-qxx3khcz-uninstall\\program files\\microsoft sql server\\mssql14.mssqlserver\\python_services\\scripts\\pip.exe
Going further down the rabbit hole, it looks like i might need to unbind/bind the updated binaries. Has anyone configured their MS machine learning server to use a azure devops python artifact repo as a pip index? Should I approach deploying my modules a different way?

What I did which worked for me:
Stop all of the SQL server services. I think I would have only needed to stop the Jumpstart service though.
Run the basic get-pip.py script from the PYTHON_SERVICES directory that the ML server is using. This installed the latest version of pip, as verified with .\Scripts\pip.exe -V
I then ran .\Scripts\pip.exe install keyring artifacts-keyring
I then installed my module from my index/repo .\Scripts\pip.exe install -i https://myIndexURL/ MyModule
Brought all the SQL services up and confirmed I can use my module.

Related

Installing Discovery on Server with Information Server

I am trying to install Discovery on the same server as IIS which already has a DB2 instance. As the Discovery installation guide says, to install with an existing DB2 instance the repository database must be manually configured. It then goes on to say that this can be done using scripts which are found under the install directory. In other words, before I install I have to use something only available after installation.
Has anyone got a workaround - a link to somewhere I can get the scripts perhaps?
I managed to get it working by installing onto a clean VM and then copying the scripts from the installation folder and other files referenced in the scripts onto the IIS server and running from there. Had to search and replace the DB2 install directory within the scripts as they expect a default install of :\Program Files\IBM\SQLLIB whereas the IIS default install of DB2 is to \IBM\SQLLIB.

Download RPM on Windows PC then install on Centos server

I'm really stuck in installing services in Centos server. I almost browse all the pages in Google result. I'm a Windows user and very new in Linux environment, so it makes me difficult to understand all the results from Google.
The server doesn't have option to connect to the internet. Based on my research, my only way is to download all the RPM files in a machine with internet then transfer it to my server.
Problem: I cannot find the official package list of YUM so I can download it one by one like the https://bower.io/search/. There's a lot of downloadable files showing if I type in Google "YUM php7 rpm".
Edit: I am currently using YUM because I don't know any other way to install packages in Centos. I only want to install the following :
php7
nodejs
composer
supervisor
nginx
I don't have any access to any media. I just remotely access it via putty and Filezilla. But I have root access.

Provision windows machine with vagrant to install github desktop

I try to install github desktop via chocolatey (vagrant provisioning) on my windows virtual machine. The installation process runs until the actual github installation. The error message looks like this:
Download of GitHubSetup.exe (663.49 KB) completed
WARNING: Ignoring checksums due to feature checksumFiles turned off or option --ignore-checksums set.
Installing github...
github has been installed.
Microsoft's ClickOnce framework is downloading and extracting the ~110
MB install files.
This may take several minutes or longer. Please wait...
The installation hangs at this point. I read about this issue at the official chocolatey webpage . How can I workaround this problem?

How to install Hipchat Server on CentOS 6?

In my deep dive into the CentOS terminal, I was able to install and setup Jira, Confluence, and Bitbucket servers. However, the Hipchat Server seems to be based on something completely different.
Is there a step by step guide to installing Hipchat; From what's needed (dependencies) to installing (which I'm not even sure is part of the process) to seeing it work (log-in, etc.)?
Atlassian's official guide is written in such a way, that I look at it confused - as if it's a riddle that will never be solved. lol
By HipChat4, I'm assuming you refer to the HipChat Client. If so, have you tried the instructions outlined here?
sudo bash -c ‘cat > /etc/yum.repos.d/hipchat.repo << EOF_hipchat
[atlassian-hipchat]
name=Atlassian Hipchat
baseurl=https://atlassian.artifactoryonline.com/atlassian/hipchat-yum-client/
enabled=1
gpgcheck=0
EOF_hipchat’
sudo yum update
sudo yum install hipchat4
If what you're trying to install is the server, then keep in mind that HipChat Server is only supported on AWS (via the Atlassian provided AMI), or as a VM for private datacenters (via the Atlassian provided OVA). You can't install HipChat Server directly on a Linux box.
If your OS can run a virtualization platform (e.g. VirtualBox) then you can download the OVA from https://www.hipchat.com/server#get-hipchat-server, import it, start your VM and configure it. More thorough instructions are available here.

How to install a plugin in redmine 1.4.4 via SSH on redmine VM?

I have got access to redmine VM via SSH and have plugin files on my local machine. Now I need to install it in redmine.
Can anyone explain the steps to do it? I am using a windows 7 machine as SSH client.
You can use SFTP client such as WinSCP (Windows client that I uses) or find any other.
SFTP is SSH File Transfer Protocol, i.e. you will have access to VM's file system via SSH connection, and Redmine plugins installation will be just files copying :)
Also, SFTP clients can launch simple commands as touch (touch tmp/restart.txt command needed to restart Ruby on Rails applications)
Put the plugin directory in the vendor/plugins sub directory of your Redmine installation. Check the plugin installation instructions for any additional steps that might be necessary.
Redmine 1.4.4 is several years old, you should first make sure with a local test that the plugin actually works with that version. And you should really upgrade to a recent version of Redmine (current stable is 3.2) as there have been quite a few security issues in Rails and Redmine since 1.4.4 was released.