Posts

Showing posts with the label ubuntu

Docker File Non-Zero Code 100 Error When Building

Docker File Non-Zero Code 100 Error When Building Here is my Docker File: FROM ubuntu:16.04 MAINTAINER Alexandre Savio <alexsavio@gmail.com> RUN ln -snf /bin/bash /bin/sh ARG DEBIAN_FRONTEND=noninteractive ENV PETPVC_VERSION v1.2.1 ENV PETPVC_GIT https://github.com/UCL/PETPVC.git ENV ITK_VERSION v4.12.2 ENV ITK_GIT http://itk.org/ITK.git ENV VTK_VERSION v6.3.0 ENV VTK_GIT https://gitlab.kitware.com/vtk/vtk.git ENV SIMPLEITK_VERSION v1.0.1 ENV SIMPLEITK_GIT http://itk.org/SimpleITK.git ENV ANTS_VERSION v2.2.0 ENV ANTS_GIT https://github.com/stnava/ANTs.gi ENV NEURODEBIAN_URL http://neuro.debian.net/lists/xenial.de-m.full ENV NEURODEBIAN_PGP hkp://pool.sks-keyservers.net:80 0xA5D32F012649A5A9 ENV LIBXP_URL http://mirrors.kernel.org/ubuntu/pool/main/libx/libxp/libxp6_1.0.2-2_amd64.deb ENV AFNI_URL https://afni.nimh.nih.gov/pub/dist/bin/linux_fedora_21_64/@update.afni.binaries ENV CAMINO_GIT git://git.code.sf.net/p/camino/code ENV SPM12_URL http://www.fil.ion.ucl.ac.uk/spm/download/...

Weird Vim configuration on Ubuntu Bash for Windows

Weird Vim configuration on Ubuntu Bash for Windows First screenshot Second Screnshot I am using Ubuntu Bash for Windows and installed the ultimate vimrc from https://github.com/amix/vimrc However, now I get this weird highlighting over my code in vim. Any suggestions on how to get rid of it? set t_Co=256 may fix the problem with the background color. – Sergio Jun 30 at 6:04 set t_Co=256 By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

How to get recursively dependencies for package with versions? [on hold]

How to get recursively dependencies for package with versions? [on hold] I need to install a package on a system without internet access (the package contains a driver for network card). System A has internet connection and runs Ubuntu 14; System B has no internet connection and runs Ubuntu 16. How can I download all dependencies recursively with the correct version on system A, that could be next installed on system B? This question appears to be off-topic. The users who voted to close gave this specific reason: Stack Overflow is a site for programming and development questions. This question appears to be off-topic because it is not about programming or development. See What topics can I ask about here in the Help Center. Perhaps Super User or Unix & Linux Stack Exchange would be a better place to ask. – jww Jun 29 at 18:54 ...

Undefined main when main is defined [on hold]

Undefined main when main is defined [on hold] I'm using Ubuntu 18.04 on Windows 10 and I have installed the gcc. Before this, I had no trouble compiling the .cpp but recently I'm encountering this error /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o: In function `_start': (.text+0x20): undefined reference to `main' collect2: error: ld returned 1 exit status" I even tried to compile this dummy code but the error still occurs. #include <iostream> using namespace std; int main() { cout <<"whyn"; } How can I fix that? This question appears to be off-topic. The users who voted to close gave this specific reason: How do you build your program? Can you show us the exact commands that leads to the error? And are you sure you build with the right source or object files? – Some programmer dude Jun 29 at 15:36 ...

how to install openreports in ubuntu server 14.04

how to install openreports in ubuntu server 14.04 I can install openreports with apache-tomcat on Windows successfully as the installation guide from http://smileybits.blogspot.com/2010/04/installing-openreports-320.html. But I didn't found installation guide for ubuntu server. I believe that anyone can help me if possible. 1 Answer 1 I'm follow up the installation steps from http://sprekelsen.blogspot.com/2010/12/instalacion-de-openreports-en-ubuntu.html. But the openreports project deployment wasn't success. I use the versions for apache tomcat-5.5.25, java-1.6.0_41-b41, mysql-5.6 in ubuntu 14.04. I got the messages when ant war. openreports can't deploy in tomcat Someone give me any advice. Thanks. By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, ...

PHP script to modify a dynamic website link and open a new tab

PHP script to modify a dynamic website link and open a new tab This is my first question so if I am doing something wrong just let me know. I currently maintain a webserver running unbuntu , php and mysql . unbuntu php mysql What I would like to do is add a new page to the site which shows a user a box where they can input text and when they click "Go" it modifies a URL and opens a new tab. For example the URL would look like the below. http://1.2.4.5/api.php?getServices={"account":"variable"} If the person was to input 12345 into the box and select Go it would modify the link to: 12345 http://1.2.4.5/api.php?getServices={"account":"12345"} I have attempted multiple different ways to implement this but had no luck so far and I can't seem to find any information about it online, could anyone give me a hand? Thanks so much in advance. Php can't modify a URL and open a new tab. It is a browser specific...

Why running Kubeadm cluster on AWS is failing very often?

Why running Kubeadm cluster on AWS is failing very often? I have created a Kubeadm cluster on AWS(Ubuntu) instance. I have deployed my application on it. My cluster has been failing and returning errors very often. I have attached screenshot. Please check it. This is the third time which happened to me. I have to reset my cluster every time. Can you please suggest any method or solution to overcome this problem? This is the error message Posting a screenshot is astronomically unhelpful; what are the apiserver's container logs? How many apiservers do you have in your cluster? What is in the kubelet 's logs? What is in journalctl ? Do you have a load balancer in front of your apiserver? – Matthew L Daniel 2 days ago kubelet journalctl By clicking "Post Your Answe...