简体   繁体   中英

Install XAMPP in Ubuntu NOT as root

I've installed XAMPP and that worked fine. It was installed in /opt/lampp/ .

But now I need to install it again (I uninstalled it) NOT as root.

Important: Typing sudo for every thing I do is not the problem, but a bunch of other issues related to permissions while developing.

Can I move/install XAMPP to another location to have the user privileges?

The installer does not seem to give me that option.

I am not sure about moving Xampp somewhere else. However, if you are just interested in the lamp stack, you can follow instructions to install it as described here . The binaries for Apache, MySql and PHP will be installed somewhere else than /opt/lampp. And most likely, your default directory for your web content will be in /var/www.

However, you seem to have problems with permissions. Maybe you should give us a little more details about what kind of problems you have and what you would like to achieve. It could be that you just need to change the ownership of directories so that it would belong to a user.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM