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
2
votes
1answer
65 views

archive contents of a reviewboard server as read-only

My team was using an Ubuntu box to host an instance of Reviewboard 2.5.2 that we used for a few years before migrating to a Bitbucket service in the cloud. The machine was maintained by my predecessor ...
6
votes
3answers
26k views

docker “Cannot mkdir: Permission denied”

I'm trying to run wordpress inside docker. I've been following this tutorial : https://www.sitepoint.com/how-to-use-the-official-docker-wordpress-image/ But when I run this command : docker run -e ...
6
votes
1answer
1k views

Are NixOS and GuixSD the incoming Linux distros of DevOps?

The main advantage of these distros is the declarative approach which allows for setup to be done in the same way as you would configure a Vagrantfile or Dockerfile. In the way that Docker replaced/...
1
vote
1answer
369 views

Best method of retrieving environment information via Salt Stack?

I have been tasked with using Salt Stack to find out what files/services exist in each of our environments (Test, UAT, Production). The Salt master can speak to all servers in Test and UAT (...
1
vote
0answers
284 views

Running MySQLite3 with PHP PDO in a Docker Container [closed]

I'm currently trying to build a site in a Docker container running in an Ubuntu VM, which has Apache and PHP installed already. I want to be able to access Sqlite3 features with PHP using PDO. ...
5
votes
3answers
1k views

How to create Golang Linux binaries using a Windows host

When go build is issued on a Windows host a .exe binary is created. How to ensure that a Linux binary is created on a Windows host? The following was tried, but did not solve the issue: GOOS=linux;...
2
votes
1answer
876 views

Incorrect timezoneID inside docker container

I have created a docker image from the base Centos7 image and while running the container from it, the time and timezone were not in sync with my host. To give the container the same timezone as that ...
5
votes
2answers
3k views

How to automate Powershell's interactive Get-Credential method?

I am trying to write a python script which automates the powershell's Get-Credential method. Here is something i wrote: import subprocess COMMAND_LINE = 'powershell' powershell = subprocess.Popen(...
2
votes
1answer
2k views

Ansible tmp files created with odd permissions

I have an ansible playbook which can be simplified to this: - name: Provision server hosts: all_hosts become: yes ...
1
vote
1answer
3k views

After removing Docker container, why is it automatically re-created?

I'm using ubuntu-16.04 desktop and installed Docker-1.5-1 and docker-engine-17.05.0~ce-0~ubuntu-xenial, in which I installed openmedicus/phplist. My aim is to remove the container, and the image as ...
4
votes
2answers
1k views

How to detect what interface has private IP in Ansible

I plan to reconfigure iptables on our servers (mostly CentOS 7, some CentOS 6) with different network configurations, some on 1Gbit interface, some on 10Gbit, some with VLANs and some with configured ...
8
votes
1answer
129 views

Debug BackendConnectionErrors from Kubernetes Service LoadBalancer sesrvice

We recently moved some of our production infrastructure to Kubernetes. Many pods are exposed through a LoadBalancer service on AWS. This creates an ELB, registers each node in the cluster with the ELB,...
3
votes
2answers
11k views

How to get memory usage per process with sar, sysstat?

Can I get memory usage per process with Linux? we monitor our servers with sysstat/sar. But besides seeing that memory went off the roof at some point, we can't pinpoint which process was getting ...
5
votes
1answer
211 views

Advantages of Linux Containers over Docker

I'd like to understand the differences between Linux Containers and Docker, especially what kind of advantages Containers have in comparison to Docker.
5
votes
1answer
2k views

How to connect a build node to a Jenkins master?

I'd like to connect a build node to the Jenkins master. Ideally without using a web browser or being in front of the physical machine. What would be the easiest way to achieve that?
65
votes
8answers
115k views

How do you back up Jenkins jobs & master configs?

I'd like to backup all Jenkins jobs and config files. What's the easiest way of doing it?

1 2
3