Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I have been trying to install basic softwares needed for making my linux machine into a development env. I got a machine with RHEL6, however it is not connected to the internet. I am able to connect to the lan and ssh to other machines. I tried to install using yum but failed with the following error.
[root#******* pcre-8.38]#yum install gcc-c++
Loaded plugins: aliases, changelog, downloadonly, kabi, presto, product-id, refresh-packagekit, security, subscription-
: manager, tmprepo, verify, versionlock
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Loading support for Red Hat kernel ABI
https://www.softwarecollections.org/repos/rhscl/devtoolset-3/epel-6-x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://www.softwarecollections.org/repos/rhscl/devtoolset-3/epel-6-x86_64/repodata/repomd.xml: (28, 'connect() timed out!')
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhscl-devtoolset-3-epel-6-x86_64. Please verify its path and try again.
Prior to this i installed an ngnix web server and tried to do a make but that failed with:
...
checking windows.h presence... no
checking for windows.h... no
configure: error: You need a C++ compiler for C++ support.
make[1]: *** [/home/gunjaj/software/pcre-8.38/Makefile] Error 1
make[1]: Leaving directory `/home/gunjaj/software/nginx-1.8.1'
make: *** [build] Error 2
Any help is appreciated.
PS: This question is similar to another question How to install C compiler for GCC without Internet connection? (RHEL6)
but i have absolutely no way of getting internet right now.
It looks like your RHEL machine is configured to download packages from RHEL's official repositories, which are only accessible via the Internet.
If you do not have Internet connectivity, you can reconfigure yum, using the configuration files in /etc/yum.repos.d, to download packages from some local RHEL mirror on your LAN.
Either you have to have Internet connectivity, or you need to configure your server to point to a local mirror of RHEL's official repository. Obviously you cannot install something if that "something" is not to be found anywhere. Sadly, software packages cannot just appear, out of thin air, in order for them to be installed.
The only other option for you is to either; download the relevant RPMs on another machine that does have the necessary connectivity, manually copy them over to this machine, and manually install them using the rpm command, and not yum; or obtain DVD-based installation media and install the rpms from the installation DVD.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I'm running Oracle VirtualBox VM 6.1 on an Ubuntu 20.04 LTS host.
The guest OS is Windows 10.
After booting up the computer and logging into my user account, I get a grey window that pops up at the top of the desktop that says: VBoxClient: The virtualbox kernel service is not running...
Mind you, this is without starting VirtualBox; this message just pops up almost immediately after logging into my desktop.
I can, however, start VirtualBox and run my guest OS without problems.
I have updated the Ubuntu OS several times since installing it, and I've reinstalled VB to keep it up to date.
What is causing this message to appear?
I ran sudo grep -i virtualbox /var/log/boot.log in the terminal and got
Starting VirtualBox Web Service...
[FAILED] Failed to start VirtualBox Web Service.
Starting VirtualBox Web Service...
[FAILED] Failed to start VirtualBox Web Service.
Starting VirtualBox Web Service...
[FAILED] Failed to start VirtualBox Web Service.
Starting VirtualBox Linux kernel module...
[ OK ] Started VirtualBox Linux kernel module.
as the output.
So, it appears that the kernel module is staring properly but not the kernel service.
When I run ls /etc/modules-load.d
I get cups-filters.conf modules.conf as the output.
If I open modules.conf, I get
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
So, it appears that no kernel modules are being loaded at boot time.
I really don't know what to make of all this.
I get an error message that doesn't seem to really affect the function of VirtualBox.
But, it doesn't seem that the error message should exist because the kernel module is starting.
Though, it seems that that should not be possible as no modules are being loaded at boot time at all.
What's causing this problem, and how do I remedy it?
I don't want that message to pop up anymore.
Thanks....
Solved it.
Did some research online.
I went to my /opt folder and found a folder within for VBoxGuestAdditions.
In that folder I found an uninstall script.
I ran that script.
After rebooting, no more error message.
Done!
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I have my blockchain network setup up on the IBM blockchain starter plan using the starter kit (https://github.com/sstone1/blockchain-starter-kit)
I'm trying to setup up GitHub passport authentication on my ibmblockchain/composer-rest-server but I cant install the passport-github package on my composer-rest server.
If I ssh into my server I don't have the permission to use npm as I'm the composer user and I don't know where to find the password to change to the root user.
I tried to install the npm package by adding 'npm install -g passport-github' in the deploy_composer_rest_server in the pipeline-DEPLOY.sh file in https://github.com/sstone1/blockchain-starter-kit/blob/master/.bluemix/pipeline-DEPLOY.sh but it still didn't work.
If I look at the logs of my ibmblockchain/composer-rest-server I keep getting the error:
Cannot find module 'passport-github'
Has anyone found a way to get around this or know how to install the 'passport-github' package on the ibmblockchain/composer-rest-server?
If you look at the Google OAuth tutorial in the composer documentation you will see a similar example of running a passport authentication strategy inside a composer-rest-server docker container. These are the specific lines used to build the new container and install the npm module:
FROM hyperledger/composer-rest-server
RUN npm install --production loopback-connector-mongodb passport-google-oauth2 && \
npm cache clean --force && \
ln -s node_modules .node_modules
If you have continuing problems, I would suggesting opening a ticket the IBM Cloud.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
Disclaimer: I am a newbie to web development.
I built a program using Python, on Django framework. I am at a point where I feel ready to deploy my site, and make it go live.
After extensive research, I've noticed that every possible path to deployment requires me to use Git.
The problem is that Git is so hard to manipulate on my computer. I have the wrong version (I guess) installed, and my attempts to fix compatibility issue has been a nightmare (Im using Mac 10.7.5, and for some reason cant upgrade to newer MAC El Captain)
My question is this: Is there a way to deploy WITHOUT using Git? Evenmore, is there a way to deploy without the use of version control (I'm the only one building this site).
I just want the easiest path to deployment possible, since I am a complete newbie.
PS Please dont direct me to this link: Is git branches necessary for a single developer?
my questions is about the importance of using Git altogether.
For some platforms, git is required for deployment. Heroku, in particular, requires git for pushing changes to a remote defined on the command heroku create. See here for more details.
In other instances, you have more options, with the caveat that you may spend a lot of time configuring a system to do so and that you may suffer from the inability to have continuous deployment without downtime.
For example, using an Amazon EC2 instance or DigitalOcean, you essentially have a bare-bones Ubuntu installation upon which you control pretty much all facets of configuration, you would be able to send files to your remote instance via SSH or using one of their clients. In this case, you would generally do the following:
Shut down your Django server
Backup your existing application and DB, just in case
Upload the files for your updated application
Run any manage.py commands for migrations and updates
pip install -r requirements.txt to check for updated dependencies
Start your server up again
As stated before, git is not required for deployment, but most Django devs would highly, highly suggest you find the root of the issue you are having with git as it helps to protect against potentially devastating problems down the line and can greatly simplify deployment when your production environment is set up correctly.
EDIT: It's worth noting that git can provide deployment functionality when your deployment environment is set up properly, but deployment often is too complex a task to rely on git alone. A commonly used method is to use Fabric with a custom fabfile to automate deployment tasks. In tandem with git you gain version control, simplified deployment commands, and the ability to run tasks as part of your deployment.
I'm currently testing with a django web application using version 1.6 with a python version 3.4.1 and needs to install some packages here on my machine. Based from what I've observed we are currently connected to a proxy server which is why I'm having issues downloading some of it. Below are the actions that I've taken so far.
1) I've updated my http_proxy connection to http://innoproxy:8083/proxy.pac which is our current proxy connection.
2) Below is error that mostly occurs when I would install the South Package.
C:\Users\fx0.MANDAUE>pip install South
Downloading/unpacking South
Cannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement South
Cleaning up...
No distributions at all found for South
Storing debug log for failure in C:\Users\fx0.MANDAUE\pip\pip.log
My question is, would it be possible for me to install that package without using the command prompt(manual download) or do I still lack some actions from my end for the downloading to work? I've already checked other possible solutions but so far to no avail. Thanks!
I'm in a similar situation behind my corporate proxy. You may first want to check whether your proxy is looking for authentication, in which case setting you connection string to http://username:password#proxyserver:port/ may help. In my case, however, our authentication relies on Windows Active Directory, which I've yet to overcome on my Linux box.
If all else fails, as in my case, you can manually download the source tar.bz (or similar compressed directory) from PyPI and use pip install path/to/source. This will mean manually downloading all dependencies and installing them the same way. It can be a pain, but it works.
Trying to get set up with Vagrant but getting the error:
The "VBoxManage" command or one of its dependencies could not be found.
Please verify VirtualBox is properly installed. You can verify everything
is okay by running "VBoxManage --version" and verifying that the VirtualBox
version is outputted.
Just confused because the Vagrant documentation states:
"The getting started guide will use Vagrant with VirtualBox, since it is free, available on every major platform, and built-in to Vagrant."
Don't want to install VirtualBox separately if its supposed to be included when I installed Vagrant. Running OSX 10.8 if it's relevant, guessing I just need to install VirtualBox? If that's the case, what do they mean in the documentation when they say it's "built-in"?
Installing VirtualBox is required if you plan on using VirtualBox with Vagrant. I'm guessing they meant that the VirtualBox integration is built-in?
Recently, they've abstracted out the VirtualBox specific code and are working on allowing for multiple providers. I believe VMWare is now supported in addition to VirtualBox.
I had this message but my problem was different. I use Vmware_fusion as the provider. Vagrant was not able to detect what provider I am using.It assumed that I am using VirtualBox. Had this issue fixed by calling vagrant up provider flag. Here is the full command
vagrant up --provider vmware_fusion