AnswerBun.com

No package systemd available on Amazon linux EC2

Unix & Linux Asked by Venkateswaran R on November 1, 2020

I am using AWS Linux machine to host Web API application. I need to make my application keep on run, so that i need systemd has to be installed on my linux machine.I tried sudo yum install systemd but it gives No package systemd available.

My AWS system details are given below,

NAME="Amazon Linux AMI"
VERSION="2018.03"
ID="amzn"
ID_LIKE="rhel fedora"
VERSION_ID="2018.03"
PRETTY_NAME="Amazon Linux AMI 2018.03"
ANSI_COLOR="0;33"
CPE_NAME="cpe:/o:amazon:linux:2018.03:ga"
HOME_URL="http://aws.amazon.com/amazon-linux-ami/"

Is there any option to manually install systemd to my linux system?

Thanks in advance

One Answer

I need to make my application keep on run, so that i need systemd has to be installed on my linux machine

As others have noted, systemd is not available for your version of Amazon Linux. Fortunately, there are other tools than systemd that solve your problem; I suggest looking at cron. You might take a look at this answer for how to set a program or script to run on reboot on an Amazon Linux box. Alternatively, there's always the cron man page, which sould also be on your machine.

Correct answer by Jonathan Holmes on November 1, 2020

Add your own answers!

Related Questions

SSH on port 443 with SSLH

1  Asked on December 21, 2021

   

Reformat date to unix time stamp in csv table

3  Asked on December 21, 2021

   

i3wm / debian accent marks

2  Asked on December 21, 2021 by danoiseman

   

View 1 monitor in VNC session?

1  Asked on December 21, 2021

     

Problem after installing snapd

1  Asked on December 21, 2021 by hr20dev

     

what’s the relationship between iptables and firwalld

1  Asked on December 21, 2021 by westfarmer

         

What is my shell environement?

1  Asked on December 21, 2021 by mikibelavista

   

How to reinstall python

1  Asked on December 19, 2021 by aditya-ultra

     

Nvidia driver; Unable to load info from any available system

1  Asked on December 19, 2021 by whitewind

   

No external network access on Beaglebone

0  Asked on December 19, 2021

     

Port forwarding with KVM

0  Asked on December 19, 2021 by ari-stehney

   

Copy/paste into SSH’d VIM from local (Windows) clipboard

10  Asked on December 17, 2021 by frickskit

     

How to get tab completion when using curly braces in Bash

5  Asked on December 17, 2021 by weston-ganger

   

libpam-pwquality not working in Ubuntu 16.04

1  Asked on December 17, 2021

 

Asus TUF Ubuntu 18.04.1 elantech mouse freezes frequently

1  Asked on December 17, 2021 by srajan-soni

     

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP