[05:11] <Deihmos> isn't there an expert install for the server?
[05:11] <mason> Deihmos: You can get the alternative installer, and that's the Debian text interface.
[05:11] <Deihmos> i wonder why there is a channel for server and ubuntu when they are both the same
[05:11] <mason> Hang out in both for a while and the differences will emerge.
[05:17] <Deihmos> the standard installer comes packed at over 3GB
[07:51] <ruben23> hi there guys need help, i have a local web server and my local page URL http://1.0.2.2.0/website  --> is there a way i can access this URL by name like http://website.local like that please help
[07:56] <blackflow> ruben23: you can put  "1.0.2.2   website.local"   (without parentheses) into your /etc/hosts file (and I'm assuming you typo'd the last 0)
[07:57] <blackflow> ruben23: so that's /etc/hosts on your computer FROM which you want to access that hostname. alternatively you'll need a DNS server in your network configured to serve the "website.local" zone
[07:59] <ruben23> blackflow: so i need local DNS server also
[07:59] <blackflow> ruben23: only if you don't want to set up /etc/hosts on every computer you want to access that IP from.
[08:01] <ruben23> blackflow: this host will be access by all 20 local pc they belong on the same LAN
[08:01] <blackflow> Deihmos: "expert installe for the server" -- yes, use debootstrap for most expert flexibility and control.
[08:02] <blackflow> ruben23: then you'll need a DNS server, and maybe you can teach your LAN resolver already, to serve that zone
[08:02] <ruben23> blackflow: help me how to set this up please
[08:04] <blackflow> ruben23: what exactly? several possibilities are offered
[08:05] <blackflow> I'm assuming the most simplest is that you already have a LAN resolver (the gateway itself, perhaps? the router?)?
[08:05] <ruben23> i have a 45 PC access a web server , with a local site, but to access it they used ipaddress of the webserver, can it be accessible by hostname only, so i need to setup a local DNS server, im not sure how to setup a local DNS server
[08:06] <ruben23> yes i have a router from a Internet Provider
[08:06] <blackflow> ruben23: the consult the manual of the router from your internet provider and see if you can add a zone to its DNS settings. how to do that, depends on your router and is out of the scope of this channel
[08:07] <blackflow> ruben23: if it can't to that, then see if it can specify the DNS settings for the DHCP service it provider. in there you'd have to supply the IP address of the DNS server taht you'll have to set up. this DNS server will have to be both authoritative for "website.local" and a recursive resolver for all the rest.
[08:09] <blackflow> I'm trying to remember if there's a simpler way, perhaps something based on avahi and no need for a central DNS...
[08:10] <ruben23> blackflow: do i need a server for this DNS server.? somehow
[08:10] <ruben23> i cna only see on the router is this function --> Static DNS Configuration , DDNS Configuration
[08:11] <blackflow> ruben23: yes you do. but wait, I think you don't need a central DNS for  .local  and something like the avahi service
[08:13] <blackflow> ruben23: okay, I had to look that up and I found some articles but for Fedora, I suppose it's possible to do this with avahi and mdns, but I've never done it and could'nt help you with that. But you have the keywords now to look up something on google yourself.
[08:15] <blackflow> ruben23: another simple solution is not to use .local at all, but some real domain in your control, and just set something like  "dev.example.com"  (where example.com is the domain you own)  to point at 10.0.2.2  or whatever the LAN ip it really is, at your domain registrar or where the NS is.
[08:16] <blackflow> though with mdns approach, all your PCs will have to support it as well, which shouldn't be a problem to set up, I guess
[08:17] <blackflow> ruben23: ah, https://help.ubuntu.com/community/HowToZeroconf
[08:18] <ruben23> Thanks a lot i will loo into tat now
[08:18] <blackflow> ruben23: yeah .local is special and usable for mDNS like that.
[08:21] <ruben23>  blackflow: but all the pc access that local URl are windows
[08:29] <blackflow> ruben23: windows should support mdns afaik
[08:30] <blackflow> ruben23: you need avahi only on the machine that hosts your website. avahi then broadcasts its mdns hostname website.local, and all the mdsn clients (of which I assume windows too) will pick that up and know where in the LAN website.local is.
[08:31] <blackflow> mDNS as protocol (multicast DNS), should be supported by windows, macs and linuxes
[13:22] <Delvien> runing an ubuntu-server 18.04 in a vm.. new install and getting weird network interfaces which I cant bring up (with netplan) 3 network interfaces named veth######, I only have one network device attached, how cna i get rid of these and get networking up?
[15:17] <tomreyn> Delvien: "ip l" may provide more info on these virtual nics
[15:18] <tomreyn> http://manpages.ubuntu.com/manpages/bionic/en/man4/veth.4.html
[16:10] <Deihmos> i installing the server does not install tyhe video drivers
[16:10] <Deihmos> how do i determine the driver that i need?
[16:28] <blackflow> Deihmos: all the gpu drivers are probably already in the kernel. anything else are optional, out of tree drivers for nvidia and amd
[16:29] <Deihmos> i don't get hw transcoding on plex when there is no desktop
[16:30] <Deihmos> someone told me without the desktop, there was no dependency to install the i965-va-driver
[16:32] <blackflow> Deihmos: that's VAAPI acceleration driver for intel, you can always install it if you need it
[16:36] <Deihmos> how do i determine the version that i need
[16:41] <blackflow> Deihmos: you probably don't need a specific version, or else you'd know already :)  just use the package provided by the distro
[16:41] <Deihmos> ok
[18:06] <Deihmos> blackflow: did not work. still no vaapi acceleration on the server
[18:07] <Deihmos> i did apt install i965-va-driver
[18:44] <kinghat> so i have my server mounted via smb share on my nix desktop. is it ok to delete files from the server through the mounted share?
[18:45] <kinghat> like those deleted server files end up in my desktop trash, is that normal?
[18:45] <tomreyn> how your desktop handles your delete requests depends on your desktop
[18:45] <tomreyn> which i understand does not run ubuntu
[18:46] <kinghat> what do you mean does not run ubuntu?
[18:46] <tomreyn> you said "on my nix desktop"
[18:47] <tomreyn> "nix" does not sound like "Ubuntu"
[18:47] <kinghat> sorry, its ubuntu. both server and desktop.
[18:49] <tomreyn> ubuntu desktop support would be in #ubuntu normally, but let's take a shortcut here: ubuntu's default file browser "naultilus" will move files to trash when deleted unless you hold down shift while doing so.
[18:50] <tomreyn> and it is not generally a misguided approach to delete files off a network share. unless you still need those.
[19:00] <kinghat> just seems add they end up in a different computers trash.
[19:00] <kinghat> does server even have a trash?
[19:02] <tomreyn> unless it runs a graphical desktop, probably not,
[19:02] <tomreyn> and i don't think the file is really moved to your local computer
[19:03] <tomreyn> usually what happens is that your client moves the file to a hidden /.Trash-$UID directory on the share, and adds references to that to its local trash.
[19:04] <tomreyn> which then makes it look as if the file was stored in your local trash.
[19:05] <tomreyn> this gives you the (crazy, IMO) user experience users may be used to from windows, but personally I find this undesirable which is why i disable this feature if i ever have to use a graphical file browser, and use it on network shares. or just hold down shift while deleting.
[19:05] <kinghat> and then emptying local(desktop) trash sends signal to remove it on the share?
[19:06] <tomreyn> yes
[19:06] <tomreyn> that's if the network connection still works then ;-)
[19:06] <kinghat> and that hidden .Trash is in root on share?
[19:06] <tomreyn> i think so
[19:13] <kinghat> easiest way to install new ubuntu server OS over the network?
[19:14] <kinghat> probably easier as the board has IPMI.
[19:15] <tomreyn> if its just a single server, the easiest approach may be to use the ipmi with remote virtual media, yes
[19:18] <kinghat> how does the remote virtual media work?
[19:18] <tomreyn> that's outside the scope of ubuntu support
[19:19] <kinghat> kk
[20:02] <kinghat> if i want static ip on the server during setup do i need to set it to manual?
[20:03] <kinghat> https://irc.kinghat.info/uploads/c401cfdf4ff2f2d6/Screenshot--03-02-2019--14-03-08.png
[20:11] <tomreyn> if by "static" you mean "not assigned by a local dhcp server", then yes, you will need to enter it manually.
[20:12] <tomreyn> (that's unless you do a (partially or) fully automated installation, that is.
[20:15] <tomreyn> i consider this installer to create broken installations, so personally i prefer the "alternative server" installer (based on debian's)
[20:15] <kinghat> broken installations is no good.
[20:18] <kinghat> also this is the 18.10 installer.
[20:23] <tomreyn> i also don't run servers on non LTS releases
[20:29] <kinghat> this is a play server so no harm.
[20:29] <kinghat> thanks for the help tomreyn!
[20:30] <tomreyn> you're welcome.
[20:32] <kinghat> has it always been the case that you cant have uppercase characters in the server name?
[20:35] <tomreyn> according to RFC 952 "No distinction is made between upper and lower case."
[20:35] <tomreyn> if the installer does, it's either the result of an ubuntu / debian policy or a bug.
[20:36] <tomreyn> i don't know whether it has always been this way.
[20:36] <kinghat> that must be the case.
[20:40] <kinghat> so what is going on here? https://irc.kinghat.info/uploads/248bc3804d712991/Screenshot--03-02-2019--14-40-00.png
[20:41] <kinghat> like some cloud-init process that is just constantly running? it just started up on login.
[20:52] <tomreyn> cloud-init is installed by default on ubuntu-server
[20:53] <tomreyn> i also don't like how it spills all over the login screen, but can imagine that there are scenarios where this can be useful.
[20:54] <tomreyn> s/login screen/login (text) prompt/
[20:54] <tomreyn> it could also be a bug, not sure.
[20:59] <kinghat> do i just `ctrl+c` it?
[20:59] <tomreyn> dont's you have a login prompt then?
[21:00] <tomreyn> you may have one but it may have scrolled off the screen. maybe try pressing enter first of all
[21:00] <kinghat> if i ctrl+c it?
[21:00] <tomreyn> see if that gives you a password rompt
[21:00] <tomreyn> *prompt
[21:00] <kinghat> i logged in and it started all that
[21:01] <kinghat> ya enter gave me the user input
[21:01] <tomreyn> then pressing enter probably gives you a shell prompt
[21:01] <kinghat> ya it did
[21:03] <tomreyn> IMO services shouldnt mess with your shell or login prompt like this, but ... oh well, you got what you paid for. you can always uninstall cloud-init, though.
[21:04] <kinghat> i think i may have on the previous install. i logged out and back in and it didnt do it the second time so 🤷‍♂️
[21:05] <tomreyn> this massive output is only on the first run either way, i think.
[21:05] <kinghat> probably the case
[21:05] <tomreyn> the idea there is to enable you to securely login to a server via ssh
[21:06] <tomreyn> not having to trust on first use
[21:06] <kinghat> ya i didnt set the ssh keys during install when it asked.