jkkenzie Posted September 10, 2008 Share Posted September 10, 2008 I have installed xampp in my Linux system and able to run it. I am new with LINUX systems. Am using Ubuntu latest version. Where do i upload my php files or folders ? or how do i put my files so that i can run my pages? Any software that can do this for me automatically? Thanks in advance. Regards, Joseph Quote Link to comment https://forums.phpfreaks.com/topic/123560-xampp/ Share on other sites More sharing options...
jkkenzie Posted September 10, 2008 Author Share Posted September 10, 2008 anybody? Quote Link to comment https://forums.phpfreaks.com/topic/123560-xampp/#findComment-638256 Share on other sites More sharing options...
Daniel0 Posted September 10, 2008 Share Posted September 10, 2008 Don't use XAMPP. You should rather use the built-in package system in Ubuntu to install that software. Run this from the terminal (as root): aptitude install apache2 libapache2-mod-php5 mysql-server mysql-client Your document root will then be /var/www Quote Link to comment https://forums.phpfreaks.com/topic/123560-xampp/#findComment-638403 Share on other sites More sharing options...
jkkenzie Posted September 11, 2008 Author Share Posted September 11, 2008 I get a response that "E: could not open lock file /var/lib/dpkg/lock - open(13 permission denied)" and "E: unable to lock the administration directory (/var/lib/dpkg/), are you root? " I have logged in as administrator with user name "emo", how can i log in as root? What are the default username and password for root? thanks Joseph Quote Link to comment https://forums.phpfreaks.com/topic/123560-xampp/#findComment-638893 Share on other sites More sharing options...
Daniel0 Posted September 11, 2008 Share Posted September 11, 2008 The username for root is... root. However, on Ubuntu root's password is locked so you have to use the command sudo. If you run sudo -i then it'll ask you for your current user's password. You can also just prepend sudo to the command above. There is not really any administrator account so to speak; there is root and then there are the regular users. Quote Link to comment https://forums.phpfreaks.com/topic/123560-xampp/#findComment-638896 Share on other sites More sharing options...
jkkenzie Posted September 11, 2008 Author Share Posted September 11, 2008 Thanks very much. Is there a way i can download and install rather than do it online? Some files are corrupt, and it keeps downloading over and over again. regards, Joseph Quote Link to comment https://forums.phpfreaks.com/topic/123560-xampp/#findComment-638990 Share on other sites More sharing options...
Daniel0 Posted September 11, 2008 Share Posted September 11, 2008 They shouldn't be "corrupt", but if it somehow doesn't work then try to to use clean or purge instead of install in the above command. Then try to install again. Also, make sure you got rid of that XAMPP thing before trying to install it using aptitude. Quote Link to comment https://forums.phpfreaks.com/topic/123560-xampp/#findComment-638991 Share on other sites More sharing options...
jkkenzie Posted September 12, 2008 Author Share Posted September 12, 2008 How do i unistall XAMPP? Sorry for this question but am new with Linux. My internet connection is too down, too slow. There was connections failures when i was using your earlier commands. Otherwise Thanks again. Regards, Joseph Quote Link to comment https://forums.phpfreaks.com/topic/123560-xampp/#findComment-639606 Share on other sites More sharing options...
Daniel0 Posted September 12, 2008 Share Posted September 12, 2008 I don't know. You'll have to consult XAMPP's manual. Quote Link to comment https://forums.phpfreaks.com/topic/123560-xampp/#findComment-639695 Share on other sites More sharing options...
wildteen88 Posted September 13, 2008 Share Posted September 13, 2008 How do i unistall XAMPP? Sorry for this question but am new with Linux. My internet connection is too down, too slow. There was connections failures when i was using your earlier commands. Otherwise Thanks again. Regards, Joseph To remove xampp have a read of the Uninstall section at the bottom of the page here http://www.apachefriends.org/en/xampp-linux.html#388 Before removing ensure XAMPP has stopped (this is explained in the link above too). Quote Link to comment https://forums.phpfreaks.com/topic/123560-xampp/#findComment-640512 Share on other sites More sharing options...
jkkenzie Posted September 15, 2008 Author Share Posted September 15, 2008 Alright, thanks guys, but i would like to know why do you not like XAMPP?? Quote Link to comment https://forums.phpfreaks.com/topic/123560-xampp/#findComment-641746 Share on other sites More sharing options...
Mchl Posted September 15, 2008 Share Posted September 15, 2008 I for one don't see need to use such a bundle in Linux, where installing all the elements from repositories works flawlessly. I had Apache, PHP and MySQL up and running in some 20 minutes using just Ubuntu Package Manager (or whatever is it called) Quote Link to comment https://forums.phpfreaks.com/topic/123560-xampp/#findComment-641768 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.