/srv/irclogs.ubuntu.com/2019/05/04/#ubuntu-server.txt

ScriptGeekI 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 page08:30
ScriptGeekthese are the instructions: https://www.vultr.com/docs/how-to-install-apache-mysql-and-php-on-ubuntu-18-0408:31
ScriptGeekwhere is says to enter the server ip in the browser, "http://SERVER_IP/... I get nothing.... of course the IP is IPV608:33
lotuspsychjeScriptGeek: nmap -PN -sV yourip to see if apache is running perhaps?08:35
lotuspsychje!lamp08:35
ubottuLAMP is an acronym for Linux-Apache-MySQL-PHP. However, the term is often used for setups using alternative but different software, such as Perl or Python instead of PHP, and Postgres instead of MySQL. For help with setting up LAMP on Ubuntu, see  https://help.ubuntu.com/community/ApacheMySQLPHP - See also the Server CD installation process.08:35
ScriptGeeklotuspsychje: I'm not sure what that does... I ran the command, but I don't see anything about Apache in the results08:41
lotuspsychjeScriptGeek: it should show open, or filtered ports/or services running /or all closed08:42
ScriptGeekonly 1 shows and it's port 22, because I'm ssh'd into the server. it says: Not shown: 999 closed ports08:44
ScriptGeekok, I ran the installation again08:47
ScriptGeekand the nmap command again... this time it shows Apache running on port 8008:47
ScriptGeekmaybe I can get to the default page now... let's see08:47
ScriptGeeknope08:48
TJ-ScriptGeek: you say you're using IPv6 addresses?08:50
ScriptGeekTJ-: yes08:51
TJ-ScriptGeek: what are the 1st 4 octets of the address? Is it fe80: (link-local) ?08:51
ScriptGeekI just googled a bit and it looks like ipv6 addresses need to be in square brackets08:52
ScriptGeekTJ-: it's 2001:19f0:5:2c4008: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%wlan008:55
TJ-ScriptGeek: OK, that is not a valid address08:55
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:56
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 groups08:57
ScriptGeekthis ipv6 stuff is like greek to me08:59
ScriptGeekhere's another ipv6 number: fe80::5400:2ff:fe04:fbc809:00
TJ-ScriptGeek: well it is 128-bit addresses (16 bytes) rather than 32-bit (4 bytes)09:01
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 %eth009:03
ScriptGeekwell, I'm out of time for today, I'll look at it later. Thank you for the help09:04
TJ-ScriptGeek: for a browser you'd need to do something like http://[2001:19f0:5::2c40]09:05
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 syntax09:06
=== Wryhder is now known as Lucas_Gray
ChunkzZhi17:11
ChunkzZhow do I install ubuntu's 19 server? I try and it says it has installed but it just boots me into bios?17:11
ChunkzZam I doing something wrong?17:12
TJ-ChunkzZ: installing on what make/model, and in UEFI or BIOS/CSM/Legacy mode?17:14
ChunkzZTJ-, bios, no uefi. that's disabled. amd 5350 8gb ram 120gb ssd.17:14
ChunkzZI install it, it says it has installed and asks to reboot.. I reboot and it's just loading the bios.17:15
ChunkzZubuntu 18.04 LTS's server works fine, this one; nope.17:15
pavlosChunkzZ: 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 freeze17:16
ChunkzZpavlos, it asked where to use the hdd, so I put use entire disk.17:16
ChunkzZTJ-, I don't want to use eifi though.17:16
ChunkzZuefi17:16
ChunkzZwhen 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/BIOS17:17
ChunkzZso what do I go to get it working?17:18
pavlosChunkzZ: I assume this is 19.04 server?17:18
ChunkzZyes.17:18
pavlosChunkzZ: since 18.04 works17:18
ChunkzZ18 LTS doesn't have this issue....17:18
pavlosChunkzZ: just made a VM with 1904server and it boots w/o issues17:31
ScriptGeekhave to search through text files manually when using nano since Ctrl+W closes my remote ssh window in my browser21:51
ScriptGeekmaybe I can redo the keybindings21:52
ScriptGeekfor nano21:52
tomreynredoing 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:00
tomreynit'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 browser22:01
ScriptGeekmaybe I should just use putty22:05
tomreynusing an actual ssh client has been reported to help people in the past.22:06
tomreynthere's also openssh, a much more usable client (if you ask me)22:07
ScriptGeekputty is definitely ugly22:07
ScriptGeekany openssh builds for windows?22:09
tomreyn!WSL22:09
ubottuWindows 10 has a feature called Windows Subsystem for Linux, which allows it to run Ubuntu (and other Linux distro) userspace programs without porting/recompliation. For discussion and support, see #ubuntu-on-windows or ##windows. For installation instructions, see https://msdn.microsoft.com/en-us/commandline/wsl/install_guide22:09
tomreynalso https://docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse22:10
tomreynbut then this is really an ubuntu channel here22:10
ScriptGeekwell, I'm using windows to ssh into my ubuntu server22:11
tomreynand you're looking for a software to run, on windows, which acts as an ssh client.22:12
ScriptGeekok, sorry22:13
tomreynno 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.22:14

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!