ubuntu-14.04

Issuing “apt-get update” command on ubuntu AWS EC2 instance upgrades PHP version from 7.1 to 7.2?

早过忘川 提交于 2020-01-07 08:52:27
问题 Please let me know if issuing "apt-get update" command on AWS EC2 ubuntu 14.04 machine upgrades PHP version from 7.1 to 7.2 回答1: You can confirm that with the following command: sudo apt-get upgrade --dry-run Based on Linux Man Page: No action. Perform a simulation of events that would occur but do not actually change the system. 回答2: Well, apt-get update updates the apt-get list of repositories, to update the packages installed by apt-get you should use apt-get upgrade: # apt-get upgrade

Issuing “apt-get update” command on ubuntu AWS EC2 instance upgrades PHP version from 7.1 to 7.2?

谁说我不能喝 提交于 2020-01-07 08:52:10
问题 Please let me know if issuing "apt-get update" command on AWS EC2 ubuntu 14.04 machine upgrades PHP version from 7.1 to 7.2 回答1: You can confirm that with the following command: sudo apt-get upgrade --dry-run Based on Linux Man Page: No action. Perform a simulation of events that would occur but do not actually change the system. 回答2: Well, apt-get update updates the apt-get list of repositories, to update the packages installed by apt-get you should use apt-get upgrade: # apt-get upgrade

Capistrano 3 permissions not set on correctly on cache and releases

早过忘川 提交于 2020-01-07 05:21:12
问题 I am deploying a Symfony2 web application onto Ubuntu 14.04 using Capistrano 3 with symfony gem. Permissions are not set correctly on the cache folder: Because I am using the symfony gem the permissions should get set on the cache folder and indeed I do see this in the output during deploy which is successful: cd /var/www/releases/20151015083314 && ( SYMFONY_ENV=prod /usr/bin/env mkdir -pv app/cache However when I preview my web app i get the following error in my logs PHP Warning: mkdir():

HTTP Status 500 - Internal Server Error on Glassfish

时间秒杀一切 提交于 2020-01-07 03:19:27
问题 I recently changed my domain SSL certificate since the old one was expiring. The certificate was successfully installed on glassfish and I my application was up and running. The challenge comes in whenever I log in to glassfish admin console , I get " HTTP Status 500 - Internal Server Error " . I use ubuntu 14.04 server. Any help will be highly appreciated. 回答1: I had the same problem after updating the SSL-certificate on my servers... After I run the following command in the admin console I

How to uninstall TensorFlow completely?

半腔热情 提交于 2020-01-06 04:05:27
问题 I accidentally installed TensorFlow for Ubuntu/Linux 64-bit, GPU enabled. When I installed with Linux 64-bit CPU only, I am getting Segmentation fault while importing tensorflow from python console. 回答1: First try python -v -c "import tensorflow" to find out the place of the module file. Delete any tensorflow.so or similar files. Possible paths include $PYTHONPATH, prefix/lib/python2.7/site-packages , exec-prefix/lib/python2.7/site-packages and $HOME/lib/python2.7/site-packages Run python -c

How to uninstall TensorFlow completely?

∥☆過路亽.° 提交于 2020-01-06 04:05:08
问题 I accidentally installed TensorFlow for Ubuntu/Linux 64-bit, GPU enabled. When I installed with Linux 64-bit CPU only, I am getting Segmentation fault while importing tensorflow from python console. 回答1: First try python -v -c "import tensorflow" to find out the place of the module file. Delete any tensorflow.so or similar files. Possible paths include $PYTHONPATH, prefix/lib/python2.7/site-packages , exec-prefix/lib/python2.7/site-packages and $HOME/lib/python2.7/site-packages Run python -c

virtualenv: Too many levels of symbolic links

大兔子大兔子 提交于 2020-01-05 22:48:31
问题 I'm using virtualenv and developing some pyramid applications. When I try to use ../bin/python setup.py I get: bash: ../bin/python/: Too many levels of symbolic links What am I doing wrong? 回答1: Hi~ i just encountered the same issue as you, i believe if you remove the 'env' file, and activate virtualenv again, this problem will be solved. It may not be the best solution but it could be a quick method. 回答2: You've omitted a space from your command. From the directory in which the file setup.py

Spark - UbuntuVM - insufficient memory for the Java Runtime Environment

倾然丶 夕夏残阳落幕 提交于 2020-01-05 15:19:00
问题 I'm trying to install Spark1.5.1 on Ubuntu14.04 VM. After un-tarring the file, I changed the directory to the extracted folder and executed the command "./bin/pyspark" which should fire up the pyspark shell. But I got an error message as follows: [ OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c5550000, 715849728, 0) failed; error='Cannot allocate memory' (errno=12) There is insufficient memory for the Java Runtime Environment to continue. Native memory allocation

Spark - UbuntuVM - insufficient memory for the Java Runtime Environment

僤鯓⒐⒋嵵緔 提交于 2020-01-05 15:18:52
问题 I'm trying to install Spark1.5.1 on Ubuntu14.04 VM. After un-tarring the file, I changed the directory to the extracted folder and executed the command "./bin/pyspark" which should fire up the pyspark shell. But I got an error message as follows: [ OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c5550000, 715849728, 0) failed; error='Cannot allocate memory' (errno=12) There is insufficient memory for the Java Runtime Environment to continue. Native memory allocation

Jenkins slave process on ubuntu not showing any logging

时光毁灭记忆、已成空白 提交于 2020-01-05 11:16:15
问题 I have an Ubuntu VM dedicated as a Jenkins slave. I wrote a one-liner script to run the slave jar, and I run that script from /etc/rc.local. When I run the script manually, I get a few lines of output showing that it's working. I've tried to define the rc.local line and the script so that it stores stdout/stderr in a file, but the file is always zero length, with a modtime of when I start the process. In the following, some fields are elided with "=stuff=". The end of my "/etc/rc.local" looks