How to install xampp on ubuntu

Hi  Today my friend asked me how to install xampp on ubuntu. Ohhh I have installed it before but  I forgot it 😀  So I thought it is better to write it…. 😀

First go to below this link and download xampp instaler
https://www.apachefriends.org/index.html

Screenshot from 2016-05-24 14:52:44

Screenshot from 2016-05-24 14:59:51

Ok then we have to go to  .run file location and give permission for that file.

Screenshot from 2016-05-24 15:16:21

Then run installer file
run this command

./xampp-linux-x64-installer.run

then it will show this

Screenshot from 2016-05-24 15:45:35

 

Screenshot from 2016-05-24 15:48:17

Screenshot from 2016-05-24 15:49:00

Screenshot from 2016-05-24 15:50:51

OK Now we have installed xampp. 🙂 and then we have to run below command to start lampp

sudo  /opt/lampp/lampp  start

and to stop

sudo  /opt/lampp/lampp  stop

Screenshot from 2016-05-24 16:04:45

If there is any permission problem 😀 give permission
sudo chmod 777 htdocs

Screenshot from 2016-05-24 16:16:19

This worked for me 😀 thank you !!!!

 

How to install mobile partner in ubuntu

Hi guys today I found another small thing in Ubuntu 🙂 Actually It was told me by my friend Kalinga 🙂 Thanks bro..
Today I knew about how to install mobile partner in Ubuntu. So I am going to tell you too how to install modem-manager-gui

To add the PPA, run these commands in terminal: (now don’t ask me what is PPA 😀 search it )

sudo add-apt-repository ppa:linuxonly/modem+manager+gui
sudo apt-get update

Then run this command
sudo apt-get install modem-manager-gui

Ok i think now you have modem-manager-gui  in your ubuntu environment because It worked for me 🙂
Thank you !!!

 

 

How to install google chrome on ubuntu

Ok get the terminal and again you have to only give some commands…..

First you have to give the link for chrome.
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

Screenshot from 2016-04-09 09:00:32

Ok now wait…. It is downloading…

Screenshot from 2016-04-09 09:03:21

After that enter below command…
sudo dpkg -i google-chrome*

Screenshot from 2016-04-09 09:07:51

Ok now you have installed chrome. But if it will give error try this force command.

sudo apt-get install -f

Screenshot from 2016-04-09 09:12:38

This steps worked for me. Try these and thank you….. 🙂

 

How to install sublime text-3 in ubuntu

Ok first get the terminal……

Screenshot from 2016-04-06 13:53:21

It is very easy.. now follow this commands…..

  • sudo add-apt-repository ppa:webupd8team/sublime-text-3
    now it will ask your password. so give it :D
    Then again you will have to press enter. wait....
    ok now enter below command.

 

  • sudo apt-get update

    wait and enter this command

  • sudo apt-get install sumblime-text-installer

    Ok now you have installed sublime text editor…..

 

 

 

 

 

Grub rescue error(no such a partition)


error: no such partition.
Entering rescue node...
grub rescue>_

Is this the error you get when you on your computer? Ok let’s try this……..

  • First type ls
    Then you can see like this output

(hd0) (hd0,1) (hd0,2) (hd0,3)  
or
 (hd0) (hd0,msdos1) (hd0,msdos2) (hd0,msdos3)…..

  • Then type this command…..

ls (hd0, msdos1)
When you’ll enter this command some times it’ll says. There is no such partion or some other error.
So you have  to enter     ls (hd0,msdos2) or
ls (hd0,msdos3) or
……………….. like this untill you get a success message 🙂

Ok now you have recognized the valid partion(msdos1/msdos2/msdos3..etc). After that you have to follow these steps.

set boot=(hd0,msdos5)
(In this command msdos5 is the partion which you have recognized as a valid one)

set prefix=(hd0,msdos5)/boot/grub

insmod normal

normal

After entering this commands you can start your computer. This method worked for me 🙂