Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Yes but on settings it says it isn't installed and don't let me run the vm :(
Gonna steel my father's laptop, since I gave him one better (a friend gave it to me as damaged... Changed batery and it's good now) he doesn't use the old one...
But... I don't have space... -
Condor323326yNo idea, I never had any need to run Apache in Termux. As you know I'm against this "server" use of phones. Probably you'd be better off getting yourself a Raspberry Pi.
Also the USB issue is indeed resolvable by installing the extension pack. I was unable to mount a USB 3.0 external hard drive to my Arch host in VBox, installed extension pack and added the USB drive to the VM's configuration. After that I could cryptsetup luksOpen and mount it as usual, as if the Windows host (which doesn't understand LUKS) wasn't there to begin with. Quite nice! -
@Condor Man... I must be doing something wrong, as I installed the extension pack and can only use USB 1.1, didn't have the same problem in Windows 10, virtualizing windows xp.
As for apache... I tried it if it worked... and now I have a server permanently running on the background lol -
Anyhow, I'll just recreate my windows installation in an empty driver and have dual-boot. When I need to use windows for something I'll just chance.
Thought I would prefer to use VMs instead of rebooting.
Isn't there Any virtualizer better then vbox for linux? I hate the fact we can only use 128mb for the graphics and they look like shit. Would be nice to be able to play my games in a VM with good quality. -
Condor323326y@GyroGearloose On Linux I'd go with QEMU any day. It's far better than VirtualBox in so many ways, and when you're running custom kernels (like I do on most of my machines) you start to realize just how large a clusterfuck VirtualBox really is... But Windows doesn't support KVM (which QEMU very heavily relies on instead of VT-x) and VMware is far too expensive.. so VirtualBox it is :/ a clusterfuck hypervisor on a clusterfuck OS, not a bad match now that I think of it!
-
@Condor lol loved the comparison. Too bad, VirtualBox really sucks for games, and If I figure out this USB problem I don't even need to dual-boot. can Live without games.
-
For VBox and 128mb video RAM: If you have a recent system with VT-d, xou may PCI passthough, but it requires a bit more work.
For the USB problem: Is you user in the correct group?
For Termux' Apache:
- Config dir: /data/data/com.termux/files/usr/etc/apache2
- Start/stop: apachectl start/stop (for a dirty shutdown: killall httpd)
- Webroot: /data/data/com.termux/files/usr/share/apache2/default-site/htdocs/ -
Condor323326yRegarding VirtualBox by the way, I'm encountering piss poor performance in its Linux guests on a Windows host (yeah hate me all you want, blame Nvidia). Hardware-accelerated virtualization is enabled, VRAM has been expanded to 256MB through VBoxManage and the RAM is 1GB and 2GB with 2 and 4 vcores on the Arch and Ubuntu VM's respectively. Especially when moving windows around in Mate or Gnome (or any kind of compositing really) it lags significantly, and stresses the host CPU too. No idea why but it's irritating as fuck :/
Are you having this issue in VBox too, or do you know some sort of resolution for it? -
@linuxxx Nope, apache2 doesn't run, must use apachectl but won't accept restart or stop
-
@sbiewald Thank you, you are a life savior... I would keep it, now that I know the root, but probably is a security risk...
-
@Condor Hm, never had this problem, for me VirtualBox works fluent on Windows and Linux with both guests (and FUCK YOU NVIDIA!).
I only remember to have performance problems while using 32-bit guests. -
@Condor Hey, never had such problems with any host. It lags a lot with games and movies but not with the system.
Btw, thanks for the "VBoxManage" tip
do you think I can assign 1Gb from my 2Gb card? -
apachectl stop gives an error, AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'Server Name' directive globally to suppress this message
httpd (no pid file) not running -
Condor323326y@sbiewald Host and guest are 64-bit and both guests also have VirtualBox guest additions installed :/
@GyroGearloose I don't think that it's possible to go beyond 256MB. It should be possible in QEMU though :) -
Ahhh almost got the solution by myself, except for the restart since I can't use commands from apache2.
restarted the phone, lets see if I got it right -
-
Condor323326y@GyroGearloose that command (apt purge apache2) uninstalls Apache and removes all its config files... Not sure if that was what you wanted to do :')
Also no I'm not using Scale Factor. -
@Condor Well... don't know how don't know why but the server is up after a purge and autoremove...
I hope it isn't open to the outside... :p Oh well.
Need a little more learning -
Condor323326y@GyroGearloose what does "nc -vzw1 127.0.0.1 80" (edit: replace port 80 with whatever port Termux runs the httpd on) return? Or a "su -c netstat -tnlp" if you're rooted. I highly doubt that an apt purge would allow the httpd to remain functional, and unless apt has gone full retard (which in case of Debian software can't be excluded I guess) its service should've been disabled during removal. Perhaps there's still processes in RAM (which you can check with "pidof httpd") but I doubt that those would remain functional after removal from disk, and certainly wouldn't persist across reboots.
Related Rants
-
gururaju56*Now that's what I call a Hacker* MOTHER OF ALL AUTOMATIONS This seems a long post. but you will definitely ...
-
linuxxx70This guy at my last internship. A windows fanboy to the fucking max! He was saying how he'd never use anythi...
-
creedasaurus62Another dev on my team just got a new machine. Before he came in today I made two separate USB installers and ...
That time after you changed to Linux and you really need windows...
Trying to root my new server :( Don't know why can only use USB1 on my VirtualBox VM... Fuck man
rant
right tools for the job
linux
windows
android
root