javac : command not found

I have installed java in my CentOS release 5.5 machine using the command yum install java. But I am unable to compile a class using javac. Do I need to install any other package? I have tried to...

Java - find tzdata version in use regardless of JRE version

We have a simple utility app that reads all the time zone data used in a JRE and displays it all in a simple table. We need to use an older version of the JRE (6_24) for an upcoming product...

what is arm-linux-gcc and how to install this in ubuntu

In compiling qt I found that there is a qws target called arm-linux-gcc. I looked around a bit but unable to figure out how and where to find this. I tried installing and apt-cache gave me...

PHP unable to run MYSQLI functions on Amazon EC2 micro instance

I'm just now implementing a PHP <-> MYSQL interface. The instance seems to be reporting that the MYSQLI plugin is not installed, however, all other indications are contrary. My Code: <?php ...

How do I configure php to enable pdo and include mysqli on CentOS?

PHP Version 5.3.3 on CentOS (x86_64, RHEL 6) Apparently my PHP installation was configured to exclude Mysqli and disable PDO for some reason. Therefore, I believe this is what's causing them to...

How to update the timezone for the timestamps (created_at and updated_at) managed by Laravel Eloquent?

I have a server in GMT but I want to update those fields ( created_at and updated_at ) to save timestamps in PST. I've already did some tests trying to accomplish this but none of them were...

Duplicate Package - update / upgrade - Centos

When I try running yum update on a CentOS 6.3 box, I am getting errors, and says to run yum check. The output of yum check is: ➜ ~ yum check Loaded plugins:...

apt-get install tzdata noninteractive

When I try to apt-get install -y tzdata the command line option for picking timezone shows up. I am trying to use this in a script to do some setup, how can I make the apt-get run without user...

How can I debug a Tcl 8.6 error in clock.tcl

In one of our NaviServer/OpenACS instances we often run into the following error. After a restart, the error is gone, but will reappear (under circumstances that I have not understood yet). It...

Docker container killed after Ctrl +C

I have a nginx and php-fpm containers. When I'am in my php container in a projet and I exec any command (like vendor/bin/behat or composer update) who takes time and I click on CTRL+C. I'm...

Default timezone for all docker containers

I am using Ubuntu OS. Using below command I can see the date and time when a container was created. $ docker inspect httpd | grep Created Created": "2019-09-22T05:46:42.109648817Z", I can see...

CVAT(Computer Vision Annotation Tool) installation issue

I'm trying to install CVAT and I'm following this installation guide: https://github.com/opencv/cvat/blob/develop/cvat/apps/documentation/installation.md#windows-10 I installed Docker and Git as...

How can we install google-chrome-stable on alpine image in dockerfile using dpkg?

I am trying to install google-chrome-stable on alpine image using dpkg. However, the dpkg is installed but it does not install google-chrome-stable and return this error instead? Is there a way to...

Rename volume in docker compose, with docker derived from postgres

I have this docker-compose version: '3.7' services: app-db: build: context: ./ dockerfile: Dockerfile-pg image: app-pg:1.0.0 restart: always environment: ...

Cannot dockerize a .net core 3.1 worker service that runs on OS X

I have a .net core 3.1 worker service that properly runs on my local, which is OS X catalina 10.15. However, when I try to dockerize it, it fails to build on this line of Dockerfile: RUN dotnet...

How to avoid question during the Docker build?

I am building an Ubuntu 18.04 based Docker image. It is building ok but before finish I receive in the Powershell console: Configuring tzdata ------------------ Please select the geographic...

Get local time zone name on Windows (Python 3.9 zoneinfo)

Checking out the zoneinfo module in Python 3.9, I was wondering if it also offers a convenient option to retrieve the local timezone (OS setting) on Windows. On Linux, you can do from datetime...

Firefox(headless)+selenium cannot access internet from docker container

I have tested the internet connection by wget https://www.google.com and it worked from inside the docker. But, when I run a headless firefox with selenium python binding, selenium throughs the...

How to upload large docker images to google container registry?

I'm creating a lap image from this (https://github.com/ulsmith/alpine-apache-php7) and in my application, I have a 2.5 GB folder of images the image is built successfully but when I try to push it...

Alpine 3.8 Docker image: Enabling SSL on libmongoc

I am currently building a base image for my project. The project is using mongodb. I've successfully created the image but an error shows up when I try to call the endpoint which is related with...

`docker build` hangs based on order of install

Given this Dockerfile: FROM ubuntu:20.04 RUN set -ex && apt-get update RUN set -ex && \ apt-get install -y \ git RUN set -ex && \ apt-get install -y \ cmake ENV HOME_DIR...

exchangelib and pyinstaller - zoneinfo - tzdata - UTC issue

In my python project, I'm using exchangelib and I needed to create an exe file. Using pyinstaller --onefile I had UTC errors (in general tzdata)- "No timzone in key UTC". Simplifying all and...

Electron builder fails to get the proper version of fpm ; it downloads the version for x86,but it needs the arm64 version

I would like to install ferdi inside docker on my jetson nano (arm64). Below u can see the dockerfile that I have written with the help of @https://github.com/vraravam. Unfortunately there is an...

R error message: Timezone database not found - package tzdb

I got a new error message in R this morning when I tried to use the package "tzdb": "Error: Timezone database not found at "C:/Users/jonand/Documents/R/win-library/4.1/tzdb/tzdata" I am using R...

How to combine two shell.nix files?

I have the first shell.nix file: { pkgs ? import ./nix { } , useClang ? false , ae_name ? "ae" }: with pkgs; (if useClang then tvb.aeClangStdenv else tvb.aeGccStdenv).mkDerivation rec { name =...

How to fix "Illegal option" error when compiling a dockerfile?

I have an application in dockerfile where it is necessary to call a .sh file to download packages, but there is always an error when calling this file. My dockerfile is: FROM alpine:3.12 as...

How can I install php8.0-ssh2 from an Alpine Docker image

Here is the Dockerfile (see below) that I use for my projects. Could you explain to me how to install php8.0-ssh2 from this Dockerfile. FROM php:8.0.0-fpm-alpine ARG UID ARG GID RUN apk add...

'poetry install' command fails; *.whl files are not found

I am managing dependencies in my Python project via Poetry. Now I want to run this project in a machine which is different from my dev machine. To install dependecies, I simply run this command...

UnsatisfiableError while installing Miniconda

I wanted to reinstall Miniconda. I have first removed the entire Miniconda install directory, edited the bashrc file to remove the Miniconda directory from the PATH environment, and removed the...

An error occurred while packaging. Using pyinstaller

I'm trying to build a python file into a exe file. I don't get it since it builds on some days and gives errors on others. The python script works normally when I run it in CMD or Visual Code. I...