As of May 31, 2023, we have updated our Code of Conduct.

Hot answers tagged

153 votes

How can I upgrade to Java 1.8 on an Amazon Linux Server?

Install Java Runtime 1.8 sudo yum install java-1.8.0 or if you need a java compiler and other developer tools: sudo yum install java-1.8.0-openjdk-devel Then use the alternatives command to make ...
Will Humphreys's user avatar
72 votes
Accepted

How can I check from the command line if a reboot is required on RHEL or CentOS?

https://access.redhat.com/discussions/3106621#comment-1196821 Don't forget that you might need to reboot because of core library updates, at least if it is glibc. (And also, services may need to be ...
xddsg's user avatar
  • 3,362
52 votes

What does that mean: packages excluded due to repository priority protections

In case you want to know which packages are excluded due to priority protections you can use yum list updates --debuglevel 3
teissler's user avatar
  • 748
36 votes

Elastic Beanstalk stuck for more than 12 hrs

If you know how to fix the source of problem (for example: change application settings in Beanstalk Environment variables or deploy fixed version of your application), then: Go to page Auto Scaling ...
Alexey Vazhnov's user avatar
30 votes

How to avoid downtime with linux?

There is an important distinction between making a service highly available and making an individual machine highly available. In most cases the goal is to make the service highly available, and ...
kasperd's user avatar
  • 30.3k
22 votes
Accepted

OSX mojave: "crontab: tmp/tmp.X: Operation not permitted"

The short answer: Go to System Preferences > Security & Privacy and give Full Disk Access to Terminal. The long answer: Pull down the Apple menu and choose ‘System Preferences’ Choose “...
Freddy's user avatar
  • 2,019
21 votes
Accepted

Update the container of a service in Amazon ECS

Not sure if this is considered as abandoned question - stumbled upon this while troubleshooting my issue and now adding my solution now that it's resolved. To update service with new container, you ...
uiron's user avatar
  • 326
21 votes
Accepted

Unable to run `apt update` on Ubuntu 21.10

Impish went EoL on the 14th of July. As such, its repositories can no longer be found on the mirrors, so if you want to continue using this version, you need to use old-releases.ubuntu.com as your ...
Lacek's user avatar
  • 7,163
19 votes

safely upgrade glibc on CentOS 7

Check it is actually needed Firstly check the python application as it could be out of date and is probably misreading the glibc version. CentOS shows the base version as installed and is patched to ...
Simon Greenwood's user avatar
19 votes

Update Office without opening an Office application

From command prompt: "C:\Program Files\Common Files\microsoft shared\ClickToRun\OfficeC2RClient.exe" /update user This should trigger the Update GUI. You can also do this silently by adding ...
Rob Traynere's user avatar
15 votes

Symlink not updating as expected when using an absolute with relative path

First issue: Quoting you: Creations and deletions work fine. But updates do not work. After performing this command, the symlink becomes invalid. The problem With the given directory structure: ...
Keith Reynolds's user avatar
12 votes
Accepted

How to avoid downtime with linux?

To your question, "Are there Linux distributions/processes where upgrades/patches never require reboots?", I'm not aware of any, and I'm highly doubtful that there ever will be any which are truly ...
Paul Gear's user avatar
  • 4,348
11 votes

Update Office without opening an Office application

If you need to change the Office update channel for a client to switch them to the monthly update channel, you can run the following: "C:\Program Files\Common Files\Microsoft Shared\ClickToRun\...
joeqwerty's user avatar
  • 109k
10 votes
Accepted

Debian Wheezy outdated root certificates

You can try and refresh your certificate links in /etc/ssl/certs with update-ca-certificates --fresh which redoes all the symlinks in /etc/ssl/certs. If that does not help, lets see if your ...
Robert Riedl's user avatar
9 votes

OSX mojave: "crontab: tmp/tmp.X: Operation not permitted"

I had to add cron to System Preferences > Security & Privacy > Full Disk Access Find privacy preferences: CMD + Space, "priv" Unlock preferences for Full Disk Access and open selection menu In ...
Petr Javorik's user avatar
8 votes

Update the container of a service in Amazon ECS

To update your application, update the task definition and then update the service. See http://docs.aws.amazon.com/AmazonECS/latest/developerguide/update-service.html
Chris Barclay's user avatar
8 votes

How can I check from the command line if a reboot is required on RHEL or CentOS?

One thing that can be helpful to look at in terms of "is a reboot required" is whether or not there are any files that have been removed/replaced by the update but for which the old files are still ...
GrangerX's user avatar
  • 166
8 votes

OSX mojave: "crontab: tmp/tmp.X: Operation not permitted"

Another approach without requiring any permission changes, which relies upon the fact that sshd is already enabled for 'Full Disk Access', is to perform the crontab updates via ssh to localhost (...
Pierz's user avatar
  • 603
8 votes

Upgrading Debian Linux to a specific patch level

As far as I know, an apt repository does not have a global ID referring to a certain version numbers of all packages. You could create a list of package versions, distribute it to all servers, and ...
Martin's user avatar
  • 2,149
8 votes

Unable to run `apt update` on Ubuntu 21.10

I tried this (on a RPI3, Ubuntu 21.10), modify /etc/apt/sources.list deb http://ports.ubuntu.com/ubuntu-ports impish main restricted to deb http://old-releases.ubuntu.com/ubuntu impish-security main ...
Andrew Holt's user avatar
7 votes

How can I check from the command line if a reboot is required on RHEL or CentOS?

uname -a vs. rpm -q kernel and needs-restarting from yum-utils
ptman's user avatar
  • 28.1k
7 votes

"Failed to initialize PAL." while upgrading an LSI 9211-8i to IT?

Hit my head against the wall (a lot) on this. For me, solved it by: Formatting the USB as freedos (using Rufus) - https://www.all4os.com/windows/create-a-bootable-ms-dos-or-freedos-usb-drive.html ...
aronchick's user avatar
  • 695
7 votes

How can I update nginx to lastest stable version?

you can setup the nginx repository for CentOS as described here: http://nginx.org/en/linux_packages.html#stable or simply run yum install http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-...
julian's user avatar
  • 153
6 votes
Accepted

How to update a Dell server when the Dell Server Update Utility ISO is 11GB?

You can use Dell Repository Manager which will allow you to download drivers/firmwares for specific server models. It will allow you to export these drivers/firmwares as a bootable Linux ISO image, ...
Chris's user avatar
  • 334
6 votes
Accepted

Running an Ansible command in multiple docker containers

Given the following example output from docker ps: $ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES ...
dawud's user avatar
  • 15.1k
6 votes

updating SSH version 7.4pl to 7.5 on Amazon linux 2

I make a slightly longer and similar argument here but, for as long as your (enterprise) Linux distribution is supported simply applying OS updates (i.e. with [sudo] yum update) should keep your OS ...
HBruijn's user avatar
  • 75.2k
5 votes

How can I upgrade to Java 1.8 on an Amazon Linux Server?

yum install java-1.8.0 -y /usr/sbin/alternatives --set java /usr/lib/jvm/jre-1.8.0-openjdk.x86_64/bin/java /usr/sbin/alternatives --set javac /usr/lib/jvm/jre-1.8.0-openjdk.x86_64/bin/javac yum remove ...
TechDawg270's user avatar
5 votes
Accepted

Rebooting a production CentOS 6 server that's been up for 365 days

Typically you want to have an out-of-band management session that will allow you to monitor the reboot. Ensure that you have the root password at hand in case you do need to enter single user mode. ...
HBruijn's user avatar
  • 75.2k
5 votes

I can't enable the Meltdown/Spectre mitigations in Windows Server 2008 R2

Firstly the above output is saying that the required windows patch has not been installed: Speculation control settings for CVE-2017-5715 [branch target injection] Windows OS support for branch ...
Paul's user avatar
  • 61

Only top scored, non community-wiki answers of a minimum length are eligible