=== Tom is now known as Guest38426 === martinst is now known as martins-afk === quix is now known as pdostal === zz_DenBeiren is now known as DenBeiren [03:52] Hi Guys I just bought a vps and I wanna ask what can I do with 1GB Ram [03:55] It's kind of a dumb question, but I am still wanting to know === webdestr_ is now known as webdestroya [07:49] ok im now officially fully perturbed [07:50] 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] 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] its ok if its slow..but come on if i cant read it? operations is going to bitch like yo wouldnt believe === Tom is now known as Guest92858 === bilde2910|away is now known as bilde2910 === Tom is now known as Guest69813 [09:00] Is anyone else having problems with their mdadm raid in 14.04.1? [09:00] I am getting create user root not found on boot [09:01] it was working, but it seems to happen during a package change [09:01] I have reinstalled 3x to "fix" it. but after doing an apt-get whatever and rebooting causes this [09:41] Good morning. [09:47] Morning [09:49] For some reason I didnt have a name [09:49] strange [09:50] Welcome back, Tomlowndes. [09:54] How are you today? [09:54] Doing good here. How about you? [09:55] 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] 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] CiPi: Manually install it to the correct drive? [11:18] Yes man, i have try every damn way. Now i try installing after fiew steps, i removed the usb... [11:18] The os has been loaded to HDD, after this i removed the USB. [11:19] Now i`m on the grub step... [11:19] hehe... [11:19] Huh, hope it runs... [11:19] CiPi: sudo grub-install /dev/ (or whatever it was in Ubuntu) [11:19] Yep, i have try this, in the final is giving an error, something like that, are you using two disks ? [11:20] Bla-bla... [11:20] CiPi: So read the error, investigate and fix the error. [11:20] Seems to work for now, is still installing. USB is out, grub installed to master boot record. [11:21] Daaaaamn:| [11:21] This method worked... [11:22] Need to remove usb before installing the grub [11:22] At the grub step. [11:23] CiPi: That seems like a bad idea... but good to hear it worked. === IdleOne is now known as Guest6639 [12:58] Working without problems. === Lcawte|Away is now known as Lcawte [14:52] how i view example.com.csr file [14:52] i am using ubuntu 14.04 nginx [14:52] which command i use to view inside the file [14:53] kabar: Is it a text file? [14:53] yes [14:53] kabar: cat, less, more, dog, tail, head, etc, etc. [14:54] is "cat example.com.csr" is right command [14:54] ? [14:55] i am new in this [14:57] kabar: https://help.ubuntu.com/community/UsingTheTerminal [14:57] kabar: And yes. [14:58] thanks === antix- is now known as antix === liam_ is now known as Guest25335 [16:11] 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] what else would you protect ? [16:12] non-open ports can not be talked to [16:13] It's a backup server, using bacula. [16:13] so just 21/22 / 9101/9102/9103 open. [16:44] If you want good protection you should set up something like OpenVPN client(s)<->backup server [16:44] After that just add some iptables rules to accept input on the port(s) from the VPN [16:45] Deny everything else [16:46] like that ? http://pastebin.com/CU6LRPvB [16:47] Something like that, yes. [16:47] I try to enable that on the restart.. but impossible with update-rc.d [16:47] http://pastebin.com/H8aqR90K [16:47] 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] ok. [16:49] Thanks. [16:49] If you have any specific questions, don't hesitate to poke us/me [16:49] Thanks. :) [16:51] Besides putting up some iptables rules you can force a application to just listen to one network (IP). [16:52] it's already done. Bacula just listen from authorized ips. === martins-afk is now known as martinst [16:53] Tachikomas: Well, I'm talking about forcing. Not instructing the application in it's config-files. [16:53] http://daniel-lange.com/archives/53-Binding-applications-to-a-specific-IP.html [16:54] Anyway, I wish you the best of luck [16:54] Thanks :D i think i will need it. [16:55] 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] 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] What could be possibly wrong? [18:04] https url is of the form: https://www.myexample.com/mypage [18:14] When I use https:///test , it works fine but not the https://www.example.com/test [18:28] Damn, ubuntu is fuuuul of errors [18:30] CiPi: So is every other distro. [20:16] hi [20:19] 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] devster31: https://github.com/mjsilva/rtorrent-screen-debian-init-script/blob/master/rtorrent perhaps [20:26] 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] 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] thanks [20:34] that's what I was looking for [20:34] Any time [20:38] 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] 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] If I use PHP inside of the /var/www/http folder, it works. But outside of that, it does not. [20:39] How do I fix this? [20:40] 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] Well yeah, but that's just for file extensions. .php, .php5, .phps, etc. [20:45] did you check if all the phpmodules are installed and enabled in apache? [20:46] devster31, yes, and inside of /var/www PHP works fine. But outside of there, it does not. [20:47] if you're using virtual servers maybe you need to copy AddType application/x-httpd-php .php in the second one too [20:49] You know what, nevermind. I just found my problem, and I feel like an utter moron. I tested PHP in my home directory with ' Switching to *** System restart required *** [20:59] which command i used to fix this [21:00] sudo reboot? [21:00] kabar, 'sudo shutdown -r now' should work. I don't know if Ubuntu has a different, more preferred method. [21:01] The '-r' in there is for 'reboot'. [21:01] unless you already did and there's still the message [21:01] 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] if i only use reboot [21:02] is good [21:02] or not [21:03] kabar: you need sudo reboot [21:04] 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] it's work [21:05] now *** System restart required *** is not showing [21:06] how do file permission work for a docker container with a system folder mounted? === bilde2910 is now known as bilde2910|away