• General Linux Chat and Small Questions v. I broke my Arch Install
    6,886 replies, posted
[QUOTE=nikomo;45183528]Already is a thing, it replaced iptables in Linux 3.13. Not to worry, when your distro ships 3.13 and the updated tools for managing stuff, and the new userspace tools will compile your iptables rules into nftables bytecode.[/QUOTE] Woops, looks like Ubuntu 14.04 actually does ship with 3.13, and you can get the userland tools from the official repos :v:. I might be checking that out, thanks. [editline]22nd June 2014[/editline] Is iptables going to be deprecated soon? I can't seem to find anything about it online. The only thing I see is that Ubuntu intends to ship nftables by default when they ship the 3.15 kernel.
iptables is already deprecated, but it doesn't matter since the new iptables tools will translate your shit into nftables bytecode in the background, without you even realizing it - so you'll basically be able to keep your old legacy iptables stuff, but you just magically have way more performance.
[QUOTE=FPtje;45181765](and not some finnicky browser thing like hangouts)[/QUOTE] I've had really good experiences with hangouts screensharing.
[QUOTE=mastersrp;45173348]Had [url=https://www.virustotal.com/en/file/4cc3bb9717b5d2273c4811187b2285c24a81d608338b78eaf88b7ba67abff4ef/analysis/]this[/url] happen to me. Whiping the drive it was on for now. Any ideas on what would secure my system for the next time this might happen?[/QUOTE] I thought it'd be another ten years or so before I saw one of those in the wild.
[QUOTE=FPtje;45185578]Don't you have to forward ports to get that to work from the outside? I'm [i]way[/i] too lazy for that.[/QUOTE] I'm using a lazy netcat bridge on my server so I don't have to open any ports. [code]nc -lvp 1234 -c 'nc -lkvp 2048'[/code]
I need some help with git. I'm setting up a git server that will use LDAP authentication with group checking for read/write groups. I'm thinking of just setting up a git viewer and then using apache rules to tunnel certain requests to a git shell and checking the authentication with apache httpauth. Is this a good way of doing it?
[code]SomeUser@sshServer:~/.forever$ ls announcements.log coursecms.log *.log pids settings.log users.log assessments.log courses.log miniclasses.log programs.log sidebar.log attachments.log dashboard.log notifications.log questions.log sock config.json groups.log permissions.log schedules.log topics.log SomeUser@sshServer:~/.forever$ rm *.log SomeUser@sshServer:~/.forever$ ls config.json pids sock [/code] I should have known :v: Don't worry, it's not a disaster.
I think it should have been rm \*.log
hey at least the file you wanted to remove is gone
[QUOTE=Mega1mpact;45189877]I need some help with git. I'm setting up a git server that will use LDAP authentication with group checking for read/write groups. I'm thinking of just setting up a git viewer and then using apache rules to tunnel certain requests to a git shell and checking the authentication with apache httpauth. Is this a good way of doing it?[/QUOTE] You might want to consider using something actually built for the job, like GitLab.
Gitlab is a great piece of software, but eats resources like a bitch.
[QUOTE=kaukassus;45190590]I think it should have been rm \*.log[/QUOTE] [code]rm /* .log -rf[/code] :v:
[QUOTE=Mega1mpact;45191150][code]rm /* .log -rf[/code] :v:[/QUOTE] But it needs --no-preserve-root for it to run, doesen't it?
--no-preserve-root is only required for deleting /, but /* resolves to "everything except /"
Okay I've compiled x265, but when I run it I get [code]x265: error while loading shared libraries: libx265.so.24: cannot open shared object file: No such file or directory[/code] Same goes for running it in ffmpeg. Searching for that file shows it being in /usr/local/lib/, with other libraries that ffmpeg uses
Are you sure the file is named libx265.so.24, and not just libx265.so?
[QUOTE=nikomo;45191432]Are you sure the file is named libx265.so.24, and not just libx265.so?[/QUOTE] when in doubt, symlink
[QUOTE=nikomo;45191432]Are you sure the file is named libx265.so.24, and not just libx265.so?[/QUOTE] I found both of those files [editline]23rd June 2014[/editline] libx265.so symlinks to libx265.so.24, which symlinks to libx265.so.1.1
Use LD_LIBRARY_PATH to make sure it's looking into that directory for libraries.
Is this during configure? It says it's an unknown option
No, you run the program with it. [code]LD_LIBRARY_PATH=/usr/local/lib/ ffmpeg[/code] or whatever you're trying to run
-snip-
It is ironic, a few days ago I did not know what a makefile is, now I have to write my own for my own program for Study work. Gotta say, makefiles are neat, but kinda hard to get into.
[QUOTE=nikomo;45191967]No, you run the program with it. [code]LD_LIBRARY_PATH=/usr/local/lib/ ffmpeg[/code] or whatever you're trying to run[/QUOTE] There is something terribly wrong if you have to fuck with libraries to get a program to work. We're the end users, not the developers.
To those using btrfs, I have a small question. I am thinking about going Archlinux on my Laptop and I am wondering. How stable is btrfs on Kernel 3.14/3.15? Also, is it worth it using it over ext4? I have never used btrfs outside of a VM.
[QUOTE=nikomo;45191967]No, you run the program with it. [code]LD_LIBRARY_PATH=/usr/local/lib/ ffmpeg[/code] or whatever you're trying to run[/QUOTE] Thank you, that works
[QUOTE=FPtje;45192049]There is something terribly wrong if you have to fuck with libraries to get a program to work. We're the end users, not the developers.[/QUOTE] Pretty sure this is some fairly new stuff, so the packages in his distro probably just don't have support for it yet.
I'm compiling it myself. I tried encoding a video with it now that it works, but it looks like it's still early days for the encoder.
Someone really needs to explain to me some general advantages and disadvantages of the various file systems, I never really understood what makes a filesystem better than the other. I am blindly sticking with ext4 because it [I]seems[/I] to work fine, but I'd like to know if there's anything better and for what it's better.
-snip automerge-
Sorry, you need to Log In to post a reply to this thread.