Skip to main content

Posts

Showing posts from November, 2008

Disabling User module in drupal:stucked outside!

It is dump situation where I disable User login module and log out as admin. N permission restricts me to bring back login as admin as no login form is there, On that day I spent couple of minutes trying to access site, N As I fed up that day, had given access permission to anonymous user through database access (I know it is very stupid way to get out of situation) THen on next M'ning I found the solution for that from drupal forum that I can access login page by www.site-name.com?q=user

Working with drupal:Installation

1. Download Drupal 6.x form http://drupal.org/. 2. tar -zxvpf drupal-x.x.tar.gz 3. put this folder into /var/www/ 4. mv drupal-x.x/* drupal-x.x/.htaccess /var/www/html 5. Change the permission for setting.php chmod a+w sites/default/settings.php or chmod 777 sites/default/settings.php 6. Create the database using Mysql * apt-get install mysql * mysqladmin -u username -p create databasename (where username and password can get from /etc/mysql/debian.cnf) * GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON databasename.* TO 'username'@'localhost' IDENTIFIED BY 'password'; where 'databasename' is the name of your database 'username@localhost' is the username of your MySQL account 'password' is the password required for that username 7. Then run the script using : http://localhost/drupal-6.6/ 8. And you get the welcome page of drupal 9. Then do all settings and congiguration like (site name,logo,feature,database

Installation of Cygwin in Windows Machine

1. Install either from DVD or from site www.cygwin.com 2. Run setup.exe any time you want to update or install a Cygwin package. 3. Only the minimal base packages from the Cygwin distribution are installed by default. Clicking on categories and packages in the setup.exe package installation screen will provide you with the ability to control what is installed or updated. Clicking on the "Default" field next to the "All" category will provide you with the opportunity to install every Cygwin package 4. Remove the symlink or symblic link from c:/cygwin/bin -$ls -l(view symlink) list: target_filename symlink_filename -copy the content of target_filename into symlink_filename $cp targetfile symlink_filename -and remove symlink by: $unlink symlink_filename Now you can use Linux-like environment for Windows. It consists of two parts: A DLL (cygwin1.dll) which acts as a Linux API emulation layer providing substantial Linux API functionality. A collectio

Tuver Dal -One more Expirement in cooking

Last night it is my turns to prepare dinner for my rummies,so tried for Dal N It was gr8 simple steps to do first boil d dal with Fenugreek seeds and after it that mixup that and add Turmeric Powder, Coriander Powder, then Tadka with Mustard seeds,heeng ,kadhi patta ....... And that was amazing and testfull ;) I am saying that from my rummies complement :)

Build the binary module package yourself-Madwifi

When I am working on Debian Live project I found a problem : I am customizing Debian Live using Live-helper Kernal using :Linux 2.6.26-1-686 The wifi-connection is not being detected, I have packed madwifi-tools, madwifi-source,wireless-tools,gnome-network-admin,network-manager packages any other packages are required for that wife-connection. I am using linux 2.6.26-1-686 kernal and I didn't find madwifi-modules-2.6.26-1-686.so how can I able to add that ? Here is the solution ........... madwifi modules are not prebuilt in the archive because the maintainer of madwifi didn't wanted us to do that (on behalf of linux-modules-nonfree-2.6). however, you need to build the binary module package yourself (m-a build madwifi) and put it into your config/chroot_local-packages. And now your madwifi package support in your customized Debian Live

“User’s $HOME/.dmrc” file is being ignored.

When your linux machine gives .dmrc problem "“User’s $HOME/.dmrc” file is being ignored. This prevents the default session and language from being saved. File should be owned by user and have 644 permission. User $HOME directory must be owned by user and not writable by other users Do this.... sudo chmod 644 ~/.dmrc sudo chown your_username ~/.dmrc sudo chmod 755 /home/your_username sudo chown your_username /home/your_username