Questions tagged [deployment]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
2 views

Setting up multiple instances on a single server

I've made a business management software. It runs on Django - Gunicorn - PostgreSQL - Debian - Nginx - Amazon Lightsail. I want to move it to a server I am setting up in my basement on Dell R620. I ...
user avatar
  • 101
0 votes
0 answers
19 views

Imaging a Linux Lab

I am running Xubuntu on my computers in one of my labs. What is the best way to image my master image out to approximately 20 computers? Right now I am just using clonezilla and physically removing ...
user avatar
0 votes
0 answers
53 views

Installing Openstack using kolla Ansible : Internal Server Error

I am installing Openstack (all-in-one) on a ubuntu 20.04 vm with 16GB Ram, 4 vCPUs and 40GB memory. I am following this tutorial. After all steps carried out succesfully, the last one for actual ...
user avatar
  • 117
0 votes
1 answer
129 views

Bash script to restart java application after Jenkins compiling

I'm noob in linux! I have my server and installed jenkins. I need to create bash script, which should run application(or will restart if it has already been started) after jenkins compile it. I tried ...
user avatar
  • 3
0 votes
1 answer
88 views

Deploying applications in old distributions compiled in the new distribution

I have a binary built on ubuntu 20 (in a docker container FROM ubuntu:latest) What if I want to run this binary, for example, in ubuntu 16? I know that it is possible to face the fact that the version ...
user avatar
  • 205
0 votes
0 answers
12 views

How to name a newer version of command, which is not fully compatible with old version

I have two versions of the same command. The newer version is not fully backward compatible with the old version. Should I add version number to the command name in this case like so /usr/bin/foo /usr/...
user avatar
0 votes
1 answer
17 views

What are the existing open source tools to develop on-premise organizational app store on linux?

We have a Linux cluster in our organization and my data science team is developing a number of ML projects to be utilized by teams across the organization. To enable the teams to access the ML models, ...
user avatar
  • 101
0 votes
1 answer
477 views

How to install apt packages into mounted system image (img file)

I need to edit/prepare debian-based Raspbian system image for multiple Raspberry Pi devices. Until now, my modifications consisted in adding or changing existing config files. I wrote script like this ...
user avatar
  • 596
1 vote
0 answers
86 views

Debian packages for continuous deployment

I would like to use Debian packages to deploy software (a web application) to a Debian-based server. For reasons beyond the scope of this question we cannot use Docker (or a PaaS such as Heroku) to ...
user avatar
1 vote
1 answer
478 views

printf -v is an illegal option, in Bitbucket pipeline. And a question about << [closed]

Hello I'm brand new to shell scripting, so sorry if this is trivial. How do you use printf command with the -v option? In our deployment.sh file we have this line printf -v BITBUCKET_COMMIT_str %q &...
user avatar
  • 121
1 vote
2 answers
54 views

Why use Docker images in production when already have VMs? [closed]

I am doing research on which is the most efficient way for serving a production app from a cloud hosting provider like DigitalOcean using linux as server platform. DigitalOcean provides VMs - called ...
user avatar
1 vote
1 answer
40 views

What set of system-wide configuration settings can conflict when installing different applications on a unix-based OS?

Reading this report on containerization the authors mention that: A problem caused by Unix’s shared global filesystem is the lack of configuration isolation. Multiple applications can have ...
user avatar
  • 111
1 vote
1 answer
102 views

Rolling upgrade/deployment for wine?

While I am using wine to run some Windows exe program files on Lubuntu 18.04, I update and upgrade which probably have updated wine. While I am still running the Windows exe programs, I try to run ...
user avatar
  • 90.7k
0 votes
2 answers
40 views

Deployment systems for Linux

My project is based on a Raspberry Pi distro - Raspbian. But I made changes to it. There are a lot of them: changes in config.txt, adding system services, installing new packages, change the image of ...
user avatar
  • 101
0 votes
2 answers
876 views

Recommendations for editing same file on different machines

Our Rails app is scaled at multiple machines, from time to time, we need to change settings at production.yml , right now we have to ssh into each server and do the editing at each machine ...
user avatar
  • 115
0 votes
1 answer
297 views

What's the difference between CMs "push" method (Ansible) to "pull" method (Chef/Puppet)?

I know that some of the advantages of Ansible over many other CMs are these: Ansible's scripts being written in YAML, a simple serialization language. The fact that one doesn't have to install it on ...
user avatar
2 votes
2 answers
9k views

How to install Nitrux OS using znx?

I want to check out Nitrux, which can be "deployed" using znx (how-to here). znx does not seem to open correctly in Fedora, so I would like to deploy it using the terminal. The how-to says ...
user avatar
1 vote
1 answer
405 views

Use rsync to mirror source for website deployment, but not delete selected files in destination

I have been working on this for several days and no matter what I do I can't get it to work. I've read practically every Q&A on StackExchange network about rsync but still not found the answer. ...
user avatar
1 vote
0 answers
36 views

Linux Partition on Different Architecture [duplicate]

I have a Cubieboad 2, Raspberry Pi 3 and an Android Smart Phone. On Cubieboard and Raspberry, I write Cubian and Raspbian. On Android, I installed Linux Deploy and installed Debian armhf. All of ...
user avatar
0 votes
1 answer
19 views

How can we make deployment of personal configuration or startup files easier, with existence of default ones?

I have a follow-up question after https://unix.stackexchange.com/a/435293/674 Suppose I have a personal configuration or startup file in my backup external hard drive or github repository, for ...
user avatar
  • 90.7k
1 vote
2 answers
119 views

Copy multiple files to multiple clients

I want to deploy multiple files on multiple remote machines, what is the best way ( other than ssh's ssh-key ). Is there any lightweight service for this ? For example, I have 15 files which should ...
user avatar
1 vote
1 answer
1k views

Temporarily disable user?

We use continuous deployment to deploy changes to our production host. At the same time we would like to prevent access to the deployment account, except during specific deployment windows. At the ...
user avatar
  • 303
0 votes
1 answer
27 views

Autodeploy selected image from image repository

We have many Raspberry pi deploys where we are manually cloning sd cards. Is there a tool like net boot for RPI or a autodeploy solution? Something like extremly small linux image that know how to go ...
user avatar
  • 101
1 vote
1 answer
86 views

Copy an executable to an arbitrary number of hosts?

How can I copy an executable file to an arbitrary number of hosts and have it run on all of them? Sending this .exe to 20 hosts. Trying to have the files go into the /tmp directory. Setting up a lab ...
user avatar
0 votes
2 answers
2k views

How to distribute a portable Linux commercial closed-source program? [closed]

First of, I've found this similar question How to make a portable Linux app? but it doesn't really address my questions, it's more about how to compile to make the application portable which I already ...
user avatar
  • 1
2 votes
1 answer
2k views

How to deploy a Java application

I made java application that's supposed to be executed as daemon. I am using an Amazon Linux AMI, which uses SysVinit and I already have an init script for my daemon, I am just a bit confused on where ...
user avatar
3 votes
1 answer
107 views

live PHP webapp deployment

I am looking to setup Bamboo to do live PHP deployments (same principles can apply to Jenkins) I would like to be able to do live releases with the push of a button in the Bamboo application. ...
user avatar
  • 123
2 votes
1 answer
275 views

Using Docker in production

I'm working on a [legacy] project with a build pipeline that generates RPMs that are picked up by Spinnaker to Bake an AMI that will in turn run on an AWS EC2 machine. I proposed to use Docker ...
user avatar
  • 591
3 votes
1 answer
1k views

Should I deploy with the same user who is running the website?

I have a website being served by Nginx and I've recently setup travis builds and deployments for it. Nginx is running the website as www-data user. I've created an user deploy so that Travis can ...
user avatar
0 votes
3 answers
4k views

Run application built on Ubuntu on CentOS

Is there a way to deploy an application, that you built on Ubuntu, on CentOS? And if so, how? EDIT: Sorry, I should have given some more info. It's built on Ubuntu 15.10 with Qt 5.6, and besides Qt ...
user avatar
  • 11
1 vote
1 answer
78 views

Deploy personal programs and scripts

I have a git project containing useful programs and scripts. Hierarchy looks like this: $ git clone https://github.com/myaccount/myutils.git $ tree myutils . ├── bash │ ├── do-this.sh │ ├── do-...
user avatar
  • 826
-2 votes
1 answer
20 views

PGP key for Rails deployment tutorial

In this portion of the tutorial I'm using, I'm supposed to setup a PGP key. Should I use the one they list, or is that just a placeholder? If so, how do I choose what key I want to use?
user avatar
3 votes
1 answer
653 views

The Safest Way to Deploy a Daemon via Jenkins

I'm developing a system service in Java, and for the deployment I would like to do the following: Copy over the new Initd from the build Stop the service being deployed Overwrite/copy the new JAR/...
user avatar
  • 653
0 votes
1 answer
324 views

Languages to use for console tools - Go, Rust, Javascript? [closed]

I'm planning to write a data cruncher command line tool, I'm considering Go, Rust and Javascript. But I'm afraid of jeopardising the project by using something not stable enough or painful to deploy. ...
user avatar
  • 339
0 votes
1 answer
236 views

Verbose copying of complete folder deleting target

I want to copy a development folder that has some changes into the server folder with rsync. Without rsync I would do it like rm -Rf /var/www/site cp -a dev /var/www/ But I would like to use rsync, ...
user avatar
  • 24.9k
2 votes
0 answers
331 views

apt-get update: Unable to find expected entry 'Packages' in Release file

We have an automated build and deploy process based on debootstrap and apt for creating image files for one of our products directly after the build on the build-server. The sources.list is a bit ...
user avatar
  • 231
2 votes
1 answer
3k views

Syntax error: word unexpected (expecting ")") when running remotely but no problem running locally

I've read plenty of discussions on various possibilities why such a thing can happen however all are about some missing library on the system where the binaries are deployed. This is not my case. I ...
user avatar
1 vote
3 answers
5k views

Merge (combine) directories using rsync

I need to create a deploy script to combine the following directory structure: ├── LIB_COMMON │ ├── file1.php │ ├── file2.php │ ├── file3.php │ └── file4.php ├── LIB_CZ │ ├── file2.php │ ...
user avatar
4 votes
0 answers
36 views

Create ready gentoo images for deployment

Assume I know exactly what hardware each target machine contains. Can I have reliable way to prepare images for target machines on my computer, which I can just copy over on that other drive and there ...
user avatar
2 votes
1 answer
1k views

Bash script to get the result from rsync transfer and zip it as a directory in the original directory

OK, I guess this is weird. I have a small stage.sh script very simply has a bunch of commands: if [ "$(whoami)" == 'David' ]; then rsync -a --delete-excluded --exclude-from=.rsyncrc $(pwd) ~/...
user avatar
  • 121
2 votes
1 answer
784 views

Multiple Windows recovery image deployment via Linux PXE server?

Is the following scenario feasible: A laptop repair workshop currently using multiple, physical hard disk caddies containing various Windows 7 / 8 recovery images for repairing various laptop models ...
user avatar
1 vote
1 answer
1k views

How to correctly deploy/install scripts?

I've developed several utility scripts that solve specific problems of my team's day-to-day work. Up to now, what I have done to deploy the script in my co-workers' laptops is as follows: Every ...
user avatar
-1 votes
1 answer
88 views

ITEAD Core A20 cant load or Proceed to the FileSytem

i have an ITEAD CORE AW2041, which i wanted to deploy some image on it, i got the image on an sd card but when i deploy it on the device, the booting process gets stuck at the kernel level, any heads ...
user avatar
  • 11
0 votes
0 answers
76 views

Why wouldn't distributions use a cross-platform service manager?

I use Supervisor for my services on production servers. I also recently switched to MacOS and, for services that I need for development, instead of a OSX's service manager, proposed by brew (launchd?),...
user avatar
3 votes
1 answer
649 views

Where is the appropriate place to deploy web apps?

I am a new sysadmin (by default). We have an ubuntu 14 server with two users. Both users need to deploy web apps to the (production) server. My plan is to create a folder off of root /apps/ and ...
user avatar
  • 6,005
1 vote
1 answer
54 views

Software firewall with "zone files"

I am using an automatic deployment system for my new Unix deployments. I have a fairly complicated network topology to implement, and I'm looking for firewall software that makes this easy. In ...
user avatar
  • 111
7 votes
1 answer
4k views

How to automatically launch a lxc container on ssh connection?

I'm attempting to setup a system that automatically creates a new sandbox on a ssh login to use as a temporary jump box into my server. So to do this I was wonder how to setup lxc to spin up a new ...
user avatar
1 vote
3 answers
19k views

How to deploy programs on multiple machines [duplicate]

I need to install a few programs on around 40 Kubuntu 13.04 machines, and would like to know what options I have to do it as efficiently as possible. EDIT: I have the repositories already set and the ...
user avatar
6 votes
1 answer
501 views

Deploying filesystem images onto a partition of arbitrary size

I would like to establish a deployment process for Ubuntu machines based on root FS images. I would like to restore the image onto a simply-formatted hard drive (I can completely erase the disk during ...
user avatar
  • 161
4 votes
2 answers
2k views

Application deployment over ssh

My job requires frequently updating versions of Centos-compiled software on customers PCs over multiple ssh hops. Recently this got to the point of unmanageable by hand. What software can be utilized ...
user avatar
  • 141