Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

5 steps for 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.

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



This post first appeared on Tech Gurug : The Latest Technology News & Read Free Tutorial., please read the originial post: here

Share the post

5 steps for Start running Xampp in Ubuntu 16

×

Subscribe to Tech Gurug : The Latest Technology News & Read Free Tutorial.

Get updates delivered right to your inbox!

Thank you for your subscription

×