Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

dpkg ili apt za upgrade? naravno Debian

[es] :: Linux :: dpkg ili apt za upgrade? naravno Debian

[ Pregleda: 2755 | Odgovora: 6 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

mrki
radnik
Sombor

Član broj: 1050
Poruke: 580
*.dyn.ravangrad.net.

Jabber: mrki@elitesecurity.org
ICQ: 58816584


Profil

icon dpkg ili apt za upgrade? naravno Debian24.03.2006. u 10:54 - pre 220 meseci
Debian:
Koristim apache2 sa mpm_prefork_module, a hteo bih da ga upgrade na mpm_worker_module (core upgrading). Trenutno mi je je vrlo spor odziv pa cenim da bih sa multi-threaded serverom dobio bolje rezultate. E sad, na serveru imam 6 sajtova zajedno sa vhcs2 (Control Panel Software), interesuje me kako uraditi upgrade, a da naravno isti ne pregazi trenutne konfiguracione datoteke (modules, virtual hosts...) i sajtove (virtual hosts). Valjalo bi mozda uraditi backup /etc/apache2 i /var/www ?
Dakle sta da koristim dpkg ili apt za core upgrading, a da bude naravno bez down time


[Ovu poruku je menjao mrki dana 24.03.2006. u 11:55 GMT+1]
Nekad sam bio mlad ;)
 
Odgovor na temu

alex
Aleksandar Radulovic
Senior Software Engineer, Spotify
Stockholm, Sweden

Član broj: 71
Poruke: 2194
*.in.is.

Jabber: alex@a13x.info
ICQ: -1
Sajt: www.a13x.info


+1 Profil

icon Re: dpkg ili apt za upgrade? naravno Debian24.03.2006. u 12:03 - pre 220 meseci
trillian:~# apt-get update && apt-get install apache2-mpm-worker
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
apache2-mpm-prefork libapache2-mod-php4
The following NEW packages will be installed:
apache2-mpm-worker
0 upgraded, 1 newly installed, 2 to remove and 41 not upgraded.
Remv libapache2-mod-php4 [4:4.4.2-1+b1]
Remv apache2-mpm-prefork [2.0.55-4] [apache2 ]
Inst apache2-mpm-worker (2.0.55-4 Debian:unstable)
Conf apache2-mpm-worker (2.0.55-4 Debian:unstable)
trillian:~#


Nikakvi problemi, sem sto se deinstalira libapache2-mod-php4, al' kome to jos treba?

alex.
Alex: My favorite site is http://localhost/
R.J. Oppenheimer: "I am become death, destroyer of worlds" (1945 AD)
tweet.13x ||
linkedin.13x
 
Odgovor na temu

mrki
radnik
Sombor

Član broj: 1050
Poruke: 580
*.pat-pool.so.sbb.co.yu.

Jabber: mrki@elitesecurity.org
ICQ: 58816584


Profil

icon Re: dpkg ili apt za upgrade? naravno Debian24.03.2006. u 14:34 - pre 220 meseci
Ma kontam da nema problema sa apt...znaci mome odusevljenju nije bilo kraja kad sam se prvi put susreo sa apt-get...ali me interesuje, a nisam mogao da probam ovo sto si ti uradio...dakle sve je ostalo na svom mestu?
Nisam bas u situaciji da na ovom serveru testiram sta bi bilo s obzirom da je tu prisutno jos dosta ulozenih sati rada
Nekad sam bio mlad ;)
 
Odgovor na temu

Danilo Cvjeticanin
Danilo Cvjeticanin
Apatin-Beograd

Član broj: 9614
Poruke: 3517
*.apatinonline.net.



+37 Profil

icon Re: dpkg ili apt za upgrade? naravno Debian24.03.2006. u 14:43 - pre 220 meseci
U svakom slucaju bih koristio apt.
A search pa pojedinacna instalacija? Po meni najbolje resenje samo pretrazim pakete i dodajem rucno sta me interesuje, po meni ubedljivo najbolje resenje.

Code:

phobos:~# apt-cache search apache2
apache-utils - utility programs for webservers (transitional package)
apache2 - next generation, scalable, extendable web server
apache2-common - next generation, scalable, extendable web server
apache2-doc - documentation for apache2
apache2-mpm-perchild - experimental high speed perchild threaded model for Apach                  e2
apache2-mpm-prefork - traditional model for Apache2
apache2-mpm-threadpool - experimental high speed model for Apache2 (transitional                   package)
apache2-mpm-worker - high speed threaded model for Apache2
apache2-prefork-dev - development headers for apache2
apache2-threaded-dev - development headers for apache2
apache2-utils - utility programs for webservers
libapache-mod-dav - A DAV module for Apache
libapache-ruby1.8 - Ruby libraries for mod_ruby
libapache2-mod-auth-kerb - Apache2 module for Kerberos authentication
libapache2-mod-auth-pam - module for Apache2 which authenticate using PAM
libapache2-mod-auth-plain - Module for Apache2 which provides plaintext authenti                  cation
libapache2-mod-auth-sys-group - Module for Apache2 which checks user against sys                  tem group
libapache2-mod-chroot - run Apache in a secure chroot environment
libapache2-mod-encoding - Apache2 module for non-ascii filename interoperability
libapache2-mod-fcgid - an alternative module compat with mod_fastcgi
libapache2-mod-jk2 - Apache 2.0 connector for the Tomcat Java servlet engine
libapache2-mod-layout - Apache2 web page content wrapper
libapache2-mod-ldap-userdir - Apache2 module that provides UserDir lookups via L                  DAP
libapache2-mod-macro - Create macros inside apache2 config files
libapache2-mod-musicindex - Browse, stream, download and search through MP3/Ogg                   files
libapache2-mod-perl2 - Integration of perl with the Apache2 web server
libapache2-mod-perl2-dev - Integration of perl with the Apache2 web server - dev                  elopment files
libapache2-mod-proxy-html - Apache2 filter module for HTML links rewriting
libapache2-mod-python - An Apache module that embeds Python within the server
libapache2-mod-python-doc - An Apache module that embeds Python within the serve                  r
libapache2-mod-python2.2 - An Apache 2 module that embeds Python 2.2 within the                   server
libapache2-mod-python2.3 - An Apache 2 module that embeds Python 2.3 within the                   server
libapache2-mod-rpaf - module for Apache2 which takes the last IP from the 'X-For                  warded-For' header
libapache2-mod-ruby - Embedding Ruby in the Apache2 web server
libapache2-mod-scgi - Apache module implementing the SCGI protocol.
libapache2-mod-security - Tighten web applications security for Apache 2.x
libapache2-mod-suphp - Apache2 module to run php scripts with the owner permissi                  ons
libapache2-mod-xmlrpc2 - XMLRPC Server module for Apache2 web server
libapache2-redirtoservname - Apache 2 module to redirect users to the canonical                   hostname
libapache2-svn - apache modules for Subversion (aka. svn)
libapr0 - the Apache Portable Runtime
libembperl-perl - A system for building dynamic websites with Perl
mod-chroot-common - run Apache in a secure chroot environment
mod-musicindex-common - Common files for mod-musicindex
mod-security-common - Tighten web applications security - common files
libapache2-mod-fastcgi - FastCGI module for Apache2
libapache2-mod-auth-pgsql - Module for Apache2 which provides pgsql authenticati                  on
libapache2-request-perl - generic Apache request library
libapache-mod-php4 - server-side, HTML-embedded scripting language (apache 1.3 m                  odule)
libapache2-mod-php4 - server-side, HTML-embedded scripting language (apache 2.0                   module)
php4-cgi - server-side, HTML-embedded scripting language (CGI binary)
libapache2-mod-php5 - PHP 5 scripting language - apache 2.0 module
libapache-mod-auth-mysql - Apache module for MySQL authentication
libapache2-mod-auth-mysql - Apache 2 module for MySQL authentication
phobos:~# 
 
Odgovor na temu

alex
Aleksandar Radulovic
Senior Software Engineer, Spotify
Stockholm, Sweden

Član broj: 71
Poruke: 2194
*.simnet.is.

Jabber: alex@a13x.info
ICQ: -1
Sajt: www.a13x.info


+1 Profil

icon Re: dpkg ili apt za upgrade? naravno Debian24.03.2006. u 18:20 - pre 220 meseci
Sve je ostalo na svom mestu. Ja sam zadrzao staru apache konfiguraciju (apt-get te lepo pita za to).

No, pre svega, prvo ti proveri da li ti hostovane aplikacije zavise od PHPa.

alex.
Alex: My favorite site is http://localhost/
R.J. Oppenheimer: "I am become death, destroyer of worlds" (1945 AD)
tweet.13x ||
linkedin.13x
 
Odgovor na temu

mrki
radnik
Sombor

Član broj: 1050
Poruke: 580
*.internetserviceteam.com.

Jabber: mrki@elitesecurity.org
ICQ: 58816584


Profil

icon Re: dpkg ili apt za upgrade? naravno Debian30.03.2006. u 19:33 - pre 219 meseci
Malo kasnim sa odgovorom , nažalost jos nisam uspeo da dovrsim ovu pricu...
php koriste dva virtualna hosta, tako da mi treba a sto se tiče samog
#apt-get install apache2-mpm-worker
prosto ne mogu jer će mi izbrisati i VHCS zajedno sa starim apache2.0 ;(
Bilo bi lepo da sam ranije mislio o svemu tome, nažalost...
dakle golem posao kad bi se na to odlučio, a zaista mi to u ovom trenutku ne treba
Dakle preostaje mi da pokušam sa podešavanjima 'izvesnim' izvući neki maksimum iz 2.0 (prefork) verzije

Nekad sam bio mlad ;)
 
Odgovor na temu

random
Vladimir Vrzić
Beograd

Član broj: 85
Poruke: 3866
*.eunet.yu.

Sajt: www.last.fm/user/vrza


+4 Profil

icon Re: dpkg ili apt za upgrade? naravno Debian31.03.2006. u 09:31 - pre 219 meseci
Offtopic: ja na Debianu koristim aptitude umesto apt-get, malo je fleksibilniji, a pored standardnog command-line driven interfejsa ima i vizualni (curses) interfejs.
int rand(void);

Those who do not understand Unix are condemned to reinvent it, poorly.

Upali lampicu — koristi Jabber!
 
Odgovor na temu

[es] :: Linux :: dpkg ili apt za upgrade? naravno Debian

[ Pregleda: 2755 | Odgovora: 6 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.