![]() ![]() Also if you don’t have GUI you wouldn’t use gedit (it is GUI program), you would use CLI text editor like nano (“sudo nano” instead of “gksudo gedit”). On other Linux distros you need to first enter “ su“, and then you become permanently root until you resign root privileges with “ exit” command. Cheers!Įdit: On Ubuntu if you want to do something that requires root privileges you just prefix that command with “ sudo” for CLI apps and “ gksudo” for GUI apps. You have to have LAMP server installed first (you can follow Ubuntu Netbeans and LAMP server with Xdebug as non-root user or any other tutorial from Google to install LAMP). Once Ubuntu greets you with welcome message you just enter “sudo a2enmod userdir” and follow the rest of this article. So when your server is turned on it first asks for your login name and password. If you have Ubuntu server you start with “sudo a2enmod userdir” after you login to your console (Ubuntu server has no GUI only CLI (Command Line Interface). If you haven't already done this please follow the link from the beginning of this article and come back to enable userdir Apache module.For starters we need to enable this module using following command: In this article I will assume you have Apache web server fully installed. ![]() The official definition of userdir is that "this module allows user-specific directories to be accessed using the syntax". In this article I will show you how to do the same thing in another way by enabling Apache module called userdir on Debian based distributions like Ubuntu. LAMP development in your home directory with suPHP module I've wrote about one method of making Apache web server work this way in my following article: One essential thing you need to setup for web programming is localhost web server serving files inside your home directory. This works really great on Linux because every tool you need for web programing is right there a few keystrokes away using your favorite distribution and package manager. ![]() Lately I've spent a lot of time on web programming using open source based technologies like PHP, MySQL and PostgreSQL. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |