[08:30] <ScriptGeek> I just got a server running ubuntu and following instructions to set it up with LAMP, but I'm unable to determine if apache is configured correctly since I can't get to the default apache page
[08:31] <ScriptGeek> these are the instructions: https://www.vultr.com/docs/how-to-install-apache-mysql-and-php-on-ubuntu-18-04
[08:33] <ScriptGeek> where is says to enter the server ip in the browser, "http://SERVER_IP/... I get nothing.... of course the IP is IPV6
[08:35] <lotuspsychje> ScriptGeek: nmap -PN -sV yourip to see if apache is running perhaps?
[08:35] <lotuspsychje> !lamp
[08:41] <ScriptGeek> lotuspsychje: I'm not sure what that does... I ran the command, but I don't see anything about Apache in the results
[08:42] <lotuspsychje> ScriptGeek: it should show open, or filtered ports/or services running /or all closed
[08:44] <ScriptGeek> only 1 shows and it's port 22, because I'm ssh'd into the server. it says: Not shown: 999 closed ports
[08:47] <ScriptGeek> ok, I ran the installation again
[08:47] <ScriptGeek> and the nmap command again... this time it shows Apache running on port 80
[08:47] <ScriptGeek> maybe I can get to the default page now... let's see
[08:48] <ScriptGeek> nope
[08:50] <TJ-> ScriptGeek: you say you're using IPv6 addresses?
[08:51] <ScriptGeek> TJ-: yes
[08:51] <TJ-> ScriptGeek: what are the 1st 4 octets of the address? Is it fe80: (link-local) ?
[08:52] <ScriptGeek> I just googled a bit and it looks like ipv6 addresses need to be in square brackets
[08:55] <ScriptGeek> TJ-: it's 2001:19f0:5:2c40
[08:55] <TJ-> ScriptGeek: there is that sometimes, but for link-local addresses you've got to add a suffix denoting WHICH interface to use, as in fe80:....1234%wlan0
[08:55] <TJ-> ScriptGeek: OK, that is not a valid address
[08:56] <TJ-> ScriptGeek: I think you're missing a double colon "::" that represents a run of zeros e.g. 0000:0000:0000 can be shortened to ::
[08:57] <TJ-> ScriptGeek: maybe it should be "2001:19f0:5::2c40" ?
[08:57] <TJ-> ScriptGeek: usually each allocation is a /64 so the first 4 groups are fixed and your site can allocate any value in the last 4 groups
[08:59] <ScriptGeek> this ipv6 stuff is like greek to me
[09:00] <ScriptGeek> here's another ipv6 number: fe80::5400:2ff:fe04:fbc8
[09:01] <TJ-> ScriptGeek: well it is 128-bit addresses (16 bytes) rather than 32-bit (4 bytes)
[09:03] <TJ-> ScriptGeek: and that is a link-local address (starts with fe80:) - they are per-link (interface) so 2 interfaces could advertise the same address, therefore we have to add a suffix when there are multiple interfaces to tell the OS which to use, as in %wlan0 or %eth0
[09:04] <ScriptGeek> well, I'm out of time for today, I'll look at it later. Thank you for the help
[09:05] <TJ-> ScriptGeek: for a browser you'd need to do something like http://[2001:19f0:5::2c40]
[09:06] <TJ-> ScriptGeek: best thing is to use "ping6" to ensure you're using the correct form of the address and can get a response, then move to the browser. That way you know the address is valid syntax
[17:11] <ChunkzZ> hi
[17:11] <ChunkzZ> how do I install ubuntu's 19 server? I try and it says it has installed but it just boots me into bios?
[17:12] <ChunkzZ> am I doing something wrong?
[17:14] <TJ-> ChunkzZ: installing on what make/model, and in UEFI or BIOS/CSM/Legacy mode?
[17:14] <ChunkzZ> TJ-, bios, no uefi. that's disabled. amd 5350 8gb ram 120gb ssd.
[17:15] <ChunkzZ> I install it, it says it has installed and asks to reboot.. I reboot and it's just loading the bios.
[17:15] <ChunkzZ> ubuntu 18.04 LTS's server works fine, this one; nope.
[17:16] <pavlos> ChunkzZ: did it write the bootloader to your sda ?
[17:16] <TJ-> ChunkzZ: it sounds like a UEFI issue, because usually Legacy/BIOS mode would report "Boot device missing" and freeze
[17:16] <ChunkzZ> pavlos, it asked where to use the hdd, so I put use entire disk.
[17:16] <ChunkzZ> TJ-, I don't want to use eifi though.
[17:16] <ChunkzZ> uefi
[17:17] <ChunkzZ> when I'm booting, I'm booting from a usb that's set to no uefi.
[17:17] <TJ-> ChunkzZ: that's fine, I'm just pointing out that getting dropped into the firmware setup ob boot sounds like a UEFI action, not Legacy/BIOS
[17:18] <ChunkzZ> so what do I go to get it working?
[17:18] <pavlos> ChunkzZ: I assume this is 19.04 server?
[17:18] <ChunkzZ> yes.
[17:18] <pavlos> ChunkzZ: since 18.04 works
[17:18] <ChunkzZ> 18 LTS doesn't have this issue....
[17:31] <pavlos> ChunkzZ: just made a VM with 1904server and it boots w/o issues
[21:51] <ScriptGeek> have to search through text files manually when using nano since Ctrl+W closes my remote ssh window in my browser
[21:52] <ScriptGeek> maybe I can redo the keybindings
[21:52] <ScriptGeek> for nano
[22:00] <tomreyn> redoing either the browsers' or noan's key bindings might be an option. or using some other editor.
[22:00] <tomreyn> *nano's, not noan's ;-)
[22:01] <tomreyn> it's also possible that you may need to mouse click into the temrinal "window" on your browser to ensure the shortcut ends up there, is not handled by the web browser
[22:05] <ScriptGeek> maybe I should just use putty
[22:06] <tomreyn> using an actual ssh client has been reported to help people in the past.
[22:07] <tomreyn> there's also openssh, a much more usable client (if you ask me)
[22:07] <ScriptGeek> putty is definitely ugly
[22:09] <ScriptGeek> any openssh builds for windows?
[22:09] <tomreyn> !WSL
[22:10] <tomreyn> also https://docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse
[22:10] <tomreyn> but then this is really an ubuntu channel here
[22:11] <ScriptGeek> well, I'm using windows to ssh into my ubuntu server
[22:12] <tomreyn> and you're looking for a software to run, on windows, which acts as an ssh client.
[22:13] <ScriptGeek> ok, sorry
[22:14] <tomreyn> no worries, i just think it's sometimes needed to point this out. i would not join ##windows to ask on instructions to to install, on linux, an rdp client.