![]() ![]() ![]() According to it, you can use it by selecting the recording command of your requirement from the command given below: Whatever version of Php you have installed. Sudo apt upgrade -y Step 2 – Download XAMPP On Ubuntuīelow is the command to download the complete for each Php version. Step 4 – Open Web Dashboard and phpMyAdmin using Xamppįirst of all, open terminal or command and run the following command on command line to update system packages: sudo apt update.Use the below given instructions for install and use xampp on linux ubuntu using terminal or command line: How to install XAMPP on Ubuntu 22.04 using Terminal In this tutorial, i am going to show you how to install and use xampp on linux ubuntu 22.04 system using terminal or command line. This simple and lightweight solution works on Windows, Linux, and Mac – hence the “cross-platform” part. I like Lubuntu better for VM instances at the moment, though.XAMPP is an abbreviation for cross-platform, Apache, MySQL, PHP and Perl, and it allows you to build WordPress site offline, on a local web server on your computer. In the interim, I'll have to get a Ubuntu VM up on my ThinkPad. It's warm enough in New Mexico now that I can't use the MacPro until the weather cools down again: it generates way too much heat in my office. My Ubuntu machine is out of commission until Fall '21. On straight plain old Ubuntu I don't recall how I setup the launcher (not too much different. Add a new Launcher to your Panel and set it up like so: You're basically doing the same thing in the launcher as with the bash alias: declare a working directory and execute the. On Xubuntu (and Lubuntu, I believe-although, I haven't tried) it's a pretty straight-forward task. or go and install Windoze or drop a couple thou on a MacBook), but what's the fun in that? There's a good reason you're installing XAMPP on Linux-right? Still, if you just have to have a launcher, it can be done. You could, of course, also create a launcher for the XAMPP manager (. you would have to either way, actually): Success again! Since the command executes with, sudo, however, you will have to enter your user password (. Now you should be able to just type ' xampp' into your terminal and launch the manager. ADD THE FOLLOWING LINES TO THE FILE alias xampp='(cd /opt/lampp & sudo. Let's use ' xampp' for our alias: //CD W/O PATH TO GET TO YOUR USER DIRECTORY (IF NOT ALREADY THERE) $ cd //CREATE OR EDIT THE. bash_aliases file and create a one word alias to find the correct directory and then launch the manager for us. Once again, there are much easier ways to do this. That should look like this: $ cd /opt/lampp $ sudo. The way ApacheFriends suggests you do it, though, is to hit the command-line and cd your way to the XAMPP install directory-then execute the manager. When it comes to this, again, you've got a few options. Sometimes it's handy to actually get the XAMPP manager up and running (the graphical interface for managing services). XAMPP Manager - The Easy Way The XAMPP Manager can be a useful tool for accessing error logs quickly this is particularly helpful if you find yourself mucking around with Apache, PHP or Database settings with any frequency. but, if you're constantly on the command-line, your carpal bones may thank you at the end of the day. With the aliases in your bash, you should now be able to start and stop XAMPP services with one word: Success! Is it a tremendous game-changer? Maybe not. ADD THE FOLLOWING LINES TO THE FILE alias letsgo='sudo /opt/lampp/lampp start'Īlias stopit='sudo /opt/lampp/lampp stop' bashrc (again, a file you should find in your user directory-i.e., /home/username ): //CD W/O PATH TO GET TO YOUR USER DIRECTORY (IF NOT ALREADY THERE) $ cd //CREATE OR EDIT THE. If you don't have one, you can add one easily-the file name should already be referenced as an include in your. bashrc that would allow you to get up and running, or stop, with far fewer key strokes: i.e., ' letsgo' to start services, and ' stopit' to stop them. You could, of course, create aliases for both of these commands in your. ![]() This is fine and all, but it requires a little finger work. If all you need to do is get services (Apache, MySQL, ProFTPD) started or stopped, ApacheFriends suggests you use the following: $ sudo /opt/lampp/lampp start //OR, AS THE CASE MAY BE $ sudo /opt/lampp/lampp stop You've installed XAMPP for Linux! Congratulations! Now that it's installed, how do you get it running? ApacheFriends has you covered for the basics, of course, but their methods make use of the command line, and aren't exactly efficient in terms of keystrokes. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |