Journal iseck's Journal: Debian Lenny 5 ended.
It is well known, half month ago (in February) ended support of Debian5 and it fall in Letho, that is archives archive.debian.org.
What is to be done next? Thinking about it many Hosters. Because change the Debian6 is not easy, with the reassurances given by the following factors:
1) It does not support the more panel tab (at least, ISP Manager, perhaps out of that very differentness, although developers and so located nearly all problems.
2) From box will comprehend PHP 5.3 instead of usual us 5.2, and that fraughd that many sites will stop working. One of the most unpleasant moments is the lack of function ereg, which used a huge number of people in scripts, in informal modules for popular CMS (recent versions of themselves CMS compatibled with it). But no one did not stay in place, and certainly did not look back, and in any case changed the sixth level need, that why, lets go.
For a start, lets look at the transition. In principle, it occurred without any surprises. I described:
1) Added to the / etc / sources.list necessary repositories:
# Squeeze
deb http://security.debian.org squeeze/updates main contrib non-free
deb http://ftp.ru.debian.org/debian/ squeeze main non-free contrib
deb ftp://ftp.debian-multimedia.org squeeze main non-free
2) Update the package lists the command:
# apt-get update
3) Update the operating system:
# apt-get dist-upgrade
As for me, I had everything well, but as they said on the internet, can interfere with a package of splashy, just in case, and remove before installation.
Itâ(TM)s all, reload and enjoy (hopefully) latest version of Debian. The next step, which I mentioned above PHP 5.2.
Will proceed. The method, in principle, trivial.
1) You must delete PHP5. If it is set (when upgrading, I think its all updated):
#aptitude remove dpkg -l | grepphp| awk '{print $2}' |tr "\n" " " '
2) Opened our:
sources.list
# vi
Added to repository lenny deb:
http://archive.debian.org/debian/ lenny main contrib non-free
and closed.
3) Next, you need to prioritize the service apt. open:
# vi
And prescribed the following:
Package: php5*
Pin: release a=oldstable
Pin-Priority: 700
Package: *
Pin: release a=stable
Pin-Priority: 600
4) Install the php:
# apt-get update
# apt-get -t oldstable install dpkg -l | grep php5| awk '{print $2}' |tr "\n" " "
Perhaps at this stage would got out of dependence, but they can be very easy fixed, unto set up necessary.
5) Checked the version and restarted Apache:
# Dpkg-l | grep php5
# / Etc/init.d/apache2 restart
The installation ended.
There method was tested on the server and ISPManager DebianLenny 5 - all well bred.
If you had plan to install the server "from zero", then when you install php, in principle, lost only one step - removing the old version. And so it remains.
Hopefully, this article will help you!
Author: Roman Malinovsky, director of technical support, host of the project Unlimits Telecom http://www.unlimits.ru
Debian Lenny 5 "ended" More Login
Debian Lenny 5 "ended"
Slashdot Top Deals