rpm -e –justdb –nodeps packagename

——

Some explanation is needed.

–justdb will only update the installed lists in the rpmdb, and not remove any files.

–nodeps will not process dependencies. I normally consider –nodeps to be evil as it can seriously break things by forcing their removal.

yum will never do the equivalent of either of these operations because yum doesn’t force things. You only need to force things if they are seriously broken.

When replacing packages in place, I much prefer to use rpm’s –force. It will install over even if the same package is installed, without leaving it uninstalled

———-

I am running windows server 2008 64 bit. I had 8.8 i guess. installed 8.9 to fix my 60 fps max problems on CS source. 8.9 driver fixed the problem (probably was locking vsync). But the CCC kept crashing. One would think when you installed the package the new drivers for the display adapater would be updated. Trying to revert back to older packages like 8.8, 8.7 produced the same errors on CCC.

FIX: Install the 8.9 cat set, then go to device manager, uninstall the display adapter from there and redetect, then run CCC again from start->programs->Catalyst Control Center->Restart runtime

Error Message:

————
The features in the ATI Catalyst Control Center Basic View do not support the currently active graphic processor.

To launch the Advanced View, click on the Advanced View button. Otherwise, click Exit to close this dialog.
————
“the catalyst control center is not supported by the driver version of your enabled graphics adapter “

nasil yaptim

Make SSH connections with PHP

libssh2

Now we need libssh2 from sourcefourge. We have to compile this, but no worries, this is all you need to do:

cd /usr/src
wget http://surfnet.dl.sourceforge.net/sourceforge/libssh2/libssh2-0.14.tar.gz
tar -zxvf libssh2-0.14.tar.gz
cd libssh2-0.14/
./configure
make all install

sonra

locate ssh2.so

sonra

onu usr/local/lib altina kopyala

sonra

php.ini de extension diri degistir /usr/local/lib olarak

sonr aoldu bitti

Installation
ssh2.so

Next we need to link libssh & PHP together. There’s a PECL module for this so let’s install using:

pecl install -f ssh2

The -f makes sure ssh2 is installed even though there’s not a stable candidate. You could also use the package name: ssh2-beta to overrule this.

Now you need to make sure our new ssh2.so module is loaded by PHP. Edit your php.ini file (for CLI utitilies: /etc/php5/cli/php.ini, for Apache utilities /etc/php5/apache2/php.ini)

extension=ssh2.so

It should be placed beneath the: “Dynamic Extensions” section somewhere around line 515.