Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Accipiter
Jan 24, 2004

SINATRA.

deimos posted:

Get Ubuntu or Fedora, this forum (and myself) lean towards Ubuntu.

You don't learn Linux installing either of those things.

Adbot
ADBOT LOVES YOU

bitprophet
Jul 22, 2004
Taco Defender

covener posted:

debian and ubuntu packaging of Apache is pretty awful...

Mind backing up this assertion? :)

Sergeant Hobo
Jan 7, 2007

Zhu Li, do the thing!
I'm now trying to understand user quotas in order to give my brother no more than 5 GB of space on /home. My searches led me to this Arch Linux wiki entry. It seems pretty straight-forward but I'm curious: if I want my brother to have only 5 GB allocated and the rest given to me, do I need to set up a zeroed-out quota for myself or can I just let it go?

Smackbilly posted:

Although it seems you fixed your problem, the way to give write permissions to 1 or more users who are not the owner is to create a group, put the users who should have write permissions into that group, assign group ownership of the directory to that group, and then give the directory group write permissions. If you need anything more fine-grained than that, you need to look into ACLs.

Ah, I see. That makes sense. Fortunately, I'm the only one who needs write permissions at the moment but I'll remember this if I need someone else managing this particular directory. Thanks.

covener
Jan 10, 2004

You know, for kids!

bitprophet posted:

Mind backing up this assertion? :)

You wouldn't believe the number of people who can't follow simple tried-and-true instructions because of the config file hierarchy/cruft used in the debian packaging.

This is conventional wisdom in #apache on freenode

code:
<arreyder> karma debian
<fajita> debian has karma of -446
I do recognize that this largely to help differentiate files that can be safely modified by dpkg. The a2* junk also keeps people in the dark about how to actually configure the webserver natively.

bitprophet
Jul 22, 2004
Taco Defender

covener posted:

You wouldn't believe the number of people who can't follow simple tried-and-true instructions because of the config file hierarchy/cruft used in the debian packaging.

This is conventional wisdom in #apache on freenode

code:
<arreyder> karma debian
<fajita> debian has karma of -446
I do recognize that this largely to help differentiate files that can be safely modified by dpkg. The a2* junk also keeps people in the dark about how to actually configure the webserver natively.

I don't really see how either of those are "bad", though. As someone who does know how to configure Apache fairly well, I think the whole [sites|mods]-[enabled|available] setup makes things modular and easier to manage, without being overly contrived - it's simply breaking things out into separate config files and using symlinks to determine which ones are picked up when Apache starts. Very similar to the /etc/init.d/ + /etc/rcN.d/ initscript setup.

Sure, it's simpler to have everything in one or two main Apache config files (if that's what you're arguing for; it's not clear what you think the ideal Apache setup is), but that also doesn't scale as well as Debian's layout does. I personally think it's swell that one can test out different virtual host configurations without having to bulk-comment lines in apache2.conf, for example.

covener
Jan 10, 2004

You know, for kids!

bitprophet posted:

I don't really see how either of those are "bad", though. As someone who does know how to configure Apache fairly well

The layout (and other packaging issues) creates a support bubble, and there's evidence of it every day in user support forums. Adding a layer between the user and the configuration seems to hurt too (especially when they're often not traditional sysadmins, like a lot of people who consume/configure Apache)

For context, I make a living developing and supporting Apache for $bigco. I'm an Apache committer and I donate personal time to the user support forums (users@httpd and IRC).

I've also been a Debian user for 7 years, so I don't have an axe to grind on that side either.

To summarize, cutting your teeth on apache via debian could fill your head with a considerable number of debian-isms instead of apache-isms.

bitprophet
Jul 22, 2004
Taco Defender

covener posted:

To summarize, cutting your teeth on apache via debian could fill your head with a considerable number of debian-isms instead of apache-isms.

I can definitely agree with that (although all the mainstream distros fiddle with packages, it seems - even Arch, which is normally pretty vanilla, compiles Apache with the "RedHat" directory option which looks pretty alien to me).

So is your only real beef with the Debian /etc/apache2 layout that it differs so markedly from the Apache norm as to create support headaches (which I can understand)? Or is there something else too that makes it less than ideal? I guess that's what I've been trying to drive at.

fatcat
Jun 18, 2004

albert's lookin at you

Accipiter posted:

You don't learn Linux installing either of those things.

So using Linux is a bad way to learn Linux. Hm.

covener
Jan 10, 2004

You know, for kids!

bitprophet posted:

So is your only real beef with the Debian /etc/apache2 layout that it differs so markedly from the Apache norm as to create support headaches (which I can understand)? Or is there something else too that makes it less than ideal? I guess that's what I've been trying to drive at.

When you wrap this stuff too much, users think checking "ports.conf" shows them what ports apache will listen on, and a module is being used when they've run the proper commands in /usr/sbin.

Sure, it's trivial for you and I to recognize there are only so many contexts these files get Include'ed into then you're back to basics, but not your typical user seeking help on #apache (believe it or not)

I do appreciate that the beef is mostly a nitpick, but recall the context of getting ones feet wet with Apache; similiar to how people recommend against ubuntu/gnome when you're trying to get a feel for linux

Pope Hilarius
May 3, 2007

For some reason I don't have owner privileges on my ubuntu account. I tried to make a directory writable but I can't and it says I need owner privileges. I am the only user on the machine. It there a way to give myself owner privileges or do I need to make a new account?

deimos
Nov 30, 2006

Forget it man this bat is whack, it's got poobrain!

Accipiter posted:

You don't learn Linux installing either of those things.

He literally asked what distro to use.

Tap posted:

Which is the best distro to get the best of both worlds?

Prince John
Jun 20, 2006

Oh, poppycock! Female bandits?

Anonymity Returns posted:

For some reason I don't have owner privileges on my ubuntu account. I tried to make a directory writable but I can't and it says I need owner privileges. I am the only user on the machine. It there a way to give myself owner privileges or do I need to make a new account?

I'm assuming that this isn't on an external drive, but is just a directory in your /home folder. If its a removeable drive you probably just need to mount it with the user flag.

Open up the terminal and navigate to the parent of the offending directory. So if the folder is /home/Col/files/denied/ do the following:

code:
cd files/
then verify the ownership of the directory by doing
code:
ls -la | grep denied
This should produce a line something like this:
code:
drwxrwxr 4 root root 50176 Apr 20 04:50 denied/
The string of digits at the front represent what permissions are set, and the two user names represent the user and group that owns the folder (in this case root is both).

To take ownership of the folder, just the chown command (CHangeOWNership) as follows:

code:
sudo chown yourusername denied


If you still can't access it, then (now you're the owner) you can change permissions:
code:
chmod u+wrx denied
will give the User/owner read, write and execute permissions within the directory. You can also use the -R flag to recursively change permissions to all the files within the directory if needed.

Note that if you're trying to write outside of your /home directory this may not be a good idea - your access is probably restricted by default for security reasons and changing the ownership of a system file may break something.

You may wish to try having a look at a guide, perhaps here or here.

Neslepaks
Sep 3, 2003

Accipiter posted:

You don't learn Linux installing either of those things.

You don't learn Linux by installing anything.

Marinmo
Jan 23, 2005

Prisoner #95H522 Augustus Hill
What the flying gently caress happened to gentoos packages database? Previously it was a nicely laid out page with a very handy searchbox where you could search for individual packages. Now it's just an abortion of what it previously was. Does anyone know how to use that drat page (I don't consider browsing by category as an option), or even better, if there's an search tool for packages available somewhere on the gentoo.org site?

I am aware of using /package/packagename - that is not what I want.

yippee cahier
Mar 28, 2005

Marinmo posted:

What the flying gently caress happened to gentoos packages database? Previously it was a nicely laid out page with a very handy searchbox where you could search for individual packages. Now it's just an abortion of what it previously was. Does anyone know how to use that drat page (I don't consider browsing by category as an option), or even better, if there's an search tool for packages available somewhere on the gentoo.org site?

I am aware of using /package/packagename - that is not what I want.

Big security flaw on their site, but that was a long time ago now. I'm surprised it's still down.

Pope Hilarius
May 3, 2007

Col posted:

:words:
Thanks a ton, that worked.

Ham Session
Feb 23, 2006
How do you open up ports on your local host, I'm trying to run gpsd and seeing if it works with our GPS system. Does anyone have experience with gpsd?

Marinmo
Jan 23, 2005

Prisoner #95H522 Augustus Hill

sund posted:

Big security flaw on their site, but that was a long time ago now. I'm surprised it's still down.
drat that sucks. Well, now I at least know why. Wonder how hard it could be to code a proper search function and why noone has done it yet.

other people
Jun 27, 2004
Associate Christ

Marinmo posted:

drat that sucks. Well, now I at least know why. Wonder how hard it could be to code a proper search function and why noone has done it yet.

http://www.gentoo-portage.com

That is all you need.

The Merkinman
Apr 22, 2007

I sell only quality merkins. What is a merkin you ask? Why, it's a wig for your genitals!

teapot posted:

:words:

So I was finally able to try it all out. It worked, thank you! I just have a few questions

do you still want the output of dmesg?
what do you think caused it not to work in the first place?
will I need to do anything special when/if I upgrade ndiswrapper or the kernel?

teapot
Dec 27, 2003

by Fistgrrl

The Merkinman posted:

So I was finally able to try it all out. It worked, thank you! I just have a few questions

do you still want the output of dmesg?
No unless it contains anything suspicious.

quote:

what do you think caused it not to work in the first place?
will I need to do anything special when/if I upgrade ndiswrapper or the kernel?
You now have ndiswrapper installed from sources, so package manager is unaware of it, and won't upgrade it when new version of ndiswrapper or kernel package will be released. After you upgrade the kernel and reboot you will have to remove its ndiswrapper module or move it somewhere else again:
code:
sudo mv /lib/modules/$(uname -r)/kernel/drivers/net/ndiswrapper ~/ndiswrapper-modules-old-1
compile ndiswrapper again ("make clean" in ndiswrapper source directory, then "make", "sudo make install" and everything that follows in installation procedure).

Alternatively you can switch to the packaged version of ndiswrapper -- if it doesn't support your driver now, it will likely do so in the next packaged release. To do so, from source directory run "sudo make uninstall" and install the packages that you have removed ("apt-get remove --purge" line) before -- you will be able to configure packaged ndiswrapper in the same way as you configured when it was compiled from sources, except since that point package manager will keep track of upgrades for kernel and ndiswrapper.

I think, it's becoming the most frequently asked question:

Q: "I have installed {ndiswrapper|nvidia driver|other driver} from tarball, and it breaks"
A: "Remove the packaged version and repeat the procedure".

Maybe it will make sense to make some "installation sanity check" procedure that detects such duplicates?


Edit: clarified the reinstallation part.

teapot fucked around with this message at 15:38 on Dec 17, 2007

coconono
Aug 11, 2004

KISS ME KRIS

I'm having a bad sysadmin day :(

Is there some way to setup Samba users without having to create them as linux users?

Further fun, I have to do it from the command line because the VNC server is ghetto.

EDIT: guess not. Looks like Samba depends on the info from /etc/passwd. boo.

coconono fucked around with this message at 15:46 on Dec 17, 2007

Nerf Herder
Sep 2, 2006

Scruffy-Looking
Does anyone know know to take Ubuntu out of a dual boot system??? I've done it before but it was a bit of trouble to pop in a grub CD to remove the grub boot loader... any thoughts???

Sergeant Hobo
Jan 7, 2007

Zhu Li, do the thing!

coconono posted:

I'm having a bad sysadmin day :(

Is there some way to setup Samba users without having to create them as linux users?

Further fun, I have to do it from the command line because the VNC server is ghetto.

EDIT: guess not. Looks like Samba depends on the info from /etc/passwd. boo.

Well, that answered a question I had much earlier (doesn't pertain to anything anymore though). Thanks for the info anyways.

teapot
Dec 27, 2003

by Fistgrrl

Nerf Herder posted:

Does anyone know know to take Ubuntu out of a dual boot system??? I've done it before but it was a bit of trouble to pop in a grub CD to remove the grub boot loader... any thoughts???

Reinstall whatever MBR you had before. If it's Windows, use Windows CD in rescue mode and run fixmbr.

Mo Hawk
Jul 17, 2006
HEADPHONE JACK
Skype is giving me a hard time detecting the public ips of users I am connecting to.
My Wireshark skills are basic, and so far I have not found a good way to filter for Skype packets to begin with, let alone find an ip of the person I am talking or chatting with. I am currently just capturing random parts of traffic and tried to narrow down the possible packets by telling Skype in the preferences to use the port 45429, but it does not give me any good information. It connects to hundreds of different Skype clients it seems, and these relay the information to my conversation partner. But at some point (conversation start?) Skype will do some kind of initiation package or something I can use, right? ...right? :confused:

deadEd
Feb 20, 2001
How is writing to NTFS in Linux these days? I see on their website that it's considered "safe" now, but does anyone have any practical experience doing it?

ribena
Nov 24, 2004

Hag.

deadEd posted:

How is writing to NTFS in Linux these days? I see on their website that it's considered "safe" now, but does anyone have any practical experience doing it?

Yeah, I do it a fair bit (my music lives on an NTFS partition), not had any problems thus far.

Scaevolus
Apr 16, 2007

deadEd posted:

How is writing to NTFS in Linux these days? I see on their website that it's considered "safe" now, but does anyone have any practical experience doing it?

Echoing ribena, I have had no problems at all with ntfs-3g.

Vulture Culture
Jul 14, 2003

I was never enjoying it. I only eat it for the nutrients.

coconono posted:

I'm having a bad sysadmin day :(

Is there some way to setup Samba users without having to create them as linux users?

Further fun, I have to do it from the command line because the VNC server is ghetto.

EDIT: guess not. Looks like Samba depends on the info from /etc/passwd. boo.
NT LAN Manager hashes are transmitted in a form that can't be reversed, rehashed and checked against standard Unix password hashes. You can authenticate against Samba without maintaining a separate password database, but it requires an Active Directory server functioning as your Kerberos KDC on the backend.

Edit: Just realized I answered a question totally different from the one you asked

Pope Hilarius
May 3, 2007

This is a very stupid question but is ubuntu server all command line? I downloaded what I thought was ubuntu server but it has a gui and a lot of little free games which I thought was strange for a server version. I think maybe the mirror I downloaded it from mislabeled it. Does anyone know for sure is the server version is all gui?

bitprophet
Jul 22, 2004
Taco Defender

Anonymity Returns posted:

This is a very stupid question but is ubuntu server all command line? I downloaded what I thought was ubuntu server but it has a gui and a lot of little free games which I thought was strange for a server version. I think maybe the mirror I downloaded it from mislabeled it. Does anyone know for sure is the server version is all gui?

In my recollection, yea, the server CD's default install option does not install any GUI environments unless you ask it to, so you probably got a mislabeled download. One way to tell is to pop in the CD again and see if it offers a LAMP server option - AFAIK that option is only on the server disks.

Marinmo
Jan 23, 2005

Prisoner #95H522 Augustus Hill

bitprophet posted:

In my recollection, yea, the server CD's default install option does not install any GUI environments unless you ask it to, so you probably got a mislabeled download. One way to tell is to pop in the CD again and see if it offers a LAMP server option - AFAIK that option is only on the server disks.
The server just drops you off at the default text-login yes. No X server is even installed.

Oldsmobile
Jun 13, 2006

I have an old iBook G4 at work with the 500mhz or so processer. I put Xubuntu on it but it didn't seem all that fast.

Is there a distro I could use to make it really fast. All I need it for obvisouly is surfing and Abiword and a couple of other basic programs.

It doesn't have to be pretty, just functional and unbloated.

Prince John
Jun 20, 2006

Oh, poppycock! Female bandits?

Oldsmobile posted:

I have an old iBook G4 at work with the 500mhz or so processer. I put Xubuntu on it but it didn't seem all that fast.

Is there a distro I could use to make it really fast. All I need it for obvisouly is surfing and Abiword and a couple of other basic programs.

It doesn't have to be pretty, just functional and unbloated.

Arch or Zen have always been nice and fast for me. If you're comfortable with Debian-based distros, then a minimal Debian install with fluxbox will be lightning fast.

Git
Aug 21, 2004

Oldsmobile posted:

Is there a distro I could use to make it really fast. All I need it for obvisouly is surfing and Abiword and a couple of other basic programs.

It doesn't have to be pretty, just functional and unbloated.

Try out some of the really lightweight window-managers. Despite being Gentoo specific, this page is a pretty good introduction to most of the common ones regardless of what distribution you use. I'd recommend Fluxbox, or EvilWM if you really want to get rid of all the trimmings.

Vanadium
Jan 8, 2005

openbox is pretty nice and minimal as well :(

bitprophet
Jul 22, 2004
Taco Defender
One problem is that your limiting factor will not be the WM but the applications; those are never going to be any faster/slower regardless of the desktop environment, really. For example, I used to run Linux on high end PIIs and while Fluxbox/fvwm2 ran super fast, Firefox (Phoenix back then :laugh:) was a snail. A 500MHz G4 isn't a whole lot faster than what I was using.

George Wright
Nov 20, 2005
I wanted to know if there is a way, short of installing Cygwin, that I can execute remote batch script on a Windows 2003 Server from my RHEL 4 shell? I would rather not install Cygwin just for this, but the other alternative is to install X, install the oracle client and turn the batch script into a bash script.

If the only way is Cygwin then I really don't have a problem (hopefully the client won't either!) installing it and using it, but it would be nice if I didn't have to.

Adbot
ADBOT LOVES YOU

covener
Jan 10, 2004

You know, for kids!

citizenh8 posted:

I wanted to know if there is a way, short of installing Cygwin, that I can execute remote batch script on a Windows 2003 Server from my RHEL 4 shell? I would rather not install Cygwin just for this, but the other alternative is to install X, install the oracle client and turn the batch script into a bash script.

If the only way is Cygwin then I really don't have a problem (hopefully the client won't either!) installing it and using it, but it would be nice if I didn't have to.

not sure what windows facilities need to be running on the host for sysinternals 'psexec' to work, but it might be something to look into.

edit: durf, of course that's a solution only for windows on both ends.

Bad choices: services for unix probably provides telnetd, or a native windows/commercial SSH server

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply