Category "linux"

AWS workspaces Golden Image Linux - Adding provisioned user to docker group

I created a linux golden image for aws workspaces with docker installed on it. I provisioned the workspace bundle to an AD user. docker version gave - Client:

PThreads is not providing a program speedup over serial code

I am creating 2 programs to test the differences in run time of serial matrix multiply vs that of parallel matrix multiply. The parallel code that I have writte

Script to create swap partition fails when running automatically

I am creating a cluster of machines in AWS (Amazon Linux 2) using terraform by utilizing the user_data argument under the aws_instance resource. Part of the scr

ORA-12546: TNS:permission denied error connection to remote oracle server

I have two web application and Oracle servers. Web application server has the following details: Linux server (LAMP) oci8 PHP 7.4 Oracle Database server has the

Can I run cloud init as a different user than root?

I am trying to run cloud init as a different user than root, because of permissions problem when using git. Is there such a way?

relocation against xxx in read-only section '.text' - wrong compiler or linux setup in SUSE?

I'm not a frequent user of Linux and I think I did something wrong. This is the code for a test dynamic library ".so" I'm generating. class InternalClass { publ

How kernel know which driver to be called when we are calling any socket from user-space?

I am using IWD as a wireless daemon in userspace. Driver and firmware are loaded. When the socket is called by IWD using nl80211, it passes to nl80211 and than

What is the most efficient way to copy many files programmatically?

Once upon a time long ago, we had a bash script that works out a list of files that need to be copied based on some criteria (basically like a filtered version

Module failed to start Ansible

I'm new in Ansible. I'm working on an Ubunto machine. On the VM, I installed Ansible along with to apply play books to. When I run a playbook I receive the fol

VirtualBox Screen Resolution Too Small During Installation [closed]

I'm trying to install a new Ubuntu distribution using VirtualBox, but on this particular distro (Pop!_OS), the initial screen resolution in Vi

Launching vim from python in a new terminal and waiting for it to close

I am trying to create a python script that Launches a new terminal window (in my case terminator) Open vim on a temporary or designated file Waits until vim/te

Selenium/Powershell/Linux: Connection refused [::ffff:127.0.0.1]:39343 (localhost:39343)

I'm trying to use a chrome driver on a linux virtual machine. I use selenium on powershell. When I run the following command: $driver = Start-SeChrome Here i

error: failed to solve: failed to fetch oauth token: Post "https://auth.docker.io/token": dial tcp: i/o timeout

I'm trying to build a docker image for my java file on my M1 max MacBook, my dockerfile: FROM openjdk:8-alpine COPY . /src/java WORKDIR /src/java RUN ["javac","

GNU parallel - running command through multiple ssh jumphosts

I need to run commands on multiple hosts accessible via multiple jumphosts. I have a slf file ssh -i /root/.ssh/id_rsa -nJ jumphost1,user@jumphost2 user@worker1

Pods CPU getting Throttled even when CPU usage is less than requested

CPU is getting throttled even when the CPU usage for the container is below request. From what I understand pods are scheduled at nodes where there is sufficien

Bluetooth on raspberry 4 without Linux

I'm working on non-Linux OS and now trying to enable bluetooth on Raspberry Pi 4. I have some necessary drivers such as: gpio, uart (pl011 and mini-uart), mailb

X11 Copy is returning only returning GDK_SELECTION, for CLIPBOARD Selection

I am writing a component which has to monitor changes in CLIPBOARD for a X11 window. auto display = XOpenDisplay(NULL); auto screen = DefaultScreen(mdisplay); a

NPM Installation Issues on Ubuntu: Installing Expo-Cli

I ran the command: npm install expo-cli and got these errors. I already upgraded npm on ubuntu. Do I need to install these tools one by one or there's somethin

libstdc++.so.6: version `GLIBCXX_3.4.26' not found on Linux

I was trying to load Seurat package in rstudio and got this error Error: package or namespace load failed for ‘Seurat’ in dyn.load(file, DLLpath = D

Error message "go: go.mod file not found in current directory or any parent directory; see 'go help modules'"

I just updated to the new version of Go - Go version 1.16.2 Linux/amd64 and am getting an error when I build a Hello, World! example: go: go.mod file not found