Linux

5 steps for Start running Xampp in Ubuntu 16

Start running Xampp in Ubuntu 16

Using Xampp or local server in Ubuntu or other Linux is kind a tricky. Simply put it’s kind pain in Ass.

It took me huge time to understand basic of this. It’s only work through Terminal. Which require kind a skill. For lot of Terminal practice I get some skill and move in this thing.

So, again I am going to write some most easiest skill to use Xampp or Local server.

Step1: Basic.

* I assume that you have default Ubuntu’s local server or Xampp. Then you understand already compare to Window it’s not easy to install or run in Linux it require kind a skill and mostly in Terminal. Which is huge tricky.

* Linux is divided in two authority. First for System and second for User which compare in Window User have full authority. Which means messing in System drive or folder or file it self you required permission. [ Simply put you required tourist Visa.. ]

* For tourist visa for System you can use “sudo” in terminal. Which mean for copy, paste, delete, alter or create you have to use Terminal. Which mean lot of pain in Ass for typing, remember and master Linux you must have to master Terminal.

* Open terminal by press Ctrl+Alt+T.

Step2: Location.

* First I will teach where all file put and it’s location.

Ubuntu preinstall server located in sytem “/var/api/www” .

In Xampp is located in “/opt/lampp/htdocs” .

Step3: Start with delete.

* When you type localhost in browser you get both server’s fancy page which kind a useless for you so you must delete for easyness.

sudo find /var/api/www/index.php -delete{ When you delete index.php it give other folder & page display. Good for you.}

sudo find /opt/lampp/htdocs/index.php -delete{ When you delete index.php it give other folder & page display. Good for you.}

* Some time it ask password. So enter it.{ Password field is invisible. So just enter it. }

* You can use this method to delete any system. But be carefull you might delete some very usefull file.

Step4: Copy file in Server.

* Assume you have some php file in other drive but you can’t copy in Server. Why ? How ?

* Remember for location of folder get from above bar copy from location.{ Getting location bar selecet “Bar->Go->GetLocation” . }

sudo cp -r /my_file_copy_location/WantCopy.php /opt/lampp/htdocs/WantCopy.php{ This way you can copy file or all folder. }

* Remember folder or file name must not have space because that way terminal become confuse and show error. Don’t close terminal either.

Step5: Make folder in Server.

* Makeing folder is easy in other drive but not in System. I told you. It require visa for that. Creating folder is just like buying house on working visa which kind a tricky.

sudo mkdir /opt/lampp/htdocs/MySexyFolder{ MySexyFolder is new folder name which created. After may ask password. }

Please, share and like this article on Social Networks.

Also, like Tech Awaz on Social Media to spread it’s wing there. If you want to give feedback than please comment below.

You can also feedback us via email. We do our best to reply soon as possible.

If you want to add or give some advice about this or new topic, please contact us. Thanks for reading.

The post 5 steps for Start running Xampp in Ubuntu 16 appeared first on Tech Awaz.

Tags
Show More

Tech Awaz

Tech Awaz is an ambitious online Journal founded in 2016 to examine how technology will change life in the future for a massive mainstream audience.

Leave a Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

Do NOT follow this link or you will be banned from the site!
Close

Adblock Detected

Please consider supporting us by disabling your ad blocker
Read previous post:
3 steps for Remove Guest Session in Ubuntu
3 steps for Remove Guest Session in Ubuntu

3 steps for Remove Software / VirtualBox in Ubuntu / Debian / Linux

5 steps for Install Xampp in Ubuntu / Debian / Linux
5 steps for Install Xampp in Ubuntu / Debian / Linux

10 Free Social Bookmarking Sites List With High PR
10 Free Social Bookmarking Sites List With High PR

ankit fadia tricks ethical hacker
Ankit Fadia : Tricks of being Ethical Hacker !

10 Most High Tech Cell Phone – Smart Phone in 2017

CALL 10 HR Solutions
CALL 10 : We provide Manpower Supply & HR solutions

How to choose a Domain Name for your Blog - Website
How to Choose a Domain Name for Your Blog – Website ?

Close