|
ToxicFrog posted:After reading the docs it's not so much setting up Zabbix that I'm worried about as setting up Apache (which I've done before, and it was a pain in the rear end -- but that was years and years ago, maybe it's better now?) and Postgres (which I have zero experience with apart from the general reputation database servers have of being scary to set up and administer). It's probably gotten a lot better since the last time you tried. For a home network of 7 boxes, the package defaults for postgres and apache should work fine out of the box. Zabbix may even install an Apache vhost config for you (I forget) in which case there's literally nothing to do other than install the packages and start playing around.
|
# ? Feb 8, 2016 16:29 |
|
|
# ? Apr 25, 2024 23:22 |
|
Friendly reminder that for quick and dirty evals, Zabbix ships a virtual appliance in nine different formats: http://www.zabbix.com/download.php
|
# ? Feb 8, 2016 18:14 |
|
e: cool doublepost bro
|
# ? Feb 8, 2016 18:14 |
|
I got some good advice about getting started with KVM in this thread a few months ago. I'm finally getting around to messing around with it for the first time. Is there a good web-based KVM management thingy that I can run on the KVM host which will allow me to view status and manage stuff? I mean, Google tells me there's stuff like that, but I don't know enough to know what I don't know...
|
# ? Feb 9, 2016 01:37 |
|
If you want web-based KVM/QEMU stuff, Proxmox is awesome for that. Unlike some other virtualization packages, Proxmox was built from the ground up to be run via web interface, so there's not much if anything at all that you need to do outside of it.
|
# ? Feb 9, 2016 01:49 |
|
Ok, I was just taking an assessment for a job, and one of the questions was a thing I had never run into before. How to rm a file that starts with a -filename. I went with rm ./-filename can someone confirm this for me? it just seems both obvious, and a weird edge case.
|
# ? Feb 9, 2016 02:00 |
|
RFC2324 posted:Ok, I was just taking an assessment for a job, and one of the questions was a thing I had never run into before. They were probably looking for the general form of signaling the end of options with -- as in rm -- -filename
|
# ? Feb 9, 2016 02:05 |
|
covener posted:They were probably looking for the general form of signaling the end of options with -- as in rm -- -filename If so, their font broke visibility on that, since the closest appeared to be rm ---filename. Ah well, just one question. Thanks!
|
# ? Feb 9, 2016 02:07 |
|
Thermopyle posted:I got some good advice about getting started with KVM in this thread a few months ago. I think oVirt is the Red Hat-built one...
|
# ? Feb 9, 2016 02:46 |
|
RFC2324 posted:Ok, I was just taking an assessment for a job, and one of the questions was a thing I had never run into before. (also not a weird edge case once shell scripts get into the mix)
|
# ? Feb 9, 2016 03:00 |
|
RFC2324 posted:Ok, I was just taking an assessment for a job, and one of the questions was a thing I had never run into before. Delete by inode as well. find -inum --exec rm {} \; However the standard gnu is rm -- -filename.
|
# ? Feb 9, 2016 03:01 |
|
Thermopyle posted:I got some good advice about getting started with KVM in this thread a few months ago. comedy option: openstack horizon
|
# ? Feb 9, 2016 03:27 |
|
Docjowles posted:comedy option: openstack horizon
|
# ? Feb 9, 2016 03:41 |
|
Suspicious Dish posted:I think oVirt is the Red Hat-built one... It is, but VMs need to be migrated... HPL posted:If you want web-based KVM/QEMU stuff, Proxmox is awesome for that. Unlike some other virtualization packages, Proxmox was built from the ground up to be run via web interface, so there's not much if anything at all that you need to do outside of it. Pretty much all of the big solutions were also built from the ground up to be run via a web interface. Ganeti, kimchi, xenorchestra, oVirt (requires migration). The fact that Proxmox doesn't use libvirt (last I heard) is a negative, not a positive, since it means using other tools is almost impossible unless Proxmox support is explicitly added.
|
# ? Feb 9, 2016 04:24 |
|
Thermopyle posted:I got some good advice about getting started with KVM in this thread a few months ago. I really like Virt-Manager, it is simple and does what I need ( create, manage destroy VM, create disk etc. etc. ) If you have a Windows machine, install putty turn on X forwarding, install xming and you are good to go. It does not run in the browser but X11 forwarding is really simple and works over regular SSH.
|
# ? Feb 9, 2016 14:13 |
|
Mr Shiny Pants posted:I really like Virt-Manager, it is simple and does what I need ( create, manage destroy VM, create disk etc. etc. ) virt-manager can directly connect to remote hypervisors over ssh. It works best when using key authentication, but either way, you don't need to bother with X forwarding.
|
# ? Feb 9, 2016 15:30 |
|
Kaluza-Klein posted:virt-manager can directly connect to remote hypervisors over ssh. It works best when using key authentication, but either way, you don't need to bother with X forwarding. Is there a Windows version? I thought that the viewer only works on Windows.
|
# ? Feb 9, 2016 15:33 |
|
Mr Shiny Pants posted:Is there a Windows version? I thought that the viewer only works on Windows. I ama moron and missed the bit about Windows in your post. Just ignore me.
|
# ? Feb 9, 2016 15:42 |
|
What is it with GDM and why is it being such a dick? When I log into a Gnome session via GDM, I have a Gnome Shell process or two going haywire from the get-go. If I use LightDM, this does not happen. If I upgrade the kernel and forget to recompile the NVIDIA kernel driver before rebooting, with GDM I end up having it try like two minutes to start X, like a million tries, whereas LDM gives up after five attempts. What the gently caress is wrong with the Gnome developers?
|
# ? Feb 9, 2016 17:14 |
|
Mr Shiny Pants posted:Is there a Windows version? I thought that the viewer only works on Windows. putty and virsh
|
# ? Feb 9, 2016 17:24 |
|
Combat Pretzel posted:What is it with GDM and why is it being such a dick? When I log into a Gnome session via GDM, I have a Gnome Shell process or two going haywire from the get-go. If I use LightDM, this does not happen. If I upgrade the kernel and forget to recompile the NVIDIA kernel driver before rebooting, with GDM I end up having it try like two minutes to start X, like a million tries, whereas LDM gives up after five attempts. What the gently caress is wrong with the Gnome developers? gdm also gives up after five attempts? Not sure what's going wrong. https://git.gnome.org/browse/gdm/tree/daemon/gdm-local-display-factory.c#n285
|
# ? Feb 9, 2016 18:15 |
|
That's strange. I have my framebuffer flickering like a motherfucker, when it happens (like practically every kernel upgrade, with what following the RCs), preventing me to do anything. After like a minute or two it stops. Come to think of it, the default systemd time out is 1.5 minutes, so it's probably that causing the problems. Still, LightDM doesn't do that regardless.
|
# ? Feb 9, 2016 18:19 |
|
Still a-learnin' about KVM... Is my understanding correct that when viewing a guest console, the VNC (or Spice I guess, I haven't messed with that yet) server is actually provided by KVM rather than the guest OS? KVM does some magic to hook up its VNC server as the guests display adapter?
|
# ? Feb 9, 2016 20:16 |
|
Thermopyle posted:Is my understanding correct that when viewing a guest console, the VNC (or Spice I guess, I haven't messed with that yet) server is actually provided by KVM rather than the guest OS? KVM does some magic to hook up its VNC server as the guests display adapter?
|
# ? Feb 9, 2016 20:30 |
|
Combat Pretzel posted:Yeah, the VNC server is run my QEMU and shows the framebuffer of the emulated graphics card. The guest is unaware about it. Awesome, thanks. I think that means I can run an unpatched Windows XP guest with no network adapter and it should be safe then. What's the relationship between qemu, kvm, libvirtd? What do they do? Why do we need them all? What's the meaning of life?
|
# ? Feb 9, 2016 20:32 |
|
Quick question regarding the ping command. I am trying to set Nagios up to monitor if our WAN links are up. Simplest way seems to be to send a ping to an external service. I just need to specify the gateway for each of our WAN links. Will using code:
Obviously this depends on the external service being up and responding.
|
# ? Feb 9, 2016 21:19 |
|
Thermopyle posted:What's the relationship between qemu, kvm, libvirtd? What do they do? Why do we need them all? What's the meaning of life? kvm provides an accelerated driver for qemu. Nothing more (it can do more, but in practice, almost everyone just uses it for kvm). libvirt provides easy primitives around networking, storage, etc. So you don't need to manually do a bunch of crap with qemu to use a VM on an iSCSI target or gluster or whatever.
|
# ? Feb 9, 2016 21:27 |
|
Does KVM provide accelerated graphics? I used virt-manager to fire up a Mint VM and it complained that it was in software rendering mode. I tweaked the VM's settings to try and get it to use "hardware" rendering but never managed to, meaning either A) I screwed up a setting somewhere, or B) Mint isn't really compatible with KVM. I didn't spend too much time troubleshooting it because I was already using VirtualBox and it Just Works for me
|
# ? Feb 9, 2016 21:46 |
|
There's virtio-gpu since recently, but it works only with other Linux guests (maybe the BSDs). For Windows, someone needs to yet write a driver.
|
# ? Feb 9, 2016 22:49 |
|
What do I need to do to secure the VNC connection to a KVM machine when I'm planning on making that connection available over the internet? Is the password that you set up when configuring the machine good enough?
|
# ? Feb 10, 2016 16:22 |
|
I'd question what the use case is for this versus using something like NX, or authenticated VNC on the client itself.
|
# ? Feb 10, 2016 16:50 |
|
evol262 posted:I'd question what the use case is for this versus using something like NX, or authenticated VNC on the client itself. It's a Windows XP 32-bit VM that we've got to run some old lovely software on for maybe 6 more months until we migrate to something new. I don't really want to expose the guest to the internet because...well, it's Windows XP, so I was wondering if it was possible to make KVM's VNC connection secure.
|
# ? Feb 10, 2016 16:55 |
|
So I need to replace my PC (possibly the only half-respectable components are the GPU and RAM chips) and it will be pretty much a gaming PC. That means a "steam machine" (side question: is that just a glorified PC with Steam's logo? Because it sounds like a glorified PC with Steam's logo marketed at consoleers) if you will. I'd rather not have much to do with Windows. Before I get into the hardware side (I'm a fan of AMD, if this matters) I wanna know...is there a linux build that's easy to use and will run games as easily (after setting the OS up) as Windows in the install and play manner I've become accustomed to? I understand I'll have to Wine somethings (right?) and I have no issue if that's a relatively straight forward process. I'm not afraid of learning a new OS, I'm afraid I'm going to have to 'hack in' half the games I play. Oh, and does linux gag to either xbox one or ps4 controllers specifically or are they both about equal compatibility with linux?
|
# ? Feb 10, 2016 17:06 |
|
Thermopyle posted:It's a Windows XP 32-bit VM that we've got to run some old lovely software on for maybe 6 more months until we migrate to something new. Is there a reason you can't run VNC over some kind of VPN and block it from anything else?
|
# ? Feb 10, 2016 17:11 |
|
thebigcow posted:Is there a reason you can't run VNC over some kind of VPN and block it from anything else? No, no reason, and I'll look into doing just that if I need to. I just didn't know if it was something I needed to do or not.
|
# ? Feb 10, 2016 17:12 |
|
Verge posted:So I need to replace my PC (possibly the only half-respectable components are the GPU and RAM chips) and it will be pretty much a gaming PC. That means a "steam machine" (side question: is that just a glorified PC with Steam's logo? Because it sounds like a glorified PC with Steam's logo marketed at consoleers) if you will. I'd rather not have much to do with Windows. Before I get into the hardware side (I'm a fan of AMD, if this matters) I wanna know...is there a linux build that's easy to use and will run games as easily (after setting the OS up) as Windows in the install and play manner I've become accustomed to? I understand I'll have to Wine somethings (right?) and I have no issue if that's a relatively straight forward process. I tossed SteamOS on one of my partitions to test drive it, and ran into a couple issues, some expected, some not. Machine is a 2500K @ 4.5GHz, and an R9-290.
You're probably better off running Linux Mint or Ubuntu or something and installing steam on that rather than running SteamOS. I wouldn't consider a Linux-only system as a gaming platform unless all of the games you play have a Linux version. You'll save yourself a lot of pain if you get an nVidia GPU for gaming on linux: http://www.phoronix.com/scan.php?page=article&item=amd-r9-fury&num=1 I'm really optimistic about Linux gaming, but it's definitely in cowboy territory right now unless you only want to play Dota 2 and/or CS: GO, both of which work flawlessly.
|
# ? Feb 10, 2016 17:18 |
|
If you intend to want to play triple AAA games, you'll be poo poo out of luck. WINE is a crapshoot most of the times, and I don't think the more and more complex and harebrained DRM schemes make the job of the WINE developers easier.
|
# ? Feb 10, 2016 17:53 |
|
If you want to play games on WINE, always check the WINEdb. Looking at what you play now on that should give you an idea of what works, and how much jiggery-pokey you will have to engage in to get things to work. https://appdb.winehq.org/
|
# ? Feb 10, 2016 18:10 |
|
Twerk from Home posted:
It actually does work on the open AMD drivers (possibly Intel too?) provided you have a newer MESA version. Performance is allegedly pretty bad compared to the Nvidia binary drivers though.
|
# ? Feb 10, 2016 18:10 |
|
|
# ? Apr 25, 2024 23:22 |
|
I'm trying to fix a website that's been hacked. I have shell access as the web user, but no root access. I can see apache access logs going back 24 hours. The main public_html directory is a Joomla site, and there's a Wordpress site in a subdirectory. I've been searching for and removing dodgy php files by looking for unusual "POST" requests in the access logs, and also by searching the public_html directory for strings like "eval(base64" But there is still a hole somewhere because new php files keep appearing. I need a way to monitor the directory so I can see when files are being created or changed. I'm hoping I can compare the timestamps with the access logs and work out how they are being created. I have been using commands like "find -cmin -1000" to try and find newly created files, but I think the dodgy files have fake creation / modification times? Is that possible? I found a few new ones just now with modification dates in 2014, but I'm pretty sure they only appeared in the last 24 hours. Is there a better way to monitor when and which files are changing? I just put the whole public_html directory in a git repository so that I can run "git status" to watch for changes - will that work? Any suggestions appreciated
|
# ? Feb 10, 2016 20:19 |