|
Anyone got experience with Linux Containers (or other related OS-level virtualization)? I like the idea of separating the different functions on my home server into different, sandboxed subsystems, but I haven't seen a lot of people using it.
|
# ? Nov 14, 2013 22:30 |
|
|
# ? May 10, 2024 01:11 |
|
stray posted:Anyone got experience with Linux Containers (or other related OS-level virtualization)? I like the idea of separating the different functions on my home server into different, sandboxed subsystems, but I haven't seen a lot of people using it. You're probably the only person interested in this who isn't sperging about Docker (Openstack recently supports it), but OpenVZ is also effectively a container-based system. Do you have questions?
|
# ? Nov 14, 2013 22:35 |
|
evol262 posted:You're probably the only person interested in this who isn't sperging about Docker (Openstack recently supports it), but OpenVZ is also effectively a container-based system. Do you have questions?
|
# ? Nov 14, 2013 22:49 |
|
stray posted:Well, I'm a newbie to this sort of thing. I'd read about FreeBSD jails and I like the idea of breaking the system up into smaller OS environments that can have their own users, permissions, etc. My home NAS is running FreeNAS and so different applications (e.g., Transmission) are jailed. How have you been using this kind of virtualization? How's the overhead? Worth it? I principally use container-based virt for one-off jobs that I don't feel like sending through Nova, generally. Building packages for RHEL on Fedora in a more complicated way than mock already does, etc. Almost everything I run is hardware virt rather than container virt, but there's not a lot of practical difference for what you're doing at home other than being able to easily nest it inside another solution. Your question is effectively "what do you use virtualization for and is it worth it?", which only you can effectively answer. In general, LXC is broadly comparable to jails, and Docker is a Vagrant-ish wrapper around LXC for SaaS-ish uses.
|
# ? Nov 14, 2013 22:55 |
|
Hope this is the right thread. I'm trying to setup postfix on an Ubuntu server to be an SMTP gateway that does not accept local mail but rather just relays mail for certain domains to another smart host using a different port (need to bypass ISP blocking). So in my main.cf file I have transport_maps = path/file Inside that file I have the following: example1.com smtp:smarthost.com:2525 example2.com smtp:smarthost.com:2525 When I send a test email, the email goes into the deferred queue because instead of resolving the domain of smarthost.com to an IP, it's looking up the MX record and trying to send to that for some reason. However, if I instead put: example1.com smtp:[IP ADDRESS]:2525 example2.com smtp:[IP ADDRESS]:2525 it works and sends to the IP address. Is this normal behavior? I don't want it to search for the MX record of the domain I put in there but rather just send to the IP that the domain resolves to. edit: gently caress, I just figured it out, never mind. http://www.postfix.org/STANDARD_CONFIGURATION_README.html posted:The [] forces Postfix to do no MX record lookups. example1.com smtp:[smarthost.com]:2525 example2.com smtp:[smarthost.com]:2525 that works. kiwid fucked around with this message at 01:37 on Nov 15, 2013 |
# ? Nov 15, 2013 01:30 |
|
If anyone's interested, the Mint 16 RC is now up (on the University of Kent mirror at least)
|
# ? Nov 15, 2013 12:25 |
|
I'm probably preaching to the choir here, but iPXE is awesome. It's much more capable and customizable than normal PXE. We have it fetching customized boot menus which are generated by a bit of python. If you have lots (or even just several) machines network booting, check it out. Our previous attempt at a solution was an ancient version of tftp-hpa that had been hacked up. I spent about 2 days debugging it and finally just punted and switched to iPXE. A better solution all around.
|
# ? Nov 16, 2013 03:31 |
|
My Rhythmic Crotch posted:I'm probably preaching to the choir here, but iPXE is awesome. It's much more capable and customizable than normal PXE. We have it fetching customized boot menus which are generated by a bit of python. If you have lots (or even just several) machines network booting, check it out. This is good news, as when I get some breathing room at work I was planning on moving all of our net installs to iPXE (which means I can finally get off this ancient version of pxelinux so I can pxe boot ESXi installs). Any recommendations on documentation aside from the ones on ipxe's site?
|
# ? Nov 16, 2013 05:06 |
|
Did you burn iPXE into the NIC or do you PXE boot iPXE?
|
# ? Nov 16, 2013 07:11 |
|
Cidrick posted:This is good news, as when I get some breathing room at work I was planning on moving all of our net installs to iPXE (which means I can finally get off this ancient version of pxelinux so I can pxe boot ESXi installs). Any recommendations on documentation aside from the ones on ipxe's site? You should almost always chainload iPXE, including to iPXE/gPXE servers (this turns in to an annoying game of figuring out which release separates the feature level you have from the feature level you need and getting your DHCP server to say "oh, you're already g/iPXE? Do you support booting from iSCSI LUNs? No? Ok, load yet another version"). And since pxelinux rules the world, passing info about what PXE assigned it to autoinstallers can be annoying. You also run into headaches trying to tie it into things which want to manage PXE on their own (Cobbler, most glaringly, but there are others), and it often works better to boot into pxelinux by default and have pxelinux itself chainload iPXE if it falls through.
|
# ? Nov 16, 2013 15:10 |
|
I have a curious problem with Half-Life 2. Whenever I boot up my computer and start the game, it reverts to the desktop when I tried to load a savegame. I have to use the System Monitor to end the process, after which I can start the game again and it will play normally. This happens after every boot.
|
# ? Nov 17, 2013 10:35 |
|
I'm getting confused by the Linux VNC variations out there. I'm looking particularly for one that will actually take over the active desktop locally logged in to the machine. I want to be able to move the cursor around on the other person's PC while they're sitting there so they can see what I'm doing. I'm trying to do this on Linux Mint 15 MATE, which has GNOME's Vino built in, and have tried tightvnc as well. I can't figure out how to get a correct connection to vino, and I've found that tightvnc comes up on a different session. How do I set this stuff up for what I want here? As a side question, I'll probably be on a Windows 8 PC when I'm doing all this remote stuff. I have virtualized OS images that would let me pop in under Linux and run stuff there, but I'm curious what would be a good Windows VNC client to connect to whatever particular host VNC can do what I want.
|
# ? Nov 17, 2013 18:10 |
|
Rocko Bonaparte posted:I'm getting confused by the Linux VNC variations out there. I'm looking particularly for one that will actually take over the active desktop locally logged in to the machine. I want to be able to move the cursor around on the other person's PC while they're sitting there so they can see what I'm doing. I'm trying to do this on Linux Mint 15 MATE, which has GNOME's Vino built in, and have tried tightvnc as well. I can't figure out how to get a correct connection to vino, and I've found that tightvnc comes up on a different session. How do I set this stuff up for what I want here? For RDP/VNC I use Remmina. Never had a problem with it. As for a Windows VNC client, I've only ever used RealVNC for this but I'm sure there's better ones.
|
# ? Nov 17, 2013 19:43 |
|
Rocko Bonaparte posted:I'm getting confused by the Linux VNC variations out there. I'm looking particularly for one that will actually take over the active desktop locally logged in to the machine. I want to be able to move the cursor around on the other person's PC while they're sitting there so they can see what I'm doing. I'm trying to do this on Linux Mint 15 MATE, which has GNOME's Vino built in, and have tried tightvnc as well. I can't figure out how to get a correct connection to vino, and I've found that tightvnc comes up on a different session. How do I set this stuff up for what I want here? You have to configure it, basically. Which server do you want to use? Baron Bifford posted:I have a curious problem with Half-Life 2. Whenever I boot up my computer and start the game, it reverts to the desktop when I tried to load a savegame. I have to use the System Monitor to end the process, after which I can start the game again and it will play normally. This happens after every boot.
|
# ? Nov 17, 2013 19:58 |
|
Experto Crede posted:As for a Windows VNC client, I've only ever used RealVNC for this but I'm sure there's better ones. TigerVNC for Windows is basically identical to the Linux version.
|
# ? Nov 17, 2013 20:42 |
|
evol262 posted:You have to configure it, basically. Which server do you want to use? The only one I've ever really used was RealVNC with Windows, where I'd VNC from one Windows machine to another. It would take over the desktop, and the other user would see the cursor moving around on its own like an ouija board. What I've seen so far looks like it starts a completely new session. I was looking it it through my virtualization environment and what desktop I got from my Windows client was different from what was logged in off of the Linux host. For more information, I'm trying to set this up for my mom on her laptop, since all she really does is web browser from her laptop, and drags in all kinds of crud in the process. So far she has been digging it, so I got lucky there, but I'm expecting to have to lead her through something one of these days. I was hoping I could show it all on her screen while I'm doing it.
|
# ? Nov 17, 2013 22:42 |
|
Wheres the right place to get a xrandr script to run on boot up? I have to keep putting in "xrandr --output eDP1 --scale 0.4x0.4" after a reboot. I suppose a better question is are there any environments that I can set up where the ui is scaled for a 13" with a 3200x1800 resolution?
|
# ? Nov 17, 2013 22:45 |
|
Rocko Bonaparte posted:At the risk of devolving into a circle: the one that does what I was hoping would happen when I connected. :p Check out vino. I haven't used it in a long time but it should do what you want. Tavistock posted:Wheres the right place to get a xrandr script to run on boot up? I have to keep putting in "xrandr --output eDP1 --scale 0.4x0.4" after a reboot. I suppose a better question is are there any environments that I can set up where the ui is scaled for a 13" with a 3200x1800 resolution? I'm not sure where the best place to put it is but what you can do is run that as a startup command in your gnome/xfce/kde session startup. Longinus00 fucked around with this message at 22:53 on Nov 17, 2013 |
# ? Nov 17, 2013 22:51 |
|
Rocko Bonaparte posted:At the risk of devolving into a circle: the one that does what I was hoping would happen when I connected. :p What about something off the shelf, particular teamviewer? It's free for non-commercial use and should take a lot of the headaches out of what you're trying to do, especially on the networking/NAT side.
|
# ? Nov 17, 2013 23:52 |
|
Tavistock posted:Wheres the right place to get a xrandr script to run on boot up? I have to keep putting in "xrandr --output eDP1 --scale 0.4x0.4" after a reboot. I suppose a better question is are there any environments that I can set up where the ui is scaled for a 13" with a 3200x1800 resolution? .xinitrc is pretty agnostic.
|
# ? Nov 18, 2013 06:24 |
|
I'm starting to work with extremely large datasets (order of 20-50 GB of data), and so I need to often times archive the dataset and put it into storage. To do this, I use `tar -czf`. Recently, I had to retrieve some data from storage and found out that some larger of the tar.gz files were corrupted. If I uncompressed files that were less than ~10 GB, there was no issue. However, when I uncompressed files that were around 50 GB, I would often get the error message "unexpected end of file" or a corrupted file message. I then tested this on a large file (20 GB in size) and found that `tar -czf` never generated a valid tar file. I'm using (GNU tar) 1.23. My question is, does anyone have any suggestions/experiences on different tools to use if they need to compress large amounts of data (gzip, bzip2, etc...)?
|
# ? Nov 18, 2013 16:05 |
|
octobernight posted:I'm starting to work with extremely large datasets (order of 20-50 GB of data), and so I need to often times archive the dataset and put it into storage. To do this, I use `tar -czf`. Recently, I had to retrieve some data from storage and found out that some larger of the tar.gz files were corrupted. If I uncompressed files that were less than ~10 GB, there was no issue. However, when I uncompressed files that were around 50 GB, I would often get the error message "unexpected end of file" or a corrupted file message. tar is not compression. It's archive-only, which is why bzip2, gzip, and other compression methods are so often used hand-in-hand with it. But this is a known deal with tar. posix or gnu should work fine, if you have it available. If not, you'll have to use `split` or some other method (compressing the datasets before tarring them may help, depending on how compressible they are).\ Edit: saw that you're already using gnu tar, which should default to --format=gnu, but please confirm that.
|
# ? Nov 18, 2013 16:45 |
|
octobernight posted:I'm starting to work with extremely large datasets (order of 20-50 GB of data), and so I need to often times archive the dataset and put it into storage. To do this, I use `tar -czf`. Recently, I had to retrieve some data from storage and found out that some larger of the tar.gz files were corrupted. If I uncompressed files that were less than ~10 GB, there was no issue. However, when I uncompressed files that were around 50 GB, I would often get the error message "unexpected end of file" or a corrupted file message. Do these large tar files have directory structures that exceed 255 charactors total? I know gnutar used to have a problem with that. You might want to try something like 7zip, (7za) it could also compress better. EDIT: ooh page 420 nitrogen fucked around with this message at 18:29 on Nov 18, 2013 |
# ? Nov 18, 2013 17:34 |
|
evol262 posted:tar is not compression. It's archive-only, which is why bzip2, gzip, and other compression methods are so often used hand-in-hand with it. Sorry if I wasn't too clear. I use tar -zcf, which runs it through gzip before compressing the files. I'm pretty sure it's GNU tar when I type tar --version, it returns "tar (GNU tar) 1.26". nitrogen posted:Do these large tar files have directory structures that exceed 255 charactors total? I know gnutar used to have a problem with that. There might be files with long string names. The dataset is generated from other tools which might create files with strange names. Also, there's typically several nested directories, so that could cause it to exceed the 255 char limit. I'll try 7zip to see if it works better. Thanks!
|
# ? Nov 18, 2013 20:02 |
|
octobernight posted:Sorry if I wasn't too clear. I use tar -zcf, which runs it through gzip before compressing the files. I'm pretty sure it's GNU tar when I type tar --version, it returns "tar (GNU tar) 1.26". No, you were clear. I just wanted to be crystal about the end of your post (any other tools... gzip? bzip2? etc?) that tar doesn't compress. You shouldn't have problems with anything with --format=gnu, and --format=posix should produce a valid archive with absolutely anything. You may want to test with dummy data to ascertain whether the problem is a size limit, character limit, both, or otherwise, because gtar should not be producing garbage archives with --format=gnu
|
# ? Nov 18, 2013 21:02 |
Is there a way to enable Windows 7 style window resize shortcuts in Linux Mint MATE? Things like drag window to far left size, resizes it to fill half the screen, or use a keyboard shortcut for it.
|
|
# ? Nov 18, 2013 21:45 |
|
Half-tiling is not going to be available in MATE, since MATE isn't under active development. Try Cinnamon or GNOME3.
|
# ? Nov 18, 2013 21:53 |
|
fletcher posted:Is there a way to enable Windows 7 style window resize shortcuts in Linux Mint MATE? Things like drag window to far left size, resizes it to fill half the screen, or use a keyboard shortcut for it. I haven't actually used this.
|
# ? Nov 18, 2013 22:24 |
Suspicious Dish posted:Half-tiling is not going to be available in MATE, since MATE isn't under active development. Try Cinnamon or GNOME3. Installed Cinnamon, looks like it can do it by default. Thanks! I want to move the system bar to the top of the screen, but when I try to open the Panel Settings nothing happens. If I try to run cinnamon-settings at the terminal, I just get "No module named PIL". Tried using pip to install PIL, but that didn't fix it.
|
|
# ? Nov 18, 2013 22:34 |
|
Cinnamon should certainly be packaged correctly out of the box in Linux Mint. File a bug with the Mint guys about that.
|
# ? Nov 18, 2013 22:35 |
|
Bit of an aesthetic issue here. Currently using Mint 16 and my monitors don't have their native resolutions recognised at boot. In my cinnamon session they're running at their native 1080p (after I set them when I first logged in), but the login screen is shown at 1024x768. Not a major issue but I would like it to be shown at the proper 1920x1080. I'm assuming something along the lines of editing xorg.conf would be needed, but I know that's not considered the "right" way any more. What would be the right way to do this now?
|
# ? Nov 18, 2013 23:11 |
|
You should be able to copy ~/.config/monitors.xml to /var/lib/gdm/.config/monitors.xml
|
# ? Nov 19, 2013 00:02 |
|
Is there a way to make Cinnamon remember where windows were when they were closed so that they next time you start a program it opens in the same place? I'm trying Mint 16 and overall I really like it, but having the Firefox and VLC windows move around every time I open them is really starting to grate on me.
|
# ? Nov 19, 2013 18:01 |
|
Anyone know of a decent small sized distro that would work via USB thumbdrive for a 2.2ghz 512mb computer? The comp is from the mid 2000s and the IDE HD inside it is likely shot and I'm not investing any money into breathing life into this computer. I was thinking Lubuntu but any other options I'd love to hear. I've seen stuff like Puppey Linux but I have no experience with it. The role for this computer is extremely light web browsing for bank information for my mother who hates computers and refuses to learn anything about them. Nothing complex can be tolerated.
|
# ? Nov 19, 2013 23:53 |
|
YouTuber posted:Anyone know of a decent small sized distro that would work via USB thumbdrive for a 2.2ghz 512mb computer? The comp is from the mid 2000s and the IDE HD inside it is likely shot and I'm not investing any money into breathing life into this computer. I was thinking Lubuntu but any other options I'd love to hear. http://www.newegg.com/Product/Product.aspx?Item=N82E16822136292 $9 with a coupon code
|
# ? Nov 20, 2013 00:41 |
|
YouTuber posted:Anyone know of a decent small sized distro that would work via USB thumbdrive for a 2.2ghz 512mb computer? The comp is from the mid 2000s and the IDE HD inside it is likely shot and I'm not investing any money into breathing life into this computer. I was thinking Lubuntu but any other options I'd love to hear. http://www.debian.org/CD/live/ Most Linux distros have live USB support these days though.
|
# ? Nov 20, 2013 00:55 |
|
YouTuber posted:Anyone know of a decent small sized distro that would work via USB thumbdrive for a 2.2ghz 512mb computer? The comp is from the mid 2000s and the IDE HD inside it is likely shot and I'm not investing any money into breathing life into this computer. I was thinking Lubuntu but any other options I'd love to hear. IMHO, your intuition about Puppy was correct. It fits on a USB stick and runs incredibly fast and would be perfect for light tasks like web browsing. Here's a nice tutorial.
|
# ? Nov 20, 2013 01:00 |
|
If I type ping google.com in the terminal, I got a constant stream of pings. How do I terminate the program without closing the terminal window?
|
# ? Nov 22, 2013 17:17 |
|
Baron Bifford posted:How do I terminate the program without closing the terminal window? Ctrl + C terminates running applications in a terminal window.
|
# ? Nov 22, 2013 17:20 |
|
|
# ? May 10, 2024 01:11 |
|
Ctrl+C you can also do ping -c 3 google.com e;fb
|
# ? Nov 22, 2013 17:20 |