sudo apt-get install php5-curl
Friday, November 23, 2012
PHP curl installation in ubuntu
While installing magento in ubuntu there may be some errors related to php curl not being installed. To work around this, try the command:
Wednesday, November 21, 2012
Installing phpmyadmin in ubuntu
- Open your terminal and type the command:
sudo apt-get install phpmyadmin - It will ask for your password, type your ubuntu password and press enter key, it will ask for confirmation. Type
and press enter keyy - During the installation you will be prompted for a web server configuration. Select
and press EnterApache - Now you will be prompted for phpmyadmin configuration, select
no - In terminal run the command:
sudo cp /etc/phpmyadmin/apache.conf /etc/apache2/conf.d - Restart your apache server:
sudo /etc/init.d/apache2 restart - Open your browser and type
http://localhost/phpmyadmin/ - Enter root for username and leave password field empty and click on Go
- You will get the following error:
when trying to login to your passwordless account;Login without a password is forbidden by configuration (see AllowNoPassword) - To enable AllowNoPassword, uncomment or add the following line in /etc/phpmyadmin/config.inc.php :
$cfg['Servers'][$i]['AllowNoPassword'] = TRUE; - To make this file editable in ubuntu, type in the terminal:
then press entercd /etc/phpmyadmin - Then type
gksu nautilus - Make necessary changes and save the file. Now type
in the browser and enter only the username as root and click on Go.http://localhost/phpmyadmin/
Monday, November 12, 2012
Reset password in ubuntu
- Reboot into recovery mode
- Select Drop to root shell prompt option
- In recent versions of Ubuntu, the filesystem is mounted as read-only, so you need to enter the follow command to get it to remount as read-write, which will allow you to make changes: mount -rw -o remount /
- If you have forgotten your username as well, type: ls /home
- To reset the password, type: passwd username ex: passwd meenu
-
You'll then be prompted for a new password. When you type the
password you will get no visual response
acknowledging your typing. Your password is still being accepted.
Just type the password and hit Enter when you're done. You'll
be prompted to retype the password. Do so and hit Enter again.
Now the password should be reset. Type: exit to return to the recovery menu.
Labels:
Ubuntu
Thursday, November 1, 2012
grub rescue problem
- Download boot repair software from http://sourceforge.net/p/boot-repair/home/Home/
- Download iso version of the software(boot-repair-disk.iso) and create a bootable usb using linux live usb creator
- Change the boot option to usb flash drive in the computer which has grub rescue problem by hitting F2 key(this is the case in lenovo laptop)
- Then insert the created bootable usb into the computer and reboot
- The boot repair software runs ... now choose the appropriate system version(32bit or 64bit)
- Then choose recommended repair and follow on screen directions
- Do a final reboot and you can see the OS loading without any grub rescue errors
Labels:
Ubuntu
Create bootable usb
To create a bootable usb from a windows 7 computer, install linux live usb creator from http://www.linuxliveusb.com/en/download
Then choose the required iso image to be extracted into the destination usb.
Then choose the required iso image to be extracted into the destination usb.
Labels:
Ubuntu
Subscribe to:
Posts (Atom)