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

How to install CorelDraw X3 on Windows 10

I buy in the past CorelDraw X3. I know, there are many other newer versions but for me, it’s enough. After update Windows from 7 to 10, everything works ok. BUT when I install fresh version Windows 10 and try to install CorelDraw X3 I got errors.
The question occurs: Is there a way to install CorelDraw X3 on Windows 10? Yes! answer below.

Continue reading

Apache 2.4 redirect http to https via .htaccess

Just edit main .htaccess file and add:

RewriteCond %{HTTPS} off
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Of course you must have load mod_rewrite in your Apache config.

Using console Symfony2 shortcuts to app/console in Windows

Hi,

I`m developing using Symfony2 in Windows. I`m little tired still write “php app/console something…”. So I was wondering is there easier way. Should be possibilities to write aliases or shortcuts to console command.Continue reading

msvcr110.dll missing problem with PHP

After update GIT I notice problem with start my php installation on Windows 7. I don`t know it`s related to git update, however solution is easy.Continue reading

Plextor M5P update firmware by USB pendrive

So, as I mentioned before in my laptop I haven`t DVD drive. This is a problem when I want to update firmware in my Plextor M5P SSD drive. I try couple of make-USB-bootable drive software with no success. To now.

Step-by-step.

Continue reading

SSD freezing Windows 7 problem and fix

Recently I replaced the hard drive to SSD in my laptop Dell XPS 1647 . My choice was  Plextor M 5P Pro 128GB. As the magazine moved the existing drive in place of the optical drive – but that’s another story .

All beautifully and nicely – increase speed visible but … From time to time the system Windows 7 freeze . HDD LED is shining, the system don’t respond . It took a few minutes and occurred several times a day . Very annoying!

I started looking and found that it is responsible: Intel Rapid Storage Technology (RST) . In particular, LPM (Link Power Management) and DIPM (Device Initiated Power Management) . Theoretically, these systems have lower energy consumption SATA devices that support it , but as I can see can have side effects.

It remains to turn them off. RegEdit and go to work 😉Continue reading

DirectAdmin recursive set “proper” permission for files and folders

You must use console and type for all users files and folders:

find /home/*/domains/*/public_html -type f -exec chmod 644 {} \;
 find /home/*/domains/*/public_html -type d -exec chmod 755 {} \; 

If you want use only for specified directory just change patt pattern…

Have good day 🙂

Symfony2.3: The dist file “app/config/parameters.yml.dist” does not exist. Check your dist-file config or create it.

After update my Symfony2 project to Symfony2.3 i get:

The dist file “app/config/parameters.yml.dist” does not exist. Check your dist-file config or create it.

Easiest way is copy app/config/parameters.yml to app/config/parameters.yml.dist and run php composer.phar update again.

That’s all! Have a nice day 🙂

Installing latest stable Git on Debian 6.0

I want install on my Debian 6 git. Apt-get install git give me old version. So, step by step to install latest stable git version on Debian:

apt-get install libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev
wget https://www.kernel.org/pub/software/scm/git/git-1.8.4.1.tar.gz
tar -zxf git-1.8.4.1.tar.gz
cd git-1.8.4.1
make prefix=/usr/local all
make prefix=/usr/local install

Ups…. result make:

LINK git-credential-store
libgit.a(utf8.o): In function `reencode_string_iconv':
/root/git-1.8.4.1/utf8.c:530: undefined reference to `libiconv'
libgit.a(utf8.o): In function `reencode_string_len':
/root/git-1.8.4.1/utf8.c:569: undefined reference to `libiconv_open'
/root/git-1.8.4.1/utf8.c:588: undefined reference to `libiconv_close'
/root/git-1.8.4.1/utf8.c:582: undefined reference to `libiconv_open'
collect2: ld returned 1 exit status
make: *** [git-credential-store] Error 1

So download and compile necessary library libiconv:

wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz
tar -zxvf libiconv-1.14.tar.gz
cd libiconv-1.14
./configure --prefix=/usr/local/libiconv
make
make install

and repeat make, make install from beginning…That’s all!

Have a nice day 🙂

1 2 3 4