[Solved] Upgrade Apache2 from 2.4.10 to 2.4.41

Kernels & Hardware, configuring network, installing services

[Solved] Upgrade Apache2 from 2.4.10 to 2.4.41

Postby coppolino97 » 2020-01-23 21:43

Hi all,
I need to upgrade an Apache2 server to security reason.
I have searched online, but I did not find a way to update Apache2 web server on a Debian server.
Can anyone suggest the right way?

Thanks so much :D
Last edited by coppolino97 on 2020-05-10 08:29, edited 1 time in total.
HP Elitebook 840 G3 | 8Gbyte of RAM | Intel core i5 | SSD 250GB | Debian 10
coppolino97
 
Posts: 75
Joined: 2018-06-05 15:23

Re: Upgrade Apache2 from 2.4.10 to 2.4.41

Postby kedaha » 2020-01-23 23:15

How about backports?
Code: Select all
$ rmadison apache2 |grep buster-backports
apache2    | 2.4.41-1~bpo10+1  | buster-backports
"Please accept my resignation. I don’t care to belong to any club that will have me as a member".—Groucho Marx
User avatar
kedaha
 
Posts: 3155
Joined: 2008-05-24 12:26

Re: Upgrade Apache2 from 2.4.10 to 2.4.41

Postby dilberts_left_nut » 2020-01-24 05:17

Also worth nothing that the stable version receives support from the Debian Security team, so will be much more "secure" than the one from backports (which you'll need to manage yourself).
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 5080
Joined: 2009-10-05 07:54
Location: enzed

Re: Upgrade Apache2 from 2.4.10 to 2.4.41

Postby coppolino97 » 2020-01-25 17:59

Hi all,
thanks for all information.
I don't know about backports, I am a new Debian user.
Thanks so much!
:D
HP Elitebook 840 G3 | 8Gbyte of RAM | Intel core i5 | SSD 250GB | Debian 10
coppolino97
 
Posts: 75
Joined: 2018-06-05 15:23

Re: Upgrade Apache2 from 2.4.10 to 2.4.41

Postby coppolino97 » 2020-01-30 15:16

I am trying to use backports on my debian machine but I have problem.

This is my configuration file of source.list

Code: Select all
cat /etc/apt/sources.list

# deb cdrom:[Debian GNU/Linux 9.0.0 _Stretch_ - Official amd64 NETINST 20170617-13:06]/ stretch main
#deb cdrom:[Debian GNU/Linux 9.0.0 _Stretch_ - Official amd64 NETINST 20170617-13:06]/ stretch main

deb http://ftp.it.debian.org/debian/ stretch main
deb-src http://ftp.it.debian.org/debian/ stretch main

deb http://security.debian.org/debian-security stretch/updates main
deb-src http://security.debian.org/debian-security stretch/updates main

# stretch-updates, previously known as 'volatile' (attivi)
deb http://ftp.it.debian.org/debian/ stretch-updates main
deb-src http://ftp.it.debian.org/debian/ stretch-updates main

#backports
deb http://deb.debian.org/debian stretch-backports main


What is wrong?
Thanks
HP Elitebook 840 G3 | 8Gbyte of RAM | Intel core i5 | SSD 250GB | Debian 10
coppolino97
 
Posts: 75
Joined: 2018-06-05 15:23

Re: Upgrade Apache2 from 2.4.10 to 2.4.41

Postby coppolino97 » 2020-05-10 08:28

Hi all,
I have solved this problem.

You can upgrade to Apache2 2.4.41 just using Debian 10 (not working with Debian 8 or Debian 9!)

1)Edit configuration file of APT
Code: Select all
nano /etc/apt/source.list


2)Add these two repos
Code: Select all
deb http://ftp.debian.org/debian buster-backports main
deb-src http://ftp.debian.org/debian buster-backports main


3) Save source.list and update
Code: Select all
apt update


Install Apache2 2.4.41
If you need to install Apache2 as new:
Code: Select all
apt install -t buster-backports apache2


Upgrade Apache2 2.4.41
If you have got a Web Server, but you want upgrade it:
Code: Select all
apt upgrade -t buster-backports apache2



Best regards
See you soon :D
HP Elitebook 840 G3 | 8Gbyte of RAM | Intel core i5 | SSD 250GB | Debian 10
coppolino97
 
Posts: 75
Joined: 2018-06-05 15:23


Return to System configuration

Who is online

Users browsing this forum: No registered users and 15 guests

fashionable