Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
2 views

How to install and set ufw for Debian with Ansible?

Say I have a simple, local, Ansible playbook: - name: Establish a Debian-LAMP with some extras hosts: 127.0.0.1 connection: local become: yes tasks: - name: update the apt package index i....
0
votes
0answers
4 views

Can php-{cli,curl,mbstring,mcrypt,gd} be installed with Composer?

I have yet to learn Ansible hence I need a way to install php-{cli,curl,mbstring,mcrypt,gd} automatically and better than the current: apt-get upgrade php-{cli,curl,mbstring,mcrypt,gd} Can php-{cli,...
1
vote
1answer
41 views
+50

How frequently do PaaS:VPS agencies upgrade OS_release in comparison to PaaS:shared-webserver?

I know that in a In PaaS:shared-webserver service a user could have the OS of its server environment release_upgraded in 8 or 12 years or so ! For example, I host a few sites on a particular host that ...
0
votes
1answer
14 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 "...
1
vote
0answers
53 views

Is ArchLinux + Ansible for an all-default LAMP generally stable?

I usually establish IaaS LAMP environments with non rolling-release Linux OSs such as Ubuntu/CentOS but I consider using rolling-release ones like ArchLinux instead. it might be more efficient to me (...
1
vote
1answer
40 views

Why are IaaS hosting services are usually fixed-priced and PaaS are usually dynamically-priced?

Basic plans in IaaS host-providers like DigitalOcean and Linode are usually fixed-priced and basic plans in PaaS host-providers like Microsoft Azure or Amazon Web Services are usually dynamically-...
1
vote
1answer
26 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 ...
0
votes
1answer
38 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 --- ...
0
votes
3answers
42 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 ...
-2
votes
2answers
16 views

How to expose a port+url visible to one machine to another [closed]

down vote favorite Essentially I have 3 machines: A, B and C I have access to A and B A can see B (and vice versa) and B can see C (and vice versa). A can't see C (not part of the same network). I ...
0
votes
0answers
13 views

Docker for Win10 + Linux Containers + tmpfs

I've been using WSL as a GNU/Linux development and test environment for a couple months (love it), but I have just run into my first major snag while playing with nuster and seeing much slower than ...
0
votes
0answers
5 views

Consul reporting file missing but file exists

I am trying to register a health check using the a config file but I have ran into an issue where it says a script file does not exist but it clearly does when I manually check if it exists. Checks ...
1
vote
0answers
38 views

How do I return just the full path of a file found with the find module in Ansible?

This has been reworded, expanded upon and clarified via an update late on 11/9/18. I request it be upvoted now that it has enough code. I want to find a softlink (to another file) in the $PATH ...
1
vote
1answer
22 views

How to redirect tomcat logs TO console?

So I have a problem that is the reverse of what everyone else on the internet wants.. I want to take tomcat logs that are being written out to /usr/local/tomcat/logs and have them be output to console ...
0
votes
3answers
32 views

Availability/Reproducibility of Ubuntu Minimal as Docker image

While for Debian you find on Docker Hub "slim" distributions, it seems not the case with Ubuntu. Now there is a "minimal Ubuntu for public clouds" distro from Canonical, but I can find just cloud VM ...
4
votes
2answers
75 views

Docker security risks passing secrets over environment variables

I'm new to Docker and want to put my Django web application into containers. For the last couple days I'm struggling with passing credentials safe to containers. Online there is always the hint ...
5
votes
1answer
134 views

How to keep configuration files automatically during apt-get upgrade or install?

When performing and apt-get update; apt-get upgrade -y on a server I encountered the message: Setting up sudo (1.8.16-0ubuntu1.5) ... Configuration file '/etc/sudoers' ==> Modified (by you or by ...
2
votes
2answers
43 views

Getting data from crashed docker container

I am having docker container with Ubuntu installed which was running with Nvidia docker But now I connected that HDD in a different computer. Now After typing following command in newly assembled ...
2
votes
1answer
52 views

Docker won't create a bridge network without being given an explicit subnet

The problem The problem is that this happens: $ docker network create alpine4 Error response from daemon: could not find an available, non-overlapping IPv4 address pool among the defaults to assign ...
0
votes
0answers
24 views

Jenkins Fatal Exception

I have installed my jenkins on Linux machine with 2.73.1 version. Now my most of the jobs are getting failed due to same reason. AU bin/jobs/Sync.class A .settings A ....
-2
votes
1answer
14 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 ...
3
votes
0answers
193 views

How to pass a /dev/disk device on macOS into Linux Docker?

I've connected external HDD via USD on macOS, and I'm running Ubuntu's Docker container as: docker run -it --device=/dev/disk3 --privileged ubuntu bash but the device is not present in the container:...
0
votes
0answers
10 views

How can I see the deployed container in Azure web app for containers

I have started using the web app for containers could not locate where the container is. And I want to see the contents of the deployment. Where are they located? I know it is there as the site works. ...
0
votes
0answers
547 views

How to debug a docker on web app for containers in Azure which does not start

I am able to run my containers locally. I published them to container registry. And the deployment from container registry to web apps for containers is successful. But the service does not turn ...
0
votes
0answers
177 views

Running a powershell script via Jenkins on a Linux host

I have a powershell script cloned into my workspace from a bitbucket repository. If I login to the Jenkins server cli I can run it by doing cd /var/lib/jenkins/workspace/powershell pwsh ./psscript....
1
vote
1answer
41 views

Re-initialize etcd-cluster completely (on coreos)

Over the past updates (espcially the update to etcd-wrapper: https://github.com/coreos/coreos-overlay/tree/master/app-admin/etcd-wrapper) my etcd-cluster with five machines broke. Now I'm trying to ...
-2
votes
1answer
35 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 ...
0
votes
0answers
70 views

How create ftp and ssh access for users and keep overall environment safe

//edit In practice I would like to create a shared web hosting and I wonder how create ftp and ssh access for users and keep overall environment safe. Docker will be ok for this purpose? How use ...
0
votes
1answer
27 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 ...
0
votes
1answer
213 views

Join a Linux Docker swarm with a local Windows Docker for test purposes

I'm currenlty trying to connect/join a Linux Docker Swarm cluster with my Windows machine in order to test a stack without sending the stack over and over to my test cluster under Linux. My problem is ...
3
votes
2answers
56 views

Deploy two independently hosted services in production at once without any downtime

I have two different services. Let's say Service A and Service B. Service B is dependent on Service A. Both code bases are hosted in separate repo in Bitbucket and code bases are maintained by ...
0
votes
0answers
49 views

Do you need to install MySQL on Linux separately from MariaDB?

I'm compiling MariaDB from source, and trying to test the DB following the instructions, and I keep getting errors about mySQL (which I thought packages were installed along side MariaDB) Failed ...
3
votes
2answers
183 views

Ultimate docker permission solution

I'm using docker some time and I like the conception very much. But I found a thing is a big problem for me. I'm talking about permissions. While I'm not worrying about production, setting up my ...
5
votes
2answers
127 views

How to automate rolling upgrades for ec2 running linux behind elastic and/or application load balancer?

Would like to ask for recommendations on ready automated solutions or templates for rolling ec2 instance upgrade on AWS, requiring a reboot with ELB/ALB. Specifically required to perform the ...
1
vote
1answer
181 views

Windows Docker in swarm with Linux nodes connection issue

I have the following setup for my docker swarm: three Linux master nodes one Linux slave nodes Windows slave node They are connected with an overlay network. Within the linux nodes everything works ...
2
votes
1answer
1k views

Permission errors with non-root USER when running on Linux

I have been getting some unexpected failures with the execution of my Docker images when running on my Ubuntu 16.04.3 LTS machine. I'm using Docker version 18.02.0-ce (edge), installed from apt. I've ...
6
votes
6answers
209 views

In the HashiCorp stack, where's the appropriate place to add users?

I'm in the process of building some custom Linux images using HashiCorp's Packer, which will later be deployed to Azure using HashiCorp's Terraform. The VMs created from these images will need to have ...
1
vote
2answers
893 views

Creating a cron job with Ansible (ERROR! 'cron' is not a valid attribute for a Play)

I am relatively inexperienced when it comes to Ansible however I have previously created playbooks which will create a cron job successfully. For the life of me I cannot work out what is wrong with my ...
3
votes
1answer
35 views

Is it possible to securely delete a file from a virtual disk in a cloud provider?

Considering that virtual hard drives are generally formatted using something like ext3 that abstracts away from the underlying block device, which in and of itself is an abstraction over the top of a ...
1
vote
1answer
1k views

Apache container cant access php files mounted in /var/www/ - 403 error

I want to run my php website in a container with apache and php7 I am using this docker image : https://hub.docker.com/r/nimmis/apache-php7/ I run Fedora so I enter the example command given in ...
2
votes
2answers
2k views

How can a Windows server be a slave to Jenkins running on Linux when there in an error installing the slave-agent.jnlp file?

I want to have a Windows Server 2016 slave node with a master Jenkins (version 2.89.2) running on Red Hat Enterprise Linux 7.x. I am trying to install the slave-agent.jnlp file from the Jenkins web ...
4
votes
1answer
51 views

What's missing from this simple recipe that creates a user?

I've spun many boxes in the cloud before, but was growing tired of going through the same dance; and as I'm trying to get familiar with Chef, I figured, that's a good use case to do a little learning. ...
5
votes
1answer
88 views

Pause/Suspend guest in KVM without virsh and libvirtd

I have installed KVM without libvirt/virsh and virtualmanager. Packages which installed are kvm qemu-kvm bridge-utils libguestfs-tools How can I pause/suspend VM in this case?
5
votes
2answers
3k views

Difference between chroot and Docker

I don't understand the difference between docker and chroot. Yes its nice in terms of the packaging the registry. But somehow I get the feeling its just chroot with extra bells and whistles. I know I'...
-1
votes
1answer
78 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-...
0
votes
2answers
54 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 ...
7
votes
2answers
1k views

Does Docker allow containers to be OS agnostic?

We currently use a Windows based server to host 2 VMs. One VM uses Windows with a Windows app and the other VM uses Linux with a Linux app. Is the below scenario possible? Bare server with Windows ...
3
votes
1answer
341 views

Build FreeBSD Docker image using Ubuntu host OS

I know that in generally it is impossible to build FreeBSD Docker image on Linux host OS due to different kernels and sys calls. Relevant discussion. However, I would like to know maybe there is a ...
2
votes
2answers
68 views

Automatic production deployment for a Node.js app on RHEL 7?

I am looking for some way to have a maximally simple(no Jenkins or anything like that) automatic production deployment for a Node.js application on a RHEL 7 system. The caveat is: At the organization ...
2
votes
1answer
46 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 ...