ubuntu-14.04

Why does apache2 module http2 not exist on Ubuntu 16.04?

老子叫甜甜 提交于 2019-12-13 12:01:10
问题 I'd like to install htt2_module. After a fresh installation of Ubuntu 14.04 following the steps listed in this link, I have tried to enable the http2_module just running sudo a2enmod http2 but I get: Module http2 does not exist! the apache version installed is:Apache/2.4.7 ,then as a workaround I tried with this link adding the following repository sudo add-apt-repository ppa:ondrej/apache2 after refreshing with sudo apt-get update, and running again the command to install/enable the http2 I

Deployment of QT apps on linux

两盒软妹~` 提交于 2019-12-13 11:10:53
问题 I have developed Qt app in ubuntu-14.04 operating system . I need to deploy the executable file into target system without using any tool. Can u please guide me how I should proceed .Any information about it would be useful for me . Waiting for your reply.. Thanks in advance.. Thanks and Regards, Aryan 回答1: Deploying a dynamically linked Qt application : You should place Qt .so files along the release version of your executable. These are libQtCore.so , libQtGui.so and possibly the ones for

OpenCv code throws segmentation error(core dumped) Ubuntu 14.04

早过忘川 提交于 2019-12-13 07:13:39
问题 I'm beginner learning opencv from the official documentation http://docs.opencv.org/trunk/doc/py_tutorials/py_gui/py_video_display/py_video_display.html#display-video import numpy as np import cv2 cap = cv2.VideoCapture(0) while(True): ret, frame = cap.read() gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY) cv2.imshow('frame',gray) if cv2.waitKey(1) & 0xFF == ord('q'): break cap.release() cv2.destroyAllWindows() It's giving me error "Segmentation fault (core dumped)" Can anyone please tell me

.htaccess not being loaded in Ubuntu 14.04 (Apache 2.4.7)

[亡魂溺海] 提交于 2019-12-13 04:51:19
问题 I'm trying to use the .htaccess file in Ubuntu 14.04 (Apache 2.4.7). Here is what my .htaccess looks like # 1 YEAR <FilesMatch "\.(ico|svg|woff|eot|ttf)$"> Header set Cache-Control "max-age=31536000, public" </FilesMatch> # 1 WEEK <FilesMatch "\.(jpg|png|gif|css|js)$"> Header set Cache-Control "max-age=604800, public" </FilesMatch> # Add correct content-type for fonts AddType application/vnd.ms-fontobject .eot AddType font/ttf .ttf AddType font/otf .otf AddType font/x-woff .woff AddType image

Is it possible to instruct PHP to use postfix configuration in php.ini?

两盒软妹~` 提交于 2019-12-13 04:13:04
问题 Is it possible to configure PHP to send email using the configuration set for postfix? WordPress (via PHPMailer) relies on these settings to be correct in php.ini: ;SMTP = localhost ; http://php.net/smtp-port ;smtp_port = 25 ; For Win32 only. ; http://php.net/sendmail-from ;sendmail_from = me@example.com ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ; http://php.net/sendmail-path sendmail_path = "/usr/sbin/sendmail -t -i" ; Force the addition of the specified

Nginx not serving django image

空扰寡人 提交于 2019-12-13 03:37:40
问题 I'm trying to follow the tutorial at http://uwsgi-docs.readthedocs.org/en/latest/tutorials/Django_and_nginx.html. I've gotten down to http://uwsgi-docs.readthedocs.org/en/latest/tutorials/Django_and_nginx.html#basic-nginx-test. Following the directions I have: (env1)ubuntu@ip-172-31-28-196:~$ sudo /etc/init.d/nginx start (env1)ubuntu@ip-172-31-28-196:~$ ls host_type.py requirements.txt test.py tproxy However when I go to my ubuntu ec2 instance at: http://52.10.**.***:8000/media/media.jpg The

No mod_php? 14.04 / ondrej php5.6 + ondrej apache2

蹲街弑〆低调 提交于 2019-12-13 02:23:14
问题 Trying to get a 14.04 box running PHP 5.6, but having issues getting PHP enabled in apache. Specifically, it doesn't seem mod_php is being installed anymore? apt-get update apt-get install -y python-software-properties add-apt-repository -y ppa:ondrej/php add-apt-repository -y ppa:ondrej/apache2 apt-get update apt-get upgrade -y apt-get install -y htop apache2 php5.6 php5.6-curl php5.6-mcrypt mongodb-org curl git a2enmod does not list php or mod_php , and locate php.ini outputs: /etc/php/5.6

Import Error - Tornado requires an updated SSL module on ubuntu 14.04

99封情书 提交于 2019-12-13 02:17:57
问题 while installing juypter notebook on my ubuntu 14.04 I am getting this: ImportError: Tornado requires an up-to-date SSL module. This means Python 2.7.9+ or 3.4+ (although some distributions have backported the necessary changes to older versions). Pip is: pip 10.0.1 from /usr/local/lib/python2.7/dist-packages/pip (python 2.7) how to resolve this ? 回答1: Latest tornado library doesn't support your interpreter version. You have two options. Either install old tornado (recommended): pip install

I have accidentally uninstalled jack server while building Android AOSP

笑着哭i 提交于 2019-12-12 19:18:14
问题 I am building the Android code for Android Go on my ubuntu 14.04 machine. While building I got some problems with jack server and I ended up uninstalling the jack server (accidentally). How do I install the Jack Server again ? I have tried to install the jack server using the following command: jack-admin install-server jack-launcher.jar jack-server-4.11.ALPHA.jar However, I get an error: Jack server installation not found Kindly help how do I install Jack Server again. I have also followed

apt-get install fails with Not Found error because package removed from repository

亡梦爱人 提交于 2019-12-12 17:09:13
问题 I've been attempting to install the package r-base on Ubuntu Trusty Tahr and there's a package dependency that became broken in the last week. My commands are as follows: apt-get update -y apt-get dist-upgrade -y apt-get install -y r-base-dev ... Err http://archive.ubuntu.com/ubuntu/ trusty-security/main libpng12-dev amd64 1.2.50-1ubuntu2.14.04.1 404 Not Found [IP: 91.189.91.23 80] Fetched 92.8 MB in 28s (3262 kB/s) E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libp/libpng