Thinking about making the switch to Linux...

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

The Ninja Space Goat wrote:yea and one of the biggest reasons for making the switch is to learn all about linux so that when we get a linux box at my work and start hosting our own site, I will know how to administrate it (or at least help administrate it). I should probably learn these things, but for now I need to work on some php stuff so I need to have read/write access to the files and I need to do it the easy way.
The Unix way is for each user (and that could mean a person or a daemon) is given only the minimum privileges needed to do what is necessary. That goes for yourself as well -- it just takes some getting used to set privileges in areas that are appropriate and to need to need to login to so something outside your normal privileges.
(#10850)
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

Alright I messed something up... :(

I was trying to set up a virtual host and I did this...

Code: Select all

$sudo vi mysite.com.conf
and now when I try to restart apache I get this error...

Code: Select all

$ sudo /etc/init.d/apache2 restart
 * Forcing reload of apache 2.0 web server...                                   grep: /etc/apache2/sites-enabled/mysite.com.conf: No such file or directory
                                                                         [fail]
help :(
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

The Ninja Space Goat wrote:I was trying to set up a virtual host and I did this...

Code: Select all

$sudo vi mysite.com.conf
Did you do this in /etc/apache2-site-enabled ?
Does

Code: Select all

ls -lad /etc/apache2-site-enabled/my*
list your file?
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Post by jayshields »

If anyone knows of a guide to set up any kind of desktop eye-candy (GLX, compiz, beryl) that definately works with the latest version of Ubuntu and an Nvidia graphics card please post or PM me a link. I still haven't found a guide that works.

EDIT

I've done it now. I tried 3 times with compiz, first time with beryl and it works. Although certain settings in the beryl-manager crash my system completely (blur/3D windows) and sometimes it randomly crashes anyway. Even when it's working fine all I have to do is open FireFox and my CPU usage goes anywhere between 20%-70% constant and everything starts running all slow. I've read it's to do with the kernel but everytime I do something on Ubuntu there's something like that comes up and I spend 4 hours fixing it only to find another gripe.

Being honest now I've got the eye candy working I'm bored of Ubuntu/Linux. I mean, I'm on Windows now, anything I want to do, I can do. I've got MSN w/ Plus, BitComet, WMP11 and FireFox running and my CPU usage stays between 2% and 20%. I run the classic Windows theme - that's all I want. I'm not a fancy man, I don't use iPods, I stick with Creative players :) I like stuff that does what it's intended to do, and does it well - rather than something that does what it's intended to do, and some more stuff, but doesn't do it as well.

I only wanted Ubuntu running so I could show the eye-candy to my uni mates who run OSX. So now I'm leaving it while it's half-working so I can show them when I go back :)
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Remember Ninja, you can do almost anything with any file from anywhere on your system in *nix, as long as you remember to path yourself correctly (yes, I have screwed this up many a time myself).

So when you enter

Code: Select all

$sudo vi mysite.com.conf
If your pwd is /home/ninjagoatman/ then you will actually be making that file instead of editing it, and it will be in /home/ninjagoatman/ not /etc/apache2-site-enabled/.

Also, how did you save your file? Can you get into it again in vi?
Post Reply