Tag Archives for " linux "

How to resize root partition without losing data

I signed up for a promotion with my VPS vendor for a one-time fee for a permanent increase in available space. The change was made on the provider’s side – now I had to make changes on my side.
Of course the question arose how to do it, so as not to reinstall the system and not to lose data. And to keep potential VPS downtime as low as possible.
So how did I do it?
As a reminder: my system is Debian 9, ALWAYS do backup and you do it on your own responsibility.

Continue reading

Debian install php_intl problem configure: error: Unable to detect ICU prefix

Problem with install php_intl on Debian?

Get: configure: error: Unable to detect ICU prefix or /usr/local/icu/bin/icu-config failed. Please verify ICU install prefix and make sure icu-config works.?

Easy solution – just:

apt-get install libicu-dev

How to resolve: This build of “eAccelerator” was compiled for PHP version 5.2.14-0.dotdeb.0.

System: Debian Lenny 5.0, DirectAdmin, after successfully update php to 5.2.14 after download and comile from source eaccelerator and test by php -v I got:

This build of “eAccelerator” was compiled for PHP version 5.2.14-0.dotdeb.0. Rebuild it for your PHP version (5.2.14) or download precompiled binaries.

Bad news because actually I`ve PHP in version 5.2.14! After some research I have solutions.

UPDATE:

/usr/local/php5/bin/phpize

./configure --enable-eaccelerator=shared --with-php-config=/usr/local/php5/bin/php-config

make

make install

in my case I must move compiled eaccelerator file from ย /usr/local/php5/lib/php/extensions/no-debug-non-zts-20090626/eaccelerator.so to php extension dir /usr/lib/php5/20060613+lfs/. (update: easier and more logical it is change extension_dir in php.ini)

Have a nice day ๐Ÿ™‚

How to uninstall VirtualBox Guest Additions on Linux?

I just update virtualbox and want to install new version Virtualbox Guest Additions because I have problems with access to shared folders. Before this I want to uninstall old version but… there is no switch or command to do this… After little research:

Continue reading

How to install VirtualBox Guest Additions on Debian 5 – lenny? Tutorial.

Configuration: Virtualbox 3.2.6. Host – Windows XP, Guest – Debian Lenny

Continue reading

Debian update: resolve “WARNING: The following packages cannot be authenticated!”

Another day, another challange ๐Ÿ™‚

after using aptitude update in console I got “WARNING: The following packages cannot be authenticated!”. NO_PUBKEY E9C74FEEA2098A6E

So – the solution is:

Continue reading