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 ...
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 ...
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
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 ...
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 ...
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 “...
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 ...
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 ...
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 ...
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 ...
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:
...
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 ...
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\...
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 ...
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 ...
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
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 ...
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 (...
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 ...
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 ...
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
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
...
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-...
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, ...
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
...
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 ...
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 ...
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.
...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
update × 648yum × 81
linux × 79
windows × 74
ubuntu × 64
centos × 60
debian × 42
apt × 40
wsus × 34
php × 30
windows-update × 30
security × 29
redhat × 24
patch-management × 24
upgrade × 21
mysql × 19
windows-server-2008 × 18
centos7 × 17
deployment × 16
kernel × 15
package-management × 15
java × 14
automatic-updates × 13
packages × 11
domain-name-system × 10