nginx binary files not available linux - linux

Hi I have a requirement like that i should be able to install nginx in a machine that doesnt have internet connection so below are the approaches that i tried
created a debian package from the source and tried installing
downloaded the source(tar file) and tried make and make install
But downloading the source requires internet and make and make install is not recommended
The last option is to build nginx using binary file.
I am not able to find any binaries for nginx.Am stuck here any help will be much helpful

Related

How do I set up a React project on Synology NAS

I'm trying to set up a create-react-app project on my 918+ Synology NAS. From the getgo it has Node.js 5.6.0, but since create-react-app requires >=6 I need to install and use a higher version. Within the Synology NAS the Package Manger has both Node.js 6 and 8. These install fine. Then I'm trying to change the current Node.js version, this is where the problems starts.
For the information, the Synology runs a custom distro of Linux called DSM, with kernel 4.4.59.
When trying to change to version using e.g. nvm use 6.12.3 I get:
Error: Could not open history file.
REPL session history will not be persisted.
Googling this gives me no results. Is there somewhere here that would happen to know what to do, or just could try help me get this set up? I'm not sure if it's even possible. The Synology has Docker, would that be a better option for me?

Downloading debian Neo4j version from Windows

I'm trying to download the Debian Neo4j version from a Window 7 machine. I'm not managing to find the URL in order to download the package/file . I have installed the GOW software for some linux commands.
Any assistance would be appreciated.
Update
I found this link - https://neo4j.com/download/other-releases/ . Know I need to figure out what is the best file to download in order to install it on an Ubuntu Machine
You've got two options :
If you've got access to the package repository (from your Ubuntu machine), follow the information in https://neo4j.com/docs/operations-manual/current/installation/linux/debian/ to install it as a package. That's the best option which also provides start/stop scripts, a user that runs Neo4j (neo4j) and also allows for easier upgrades.
If you can not reach the internet from your Ubuntu machine (as could be deduced from the way you're trying to do it, the zip (or tar.gz for Linux) download is the way to go. You can find that at http://info.neo4j.com/download-thanks.html?edition=community&release=3.2.3&flavour=unix
Hope this helps.
Regards,
Tom

RStudio server manipulate and rstudio packages

I have an RStudio server (0.99.441) instance shared by several users, running on an Ubuntu 12.04 server with R 3.2.0.
One user complained that the statement library(manipulate) was crashing because the package was missing. Looking into the issue, I found that some users had the manipulate package installed in their home under /home/user/R/x86_64-pc-linux-gnu-library/3.2/manipulate when others didn't. No trace of it in the system libraries. The users who do have it didn't install or copy it manually, so it was installed there automatically.
From what I have found, the manipulate package comes with the rstudio package, and with RStudio desktop they are installed automatically at session startup if not found. However this does not happen when starting a new session on RStudio server, and I couldn't find documentation on this issue.
One solution could be to simply copy these folders to the other users' homes, or even to the system library (rstudio package comes with RStudio and is not on CRAN), but I would like to understand how these packages ended up there in the first place and to find a clean way to install them.

Install Haskell packages using cabal without internet connection

I have a machine that doesn't have internet access at all.
I installed the Haskell Platform on it using the installer which I got from another machine through a pendrive.
Now I want to install the package repa on my home machine which has no internet access. How should I do that?
My home machine is running Linux (Debian) and my office machine is Windows 7.
From a machine you can access the internet you can either:
Run cabal get pkg-name where pkg-name is the package you want.
Go to the package's page on Hackage and on the Downloads section there's a .tar.gz file you can download.
After you get it, transfer it to your other machine, extract it anywhere you'd like (a sandbox if you want it just in a sandbox). Then from that directory (where there's a .cabal file) run cabal install.
Package managers, such as cabal, work internally to get a package from a remote repository. I doubt there exist an easy workaround to make cabal install a package in offline mode.
Probably the easiest way is to find a compressed version of package, find a way to get them on the offline computer (local sharing, thumb drive, etc.) and install a package manually.

Golang cross-compilation: gccgo - unrecognized command line option `-marm`

I'm trying to compile a Go app for linux/arm and keep running into problems on my Ubuntu machine. When I run GOOS=linux GOARCH=arm go build in my source directory, I get tons of erorrs that are variations of:
# github.com/huin/mqtt
gccgo: error: unrecognized command line option `-marm`
Running gccgo --help informs me that options starting with -g, -f -m (and others) will be passed on to any sub-processes started by gccgo, so I don't know which process it's sending -marm to.
Any clues? Ubuntu 14.10 LTS, 64bit
So thanks to a clue by Dean, I've worked out the issue and solved it.
The issue was caused by me installing Go via apt-get, then removing it (via apt-get), then installing Go from the golang website. There were still files left over from the first install, which were probably older versions and therefore didn't have support for the -marm flag.
I was going to wipe my dev machine anyway, so I did, installed Ubuntu again, installed Go from the website (not via apt-get) and everything worked first time. If you don't want to wipe your machine, then just make sure to look around to see if there are version conflicts.
I've been stung by this sort of thing before (when installing node.js via apt-get, realising it was many versions out of date, then removing, and installing node.js via source), so if anyone is reading this, be careful when installing software via apt-get, then upgrading, as you might have similar version issues like I did!

Resources