Anon Archived LINUX: fresh ubuntu server install in virtualbox not connecting to the internet. (askvoatanon)
submitted ago by 2647118?
Posted by: 2647118?
Posting time: 2.4 years ago on
Last edit time: never edited.
Archived on: 10/24/2018 10:00:00 AM
Views: 196
SCP: 6
6 upvotes, 0 downvotes (100% upvoted it)
~1 user(s) here now
Subverse anonymized: usernames are hidden and votes don't count.
NSFW: No
Authorized: No
Anon: Yes
Private: No
Type: Default
Anon Archived LINUX: fresh ubuntu server install in virtualbox not connecting to the internet. (askvoatanon)
submitted ago by 2647118?
view the rest of the comments →
[–] 13384882? 0 points 1 point 1 point (+1|-0) ago
Your ifconfig shows that you have no IPv4 address. Try dhcpcd eth0 or dhclient to get an IPv4 address.
[–] 13385200? [S] 0 points 1 point 1 point (+1|-0) ago (edited ago)
https://imgoat.com/uploads/1f491a404d/128123.pnghttps://imgoat.com/uploads/1f491a404d/128124.pngIT WORKED! THANK YOU THANK AYOU THANKYOU
[–] 13391427? [S] ago (edited ago)
EDIT: FML Ubuntu doesn't like telling me when something works. Once again, no idea what made the IPv4 come up.
Well, this sucks. Went back to it today and have the same problem. I used your comment to search for those two commands yesterday and found the answer (somehow) then promptly forgot it, apparently.
[–] 13385579? [S] ago
Thank you!
New problem if you don't mind. (sorry if you are the anon below and this is a duplicate for you)
I THINK I installed PHP 7.0, but it still doesn't seem to work - I'm guessing the previous version is what's actively being used, and was not updated to/replaced by 7.
[–] 13385768? ago
Your webserver (apache?) is misconfigured. You need to configure it so it uses PHP7 not 5. In your httpd.conf (in /etc/httpd/ or /etc/apache/) you need to comment in the line LoadModule php7_module modules/mod_php.so and comment out the php5 one. Verify with apt-get that you installed all the php7 or php7.1 stuff.