|
Stealthgerbil posted:I think I hosed up big time setting up a linux server. Nothing is supposed to be run under the root account right? yes kill init immediately that is a virus
|
# ? Feb 26, 2013 22:46 |
|
|
# ? Jun 12, 2024 18:59 |
|
fivre posted:yes kill init immediately that is a virus quick someone type killall on the solaris box!
|
# ? Feb 26, 2013 22:55 |
|
To be sure you get everything, try logging in as root and use 'kill -9 -1'. That'll make sure you get to your desired 'no untidy root stuff' in one easy command.
|
# ? Feb 26, 2013 23:18 |
|
Goon Matchmaker posted:quick someone type killall on the solaris box! I have actually intentionally used killall on AIX :3
|
# ? Feb 26, 2013 23:50 |
|
Suspicious Dish posted:The standard way to measure idle time is using the completely undocumented IDLETIME XSync counter. Because I'm feeling generous today, here's a simple example program: http://magcius.mecheye.net/random/xalarm.c Nice. I appreciate it. Unfortunately, I have a compiling problem that I don't know how to solve. code:
|
# ? Feb 27, 2013 00:40 |
|
Thermopyle posted:Nice. I appreciate it. Gah, --as-needed strikes again. Try: code:
|
# ? Feb 27, 2013 01:02 |
|
Suspicious Dish posted:Gah, --as-needed strikes again. Try: Works great, I appreciate it! drat you for being so awesome.
|
# ? Feb 27, 2013 01:05 |
|
I've got my Grand Theft Auto IV installation (in windows) all modded up, which is an unnecessarily tedious and complicated process. What I want to do is compare the modded directory to a backup of the vanilla directory, and then create a patch consisting of all files which have changed or appeared in the modded installation which I can just dump onto a fresh install to get back to where I want to be. Windows doesn't have the tools for this as far as I'm aware, so I'm trying to do it in Cygwin. I'm bad at linux but I think google has steered me close to where I want to be:quote:$ diff -q -r --unidirectional-new-file /cygdrive/e/mods/GTA\ 4/untouched\ directory/Grand\ Theft\ Auto\ IV/ /cygdrive/c/SteamMoved/Grand\ Theft\ Auto\ IV/ | sed "s/^.* and \/cygdrive\/c\/SteamMoved\/Grand\\ Theft\\ Auto\\ IV\/\(.*\) differ/\1/" ...which is to say, I think I'm correctly listing all of the files I care about with the relevant bits of the path. This is where I hit the brick wall, because I can't get that output to pipe anywhere. Adding "> out.txt" produces an empty file. Adding "| tee out.txt" to the end produces an empty file and a blank screen. In both case it chugs, though, like it's working. I don't get it. And beyond that, assuming I can pipe the output into something, I'm not sure how to make it preserve the directory structure. Piping it into cp by way of xargs would just flatten the directory structure by default. I think --parents might be the ticket but without being able to pipe the output I can't very well test that. poverty goat fucked around with this message at 13:45 on Feb 27, 2013 |
# ? Feb 27, 2013 13:41 |
|
Try diff <your args> 2>&1 | tee output.txt
|
# ? Feb 27, 2013 14:28 |
|
Edit: nm, may be making a bad assumption here
|
# ? Feb 27, 2013 14:43 |
|
Saint Darwin posted:Try diff <your args> 2>&1 | tee output.txt diff <your args> |& tee output.txt
|
# ? Feb 27, 2013 18:05 |
|
Neither of those work , it just does the same thing with no output to anywhere. e: This is just bizarre now. I tried launching cygwin from the Windows command line with a pipe, hoping to just dump everything from the terminal (also it turns out Win7 has a tee command, and I tried that too). The results are exactly the loving same. If I launch cygwin with no pipe, the output scrolls down the screen. If I launch cygwin with a pipe to anywhere, the same command produces no output to anywhere. ee: so it turns out that, for whatever reason, with a pipe it wants to wait 5+ minutes before starting any output. Without a pipe the output is instant; with the pipe it spends at least 5+ minutes comparing files before starting the output. eee: All sorted poverty goat fucked around with this message at 00:19 on Feb 28, 2013 |
# ? Feb 27, 2013 23:28 |
|
What controls how http links from, say, Spotify, are handled when a DE isn't present? Currently they're opening up Chrome, but I usually use Firefox and would like to change that.
|
# ? Feb 28, 2013 01:45 |
|
gggiiimmmppp posted:Neither of those work , it just does the same thing with no output to anywhere. In case anybody else is wondering, pipes are buffered which is why it was taking so long for output to show. You can use unbuffer to get rid of it entirely or use stdbuf to tweak the values. http://linux.die.net/man/1/unbuffer http://linux.die.net/man/1/stdbuf
|
# ? Feb 28, 2013 02:25 |
|
Longinus00 posted:In case anybody else is wondering, pipes are buffered which is why it was taking so long for output to show. You can use unbuffer to get rid of it entirely or use stdbuf to tweak the values. I think this came up earlier in the thread when I was having issues piping ping through perl, but didn't know there was a way around it. Cool.
|
# ? Feb 28, 2013 02:34 |
|
A quick partitioning question for Ubuntu Server 12.04. I have 2x120GB SSDsn and 2x2TB SATA drives. I'm looking to go with RAID 0 for both, with the OS on the SATA drives and the SSDs as a separate partition. (I know RAID 0 is suicide, the files can be lost if the server dies)
|
# ? Feb 28, 2013 03:01 |
|
Roving Reporter posted:A quick partitioning question for Ubuntu Server 12.04. I have 2x120GB SSDsn and 2x2TB SATA drives. What's your question?
|
# ? Feb 28, 2013 03:04 |
|
The breaking down of the partitions, just to make sure I'm doing it right. Right now I have MOUNTING POINT / PRIMARY EXT 4 RAID 1 2000MB swap PRIMARY SWAP RAID 1 512MB /home PRIMARY EXT4 RAID 0 Rest of SATA drives How would I go about adding the SSDs in? '/SSD Drives' in RAID 0 EXT 4? Seems too simple.
|
# ? Feb 28, 2013 03:28 |
|
If you put the OS on the SSD programs load faster, it boots faster, etc. Putting your swap on SSD will make swap hits minimal. Putting your home directories on SSD will make your files fast! That's what's important, right? I'd stick everything on the SSD's except music/movies/ISO's. But then again, it's nice to have downloads or ISO's on SSD so it's fast when you work with them.
|
# ? Feb 28, 2013 03:33 |
|
True. I'm trying to take advantage of a 1Gbit pipe, since the platter drives won't max it out for ISO uploading. So my mount structure looks okay? I figure I can mess around with the OVH re-install panel if necessary.
|
# ? Feb 28, 2013 03:59 |
|
Roving Reporter posted:The breaking down of the partitions, just to make sure I'm doing it right. Right now I have
|
# ? Feb 28, 2013 05:51 |
|
I am building (or repurposing) a machine as a generic headless server, DNS + tier2 hypervisor stuff to host 2-3 VMs... I was thinking Ubuntu but everything there is 2010-2011 era documentation for Xen, most of the new stuff says "KVM for CentOS5 and 6, with some support for ubuntu/xen" at best. Also, while I know Ubuntu fairly well, it's not really a marketable job skill the way CentOS/RHEL is. So I am looking at CentOS 6 or Scientific Linux 6 running KVM Rumor has it that CentOS is slow to get out security fixes and bugpatches, especially compared to SciLinux. Is this still true? I don't want to have to translate all the CentOS FAQs in to SciLinux-speak for the next 2-3 years. Thoughts? Hadlock fucked around with this message at 08:14 on Feb 28, 2013 |
# ? Feb 28, 2013 08:12 |
|
Hadlock posted:I am building (or repurposing) a machine as a generic headless server, DNS + tier2 hypervisor stuff to host 2-3 VMs... I was thinking Ubuntu but everything there is 2010-2011 era documentation for Xen, most of the new stuff says "KVM for CentOS5 and 6, with some support for ubuntu/xen" at best. Also, while I know Ubuntu fairly well, it's not really a marketable job skill the way CentOS/RHEL is. If you are doing this for marketable skills reasons, CentOS is a great choice. It seems to be pretty popular in the enterprise and we run it pretty exclusively on our production machines. Security patches are not super frequent, but in production environments rolling out security fixes is a slow process anyhow. Also I'm assuming you are going to use Xen on the baremetal then CentOS/whatever on top of that.
|
# ? Feb 28, 2013 09:37 |
|
Roving Reporter posted:A quick partitioning question for Ubuntu Server 12.04. I have 2x120GB SSDsn and 2x2TB SATA drives. Do you really need 240GB of space in raid 0 for the OS? Why don't you figure out a sensible partitioning scheme and use that instead of resorting to using raid 0? e.g, /usr on one SSD and / on the other? ect... Roving Reporter posted:True. I'm trying to take advantage of a 1Gbit pipe, since the platter drives won't max it out for ISO uploading. Are you sure? Even my old 1.5tb drives do ~120MB/s, which is right around the limits of gigabit ethernet.
|
# ? Feb 28, 2013 11:49 |
|
I'd go with KVM anyhow, maybe even sprinkle some oVirt on top.
|
# ? Feb 28, 2013 11:51 |
|
Hadlock posted:I am building (or repurposing) a machine as a generic headless server, DNS + tier2 hypervisor stuff to host 2-3 VMs... I was thinking Ubuntu but everything there is 2010-2011 era documentation for Xen, most of the new stuff says "KVM for CentOS5 and 6, with some support for ubuntu/xen" at best. Also, while I know Ubuntu fairly well, it's not really a marketable job skill the way CentOS/RHEL is. Xen still works fine, and CentOS isn't really any slower than Redhat with security fixes and bug patches. Scientific 6 came out a long time before CentOS 6, but they're pretty much back to parity. If you want to use virt-manager, either KVM or Xen works fine (I'd recommend KVM anyway). If you want something friendlier, oVirt is an excellent choice.
|
# ? Feb 28, 2013 15:21 |
|
CentOS used to be slower, but they catched up. Nowadays the CentOS-announce is not far behind red hats
|
# ? Feb 28, 2013 15:51 |
|
It was pretty cool when Karanbir Singh disappeared and nobody saw or heard from him or the CentOS Project for six months.
|
# ? Feb 28, 2013 16:40 |
|
How would I go about troubleshooting my sendmail configuration (well, using ssmtp) on my localhost LAMP set-up on my desktop. OS is Arch and I know the script is fine, that leaves a step between the PHP mail() function (which is returning true) and the ssmtp send (which seems to work if I use terminal to send the message).
|
# ? Feb 28, 2013 21:12 |
|
Master_Odin posted:How would I go about troubleshooting my sendmail configuration (well, using ssmtp) on my localhost LAMP set-up on my desktop. OS is Arch and I know the script is fine, that leaves a step between the PHP mail() function (which is returning true) and the ssmtp send (which seems to work if I use terminal to send the message). Logs would be a good starting point. It should log to syslog (check /etc/rsyslog.conf or whatever your logger is to find out where). Alternatively, wrap the binary with a trivial shell script that logs.
|
# ? Feb 28, 2013 22:01 |
|
Hadlock posted:Rumor has it that CentOS is slow to get out security fixes and bugpatches, especially compared to SciLinux. Is this still true? I don't want to have to translate all the CentOS FAQs in to SciLinux-speak for the next 2-3 years. Thoughts? CentOS was slow with 6.0 and 6.1 I think, but they took their time to redo their entire build system from scratch. I think the main devs pretty much locked themselves in a cave and didn't emerge until it was done, not even to give a status update which caused a lot of confusion etc. But now that the new system is in place they are much faster at getting releases/updates out. For instance RHEL6.4 was released a few days ago and CentOS6.4 is in testing/available in some advance release repos. Official CentOS6.4 should be out very soon.
|
# ? Feb 28, 2013 22:43 |
|
Yeah, if CentOS has shaken their reputation for slow security updates, that solves that problem. Xen sounds great for paravirtualization, but if CentOS moved to KVM, it seems like a waste of time to learn a depreciated system when everyone is already in the process of moving to "the new shiny" that is KVM.
|
# ? Feb 28, 2013 22:57 |
|
evol262 posted:Logs would be a good starting point. It should log to syslog (check /etc/rsyslog.conf or whatever your logger is to find out where).
|
# ? Feb 28, 2013 23:03 |
|
Hadlock posted:Yeah, if CentOS has shaken their reputation for slow security updates, that solves that problem. This is pretty much what I'm seeing. All the big boys are using KVM now. Added benefit is that you don't need a specially adapted kernel on your guests.
|
# ? Mar 1, 2013 00:43 |
|
Dynamic tiling windows managers: I've been flitting back and forth between dwm, awesome, and XMonad. Dwm looks ugly to me and seems to lack really good taskbar customization, awesome is unstable and screen flickery, and xmonad - I am too old to learn a language like haskell. Are there any others worth looking at that allow heavy customization, will make me feel like a l33t ha><0r, and don't require a masters in comp sci to configure? E: or alternatively, any thoughts on turning openbox into a part time tiling wm using pytyle? Has anyone here done this, and is it any good? No no serious fucked around with this message at 01:17 on Mar 1, 2013 |
# ? Mar 1, 2013 01:08 |
|
I guess I asked these questions in reverse, but what kind of software (packages) am I looking at for CentOS/KVM? I am looking at running three linux headless servers, two linux desktops, an android 4.0 x86 vm, and two to three windows desktops (probably win7 enterprise). All idling, for the most part. Is there a particularly good web-based management KVM system out there? I am seeing oVirt mentioned twice already, and is developed by RH so that's a good vote. AWS runs on Xen though, right?
|
# ? Mar 1, 2013 01:29 |
|
Yeah oVirt is kinda buggy but now RedHat is behind it it has improved drastically. I'd say give it a spin.
|
# ? Mar 1, 2013 01:32 |
|
Hadlock posted:I guess I asked these questions in reverse, but what kind of software (packages) am I looking at for CentOS/KVM? I am looking at running three linux headless servers, two linux desktops, an android 4.0 x86 vm, and two to three windows desktops (probably win7 enterprise). All idling, for the most part. How much management do you need? oVirt is really intended for installations where you're managing multiple (physical) machines. If you're running everything on just one computer then oVirt is going to be overkill compared to just using libvirt/virt manager.
|
# ? Mar 1, 2013 03:34 |
|
No no serious posted:Dynamic tiling windows managers: I've been flitting back and forth between dwm, awesome, and XMonad. Dwm looks ugly to me and seems to lack really good taskbar customization, awesome is unstable and screen flickery, and xmonad - I am too old to learn a language like haskell. I use i3wm and love it, but it's not "dynamic". When I was looking for a window manager, my only real requirements were that it had plain text config files and had good documentation. It turns out that if you don't want to configure your window manager in a programming language and don't want to have to tediously search through mailing lists or reask basic config questions in IRC, there isn't much of a selection. The i3 user guide is awesome, if you leave it open for the first couple of days while you adapt and learn about it, you should have no problems.
|
# ? Mar 1, 2013 14:20 |
|
|
# ? Jun 12, 2024 18:59 |
|
Hadlock posted:I guess I asked these questions in reverse, but what kind of software (packages) am I looking at for CentOS/KVM? I am looking at running three linux headless servers, two linux desktops, an android 4.0 x86 vm, and two to three windows desktops (probably win7 enterprise). All idling, for the most part. AWS runs Xen, yeah. Xen's mainline, and it's not going away, but the use cases for it are getting smaller and smaller. Longinus00 posted:How much management do you need? oVirt is really intended for installations where you're managing multiple (physical) machines. If you're running everything on just one computer then oVirt is going to be overkill compared to just using libvirt/virt manager. An all-in-one oVirt setup may still offer the most functionality. virt-manager is fine, but if you add another server and you want HA/migration, decide that you want policy controls on user access, or anything else moderately complicated, oVirt will scale out where virt-manager will fall on its face.
|
# ? Mar 1, 2013 15:03 |