Log in

View Full Version : I Have Kubuntu.



boxxertrumps
03-02-2007, 11:24 PM
Now i need to install some server software to it.

And Instructions on how to do it, Apperently im a complete noob at installing stuff...

So, what the best linux server program out there?

thetestingsite
03-02-2007, 11:28 PM
Look up LAMP in google.

Twey
03-02-2007, 11:42 PM
Don't do that.
$ sudo apt-get install apache php mysql... or use Synaptic (especially since I'm not entirely sure those are the correct package names for Kubuntu).

boxxertrumps
03-03-2007, 02:09 AM
Thetestingsite, That link leads to a genetics program...
and i went to wikipedia. found lamp. ran the appget commands.
im having problems copying the files to /var/www
access denied.

...

i burned the contents of my site to a cd. except my music.
im running at a megadeath deficit right now...

thetestingsite
03-03-2007, 02:11 AM
Make sure you are in super user (or logged in as root).


That link leads to a genetics program...

Yea, sorry about that. Just did a google search and found that as the first result. Was kinda busy earlier so didn't really look at what it was.

boxxertrumps
03-03-2007, 02:40 AM
I Dont know how to login as root...

Twey
03-03-2007, 10:18 AM
boxxertrumps:
$ su -
<enter root password>
# apt-get install apache php mysqlDon't bother with that LAMP thing.

boxxertrumps
03-03-2007, 04:04 PM
apache, php &mysql is installed, but i dont know how to change the permisions of the var/www/ folder so that i can change the contents without logging in as root.

thetestingsite
03-03-2007, 04:44 PM
you could probably do something like



sudo chmod 777 /var/www

Twey
03-03-2007, 05:37 PM
Don't do that either. You don't want to change the contents of the whole /var/www folder, just the htdocs section. su to root, then:
# chmod -R youruser:users /var/www/htdocs(may also be /var/www/localhost/htdocs, depending on the server's setup).

boxxertrumps
03-03-2007, 05:48 PM
I Fail...


boxxertrumps@Boxxer-desktop:~$ chmod -R youruser:users /var/www
chmod: invalid mode: `youruser:users'
Try `chmod --help' for more information.

But var/www is the folder that shows up when you go to "http://boxxer.mooo.com"
theres the folder "apache2-default" thats inside www...

Twey
03-03-2007, 06:54 PM
Ah, OK then. Tsk, I mixed up chmod and chown again.
# chown -R youruser:users /var/wwwyouruser is the user you want to access the folder, and users is that user's group (usually simply called users, but not always).

boxxertrumps
03-03-2007, 09:36 PM
NVM, it worked...

Thanks alot.

ONE MORE PROBLEM!

Warning: fopen(includes/iptime.txt) [function.fopen]: failed to open stream: Permission denied in /var/www/includes/functions.php on line 56
Warning: fwrite(): supplied argument is not a valid stream resource in /var/www/includes/functions.php on line 57
Warning: fclose(): supplied argument is not a valid stream resource in /var/www/includes/functions.php on line 58

PHP cant edit files. there goes my comment system...

Twey
03-03-2007, 11:26 PM
Make them writable by the "nobody" group:
$ chgrp -R nobody /var/www
$ chmod -R g+rw /var/www

boxxertrumps
03-03-2007, 11:44 PM
thanks.

now to figure out how to use rpms...

BLiZZaRD
03-04-2007, 12:27 AM
I didn't think *buntu used rpms. I thought those were more a redhat thing...

thetestingsite
03-04-2007, 12:32 AM
I was using Xubuntu and it uses rpms....Not sure about Kubuntu though.

Twey
03-04-2007, 12:43 AM
Other than with Alien, Debian-based distributions such as Ubuntu use the DEB package format.

BLiZZaRD
03-04-2007, 12:43 AM
My bad. It's that it also uses debs. that's what I was thinking of. :)

<edit> Cross posted Twey :) I hear Alien trys but comes up a bit short in converting, what do you know about it? (I haven't ever used it) </edit>

boxxertrumps
03-04-2007, 03:02 AM
Ive just installed wine, and im about to try installing battlefeild 1942.

is there anything specific i should do first?

Twey
03-04-2007, 01:19 PM
Pray. :p It's rated as "Garbage" in the Wine Application Database (http://appdb.winehq.org/appview.php?iAppId=1370).
<edit> Cross posted Twey :) I hear Alien trys but comes up a bit short in converting, what do you know about it? (I haven't ever used it) </edit>I've never had cause to use it either.