Category "ubuntu"

Disk usage is increasing with puppeteer - chromium installed using snap

I have installed chromium using snap install chromium on my Ubuntu server with Arm cpu because when I wanted to install puppeteer using npm it throwed errors, I

How to create an alias in a shell to go to parent directories

I'm wondering how to create an alias with endless arguments for going parent directories without alias name! Currently I have written this function to achieve

How to run 'dotnet dev-certs https --trust'?

I'm new in ASP.NET. Environment: Ubuntu 18.04 Visual Studio Code .NET SDK 2.2.105 I'm in trouble with some command running. I was reading tutorial at https

The `mount --bind` command fail in Docker container on Ubuntu

In my application on Ubuntu 20.04, I need to execute the following commands due to mount directories for chroot: % execute outside the Docker container # cd /tm

The `mount --bind` command fail in Docker container on Ubuntu

In my application on Ubuntu 20.04, I need to execute the following commands due to mount directories for chroot: % execute outside the Docker container # cd /tm

"sudo: gcloud: command not found" when running Google Cloud SDK

Running Ubuntu. Installed Google Cloud SDK via: $ sudo curl https://sdk.cloud.google.com | sudo bash $ exec -l $SHELL Running "gcloud" works just fine. R

using mogrify on lot of images gives error

I am using mogrify to resize the images in a directory using the following command mogrify -resize 100x100 *.jpg due to the huge number of images, I get

Kotlin could not find the required JDK tools in the Java installation

When running ./gradlew clean build I get following message: > Task :compileKotlin FAILED FAILURE: Build failed with an exception. * What went wrong: Execu

Kubernetes does not start after restart system (Ubuntu)

I installed K8s on my two Ubuntus in VirtualBox (Master and Node01). After installation (I proceeded according K8s doc site) I typed kubectl get nodes and got b

running python script as a systemd service

I have a python script myScript.py which is writing on a file every 2 second. But when I want to run this script as a systemd service, service works but not wri

Python script running as screen process gets "Killed" on Ubuntu / AWS EC2

I want to have a python script running on my Ubuntu instance constantly. It's an AWS EC2 a1.medium instance and the script is taking pretty much 100% of the CPU

Jekyll error on Ubuntu 22.04 (wrong number of arguments)

Previously, jekyll was working correctly After I upgraded my OS to Ubuntu 22.04 my local jekyll gives me this error. bundle exec jekyll serve Configuration file

Problem with building Docker image from Dockerfile

my task is to create a docker container from my own Dockerfile using ubuntu:18.10 and run pdflatex in this container. My system is MacOs, my Dockerfile looks li

Add dependency between two systemd services to start again if one of them is killed

I have two systemd services A.service and B.service in /etc/systemd/system/ directory. Below is the configuration in A.service [Unit] Description=A Service [Se

How I can load a font file with PIL.ImageFont.truetype without specifying the absolute path?

When I write the code in Windows, this code can load the font file just fine: ImageFont.truetype(filename='msyhbd.ttf', size=30); I guess the font location i

intel i225-v linux driver(ubuntu 20.04)

after kernel downgrade, every device drivers doesn't work. I want to download i225-v linux driver, and search this pagehttps://www.intel.co.kr/content/www/kr/ko

Update MPI to the newest version

I'd like to upgrade my MPI to the newest stable one, that is the version 2.0.1. Before tring on my own I checked if something useful is on the Open MPI site. Th

How to change ip for ubuntu host in java [duplicate]

There is an ubuntu host with multiple ips. I want to make periodical change its ips in my java application. But I do not know how to do this.

Wireguard is not updating it's config when started by wg-quick up wg.conf

I am trying to change the configuration of wireguard client configuration on my Ubuntu system. It is running without any problems for months now. But now I want

Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding, when trying to start uwsgi

I am trying to start my uwsgi server in my virtual environment, but after I added plugin python3 option I get this error every time: !!! Python Home is not a di