|
Helicity posted:counterpoint if its just a lovely little admin app that doesnt deserve much thought, leave it on 8080 and dont think about it not being on port 80 This rings true. Id either leave it on 8080 because it doesn't matter or spend the literal 30 minutes figuring out 0-60 how to write an nginx config file and run a docker container pointed at it. Tbf, I would also be pretty pissed if I inherited a system that had any of the other hacks described in this thread running on it. "Oh, look, another way to mangle port 80 privileges, this time somehow in systemd? Let's set aside time to rewrite this from scratch."
|
# ? Feb 22, 2018 20:34 |
|
|
# ? Apr 28, 2024 22:48 |
|
Gazpacho posted:corp. firewall I definitely sense an asymmetry in knowledge between us.
|
# ? Feb 22, 2018 20:36 |
|
TimWinter posted:"Oh, look, another way to mangle port 80 privileges, this time somehow in systemd? its actually a decent solution designed for exactly this scenario though beats a rube goldberg machine constructed out of fuckin socat running as root lol
|
# ? Feb 22, 2018 20:39 |
|
Gazpacho posted:corp. firewall wait, this thing is going to be exposed to the internet at large?
|
# ? Feb 22, 2018 20:39 |
|
obviously the correct solution is to run sudo ssh localhost -L 80:localhost:8080 -N just bite the bullet and go the nginx route. i am mostly of the opinion that the random bifurcation is a pretty dubious design (in that it for a lot of normal tasks it adds another layer that does little but really makes for more surface rather than less), but it is hard to argue with how well prepared nginx is for this sort of proxying tasks, and it takes no time at all to just get it in there
|
# ? Feb 22, 2018 20:53 |
|
yeah, i don't really think the "i shouldn't have to do this" argument is correct, it's a very idiomatic solution to this problem even at your scale
|
# ? Feb 22, 2018 20:54 |
|
there are many words i'd use to describe tomcat and jsps but "quick" and "easy" are not among their number but fair enough, you have a quick and dirty task you need done that doesn't warrant learning new tools do that thing with systemd that gives your tomcat server the permission to bind to privileged ports (AmbientCapabilities=CAP_NET_BIND_SERVICE) and get on with your life
|
# ? Feb 22, 2018 21:00 |
|
Sapozhnik posted:there are many words i'd use to describe tomcat and jsps but "quick" and "easy" are not among their number dude i get you have a giant stick up your rear end about tomcat but it was made pretty clear the jsps are already written and the container is already running, so yeah, it's a hell of a lot quicker to do nothing than a full rewrite to satisfy you
|
# ? Feb 22, 2018 21:01 |
|
RFC2324 posted:wait, this thing is going to be exposed to the internet at large? Did I mention I have already decided to quit this shitshow?
|
# ? Feb 22, 2018 21:17 |
|
Gazpacho posted:Did I mention I have already decided to quit this shitshow? so i was right about the dumpster fire? my legit condolences
|
# ? Feb 22, 2018 21:19 |
|
So, uh, anyone know what happens if you have set up a vm that is your real hard drive, and you are running Fedora and want to run an installed windows on another partition, but don't get to grub in your vm in time and accidentally start up Fedora, which you are currently running?
|
# ? Feb 23, 2018 11:33 |
|
https://twitter.com/mjg59/status/966614064850862080
|
# ? Feb 23, 2018 14:10 |
|
bssoil posted:So, uh, anyone know what happens if you have set up a vm that is your real hard drive, and you are running Fedora and want to run an installed windows on another partition, but don't get to grub in your vm in time and accidentally start up Fedora, which you are currently running? What
|
# ? Feb 23, 2018 16:06 |
|
bssoil posted:So, uh, anyone know what happens if you have set up a vm that is your real hard drive, and you are running Fedora and want to run an installed windows on another partition, but don't get to grub in your vm in time and accidentally start up Fedora, which you are currently running? You realize qubes was a bad idea.
|
# ? Feb 23, 2018 16:14 |
spankmeister posted:What templeos-as-a-hypervisor
|
|
# ? Feb 23, 2018 16:15 |
|
bssoil posted:So, uh, anyone know what happens if you have set up a vm that is your real hard drive, and you are running Fedora and want to run an installed windows on another partition, but don't get to grub in your vm in time and accidentally start up Fedora, which you are currently running? <inception horn>
|
# ? Feb 23, 2018 16:44 |
|
what happens though, for real?
|
# ? Feb 23, 2018 16:44 |
|
mounting most filesystems rw on two separate oses ignorant of each other extremely quickly leads to pain town
|
# ? Feb 23, 2018 17:19 |
|
a friend of mine had two partitions, windows and Linux, and both were bootable natively or in a vm somehow he had Linux hibernated, booted windows, and ran the Linux Vm from a cold boot for several hours and then later when he un-hibernated the Linux I guess it believed different things about the filesystem (which had changed while the vm ran) and it shithoused the Linux install thoroughly so my recommendation is to get a Mac and only ever run Linux in a vm or hypervisor
|
# ? Feb 23, 2018 17:39 |
|
Cocoa Crispies posted:so my recommendation is to get a Mac
|
# ? Feb 23, 2018 17:40 |
|
Cocoa Crispies posted:a friend of mine had two partitions, windows and Linux, and both were bootable natively or in a vm I don't think you can run a hypervisor on a mac. you have to use the default Linux that comes with it.
|
# ? Feb 23, 2018 17:40 |
|
Cocoa Crispies posted:a friend of mine had two partitions, windows and Linux, and both were bootable natively or in a vm vmware fusion would work like this on macs with bootcamp i was kinda surprised nothing ever hosed up
|
# ? Feb 23, 2018 18:12 |
|
hobbesmaster posted:vmware fusion would work like this on macs with bootcamp oh I’m sure it’s worked fine for lots of people but if you’re mixing windows and gentoo beware
|
# ? Feb 23, 2018 18:51 |
|
Cocoa Crispies posted:oh I’m sure it’s worked fine for lots of people why
|
# ? Feb 23, 2018 20:38 |
|
Ż\_(ツ)_/Ż
|
# ? Feb 23, 2018 22:38 |
|
if you can afford a windows license why would you still have gentooo installed?
|
# ? Feb 23, 2018 22:40 |
|
Shaggar posted:if you can afford a windows license why would you still have gentooo installed? can't rice out windows
|
# ? Feb 23, 2018 22:51 |
|
MALE SHOEGAZE posted:this is strange to me because i specifically remember setting up a connection over some custom protocol that was designed to allow tomcat to proxy requests for static content through httpd. the tomcat docs even recommended this configuration. ajp has been deprecated for more than ten years unless you were using tomcat circa year 2000, the docs would have warned you NOT to do that
|
# ? Feb 23, 2018 22:57 |
|
ajp was the most bizarre and inexplicable thing "hey we need to transport http requests from one http server to another http server. what protocol shall we use to do this?" "... http?" *person being thrown out of window meme*
|
# ? Feb 23, 2018 23:40 |
|
RFC2324 posted:can't rice out windows
|
# ? Feb 23, 2018 23:47 |
|
Sapozhnik posted:ajp was the most bizarre and inexplicable thing wait until you learn about cgi
|
# ? Feb 24, 2018 00:56 |
|
Notorious b.s.d. posted:ajp has been deprecated for more than ten years I spent the first 5 months of 2016 arguing with a Dev about ditching Apache because he had written an app that used ajp because it was “better” and “native”.
|
# ? Feb 24, 2018 01:29 |
|
RFC2324 posted:can't rice out windows You only have 2 options. Litestep or WindowBlinds
|
# ? Feb 24, 2018 02:17 |
|
hot dog stand theme is all the rice you ever need
|
# ? Feb 24, 2018 02:29 |
|
check out my linux themed windows 10 desktop!
|
# ? Feb 24, 2018 02:37 |
|
akadajet posted:check out my linux themed windows 10 desktop! you copied that out of one of the grey forum computer rice threads didn't you
|
# ? Feb 24, 2018 03:11 |
cinci zoo sniper posted:templeos-as-a-hypervisor paging luigi30...
|
|
# ? Feb 24, 2018 05:10 |
|
its weird how both mac and windows make a coherent design and then they immediately ruin it by making icons so loving big that they look like someon left a bunch of novelty condom wrappers on the bottom shelf of an otherwise well thought out ui
|
# ? Feb 24, 2018 05:22 |
|
Corla Plankun posted:its weird how both mac and windows make a coherent design and then they immediately ruin it by making icons so loving big that they look like someon left a bunch of novelty condom wrappers on the bottom shelf of an otherwise well thought out ui both windows and macs icon are fine
|
# ? Feb 24, 2018 10:09 |
|
|
# ? Apr 28, 2024 22:48 |
|
Notorious b.s.d. posted:i think we can all agree that poo poo was not perfected in the 1980s macintosh se/30 running system 6.0.8
|
# ? Feb 24, 2018 10:50 |