[03:52] <optrusty> Hi Guys I just bought a vps and I wanna ask what can I do with 1GB Ram
[03:55] <optrusty> It's kind of a dumb question, but I am still wanting to know
[07:49] <grendal_prime> ok im now officially fully perturbed
[07:50] <grendal_prime> i have a desktop that i need people to remote access.  how the hell do i do this without all the fkn artifact crap going on?!!
[07:52] <grendal_prime> if i connect to this even with vnc i get crapy screen refresh stuffs missing. On the local lan its fine, over the vpn it BLOWS
[07:53] <grendal_prime> its ok if its slow..but come on if i cant read it? operations is going to bitch like yo wouldnt believe
[09:00] <mmance> Is anyone else having problems with their mdadm raid in 14.04.1?
[09:00] <mmance> I am getting  create user root not found on boot
[09:01] <mmance> it was working, but it seems to happen during a package change
[09:01] <mmance> I have reinstalled 3x to "fix" it. but after doing an apt-get whatever and rebooting causes this
[09:41] <lordievader> Good morning.
[09:47] <Guest69813> Morning
[09:49] <Tomlowndes> For some reason I didnt have a name
[09:49] <Tomlowndes> strange
[09:50] <lordievader> Welcome back, Tomlowndes.
[09:54] <Tomlowndes> How are you today?
[09:54] <lordievader> Doing good here. How about you?
[09:55] <Tomlowndes> yeah im okay thanks In Manchester and Nottingham for the weekend so hoping the weather stays nice so I can take some photo's
[11:17] <CiPi> Daaaamn, when i install server from usb, every time is installing the grub on usb, i can`t do anything to change this, how can i fix this. I can`t boot without usb.
[11:17] <lordievader> CiPi: Manually install it to the correct drive?
[11:18] <CiPi> Yes man, i have try every damn way. Now i try installing after fiew steps, i removed the usb...
[11:18] <CiPi> The os has been loaded to HDD, after this i removed the USB.
[11:19] <CiPi> Now i`m on the grub step...
[11:19] <CiPi> hehe...
[11:19] <CiPi> Huh, hope it runs...
[11:19] <lordievader> CiPi: sudo grub-install /dev/<disk> (or whatever it was in Ubuntu)
[11:19] <CiPi> Yep, i have try this, in the final is giving an error, something like that, are you using two disks ?
[11:20] <CiPi> Bla-bla...
[11:20] <lordievader> CiPi: So read the error, investigate and fix the error.
[11:20] <CiPi> Seems to work for now, is still installing. USB is out, grub installed to master boot record.
[11:21] <CiPi> Daaaaamn:|
[11:21] <CiPi> This method worked...
[11:22] <CiPi> Need to remove usb before installing the grub
[11:22] <CiPi> At the grub step.
[11:23] <lordievader> CiPi: That seems like a bad idea... but good to hear it worked.
[12:58] <CiPi> Working without problems.
[14:52] <kabar> how i view example.com.csr file
[14:52] <kabar> i am using ubuntu 14.04 nginx
[14:52] <kabar> which command i use to view inside the file
[14:53] <lordievader> kabar: Is it a text file?
[14:53] <kabar> yes
[14:53] <lordievader> kabar: cat, less, more, dog, tail, head, etc, etc.
[14:54] <kabar> is "cat example.com.csr" is right command
[14:54] <kabar> ?
[14:55] <kabar> i am new in this
[14:57] <lordievader> kabar: https://help.ubuntu.com/community/UsingTheTerminal
[14:57] <lordievader> kabar: And yes.
[14:58] <kabar> thanks
[16:11] <Tachikomas> Hello. I'm looking for the best way to protect my ubuntu server from the web. I use actually fail2ban, but it protect just the open ports. Any idea ?
[16:12] <ogra_> what else would you protect ?
[16:12] <ogra_> non-open ports can not be talked to
[16:13] <Tachikomas> It's a backup server, using bacula.
[16:13] <Tachikomas> so just 21/22 / 9101/9102/9103 open.
[16:44] <Tzunamii> If you want good protection you should set up something like OpenVPN client(s)<->backup server
[16:44] <Tzunamii> After that just add some iptables rules to accept input on the port(s) from the VPN
[16:45] <Tzunamii> Deny everything else
[16:46] <Tachikomas> like that ? http://pastebin.com/CU6LRPvB
[16:47] <Tzunamii> Something like that, yes.
[16:47] <Tachikomas> I try to enable that on the restart.. but impossible with update-rc.d
[16:47] <Tachikomas> http://pastebin.com/H8aqR90K
[16:47] <Tzunamii> Get a VPN up and running first between client and server and when it works well, just add a few rules. It's quite easy
[16:48] <Tachikomas> ok.
[16:49] <Tachikomas> Thanks.
[16:49] <Tzunamii> If you have any specific questions, don't hesitate to poke us/me
[16:49] <Tachikomas> Thanks. :)
[16:51] <Tzunamii> Besides putting up some iptables rules you can force a application to just listen to one network (IP).
[16:52] <Tachikomas> it's already done. Bacula just listen from authorized ips.
[16:53] <Tzunamii> Tachikomas: Well, I'm talking about forcing. Not instructing the application in it's config-files.
[16:53] <Tzunamii> http://daniel-lange.com/archives/53-Binding-applications-to-a-specific-IP.html
[16:54] <Tzunamii> Anyway, I wish you the best of luck
[16:54] <Tachikomas> Thanks :D i think i will need it.
[16:55] <Tzunamii> Don't fret. This is very common practice so it's quite documented. Just have to pull your sleeves up and Google your arse off for some research
[18:04] <hariom> hey friends, I have 3 VMs. They are NATed. When I try to connect any of the VMs from remote server over https, I am able to connect. But when from with in one of the VMs I issue the same https request, it gives timeout msg.
[18:04] <hariom> What could be possibly wrong?
[18:04] <hariom> https url is of the form: https://www.myexample.com/mypage
[18:14] <hariom> When I use https://<internal_ip_of_the_VM>/test , it works fine but not the https://www.example.com/test
[18:28] <CiPi> Damn, ubuntu is fuuuul of errors
[18:30] <bekks> CiPi: So is every other distro.
[20:16] <devster31> hi
[20:19] <devster31> can anyone suggest me a good rtorrent script either for upstart or init.d? I'm having trouble finding one that uses a particular user:group and tmux and kills the process with SIGINT
[20:21] <Tzunamii> devster31: https://github.com/mjsilva/rtorrent-screen-debian-init-script/blob/master/rtorrent  perhaps
[20:26] <devster31> i'm using tmux, it complicates things a bit since the start-stop-daemon doesn't track the correct PID and doesn't kill rtorrent, moreover the TERM command isn't the correct one since it kills all connections instead of closing them, on the rtorrent manual they suggest it's better to use SIGINT
[20:28] <Tzunamii> devster31: I don't use tmux myself, but this might help you out: https://sites.google.com/a/demonkutya.com/demonkutya/bash/anewimprovedrtorrentservicescript
[20:34] <devster31> thanks
[20:34] <devster31> that's what I was looking for
[20:34] <Tzunamii> Any time
[20:38] <Tynach> Hi, I'm developing a website, and so on my Ubuntu desktop I've installed some of the server packages. Because I don't want to run X11 apps as root, I'm storing my website files (written in PHP) in a subdirectory of my home directory.
[20:38] <Tynach> I'm using Ubuntu 14.10, and I finally managed to get Apache to load the index.php file and send it to the browser... But it's just raw PHP. Not the output of the PHP file.
[20:39] <Tynach> If I use PHP inside of the /var/www/http folder, it works. But outside of that, it does not.
[20:39] <Tynach> How do I fix this?
[20:40] <devster31> I think there's a piece of Apache config that tells the server which pages should be processed by php, I'm not that familiar with Apache though
[20:41] <Tynach> Well yeah, but that's just for file extensions. .php, .php5, .phps, etc.
[20:45] <devster31> did you check if all the phpmodules are installed and enabled in apache?
[20:46] <Tynach> devster31, yes, and inside of /var/www PHP works fine. But outside of there, it does not.
[20:47] <devster31> if you're using virtual servers maybe you need to copy AddType application/x-httpd-php .php in the second one too
[20:49] <Tynach> You know what, nevermind. I just found my problem, and I feel like an utter moron. I tested PHP in my home directory with '<?' tags instead of '<?php' tags.
[20:50] <Tynach> Switching to <?php works just fine. I presume if I really want to continue using <? I'll just edit php.ini.
[20:59] <kabar> *** System restart required ***
[20:59] <kabar> which command i used to fix this
[21:00] <devster31> sudo reboot?
[21:00] <Tynach> kabar, 'sudo shutdown -r now' should work. I don't know if Ubuntu has a different, more preferred method.
[21:01] <Tynach> The '-r' in there is for 'reboot'.
[21:01] <devster31> unless you already did and there's still the message
[21:01] <devster31> or you don't want to reboot
[21:02]  * andol nowdays prefer the reboot command, since that day he accidently mixed up "shutdown -r" and "shutdown -h", on a remote server.
[21:02] <kabar> if i only use reboot
[21:02] <kabar> is good
[21:02] <kabar> or not
[21:03] <guntbert> kabar: you need     sudo reboot
[21:04] <Tynach> kabar, unless you're already in a root shell, you need 'sudo' for anything that affects the operation of the system. Whether that's a system configuration file, or shutting down/rebooting the system, you always need 'sudo' or in some other way gain root privileges.
[21:05] <kabar> it's work
[21:05] <kabar> now *** System restart required *** is not showing
[21:06] <devster31> how do file permission work for a docker container with a system folder mounted?