/srv/irclogs.ubuntu.com/2014/08/30/#ubuntu-server.txt

=== cmagina_ is now known as cmagina
MavKenwhere can I find best practices on adding webmaster users to system and giving them access to certain domain root directories?  I don't have experience with setting user permissions (will be my first time adding a user since I normally do everything as root)00:47
=== inaddy is now known as tinoco
=== chmurifr- is now known as chmurifree
pmatulisMavKen: commands would be 'adduser' ; 'chown' ; and 'chmod'01:35
=== hexaclock_ is now known as Guest12628
blackyboyhow can i restart network in ubuntu 14.04 LTS desktop ? or Server edition ? Before i do the command # sudo service networking restart but its not working now. is there any alternative command to restart the network to make changes my interface edit03:20
Caitanyablackyboy: ifup and ifdown05:41
=== bekks_ is now known as bekks
=== Lcawte|Away is now known as Lcawte
faryshtahi. i am trying to configure my localhost to make dynamic virtualhosts. something like i type on my browser08:48
faryshtahello.faryshta.local08:48
faryshtaand it will take me to /home/faryshta/sites/hello/public_html/08:48
Tzunamiifaryshta: Again, I will give you a overview what you need to do. _HOW_ you do each step you need to read up on as I'm post-OP and don't have the inclination nor energy to help you with the details.08:56
faryshtaTzunamii, hi. i readed it last time. i am stuck at the details08:56
Tzunamii1) Set up a namebased vhost that responds to hello.faryshta.local08:57
Tzunamii2) Set up a local DNS so your local DNS requests (hello.faryshta.local) are recognized. I recommend dnsmasq as the only thing you need to do is to edit /etc/hosts to add what you need.08:58
faryshtaTzunamii, I have a vhost faryshta.local the idea is to make it dynamic so that it works with hello1.faryshta.local, hello2.faryshta.local, etc08:58
Tzunamii3) On the PCs/Macs/workstations you need to inform them about your local DNS so they use it first. Set it up as primary DNS.08:58
Tzunamii4) et voila!08:58
faryshtaTzunamii, the idea is to make it dynamic. the step 1 lacks that detail.08:59
TzunamiiYou need a vhost for _each_ website you're trying to access08:59
faryshtais there a way to use wildcards? both on the serveralias and the dns?09:00
TzunamiiI never heard of a concept such 'dynamic vhosts', but someone else here might have a solution for it.09:01
faryshtaTzunamii, or virtualhosts subdomains09:02
faryshtaTzunamii, right now i am stuck on the dns part. ping faryshta.local works, ping hello.faryshta.local doesn't09:03
dbckHi, is there a way to autostart unprivileged lxc containers, when the host system was rebooted?09:03
Tzunamiifaryshta: c&p your /etc/hosts on some pastebin and throw us the link09:04
faryshtaTzunamii, /etc/hosts i just added one line 127.0.0.1 faryshta.local09:04
faryshtasince /etc/hosts doesn't support wildcards09:05
faryshtai installed dnsmasq09:05
faryshtabut haven't been able to configure it so that every request to *.faryshta.local sends it to 127.0.0.109:05
Tzunamiifaryshta: This has what you need http://brunodbo.ca/blog/2013/04/26/setting-up-wildcard-apache-virtual-host-wildcard-dns09:07
faryshtaTzunamii, thanks09:09
faryshtaTzunamii, i looks exactly what i need but i can't get pass step 4. after restarting apache faryshta.local doesn't work on browser anymore09:35
TzunamiiI'm sorry, but I can't help you any further09:36
smokiehey guys, im restored my ubuntu from a backup.. when i boot it i get this message "error mismatched names grub rescue"09:37
smokiecan anyone help me out with this?09:37
smokiei tried running "rescue mode" from ubuntu server cd and reinstall grub from there but it fails.. i also tried Boot-Repair-Disk as well and that didnt help09:40
bekksWhat exactly does "but it fails" mean?10:10
Abhijitdoes not comply with NSA.10:11
smokiebekks, thats what it says, grub reinstall fails with fatal error10:13
bekkssmokie: Whats the exact, full error message - can you pastebin it please?10:14
smokiebekks, yes, let me run rescue mode again so i get the exact error.. give me a minute10:15
smokiebtw, this is a VM and not a physical install10:15
smokiebekks, here is the exact error http://paste.ubuntu.com/8186565/10:20
smokiewhen it asked for the device to use as root filesystem, there was /dev/sda1 /dev/sda2, /dev/sda5.. i picked /dev/sda110:22
jacob___hi10:34
jacob___I have a ubuntu server on linode10:34
jacob___iwould like toconnect with xterm, but it seems ubuntu doesnt use xserver?10:35
jacob___startx doesnt work and it seems i cant install it10:36
bekksjacob___: startx is deprecated since ages. USe a display manager to startX, like lightdm10:37
Abhijitjacob___, so you mean you have physical server right?10:38
jacob___yes yes10:39
jacob___but its somewhere in texas10:39
jacob___i am in Luxembourg))10:39
jacob___so its headless in texas10:39
bekksjacob___: And "connecting using xterm" - what does that mean? Use ssh -X, and start xterm on your server, so you will see the server's xterm on your client.10:39
jacob___oh wait sorry10:39
jacob___xclient10:39
jacob___but i didnt get that farcoz, i could start "startx"10:40
jacob___ok, i admit its been awile for me, i didnt know it was deprecated10:40
smokie`bekks, no thoughts on my issue?10:41
bekkssmokie`: Which Ubuntu are you using, and which DVD (running that grub-install) are you using?10:42
=== Guest27256 is now known as Rosaelefant
smokie`bekks, server 12.04 with server 12.04 CD10:44
smokie`well.. is it possible to transfer the data i have on that system on a new install at least by any chance?10:59
=== irv_ is now known as irv
=== Vigour_ is now known as Vigour
=== neunon_ is now known as neunon
=== mlocher_ is now known as mlocher
=== SJrX is now known as SJr
=== yokel_ is now known as yokel
smokie`so no one here knows on how to troubleshoot a boot issue with ubuntu server?11:30
=== arrrghhhAWAY is now known as arrrghhh
=== Mogwai is now known as Guest51040
=== inaddy is now known as tinoco
=== cnj_ is now known as cnj
=== Smark[Gone] is now known as Smark
=== irv_ is now known as irv
=== Nolar2_ is now known as Nolar2
=== arrrghhhAWAY is now known as arrrghhh
=== inaddy is now known as tinoco
=== Nolar2_ is now known as Nolar2
=== semiosis_ is now known as semiosis
=== irv_ is now known as irv
=== _Jeepbeats is now known as Jeepbeats
=== LewisCawte is now known as Lcawte
=== irv_ is now known as irv
=== Nigel_ is now known as G
=== Beliq_ is now known as Beliq
=== mist_ is now known as mist
=== arlen_ is now known as Guest43581
=== DavidDuffey is now known as dduffey
=== edwardly_ is now known as edwardly
smokiecan you guys at least recommend a good forum support for ubuntu server?15:07
cfhowlettsmokie, ubuntu forums has a server section15:17
=== Guest43581 is now known as arlen
=== arlen is now known as Guest10842
=== tjaalton_ is now known as tjaalton
=== arlen- is now known as arlen
=== Pici` is now known as Pici
SierraI have two SSH pubkeys in the ~/.ssh/authorized_keys file, one on each line. SSH is recognizing the first one and letting me authenticate with it, but the second one it's not seeming to recognize. I've restarted the SSH service, any ideas why it wouldn't be working? Ubuntu server 14.04.1 64-bit15:37
pmatulisSierra: pastebin the output of 'ssh -vvv -i <privatekey> <user>@<host>' for the non-working part15:52
SierraNevermind, figured it out.. Second client was connecting to the wrong user15:55
pmatulisSierra: ok good15:55
=== miceiken_ is now known as miceiken
webgeekHi everyone16:36
webgeekCan you recommend your favorite book for ubuntu server for web development?16:38
webgeekAnybody?16:41
=== RiotBlasto___ is now known as RiotBlasto
cfhowlettwebgeek, book?  www.fullcirclemagazine.org   had a series on this not long ago.  and the Official Ubuntu Server book (updated edition!) is worth a look.16:49
=== Pupeno_ is now known as Pupeno
faryshtahi18:26
faryshtai am trying to do what is described here http://brunodbo.ca/blog/2013/04/26/setting-up-wildcard-apache-virtual-host-wildcard-dns18:27
faryshtabut haven't managed to get the step 4 functional since my virtual host is not working18:27
=== PaulePan1er is now known as PaulePanter
=== apb_ is now known as apb1963
=== andol_ is now known as andol
=== stgraber_ is now known as stgraber
=== Corey_ is now known as Corey
=== Matadoer is now known as Matadoer_
=== superspring_ is now known as superspring
=== foo_ is now known as foo
=== Lcawte is now known as Lcawte|Away
=== Crackz0s is now known as Crackz0r

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