drupal, ubuntu

installing drupal 7 in ubuntu 12.10


while installing drupal in my machine i faced some unexpected permission problem something like below:

OK
Web server Apache/2.4.3 (Unix) OpenSSL/1.0.1c PHP/5.4.7
OK
PHP 5.4.7
OK
PHP register globals Disabled
OK
PHP extensions Enabled
OK
Database support Enabled
OK
PHP memory limit 128M
Error
File system
The directory sites/default/files is not writable. An automated attempt to create this directory failed, possibly due to a permissions problem. To proceed with the installation, either create the directory and modify its permissions manually or ensure that the installer has the permissions to create it automatically. For more information, see INSTALL.txt or the online handbook.
OK
Unicode library PHP Mbstring Extension
OK
Settings file The ./sites/default/settings.php file exists.
Error
Settings file The settings file is not writable.
The Drupal installer requires write permissions to ./sites/default/settings.php during the installation process. If you are unsure how to grant file permissions, consult the online handbook.

Check the error messages and proceed with the installation.

so don’t worry, its just simple permission issue all we need to do is give sufficient permission to drupal
  1. create a folder named “files” in /opt/lampp/htdocs/drupal/sites/default/
  2. enter this command in the terminal sudo chmod 777 -R /opt/lampp/htdocs/drupal/sites/default/files
  3. rename the default.settings.php to settings.php inside /opt/lampp/htdocs/drupal/sites/default/default.settings.php
  4. sudo chmod 777 -R /opt/lampp/htdocs/drupal/sites/default/settings.php

you are now all ready to go now.

Cheers

</ niroze >

refernces:

 

ubuntu

How To: Add GUI xampp control panel on ubuntu


f you have install and configure xampp on ubuntu or any other linux distribution you might have use terminal for various operation like start and stopping lampp. However Xampp on windows have some graphical interface for this operation. You can simply add graphical use interface for xampp in ubuntuwith few codes and tricks. Adding graphical interface gives you flexibility as well as provide simplicity to use the program if you find yourself uneasy messing with the command. Therefore here is the quick tutorial to add graphical user interface for xampp on ubuntu.

1. Open the terminal and paste the following code

sudo gedit ~/.local/share/applications/xampp-control-panel.desktop

2. The text editor will open simply paste the following code to the text editor and save it.

[Desktop Entry]
Comment=Start and Stop XAMPP
Name=XAMPP Control Panel
Exec=gksudo python /opt/lampp/share/xampp-control-panel/xampp-control-panel.py
Icon[en_CA]=/usr/share/icons/Humanity/devices/24/network-wired.svg
Encoding=UTF-8
Terminal=false
Name[en_CA]=XAMPP Control Panel
Comment[en_CA]=Start and Stop XAMPP
Type=Application
Icon=/usr/share/icons/Humanity/devices/24/network-wired.svg

4. You can simply access the xampp control planel in Application>>> Others
xamp control pannel How To: Add GUI xampp control panel on ubuntu

Related Posts :