пятница, 10 июня 2011 г.

How-To: Fix Your Ubuntu Boot Screen


If you’re using Ubuntu 10.04 or newer and have installed the proprietary Nvidia or ATI video drivers then you likely know what I’m talking about.
The nice Ubuntu boot screen that you saw during the installation is now a low quality image and the resolution is wrong. Fortunately for you and I, there is a fix for this written by Marius Nestor at Softpedia.
I’ve taken the liberty to implement his steps in a single script that makes the work on your end a much easier task. Only use this script if you have not already attempted to follow Marius Nestor’s tutorial.
Warning: Use this script at your own risk.
Steps
  1. Download the zipped script and extract it: plymouth-resolution-fix.sh.zip
  2. Open a terminal window and navigate to the directory containing the script.
  3. Enter the following command to make the script executable:
    chmod +x plymouth-resolution-fix.sh
  4. Enter the following command to run the script (followed by your password):
    sudo ./plymouth-resolution-fix.sh
Be patient for this script to complete, it will let you know when it is. After its complete, simply reboot your computer to verify the results.
To Revert these Changes
If you’d like to undo these changes, you can download the following script and run it the same as you ran the first one. This will undo the changes made.

четверг, 2 июня 2011 г.

Изменение настроек PHP в Linux Ubuntu

Файл с настройками находится в директории: /etc/php5/apache2
Для редактирования наберите: sudo gedit /etc/php/apache2/php.ini

Сохранитесь и перезапустите Apache следующей коммандой:
sudo /etc/init.d/apache2 restart.