|
Five months to fill a thread this time... come on folks, surely something about Linux is vexing you! Or has it just gotten that easy to use?? Previous Threads: Archived (1 2 3 4) 5 General Help: Hardware Help: Distribution Specific Help: Ubuntu Debian Gentoo Fedora
|
# ¿ Mar 21, 2007 19:15 |
|
|
# ¿ Apr 26, 2024 01:43 |
|
Postal posted:Anyone know any good GUI frontends for Snort?
|
# ¿ Mar 30, 2007 02:43 |
|
Grabulon posted:Let's say I have a directory /home/grabulon/photos with several subdirectories. There are fancier ways as well, look at the chroot_list_enable (and matching chroot_list_file) settings, as well as passwd_chroot_enable for more pathing options.
|
# ¿ Mar 31, 2007 17:50 |
|
Grabulon posted:But doesn't this mean that they have to login as "grabulon"? I want to create new users with access to my home directory... Give us some more specifics about what you're trying to do and hopefully we can give you better guidance.
|
# ¿ Apr 1, 2007 03:47 |
|
fletcher posted:Is there a way to see live traffic statistics for apache?
|
# ¿ Apr 30, 2007 23:36 |
|
Stage1 installs aren't even supported by the Gentoo team any more. Go with Stage3, that should work fine.
|
# ¿ May 30, 2007 01:01 |
|
coconono posted:I need a linux distro that can host MediaWiki(and the stuff it depends on to run). The catch being is that the distro needs to be as lightweight as possible as I'll be running it in VMWare along with several other Virtual Machines(I'm thinking about ditching X server and all the toys it brings just to cut down on the headroom). Also it has to fit on one CD.
|
# ¿ Jun 4, 2007 19:32 |
|
Washuu-Chan posted:Is there a way to create a pair of virtual network interfaces (of ethernet type) that act as a "pipe"? I want to have ethernet packets sent on one of them to appear on another and vice versa.
|
# ¿ Jun 12, 2007 07:08 |
|
cdrecord will do DVDs too. Use the -scanbus option to find your burner's device number, and then something like:code:
|
# ¿ Jun 16, 2007 21:17 |
|
Sister Miyagi posted:I'm trying to compile ndiswrapper under Fedora7. I downloaded the kernel sources as described here, and they seem to have put themselves under /usr/src/redhat/BUILD/kernel-2.6.21/linux-2.6.21. Source RPMs (.src.rpm) are intended to be used to rebuild a package. You're not trying to rebuild the kernel package itself here, so you probably don't want the .src.rpm, and you don't need to be pointing anything to the RPM building area (/usr/src/redhat). Instead, what you want to do is build a separate package (ndiswrapper) against the kernel. So what you need is not the actual .src.rpm for the kernel, but instead the "kernel source" RPM, which is called "kernel-devel-2.6.21-1.3194.fc7.i686.rpm". If you install that, you'll get the proper kernel source and header files in /usr/src. With most other packages the -devel just contains headers (.h) and libraries (.so) so this is less confusing... but for building kernel modules you need source code so that's what's inside -devel. It's just set up differently than the source inside the .src.rpm that's meant for building the actual RPM.
|
# ¿ Jun 20, 2007 16:29 |
|
InferiorWang posted:Is there a command to barf out a list of the hardware running on a machine?
|
# ¿ Jun 25, 2007 16:34 |
|
invid posted:Any idea how can I go about configuring mailstats? On current systems, sendmail.cf is generated from a file called sendmail.mc. If you just installed Sendmail but haven't configured it yet, it's feasible that sendmail.cf would be missing yet sendmail.mc would be present. But I'm guessing you have another MTA... what distro are you using?
|
# ¿ Jun 27, 2007 17:15 |
|
The VMware installer keys off some files that are already in place so you're going to have to delete them by hand to fool it into thinking it's a fresh install. Probably 'rm -rf /etc/vmware' will do the trick.
|
# ¿ Jun 29, 2007 16:50 |
|
indigoe posted:Although that wouldn't stop someone from hammering it with attempts.
|
# ¿ Aug 11, 2007 20:21 |
|
Harokey posted:I thought I would pipe that into "cut" but it looks like cut only wants to read from a file, and won't go from stdin. Any other ideas? code:
Edit: ^^^ bang teapot is right on
|
# ¿ Sep 20, 2007 00:44 |
|
aptitude happens to have a ncurses GUI, but it's not necessary. Just use the word 'aptitude' wherever you'd use 'apt-get' on the command line and it works exactly the same, with the benefits of some extra dependency tracking.
|
# ¿ Sep 24, 2007 23:26 |
|
What do you mean, "won't create?" When e1000 is loaded, what do you see in dmesg? What does your /etc/conf.d/net look like? Did you symlink net.eth0 into /etc/init.d? When you try to start the network, what error do you see?
|
# ¿ Oct 12, 2007 15:20 |
|
Sergeant Hobo posted:One thing I was thinking of specifically in this context was that my clients (my desktop and my laptop) are both running Windows. Is there some kind of antivirus I can run on my Linux box that'll help fight off some of the virus crap and such out there? You could simply run a ClamAV scan of your shared drives every night in cron. If you want to get fancier, there is the vscan-clamav plugin for Samba that will run all traffic through a scan before serving it to or accepting it from your Windows boxes. If you want to be safe browsing and downloading, you could look into setting up a Squid proxy that runs web traffic through ClamAV as well. Hope those are some ideas to get you started.
|
# ¿ Nov 18, 2007 03:12 |
|
Sergeant Hobo posted:I'm doing this in phases. First up will be basic DHCP serving and NAT stuff. If I can get that going, I'll get Squid, ClamAV and such set up. Somewhere in there, I will also be attempting (keyword there) to set up IPTables. Right now, that seems a little overwhelming but I'm sure I'll get it.
|
# ¿ Nov 18, 2007 18:24 |
|
KS posted:What's a good file system choice for a 2.2 TB raid array? It's for home data storage use. I formatted it ext3 and then did some reading that suggested there may be better options. Depending on your distribution, the other filesystem that you might want to consider is XFS. It's made for large stores of data and generally tuned toward large file performance. That would be good for video and such but it's probably irrelevant because you won't be pushing those performance limits on a home server. I say "depending on your distribution" because I'd only consider XFS if it's easily available. On CentOS or RedHat it's not. You can hack it in, but it's more trouble than just using ext3. But if you're on Ubuntu or another OS that provides the kernel code and support programs then go for it.
|
# ¿ Nov 25, 2007 22:04 |
|
Harokey posted:So I'm about 3 days into a fsck on a 500 gig drive with an ext3 filesystem. Is this normal? Should I be using a different file system maybe? Whats the best filesystem for an external drive? 3 days tells me something's physically wrong with that disk. Check 'dmesg' output for errors.
|
# ¿ Dec 6, 2007 07:50 |
|
sund posted:Does anyone have experience using USB security dongles in a guest OS using this fancy virtualization stuff? Am I dreaming or is this sort of thing possible?
|
# ¿ Dec 14, 2007 06:10 |
|
CentOS provides vsftpd right out of the box. Unless you need exceptionally fancy multi-host/multi-IP configuration, use the vsftpd that's provided and stay away from proftpd which has a spotty security history. Your process will be a matter of 'yum install vsftpd' and then reviewing /etc/vsftpd/vsftpd.conf and possibly editing the userlist files. RedHat's vsftpd documentation is here and applies to CentOS as well.
|
# ¿ Jan 5, 2008 08:23 |
|
fletcher posted:How do I upgrade from PHP 5.1.6 to 5.2.5 on Fedora Core 6? If you don't want to do that, you could try simply installing the PHP packages from Fedora 8. If those won't install due to dependencies, you could try grabbing the source RPM from Fedora 8 and rebuilding it (rpmbuild --rebuild) to see if that process generates FC6 installable packages. If that doesn't work, check around some of the web hosting boards... there may very well be some folks maintaining PHP 5.2.x packages for older Fedora systems, as this is frequently an issue with webhosts who don't want to keep doing OS upgrades. And last, if all else fails, take out the Fedora PHP RPMs altogether and just build your PHP of choice from source. tripwire posted:I feel really dumb about picking JFS as my filesystem when I installed ubuntu the other day. Is there anything cool jfs can do like that?
|
# ¿ Jan 30, 2008 19:29 |
|
toadee posted:Everything I have read suggests that having the following in /etc/security/limits.conf should help: Also what kernel version are you running?
|
# ¿ Jan 31, 2008 06:28 |
|
DirtyDiaperMask posted:...which I can't figure out how to kill completely since killing it restarts gdm, and loads MythTV again. code:
|
# ¿ Feb 5, 2008 19:34 |
|
do it posted:My current IDE drive is booting Ubuntu, but I'm not sure how to get Ubuntu to recognize the new harddrives on the controller card. I don't need the fakeraid that the card has, I just want the drives to be available as storage.
|
# ¿ Feb 13, 2008 03:11 |
|
do it posted:So the harddrives are definitely not appearing which leads me to believe it's an issue with the card. I'm not sure how to go about debugging that, though.
|
# ¿ Feb 13, 2008 06:50 |
|
Rescue Toaster posted:Is it straightforward to set it up so me & my roommate can both use VNC (are the kids still using VNC these days?) at the same time to connect to separate X instances logged in as ourselves? quote:Is it practical to use a small compact flash (connected to IDE) or even a USB flashstick as the /boot partition so root and everything else can be on the RAID array? Does /boot get written to a lot - wearing out the flash?
|
# ¿ Feb 15, 2008 17:16 |
|
rugbert posted:I need to know where it stores its web documents so I can get webalizer working but I cant seem to find them anywhere (and is also listed as a virtual package I asked about earlier). quote:Im just trying to get webalizer to dum its output in the same place the documents served from. There are also external filesystem objects that you can put into your Zope site that are able to reference files on the actual filesystem, but those are generally better for static data... probably not appropriate for Webalizer reports since they change and grow with each run. Third option is to find a way to push the Webalizer output into Zope's database itself. You generally can do that via FTP or WebDAV. That said, I'd suggest the Alias approach as the ideal one... the other two would only be for exceptionally weird circumstances. That help any?
|
# ¿ Feb 20, 2008 00:50 |
|
rugbert posted:so I added this line Also you're going to need URLs matching that Alias line to be excluded from any of the rewrite rules you're using for Zope... see example below. quote:also - Should this line be in the apache.conf file or the site-enabled/referenced file? Here's a code snippet for a similar situation I have on one of my Zope servers. In this case it's not webalizer, but the pipermail archives for a mailing list... but same thing - a big directory of HTML that's not served through Zope. code:
|
# ¿ Feb 21, 2008 00:41 |
|
rugbert posted:ok so in the apache2/site-enabled/mysite.rugbert.com file (where all the virtual host information is) I added But here's the thing - I would have expected RewriteEngine to already be on in order for Apache to sit in front of Zope. Can you post the chunk of Apache config where it's wired up to serve the Zope content? If it's not a Rewrite thing, I'd guess it's a ProxyPass setup.
|
# ¿ Feb 21, 2008 18:38 |
|
Un-l337-Pork posted:Ok, so I have a bunch of mounted logical volumes or something. This doesn't really look surprising to me, but on my previous install, my volume mounted on / would've contained the remaining free space. In this case, it looks like I should have ~140G or so sitting somewhere. This is how the machine came from Dell. We have done virtually nothing to it at this point. LVM has three layers: code:
code:
To utilize that, you can either use 'lvcreate' to make some new logical volumes and mount them where you please, or 'lvextend' to add more space to one of the existing volumes. Of course once the LV itself is extended, you'll then have to expand the actual filesystem... resize2fs is the tool you'll want for that.
|
# ¿ Feb 21, 2008 18:46 |
|
rugbert posted:What sort of line am I looking for? I cant find any mention of zope in my apache.conf file nor did "/.fs" give me any results. The usual setup is that Zope listens on a higher non-standard port (like 9673 on one of my Debian systems), and then Apache sits on the standard HTTP port 80 and listens for requests. It redirects most of those requests via proxy to the Zope system listening on the non-standard port. You need to figure out this mechanism so that Apache can be told not to redirect certain requests (the ones for your webalizer stats). It's also possible that Zope itself is serving the webpages and Apache has nothing to do with it. Do you not have access to the person who set this up in the first place? If you can find the zope.conf file for your site instance (likely somewhere under /etc), it may give some clues. If Zope is configured to listen on port 80, then it's doing all the web serving itself.
|
# ¿ Feb 29, 2008 20:51 |
|
rugbert posted:aha! It's located in the virtual host file
|
# ¿ Mar 4, 2008 16:30 |
|
Twlight posted:We already have a mail server at work but I'm not sure how to configure sendmail to work with an existing email server. code:
|
# ¿ Mar 4, 2008 16:34 |
|
DEAD MAN'S SHOE posted:I want to be able to run `mount -t cifs` as a user, on the fly. I don't want to have to specify the share in /etc/fstab (which is a stupid idea anyway). Are you saying it's stupid to put it in fstab due to the password info? If so, then there is a way to tell smbmount to reference a password in another file which can be restricted to root readable, though I'm not sure whether that will work in concert with the user option. Another approach may be to use autofs.
|
# ¿ Mar 5, 2008 00:43 |
|
DEAD MAN'S SHOE posted:Not only the password issue but having to specify it prior in a root-only config file defeats the idea of being able to mount random shares on the fly. Ok, first of all the sudo solution that Grey Area suggested can be configured to work without a password. Second, are you *sure* that you changed the right binary files with the right chmod command? Straight from the 'mount.cifs' manpage - "It is possible to set the mode for mount.cifs to setuid root to allow non-root users to mount shares to directories for which they have write permission." That sounds like exactly what you want. The third approach would be to install FUSE and the SMB module, since that's all user-space stuff and no root is required.
|
# ¿ Mar 5, 2008 23:14 |
|
DEAD MAN'S SHOE posted:Yeah, I thought I had. code:
|
# ¿ Mar 6, 2008 07:25 |
|
|
# ¿ Apr 26, 2024 01:43 |
|
Slow is Fast posted:Apparently mythtv-setup isn't getting into the sql database properly so terminal is just barfing errors at me. Second, is the MySQL server at 192.168.1.110 on the same machine, or a different one? If on the same machine, try connecting to 127.0.0.1. MySQL's access control will prevent connections via any other address unless you go in and explicitly allow it.
|
# ¿ Mar 6, 2008 23:59 |