Where do I put my Hello world PHP file on Ubuntu?

So I want to learn PHP, and I've installed it with "sudo apt-get install php5" on my Ubuntu 14.04 machine. I see it also installed Apache. Now I've created my program, and I've saved it to a php...

Ubuntu 14.04 install gcc-4.5 and g++4.5

I'm trying to install gcc-4.5 and g++-4.5 on Ubuntu 14.04 sudo apt-get install gcc-4.5 g++-4.5 gcc-multilib g++-multilib but the following errors appeared: Package gcc-4.5 is not available, but is...

Call to undefined function imagecreatefromjpeg() and GD enabled

im working on ubuntu 14.04 LTS with PHP 5.5.9 with GD enabled and i doubled check with <?php phpinfo(); ?:> but still showing me this msg everytime i try to use imagecreatefromjpeg() Fatal...

phpmyadmin "Not Found" after install on Apache, Ubuntu

Setting up a development environment with Ubuntu 14.04 running in VirtualBox, following this guide: http://klau.si/dev After installing phpmyadmin, it seems I should be able to access it at...

Link library correct with ROS and cmake

I'm trying to add use some code for a MOXA I/O Ethernet module with ROS. I'm using some example code, to ensure it works. I have compiled the code with gcc, so I know the code works. I compiled it...

ubuntu git init permission denied

I guess I have a problem with my rights. I have a nearly new Ubuntu 14.04 installed and just configured my vhost to display my little html project. The new site has no problem to work correctly in...

Running Intel 7260 in AP mode under Ubuntu 14.04

I would like to use the built-in WiFi on a Gigabyte mini-ITX system I just bought as an access point. And for some reason I am going in circles. lspci | grep -i wireless reveals: 04:00.0 Network...

Can't access Glacier using AWS CLI

I'm trying to access AWS Glacier (from the command line on Ubuntu 14.04) using something like: aws glacier list-vaults - rather than aws glacier list-vaults --account-id 123456789 The...

What is the best practice of docker + ufw under Ubuntu

I just tried out Docker. It is awesome but seems not work nicely with ufw. By default, docker will manipulate the iptables a little bit. The outcome is not a bug but not what I expected. For more...

Problems setting up FreeTDS

I'm trying to configure a connection to MS Sql Server trough a virtual machine running ubuntu 14.04 LTS. These are my config files: odbc.ini [scr] Driver = FreeTDS Description =...

How to install a Python version on server using Ansible

I am using ansible to connect with server. But I am getting errors for certain pip packages because of older version of python. How can I install a specific version of python (2.7.10) using...

OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=350m;

When I'mtrying to open Intellij IDE using command line in linux like this ./phpstorm.sh both android studio and PHPStorm I always got this message : OpenJDK 64-Bit Server VM warning: ignoring...

How to fix permissions after chmod -r 777 /?

I made a very annoying mistake in a script... A line supposed to change permissions recursively on a folder : chmod -R 777 $folder/ The thing is the variable was not set, so it ran instead...

NginX not executing PHP

I've been through dozens of potential solutions to this problem but cannot find anything that works. Basically, PHP files are not executing on my NginX + PHP_fpm + Ubuntu 14 server. I have all the...

Segmentation Fault while running VASP 5.4.1

So we're trying to compile VASP 5.4.1 on Ubuntu 14.04 LTS. Following similar installation steps described here: How to compile VASP 5.4.1 for Linux Debian using the GNU compiler. However, when...

Docker Error bind: address already in use

When I run docker-compose up in my Docker project it failes with the following message: Error starting userland proxy: listen tcp 0.0.0.0:3000: bind: address already in use netstat -pna | grep...

Cannot install RabbitVCS and SVN on ubuntu 16.04

I just upgraded my pc to ubuntu 16.04 and tried to make it ready for development but it has many issues. One unsolved issue is I tried every possible way but I cant installed RabbitVCS in pc: ...

Can't connect to Postgresql on port 5432

I have PostgreSQL 9.3 installed on a server running Ubuntu Server 14.04. If I ssh into the server via terminal, I'm able to connect with psql. But when I try to configure pgAdmin III to do the...

Jenkins Builds Fail Using the Gradle Daemon

While trying to improve performance of my Gradle Android builds, I stumbled across the Gradle Daemon, and have been using it with great success for local builds. However, when running under...

Extension gd is missing from your system - laravel composer Update

I newly install Dompdf in Laravel Project via Composer (composer require barryvdh/laravel-dompdf). After enter the Command Terminal Reply Following Errors. Problem 1 - dompdf/dompdf v0.7.0...

how to uninstall Qt5

Somehow I ended up with 2 version of Qt on my Ubuntu 14.04 LTS machine, Qt4 and Qt5. Here is the output of qtchooser...

Generate PDF with WeasyPrint having common header/footer and pagination

I am using WeasyPrint to generate PDF in Django. I can generate pdf from a static html file like below - from django.template import Context, Template import weasyprint with...

Postgresql 9.5 installation - Config owner (postgres:105) and data owner (ubuntu:1000) do not match, and config owner is not root

When installing postgres9.5 on ubuntu 14.04, the following command stops at an error: $sudo apt-get install postgresql-9.5 pgadmin3 Here is the error message: Preparing to unpack...

Emulator can't find 'Linux version ' string in kernel image file

I was building AOSP for the Nexus Player and after successful compilation I tried to run the emulator and the message I received is: emulator: ERROR: Can't find 'Linux version ' string in kernel...

Django 301 and 403 forbidden errors on my static files in production

I'm trying to deploy a django website on a ubuntu 14.04 vps using nginx and gunicorn but my css files and js files are not getting loaded.i developed it on the default django development server...

Yarn install command error No such file or directory: 'install'

I am installing sylius bundle and while install sylius I need to run yarn install So While i run command yarn install I get error: ERROR: [Errno 2] No such file or directory: 'install'

Error "Get https://registry-1.docker.io/v2/: net/http: request canceled" while building image

I am getting the below error while building an image Step 1/10 : FROM ubuntu:14.04 Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout...

Segmentation fault (core dumped) Laravel SwiftMailer

I'm having problem when using SwiftMailer Laravel 5.2. I have a controller for sending email and I set it to run every minute. When I execute my script below with php artisan schedule:run, its...

ImportError: libGL.so.1: cannot open shared object file: No such file or directory

i am trying to run cv2, and when i try to import it i get ImportError: libGL.so.1: cannot open shared object file: No such file or directory the suggested solution online is installing apt install...

Unable to locate package python-certbot-apache on Ubuntu 14.04 AWS

I have tried installing certbot SSL certificate on apache. Following command I performed. sudo add-apt-repository ppa:certbot/certbot sudo apt-get update sudo apt-get install...