Buongiornoa tutti,
Intanto ringrazio la community, nella speranza mi possa dare qualche dritta.
Ho acquistato un vps davvero minimale (32mb ram) perché vorrei imparare ad utilizzare centos.
Premettendo che debian gira senza problemi, con centos sto avendo serissime difficoltà con yum.
Il porcesso di aggiornamento sono riuscito a farlo disabilitando i plugins e dando un nice alto al porcesso, ma dopo aver aggiornato non sono più in grado di installare alcunché.
[root@j0llyb0x ~]# nice -n 20 yum install elinks
Freeing read locks for locker 0x2fd: 1200/3077613248
Freeing read locks for locker 0x2fe: 1200/3077613248
Freeing read locks for locker 0x2ff: 1200/3077613248
Freeing read locks for locker 0x313: 1200/3077613248
Freeing read locks for locker 0x315: 1200/3077613248
Freeing read locks for locker 0x316: 1200/3077613248
Freeing read locks for locker 0x317: 1200/3077613248
Freeing read locks for locker 0x318: 1200/3077613248
Freeing read locks for locker 0x319: 1200/3077613248
Freeing read locks for locker 0x31a: 1200/3077613248
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package elinks.i686 0:0.12-0.20.pre5.el6 will be installed
--> Processing Dependency: libnss_compat_ossl.so.0 for package: elinks-0.12-0.20.pre5.el6.i686
--> Running transaction check
---> Package nss_compat_ossl.i686 0:0.9.6-1.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==========================================================================================
Package Arch Version Repository Size
==========================================================================================
Installing:
elinks i686 0.12-0.20.pre5.el6 base 815 k
Installing for dependencies:
nss_compat_ossl i686 0.9.6-1.el6 base 33 k
Transaction Summary
==========================================================================================
Install 2 Package(s)
Total size: 849 k
Total download size: 815 k
Installed size: 2.5 M
Is this ok [y/N]: y
Downloading Packages:
elinks-0.12-0.20.pre5.el6.i686.rpm | 815 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
memory alloc (28 bytes) returned NULL.
i servizi, per l'installazione, sono stati ridotti a 0, ma nulla, non riesco ad installare nemmeno nano.
[root@j0llyb0x tmp]# ps auxf
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.3 2896 200 ? Ss Oct29 0:00 init
root 2 0.0 0.0 0 0 ? S Oct29 0:00 [kthreadd/9856]
root 3 0.0 0.0 0 0 ? S Oct29 0:00 \_ [khelper/9856]
root 114 0.0 0.3 2484 248 ? S<s Oct29 0:00 /sbin/udevd -d
root 424 0.0 0.6 35968 420 ? Sl Oct29 0:00 /sbin/rsyslogd -i /var/run/syslogd.pid -c 5
root 446 0.0 1.0 8520 656 ? Ss Oct29 0:00 /usr/sbin/sshd
root 1263 0.0 2.7 11440 1776 ? Ss 13:37 0:00 \_ sshd: root@pts/0
root 1265 0.0 2.1 6372 1388 pts/0 Ss 13:37 0:00 \_ -bash
root 1395 0.0 1.4 6044 924 pts/0 R+ 14:18 0:00 \_ ps auxf
Che vie ho?
come posso diminuire ancora l'utilizzo di ram? In questo momento il sistema gira con meno di 7mb.
se usassi rpm, qualsi sono le controindicazioni? per un futuro aggiornamento ad esempio: (il db di yum viene aggiornato?) perché installare un porgramma non sarebbe una pena, ma aggiornare 10 programmi con relative dipendenze diventerebbe un inferno.
Grazie per ogni possibile suggerimento.