Snyk server can be installed in a machine without internet? - snyk

I have been using sonarqube and now i want to use snyk but dont know if it is possible to install it in an machine locally and without internet access.
Snyk server can be install in an local machine and without internet access?

Related

want to connect to mysql from parallel desktop

I wanna connect to mysql database which is on my Mac from parallel desktop(windows 11) ,but I can't. How can I connect to Mac IP from my parallel?
(I tried to install mysql workbench on parallel but it says "your processor is not adequate). So, I had to install database on Mac.I also tried bridged wifi and using localhost but it can't find the database.
I have a partial solution for you. I modified the MySQL Workbench installation to run on Mac ARM. I also use USB Webserver to run a MySQL database on Windows ARM. MAMP and WAMP don't seem to run on Windows with Parallels.
I too am trying to figure out how to access a database running on Mac from C# Windows Apps on Windows. Have not had success yet.
You can get the install files for Workbench on my github page.
https://github.com/shadsluiter/MySQLWorkbenchM1MacParallels

How to install and run Mercurial server on a remote Linux host with limited user rights?

I have a remote managed hosting Linux server and I would like to install and run a Mercurial server on it to communicate with from local repositories (clone, pull, push).
The server has Apache, PHP, MySql, Python and RubyOnRails.
I can also access the remote system over SSH, but the command repertoire is limited: e.g. there is no such thing as apt-get, so I cannot download and deploy the server directly.
Is there any possibility to bypass these limitations and have a Mercurial server operating on such a server? Or does any other Version Control system exist that would allow this kind of usage? Is there probably a PHP- or Python-driven Version Control Server around (which I failed to find)?
This depends on the restrictions set in place. Mercurial is a normal Python program and the Mercurial server is part of the normal distribution. If you are using SSH as a transport protocol, nothing but a Mercurial installation in your $PATH is required. For HTTP access you will need to either run the Mercurial hg serve command or install the necessary wsgicgi module.
Now let's assume you want to access the repositories via SSH, and only need a Mercurial installation, but cannot run apt-get, consider the following:
You must have Python installed
You can try installing Mercurial from sources by downloading the tarball from https://www.mercurial-scm.org/downloads.
Run make install PREFIX=~/mercurial to install the Mercurial distribution to ~/mercurial.
Ensure ~/mercurial is in your $PATH during your SSH session by adding export PATH=$PATH:~/mercurial to your ~/.profile.
If you cannot install Mercurial from sources, you can consider building Mercurial on a compatible Linux systems. E.g. your servers runs Ubuntu 19.04, and you run locally Ubuntu 19.04. Install the distribution as described to your local directory and rsync the distribution to your server.
On your local linux machine: make install PREFIX=~/mercurial to install the Mercurial distribution to ~/mercurial.
rsync -avzP ~/mercurial server:~/mercurial
Set path variable to ~/mercurial as described above.

How to install extension on server in yii2

I have an website running on server.
I want to use graph extension to show some reports.
How do install extension on server?
Locally I can use cmd for that, do I need to download project install extension and upload it again?
You have to enable SSH access on your server.
DigitalOcean SSH tutorial - here you can find some helpful informations about SSH connection.
If you connect by SSH, navigate to project directory and use composer install or composer update.
If you don't have a command line access to your server and so cannot use composer directly, I would recommend to do prepare the code locally in a 'deploy' folder and then copy the whole folder content, including the vendor directory, to the server. I assume that you can use composer locally, so that you can install the extension regularely . And I assume that the local machine and the server does differ to much (PHP version, other settings).
Installing the yii2-extension does mean: if you install it with composer install Yii gets prepared so that you can use the code like any other code in your application. Installing the extension creates an entry in `vendor/yiisoft/extension.php which gets evaluated each time the application gets loaded.

Launch Beyond Compare(Win) for Mercurial Merge(Linux) using XServer

I've beyondcompare licence for my windows machine and I can't use that licence for linux installation. I work on linux server via putty from my windows system.
I could launch linux visual merge tools like meld using X server. But I'm looking for a way to use X server/X11 to launch beyondcompare from my putty session. In short, I want to launch a windows application itself from the linux env over putty.
My last choice would be to pull changes to my windows machine and do a merge on windows; push it back. But it would be nice if I could launch beyondcompare from linux.
Any Ideas?
It isn't possible to launch a diff/merge in the Windows version of Beyond Compare from a Linux system via SSH. There are three possible workarounds:
Upgrade your license to a multi-platform license and use the Linux
version of Beyond Compare.
Run the Windows version of Beyond Compare on your Windows machine and access the files on the Linux machine using the SFTP support built into Beyond Compare Pro.
Install Mercurial on your Windows machine, then check out files and
diff/merge from there. See the Using Beyond Compare With Version
Control Systems article to configure BC as the
diff and merge tool for Mercurial on Windows.

Best way to install MS Access on a remote windows server?

What's the best way to install MS Access on a remote windows server?
I do have a valid license for the product.
I want to install it on a remote windows server, for development purposes.
Server is running Windows Server 2003.
Zip the contents of the CD/DVD and upload to your server. Then unzip and run the setup.exe.