/srv/irclogs.ubuntu.com/2019/03/02/#ubuntu-server.txt

Deihmosisn't there an expert install for the server?05:11
masonDeihmos: You can get the alternative installer, and that's the Debian text interface.05:11
Deihmosi wonder why there is a channel for server and ubuntu when they are both the same05:11
masonHang out in both for a while and the differences will emerge.05:11
Deihmosthe standard installer comes packed at over 3GB05:17
ruben23hi 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 help07:51
blackflowruben23: 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:56
blackflowruben23: 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" zone07:57
ruben23blackflow: so i need local DNS server also07:59
blackflowruben23: only if you don't want to set up /etc/hosts on every computer you want to access that IP from.07:59
ruben23blackflow: this host will be access by all 20 local pc they belong on the same LAN08:01
blackflowDeihmos: "expert installe for the server" -- yes, use debootstrap for most expert flexibility and control.08:01
blackflowruben23: then you'll need a DNS server, and maybe you can teach your LAN resolver already, to serve that zone08:02
ruben23blackflow: help me how to set this up please08:02
blackflowruben23: what exactly? several possibilities are offered08:04
blackflowI'm assuming the most simplest is that you already have a LAN resolver (the gateway itself, perhaps? the router?)?08:05
ruben23i 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 server08:05
ruben23yes i have a router from a Internet Provider08:06
blackflowruben23: 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 channel08:06
blackflowruben23: 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:07
blackflowI'm trying to remember if there's a simpler way, perhaps something based on avahi and no need for a central DNS...08:09
ruben23blackflow: do i need a server for this DNS server.? somehow08:10
ruben23i cna only see on the router is this function --> Static DNS Configuration , DDNS Configuration08:10
blackflowruben23: yes you do. but wait, I think you don't need a central DNS for  .local  and something like the avahi service08:11
blackflowruben23: 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:13
blackflowruben23: 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:15
blackflowthough with mdns approach, all your PCs will have to support it as well, which shouldn't be a problem to set up, I guess08:16
blackflowruben23: ah, https://help.ubuntu.com/community/HowToZeroconf08:17
ruben23Thanks a lot i will loo into tat now08:18
blackflowruben23: yeah .local is special and usable for mDNS like that.08:18
ruben23 blackflow: but all the pc access that local URl are windows08:21
blackflowruben23: windows should support mdns afaik08:29
blackflowruben23: 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:30
blackflowmDNS as protocol (multicast DNS), should be supported by windows, macs and linuxes08:31
Delvienruning 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?13:22
tomreynDelvien: "ip l" may provide more info on these virtual nics15:17
tomreynhttp://manpages.ubuntu.com/manpages/bionic/en/man4/veth.4.html15:18
Deihmosi installing the server does not install tyhe video drivers16:10
Deihmoshow do i determine the driver that i need?16:10
blackflowDeihmos: all the gpu drivers are probably already in the kernel. anything else are optional, out of tree drivers for nvidia and amd16:28
Deihmosi don't get hw transcoding on plex when there is no desktop16:29
Deihmossomeone told me without the desktop, there was no dependency to install the i965-va-driver16:30
blackflowDeihmos: that's VAAPI acceleration driver for intel, you can always install it if you need it16:32
Deihmoshow do i determine the version that i need16:36
blackflowDeihmos: you probably don't need a specific version, or else you'd know already :)  just use the package provided by the distro16:41
Deihmosok16:41
Deihmosblackflow: did not work. still no vaapi acceleration on the server18:06
Deihmosi did apt install i965-va-driver18:07
kinghatso 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:44
kinghatlike those deleted server files end up in my desktop trash, is that normal?18:45
tomreynhow your desktop handles your delete requests depends on your desktop18:45
tomreynwhich i understand does not run ubuntu18:45
kinghatwhat do you mean does not run ubuntu?18:46
tomreynyou said "on my nix desktop"18:46
tomreyn"nix" does not sound like "Ubuntu"18:47
kinghatsorry, its ubuntu. both server and desktop.18:47
tomreynubuntu 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:49
tomreynand it is not generally a misguided approach to delete files off a network share. unless you still need those.18:50
kinghatjust seems add they end up in a different computers trash.19:00
kinghatdoes server even have a trash?19:00
tomreynunless it runs a graphical desktop, probably not,19:02
tomreynand i don't think the file is really moved to your local computer19:02
tomreynusually 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:03
tomreynwhich then makes it look as if the file was stored in your local trash.19:04
tomreynthis 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
kinghatand then emptying local(desktop) trash sends signal to remove it on the share?19:05
tomreynyes19:06
tomreynthat's if the network connection still works then ;-)19:06
kinghatand that hidden .Trash is in root on share?19:06
tomreyni think so19:06
kinghateasiest way to install new ubuntu server OS over the network?19:13
kinghatprobably easier as the board has IPMI.19:14
tomreynif its just a single server, the easiest approach may be to use the ipmi with remote virtual media, yes19:15
kinghathow does the remote virtual media work?19:18
tomreynthat's outside the scope of ubuntu support19:18
kinghatkk19:19
kinghatif i want static ip on the server during setup do i need to set it to manual?20:02
kinghathttps://irc.kinghat.info/uploads/c401cfdf4ff2f2d6/Screenshot--03-02-2019--14-03-08.png20:03
tomreynif by "static" you mean "not assigned by a local dhcp server", then yes, you will need to enter it manually.20:11
tomreyn(that's unless you do a (partially or) fully automated installation, that is.20:12
tomreyni consider this installer to create broken installations, so personally i prefer the "alternative server" installer (based on debian's)20:15
kinghatbroken installations is no good.20:15
kinghatalso this is the 18.10 installer.20:18
tomreyni also don't run servers on non LTS releases20:23
kinghatthis is a play server so no harm.20:29
kinghatthanks for the help tomreyn!20:29
tomreynyou're welcome.20:30
kinghathas it always been the case that you cant have uppercase characters in the server name?20:32
tomreynaccording to RFC 952 "No distinction is made between upper and lower case."20:35
tomreynif the installer does, it's either the result of an ubuntu / debian policy or a bug.20:35
tomreyni don't know whether it has always been this way.20:36
kinghatthat must be the case.20:36
kinghatso what is going on here? https://irc.kinghat.info/uploads/248bc3804d712991/Screenshot--03-02-2019--14-40-00.png20:40
kinghatlike some cloud-init process that is just constantly running? it just started up on login.20:41
tomreyncloud-init is installed by default on ubuntu-server20:52
tomreyni 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:53
tomreyns/login screen/login (text) prompt/20:54
tomreynit could also be a bug, not sure.20:54
kinghatdo i just `ctrl+c` it?20:59
tomreyndont's you have a login prompt then?20:59
tomreynyou may have one but it may have scrolled off the screen. maybe try pressing enter first of all21:00
kinghatif i ctrl+c it?21:00
tomreynsee if that gives you a password rompt21:00
tomreyn*prompt21:00
kinghati logged in and it started all that21:00
kinghatya enter gave me the user input21:01
tomreynthen pressing enter probably gives you a shell prompt21:01
kinghatya it did21:01
tomreynIMO 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:03
kinghati think i may have on the previous install. i logged out and back in and it didnt do it the second time so 🤷‍♂️21:04
tomreynthis massive output is only on the first run either way, i think.21:05
kinghatprobably the case21:05
tomreynthe idea there is to enable you to securely login to a server via ssh21:05
tomreynnot having to trust on first use21:06
kinghatya i didnt set the ssh keys during install when it asked.21:06

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