|
Oh man, 30+ pages. Sorry if this has been asked, but I figure it's a pretty easy question in any case. I'd like to make a headless Linux (or, hell, any UNIX) box that acts as a small fileserver. What I'm looking for in it most is acting as a CVS server to store my source files. I've already got the hardware, but I'd like a suggestion for a distro. I know my way around a command line and as the box will be headless anyway, I don't need a GUI. When I need to do maintenance, I'll just use PUTTY. Like I said, the main purpose of this box is to do run a CVS server daemon all the time, I'm not going to be using it for much of anything else. Does anyone have any distro suggestions? Edit: I'll be doing most things on a local network, but I would like CVS (and possibly a shell) available outside as well.
|
# ¿ Aug 3, 2007 01:08 |
|
|
# ¿ Apr 27, 2024 12:00 |
|
bitprophet posted:Well, any distro can handle that stuff, obviously, so it really comes down to which distro's package manager you like best, how much distro-specific junk you like or don't like, etc. Thanks for the suggestions! I'll take a look at Arch. I've used Slackware before; it's an option too. I think Debian might be a little higher level than I'm looking for. Also, and this might be important and I regret not mentioning it earlier, the hardware I'm running this on is old. Pentium 3 old. I think that might rule out Arch as it seems to only support i686 and x86-64, both of which are newer than P3 (if I understand correctly). Are there any really stripped-down Linux distros that'd support such old hardware?
|
# ¿ Aug 3, 2007 03:54 |
|
teapot posted:To be fair, Debian Stable in the minimal server configuration is perfectly usable for this purpose. Oh, okay I guess that's all I needed, then. Thanks for the help!
|
# ¿ Aug 3, 2007 13:30 |
|
bitprophet posted:Yea, Teapot beat me to it, but i686 means Pentium Pro and up - I've ran Arch on Pentium IIs and IIIs as well as newer stuff. I read pretty much all of the basic Arch documentation at work today and liked what I saw so I'll be giving that a shot first. Hopefully it does well with whatever kind of hardware is in that PC. Since I'm not doing anything more complicated than a command line, though, I figure it'll be fine. Thanks again for the suggestions.
|
# ¿ Aug 4, 2007 00:26 |
|
Wow, Arch is pretty awesome. I got the box almost completely set up in about 5 hours between last night and this morning. It's got sshd, an FTP daemon, svnserve, all up and running nicely. This is the easiest Linux install I've ever done May be in part to it being such a simple setup in the first place, but I really like the way Arch does things.
|
# ¿ Aug 4, 2007 17:48 |
|
I'm having trouble with SVN on my new Linux server. It's amazingly slow. It actually took over an hour to commit changes to three very small text files over my local network. Using SVN on the machine itself is no faster. It actually varies, sometimes it's quick, but 9 times out of 10, it's so slow that you'd think it locked up. I really don't know what's up with it and I'd like to figure it out as SVN is the main reason this server exists. I'm running Arch Linux (fully updated) and SVN 1.4.4 on an old P3 with a dismal amount of RAM (probably 128MB). If anyone has any ideas how to speed this up to acceptable speeds, please let me know. I'll be happy to provide any more information you need. Thanks! Edit: I should have mentioned that using ps while a commit is running shows several svnserve processes running, each with 0% CPU usage.
|
# ¿ Aug 14, 2007 14:22 |
|
bitprophet posted:That's pretty strange FWIW I use SVN clients and servers on 2 different Arch machines and it works just fine. No real ideas other than googling around for "slow subversion" or "slow svn", and/or searching for that on bbs.archlinux.org . The only thing I could find was something about /dev/random being slow, which I would have no idea how to fix I'd really like to fix this problem as SVN is the only reason this server exists. I could give CVS a shot, but I've heard SVN is better and I'm more familiar with it anyway.
|
# ¿ Aug 19, 2007 18:35 |
|
covener posted:tcp trace and syscall trace should give you a pretty big hint Having never used these tools, they don't really tell me anything. Maybe you can help sort this out? Running code:
code:
|
# ¿ Aug 19, 2007 19:54 |
|
All right, I've got a quick question that's hopefully pretty simple to answer. I just bought a laptop (Lenovo Thinkpad) which supposedly supports Linux. My question is whether I should install the 64-bit version of the distro I use or the 32-bit version. I've heard 64-bit is better for systems with more RAM, and systems with smaller amounts of RAM should use 32-bit versions. Beyond that, I really don't know which to choose. A few relevant specs: Processor: Core 2 Duo RAM: 1 GB Video: Intel X3100 965 GMA HDD: 120 GB 5400 RPM Distro: Arch Linux Thanks in advance!
|
# ¿ Oct 18, 2007 15:09 |
|
Ugh, I'm having a bit of a doozy here tonight. I'm trying to set my SVN server to automatically upload backups of the repositories to an FTP once a day. I spent about an hour wrestling with a stupid 5-line shell script file just to get the FTP program to put a date into a filename. Finally, the script inserts the date in the correct spot and everything is well, except I can't upload the files! I'm using lftp, and it logs in and connects to the server just fine. When it tries to upload the file, it enters passive mode and sticks at "Opening data connection" saying, "Making data connection..." forever. After a bit of research, my guess is that the port it's trying to connect across is blocked. Here's my network setup: [Server] -> [Desktop (Bridged Connection)] -> Router -> Modem The Desktop's bridged connection looks like this: code:
code:
I have no idea what I can do or where to go from here. Running Arch Linux on both desktop and server. Does anyone have any suggestions? Thanks.
|
# ¿ Nov 3, 2007 07:48 |
|
Jesus loving tits is there ANY way to remove middle-click paste across all appliations? This is the single most retarded feature I've ever seen. I'm tired of scrolling in a document, accidently pressing a bit too hard, and not noticing the change. All of a sudden compiler errors! Or my resume suddenly has code in the middle of it from 10 edits ago that I can't really undo now! I'm ready to do just about anything to make this feature go away and die a horrible death behind a shed. The only solution I can think of is disabling middle clicking entirely in xorg.conf. Is there a better solution?
|
# ¿ Jan 27, 2008 21:36 |
|
I've got a question about lftp. I'm using it to upload backup files created by Duplicity to my webhost. I set up a cron job to run the backup program and the upload script nightly. My trouble is that lftp insists on overwriting the files on the server, which is a waste of everyone's bandwidth. I'd rather it only upload if the last modified times are different (or only upload if the file doesn't exist, I'm not exactly sure how Duplicity works). Is this possible to do with lftp? If not, is there another way to upload files from a cron job like this?
|
# ¿ May 2, 2008 06:15 |
|
|
# ¿ Apr 27, 2024 12:00 |
|
Is there a way to prevent a directory from being stupidly deleted, while having it act like a normal directory in every other regard? rm -rf important/ should fail, while mkdir important/stuff/ and touch important/file should both succeed. Unfortunately, I think this is impossible with standard UNIX permissions, but I feel like there must be some common workaround. Any ideas?
|
# ¿ Feb 27, 2011 20:01 |