Skip to main content

Questions tagged [linux]

Linux is the generic term for a UNIX-like open source operating system based on the Linux kernel. Use this tag for questions about DevOps practices, processes and tools in Linux environments.

Filter by
Sorted by
Tagged with
0 votes
1 answer
247 views

Terraform wanting to redeploy azure vms for 'no' reason

I got a VM defined in terraform like this: resource "azurerm_linux_virtual_machine" "vm" { name = var.vm-name resource_group_name = var....
dahol's user avatar
  • 111
0 votes
1 answer
28 views

What would be the monthly hosting cost for eSchool Smart System [closed]

I have no idea about DevOps. Sorry in advance if the question is something not relevant. I have to propose a cost of yearly/monthly for a system. The system will have two versions. Web (React & ...
Rashed Rahat's user avatar
0 votes
1 answer
1k views

How can we setup the services in my EC2 instance to startup automatically on boot?

When ever I restart my EC2 instance I have to manually use the command systemctl start <service name > to start the service. Is there any option to automate this thing in the Linux platform?
AV Reddy's user avatar
0 votes
1 answer
2k views

How to assign static IP to Kubernetes cluster?

Is there any way to assign static IP to Kubernetes cluster, in which any user can able to access its application over static IP only. for an example, I have set up a cluster over 192.168.0.131 (master)...
Bhargav Lalaji's user avatar
0 votes
1 answer
1k views

Ansible No such file or directory error message for any executable in Amazon Linux AMI

I'm trying to run this command in a Amazon Linux AMI instance - name: Run docker shell: systemctl enable docker && systemctl start docker And receiving this error message "stderr&...
Joao  Vitorino's user avatar
0 votes
1 answer
772 views

any way to limit "docker logs" output by default?

Context* I forgot to pass the "--tail" options to the "docker logs" command when inspecting a running container. The affected container dumps tens of millions of logs. The command ...
earizon's user avatar
  • 138
0 votes
2 answers
4k views

Can I upgrade a docker image/container from buntu 18.04 to ubuntu 20.04?

I have a host ubuntu 20.04 running my software on docker with a container derivated from ubuntu 18.04. I would like to use ubuntu 20.04 for several reasons (like the better software on 20.04). If I ...
Andrea Giaime Bodei's user avatar
0 votes
1 answer
67 views

What are the daily job duties of a devops? [duplicate]

I have been working for linux management over 10 years. In the last 5 years, I have added a lot of coding experience through software development like php, ruby, go, etc. I wanna be a devops, but I ...
brian's user avatar
  • 1
0 votes
1 answer
7k views

How comes a GitLab CI/CD job cant' find its artifacts?

In the Open Source ventilator project, we aim to provide those who focus on testing with a ready-to-go flash file for the Arduino controller board. While the binaries seem to be there, for some ...
Ta Mu's user avatar
  • 6,782
0 votes
1 answer
1k views

Which Jenkins file is responsible for Enable cache setting

I want to know how can I modify the below setting from Jenkins server and not UI: http://XXXXX:YYYYY/configureSecurity/
arielma's user avatar
  • 339
0 votes
2 answers
86 views

How to run Ansible command to update imunify360 settings

How can I use Ansible to run the following CloudLinux Imunify360 commands properly on CloudLinux 7 (similar to CentOS7)? I tried different ways to "escape" the colons in the commands and it doesn't ...
jwalker's user avatar
  • 27
0 votes
1 answer
47 views

Where is Puppet's enviroments directory on Amazon Linux2?

I am using Puppet version 3.8.7 on Amazon Linux2, trying to find the directory containing the Puppet environments. I tried to find it with the find command looking for files named "production" or ...
doug's user avatar
  • 523
0 votes
1 answer
67 views

Run command from Jenkins to Linux Server

I have a HAProxy server setup in Azure Linux Machine. How can I run a HAProxy start/stop command from Jenkins to multiple Linux server?
ankit thakkar's user avatar
0 votes
2 answers
22 views

How to analyze the file activities due to process?

I need to analyze the file i/o operations caused due to a process. So I would like to know, which all files are affected by this program. Is there a tool for this particular use case?. One of our ...
Arun Mohan's user avatar
0 votes
1 answer
634 views

Install minimal dependencies with apt

I have a simple Dockerfile which looks like the following FROM debian:stretch-slim as builder COPY . my_project/ RUN apt-get update && apt-get install -y build-essential libpqxx-dev libtbb-...
Madden's user avatar
  • 213
0 votes
1 answer
27 views

What is the common term for Apache virtual hosts or Nginx block systems?

A webserver environment as with Apache or Nginx includes a type of file (or a file system) that I can call a webserver substrate; In Apache it is called a Virtual host and in Nginx I can call it a "...
user avatar
0 votes
2 answers
102 views

What Ansible does in cases there's a conflict between OS version and some software Ansible manages?

Say I use an IaaS cloud on which I installed Ubuntu 18.04 manually via the cloud company's OS installation tool and I ought to establish an all-ansible LAMP environment that will include some more ...
user avatar
0 votes
3 answers
90 views

SSH tunneling to hosts deployed behind firewalls

I'm working on a deployment that will require me to place Ubuntu servers that monitor industrial equipment at various sites and behind firewalls that are out of my control. I need to maintain SSH ...
Neal L's user avatar
  • 1
0 votes
2 answers
76 views

CentOS 7 SSH login with Keys Authentication

Is there any possibility to create one master account (for one master laptop for example), from which I can log in to all accounts available on the server ? My server has Keys Authentication enabled ...
Tomas's user avatar
  • 9
0 votes
0 answers
3 views

Rundeck Community alternative sugestion

I’m using the Rundeck community version on a VM to mainly run remote scheduled commands. There are many and on several different remote servers and some of them run every minute. The problem I’ve been ...
timeuz's user avatar
  • 13
0 votes
0 answers
6 views

bulding docker image for an arm32v7 processor

I managed to build a working docker image on my development laptop, but got an exec format error when I tried to run the docker image on the PC that the container shall run on. My dev PC is an ubuntu ...
pjoltergeist's user avatar
0 votes
0 answers
9 views

Why aren't the iptables `pkts` and `bytes` count getting updated for Docker Containers, on receiving tcp packets?

I'm currently running NixOS-23.11, without any special configuration for docker, just the default install from nixpkgs. I have the following Dockerfile definition: FROM alpine:latest COPY ./index.html ...
Noel Kwan's user avatar
0 votes
1 answer
590 views

Ansible - 'loop' requires a list and got a list, but doesn't work

Minimal reproducible example: role/defaults/main.yaml: node_sysctl: kernel.shmall: 197951838 kernel.shmmax: 810810728448 kernel.shmmni: 4096 role/tasks/main.yaml: - name: Tune sysctl sysctl: ...
adoring_ellis's user avatar
0 votes
0 answers
105 views

Permission denied when mounting volume with podman in fedora

I use a docker-compose.yml file to boot my containers. My container mount to a external volume which targets a directory inside my user profile (postgres database files). However, after switching from ...
mesx's user avatar
  • 101
0 votes
0 answers
18 views

How to make master node and worker nodes before installing kubernetes on Ubuntu?

I am trying to install kubernetes on my Ubuntu 22.04 os. I found blogs and videos in Youtube but failed and deleted all. I had hard time when making master node and worker nodes because there was no ...
ekfqlc's user avatar
  • 1
0 votes
2 answers
120 views

Using docker as a substitute for VM for testing

I'm new to docker and I want to start using it in the following scenario. For example, I need to implement an Asp.Net Core Web API and deploy it to a linux system. The development is done on a Windows ...
Max's user avatar
  • 101
0 votes
2 answers
554 views

show running docker containers nicely formatted

Default layout of output from docker ps is somewhat unwieldy ... how to get a better presentation of all locally running docker containers from terminal on linux ? For context below is output from ...
Scott Stensland's user avatar
0 votes
1 answer
119 views

How to make a CI/CD of an ASP.net core app to Linux compute engine instance

I'm using Google cloud, I have a linux VM up and ready for use, I have an ASP.net core web app on Azure devops. I have configured the build pipeline for this webapp, now I want to automate its ...
Damien Doumer's user avatar
0 votes
0 answers
33 views

Implementing the right conditions for a yum command for centos5 in Ansible

I'm currently working with a centos5 host and I have to install some packages with yum. Unfortunately, as far as I know, centos5 doesn't support Ansible's yum module, since it requires python2 ...
Wander's user avatar
  • 9
0 votes
1 answer
590 views

Where is located mysqldump log file on Linux/Ubuntu

I am neither a DB administrator, nor a DevOps but I need to migrate a very large table (~500M rows) from one MySQL schema to another. For doing so, I use mysqldumpbackup tool. Also, since the DB is an ...
Armine's user avatar
  • 71
0 votes
1 answer
57 views

Ansible user_module exit with "rc: -25" if UID is large

Ansible user_module exit with rc: -25 if trying to create user with UID provided from Active Directory (AD) domain controller (DC). main.yml - name: Configure local user for example.com user: ...
U880D's user avatar
  • 397
0 votes
1 answer
791 views

how to give a user privilege to run Ansible commands or just an specific tag?

for example, I have a tag named 'installagent' and i want to run this command ansible -playbook -i /path agent.yml --tags installagent from another server via ssh on my Ansible server with user '...
BlackCrystal's user avatar
0 votes
1 answer
1k views

Copying a file with special character & spaces

I have been trying to copy a file from my remote server to AWS s3, but the file name is quite weird and I am not able to figure it out what can I do. I tried using escape characters but that did not ...
Prashast's user avatar
-1 votes
1 answer
73 views

A cloud technology with automatic upgrades of my OS-release and web server release?

I desire a cloud technology that will redund my need of using Vagrant to continuously integrate OS release upgrades (say from Ubuntu 18.04 to 20.04 including all software installed by apt-get --- ...
user avatar
-1 votes
1 answer
388 views

Can't run apt-get update in an Ubuntu 16.04 docker container

Everytime I run apt-get update -y in my Ubuntu 16.04 docker container, I get the following error: Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease Hit:2 http://archive.ubuntu.com/...
Levent Ozbek's user avatar
-1 votes
1 answer
33 views

Utilise AWS IoT on non-supported hardware

Before I dig in too far, is there any way I can use any of the AWS IoT core functions on non-supported hardware? I can use the AWS Node.js libraries that are available (for my hardware), but I don't ...
Steve's user avatar
  • 109
-1 votes
1 answer
597 views

How to avoid and fix the warning from Graphite-manage?

We installed Graphite on our Linux server, and when we started running it, we saw the following warning from the graphite-manage script: graphite-manage syncdb --noinput /usr/lib/python2.7/site-...
yael's user avatar
  • 15
-1 votes
1 answer
987 views

unzip | caution: filename not matched [closed]

I'm trying to unzip multiple files which has a prefix in common service1.zip service-2.zip service_3.zip and so on... Now, when I try to unzip all those files at once using the command unzip service*....
AV Reddy's user avatar
-2 votes
1 answer
34 views

DirectAdmin 2 users same folder

So I'm still a rookie in devops but I am looking for a way where we can link a folder from user1 to a folder from user2. I guess its sort of a symbolic link? How would you do something like that? Or ...
Roy Stijsiger's user avatar
-3 votes
2 answers
2k views

How can CaaS, PaaS, and FaaS users know if the operating system of their server environment is of the newest release?

Please consider this chart a moment; it shows the different hosting models common today: From the chart I learn that CaaS, PaaS and FaaS are three hosting-models by which a user can't control the OS ...
user avatar
-3 votes
1 answer
199 views

Set user in aws

I have a lot of instance in aws.I have build through terraform. I have made scripts of making user(e.g. user1 rather than ec2-user).But i am facing one issue.when i check .ssh/authorized_key. I have ...
MeetGadhiya's user avatar

1 2
3