Moreover, it is capable of sending and receiving HTTP requests. As it creates a localhost server environment on a local machine, you would not need any active internet connection to use XAMPP and the localhost server. It uses web cache to load the heavy servers faster and supports CGI scripting, database manipulation. XAMPP can be used on a low RAM and CPU configuration Linux system and doesn’t consume a lot of your storage system. It is totally compatible with the Linux kernel. I like Lubuntu better for VM instances at the moment, though.XAMPP is written in Perl and PHP language and maintained by Apache Friends. 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. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |