/srv/irclogs.ubuntu.com/2015/10/09/#ubuntu-server.txt

=== markthomas is now known as markthomas|away
GeekMan1222so im trying to integrate a php blog into my existing apache served html website any pointers on what to use, is wordpress ideal?01:49
sarnoldI think I'd be tempted to let wordpress.com host wordpress for me, if I had to use it, they've had enough security issues that keeping on top of it would be a challenge01:56
GeekMan1222?01:58
sarnoldGeekMan1222: http://people.canonical.com/~ubuntu-security/cve/pkg/wordpress.html01:58
GeekMan1222O_o01:59
TJ-GeekMan1222:  put a static site generator/proxy in front of it :)02:02
GeekMan1222whats that :O02:02
TJ-GeekMan1222: instead of each anonymous visitor causing code to be executed, static HTML pages are served to them02:02
GeekMan1222well thats prolly a nice thing to have02:03
sarnolda pal swears by this http://gohugo.io/02:03
GeekMan1222my traffic volume is gonna be quite low but i actually need content first so yeah XD02:03
TJ-GeekMan1222: there are plugins for wordpress to do served cached copies of pages, as long as you don't pepper the site with stuff that has to be dynamically generated for each page hit02:03
TJ-GeekMan1222: see for example https://wordpress.org/plugins/wp-super-cache/02:04
GeekMan1222so then im assumeing that using wordpress and not some random php script i found is more ideal02:04
sarnolddepends upon the quality of the random script, I guess. :)02:05
GeekMan1222lol02:05
GeekMan1222true02:05
GeekMan1222finding one has been a bit of a hassle02:05
TJ-GeekMan1222: more eyes on WP. The problem is when you started adding lots of 'random' plugins that create security holes. Stick close to the core and you'll be OK02:05
sarnoldbut if your heart is set on wordpress, it'd be best to subscribe to whatever anounce lists they have and upgrade when they tell you to, hehe02:05
GeekMan1222http://lifetype.net/02:06
GeekMan1222i was looking at that02:06
GeekMan1222like 5 hours ago and was like ehh prolly not02:06
GeekMan1222and this was intresting to look through http://tutorialzine.com/2013/03/simple-php-blogging-system/02:07
ianorlinrunning an obsucre static site genreator mgith not be as dangerous if random people on the internet can't put in text02:08
nodistflat file is great if your only doing a small blog, WP is overkill for alot of stuff02:08
TJ-GeekMan1222: strange thing is, the more sophisticated things get the more I found myself driven to using a minimalist static-site generator created using Markdown02:09
GeekMan1222its a small blog trust me02:09
sarnoldTJ-: heh, that's not a bad idea02:09
sarnoldeasy to work with, easy to extend, and if it's not sufficient at some point, easy to migrate to something else :)02:10
TJ-sarnold: what mostly gets me is the 'themes' that force fixed-width columns rather than being truly fluid in letting the browser sort things out02:10
GeekMan1222i guess the real question is where to begin cause i already have the base of my site setup02:10
GeekMan1222the html layouts that is02:10
ianorlinGeekMan1222: you might want to look at static site generators02:11
sarnoldTJ-: and I -hate- those stupid fixed code box things that force horizon and vertical scrollbars onto everything because the precious theme can't adapt..02:11
GeekMan1222what do they do (as i look up this phrase you speak of)02:11
TJ-sarnold: That's my biggest real 'hate' on bugs.launchpad02:12
GeekMan1222hugo huh02:12
TJ-GeekMan1222: some static site generators allow you to edit the site in a content management system but generate a set of pure HTML/CSS files for the server.02:12
sarnoldbasically you maintain your content on you r desktop or whatever, and when you've got a new blog entry to post, you hit a "regenerate" or "publish" button that builds the final html and ships it to the server. the server doens't do any dynamic page generation. it's great for simple setups, single author or no logged in vs anonymous users, etc.02:12
GeekMan1222hmm02:13
TJ-GeekMan1222: Others set up basic templates with HTML/CSS files and allow you to edit using a minimal markup/markdown syntax02:13
GeekMan1222yeah i mean its in the more litteral since a hobby website with a few pages to diffrent things i do and runs off the house server02:13
TJ-GeekMan1222: either way, at some point a 'generator' runs over the templates and your files and creates the final HTML/CSS for serving02:14
GeekMan1222*sense02:14
sarnoldI wrote my own one of those fifteen years ago, with a header.html, footer.html, content pages, make, and rsync. It was fun, easy, and I wouldn't recommend it today since there's so many nicer things to choose from. :)02:14
ianorlinthey do more than blogs as well02:14
ianorlin!info lazygal02:14
ubottulazygal (source: lazygal): static web gallery generator. In component universe, is optional. Version 0.8.8-2 (vivid), package size 177 kB, installed size 796 kB02:14
GeekMan1222yeah so the blog is gonna sit on the projects site for when i do random electronic projects and explain things and such02:15
GeekMan1222the other site is hosting my icecast02:15
GeekMan1222so on and so forth02:15
sarnoldianorlin: wow, that looks decent :)02:16
TJ-I've stuck to a Trac wiki instance for a long while because it presents technical articles best, but I want something better. Looking at redmine currently02:16
skrpcheck out my ubuntu server gui     http://ibin.co/2IOvUXZhrn6w02:16
nodistldxe ftw02:17
nodistlxde*02:17
GeekMan1222my server doesnt use a gui02:17
GeekMan1222at its core its a file server02:17
skrpi don't use it on my server02:18
skrpi use ubuntu server for my client gui02:19
skrpfbsd | zfs ftw gg!02:19
GeekMan1222zfs is amazing so i hear02:19
skrplol yeah take something as complicate as volume managers and geom ... and put it into a bullet proofable filesystem02:20
ianorlinyeah lazgal works really well if you transfer files over gvfs directly from file manager then tell it to rebuild02:20
skrpcheck out my zpools on that pic, 3 way mirror on different hbas02:20
GeekMan1222i havent gone this far down the server rabbit hole yet02:22
GeekMan1222one day i will02:22
GeekMan1222cause i want to do linux server management hopefully02:22
GeekMan1222if i play my cards right02:22
sarnoldGeekMan1222: when it comes to do zfs, check out this series of posts https://pthree.org/2012/12/04/zfs-administration-part-i-vdevs/02:22
GeekMan1222this server i have atm is my best build yet and its only my 4th in about 7 years( maybe less)02:22
skrpallan jude, fbsd/zfs guy says that link has alot of misinformation02:23
GeekMan1222theres a local linux users group in my area that does little talk sessions and i watched online one about using ZFS and like really large data migration and stuff it was really intresting02:23
skrpGeekMan1222, what is your build02:23
sarnoldskrp: please report bugs to eightyeight, he's always responded to my feedback quickly02:23
GeekMan1222its nothing to brag about but its made from scratch parts, its like i said at its core a file server it backs up various things, anyways got a PERC6i raid controller on ebay for like 10 bucks does the trick, 4x wd reds 2tb each. They run in a raid 5 array so its 6tb of useable space give or take. Running Smartmon tools with notifications setup, fail2ban, clamav (needs alot of tweaking), apcups (with notifications), ubuntu02:30
GeekMan1222server edition 14.04.3 LTS, the file server side of things is chrooted a fair bit for every users and such, samba serving for local side, windows computers backup to this and such, the server uses rsync for backup of changes to a second storage pool (used to use auth keys but i broke that some how LOL). sorry for the long ass post...02:30
GeekMan1222non standard ports too02:31
GeekMan1222the last server i had that was even close to being decked out like that was like only the bare basics of what i said, and i failed to have it backup properly which was its greatest downfall02:33
GeekMan1222if even XD02:33
GeekMan1222so shes my baby skrp02:34
GeekMan1222for the time being02:34
skrpGeekMan1222, well she is something to be proud of02:35
GeekMan1222i put almost a whole summer into it02:35
skrpGeekMan1222, that is a sweet set up. are you using raid? if so which?02:35
GeekMan1222raid level 502:35
GeekMan1222running off a dell PERC6i raid card with battery backup02:35
skrpraid 5 is on the rocks. raid 6 is better but depends on the situation02:36
skrpi run the 93211 hbas that netflix uses for fbsd/zfs02:36
skrpLSI 9211 ***02:36
GeekMan1222my first card actually died so i ordered a second PERC6i with a battery that time lol but the entire config was on the drives which was awsome (enterprise quality on the cheap) so that was a learning experiance i thought i lost the entire setup02:37
GeekMan1222yeah i mean i feel like raid 5 is ok for my needs02:37
GeekMan1222and i still have room for 4 more drives02:37
GeekMan1222the 6i maxes with 2tb per hdd though02:38
sarnoldoh that's unfortunate02:38
GeekMan1222its an understandable setback02:39
GeekMan1222for the cards age02:39
GeekMan1222but for 10 bucks02:39
sarnoldI always wonder when I see something say "grow up to 4tb with 1tb drives!" if that just happened to be the largest when they made the thing, or if there's some limitation that actually keeps them from using larger drives02:39
GeekMan1222you cant beat that02:39
GeekMan1222https://www.dropbox.com/s/g7xrlbhzl81dgo5/20150112_203419.jpg?dl=002:42
sarnoldclean and tidy02:43
GeekMan1222https://www.dropbox.com/s/4bx1ynb0zsn01qq/20150112_203627.jpg?dl=002:44
GeekMan1222yep02:44
GeekMan1222:P02:44
GeekMan1222anyways02:45
GeekMan1222so look into these generator things02:45
qman__sarnold: yes to both, though its very unusual for the limit to be anything other than 2tb03:42
qman__Also, don't use raid 5: www.baarf.com03:42
qman__It performs badly and always ends in tears03:43
=== Lcawte|Away is now known as Lcawte
=== Lcawte is now known as Lcawte|Away
lordievaderGood morning.07:12
samba35i have intel 82567lm-3 card on dq45cb motherboard ,i can see that card with linux and windows but not able to get connected on linux it say network UNCLAIMDED07:55
samba35ubuntu version 14.04.307:55
khildinsamba35, You could google it. This came up when I searched: http://ubuntuforums.org/showthread.php?t=131469308:00
samba35hmm ,google i tryed for 15 days with many thing it did not help me08:01
samba35mostly wireless problem was fix with this08:01
khildinanyway, it seems there is no driver for the interface08:01
khildinget the driver, install it and modprobe the interface to get it "claimed"08:02
samba35i use e1000 from sourceforge even08:02
eugenio_hello everybody, I think I have a bit confusion on python installation on my ubuntu server 14.04, due to different dist-upgrade, what can you suggest me? is it a good solution remove everything regarding python, and reinstall only the version I should use?08:22
lordievadereugenio_: What is the actual problem?08:23
eugenio_lordievader, actually I got a segmentation fault on wsgi apache2 module, somebody stated me that I got problems on python installation, due to different python installation or dist-upgrade as well.08:24
lordievaderDid you test python?08:25
eugenio_not directly, only by using an application through wsgi.py08:25
lordievaderI'd look into what the wsgi module is doing and try to do the same manually to see if something goes wrong.08:26
eugenio_lordievader, mm I think I'm not able....08:26
eugenio_lordievader, can you drive/help me?08:27
lordievaderI'm afraid I cannot help you with wsgi stuff, never used it.08:27
lordievaderWhat does the apache error log say?08:28
eugenio_lordievader, http://paste.ubuntu.com/12721715/08:29
lordievaderOk, find the python script it is running and run that manually.08:31
guillaume_alloxrhi everyone08:31
guillaume_alloxrI'm trying to install ubuntu on a power508:32
guillaume_alloxrAnd it asks me for the ipl stream file, i thought it would be the directory of the cd then powerpc64/08:33
guillaume_alloxrbut it gives me an error on the stream file08:33
eugenio_lordievader, I run python wsgi.py, but no answer from command line08:36
lordievadereugenio_: Is that what the module is running (with the same arguments)? Because that is likely the problem. We see this error at times with php5-fpm when it is too slow to respond.08:39
guillaume_alloxrso anybody can tell me how i can point the IPL stream file on the Ubuntu Server 14.04 ?08:42
guillaume_alloxri really need some help i don't know how to install that Ubuntu, it should launch the boot file08:46
skyliteI updated my ubuntu server but the update failed because of a RAM faliure (I did a ramtest and it verified that the RAM is bad) I switched the RAM to a new one, but now, I can only boot my server with an older kernel and the server only boots up in read only mode. What can I do to fix this? If I boot the server from USB , do a chroot to the corrupt system and do an update&&upgrade should it fix the issue?09:03
lordievaderskylite: First check the filesystem, then do what you were planning.09:13
skylitelordievader I was also thinking about just reinstalling the kernel09:14
skylitemaybe that would doit?09:14
skyliteof course I'll do an fsck09:14
lordievaderThe fact that it goes into readonly mode points to a broken filesystem.09:14
skyliteah I see ok09:14
guillaume_alloxragain i'm gonna ask my question i'm trying to install Ubuntu on a power5 and i have troubles, i would really need some help09:34
Ben64you're going to need to explain if you want any useful advice09:38
adacHello friends! Does the ubuntu cloud image (14.04) have a default username and passord? If yes, can someone may tell me that?10:25
Lartzaadac, From what I can gather the login is ubuntu and the password is randomly generated10:33
LartzaYou will need to read it from the console or a serial device10:33
adacLartza, oh :D well So happy pw guessing :)10:33
LartzaYou can pass KVM kernel options to set the password manually too10:34
LartzaActuall this might have changed after 12.10...10:34
LartzaSomeone else might know better10:35
rbasakadac, Lartza: no password by default.10:43
rbasakAs in no login until you set a password or ssh key.10:44
rbasakSet an ssh key (or password if you insist on being less secure) via cloud-init userdata. See http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/doc/examples/cloud-config.txt for the format.10:44
rbasakYou pass it in using EC2 userdata or equivalent.10:44
rbasakuvtool can do it for local KVM instances.10:45
adacSo I can login via VNC console with username: ubuntu and password: EMPTY. Is that correct rbasak?10:45
rbasakadac: no, you cannot10:45
rbasakadac: you must set an ssh key or password inside the image first.10:45
rbasakWe ship secure images by default, not insecure ones :)10:45
LartzaSound dumb :P Security? In 2015?10:46
adacrbasak, :) Ok I see, thanks!10:47
adacThe insecure ones come from the NSA :P10:47
LartzaBut my md5sums matched... how is that possible10:48
rbasakmount-image-callback is a handy tool for modifying cloud images quickly, from the cloud-image-utils package10:50
rbasakLets you run a script or shell inside a chroot inside an image in one step. Eg. "mount-image-callback /path/to-image chroot _MOUNTPOINT_ passwd ubuntu"10:51
rbasak(_MOUNTPOINT_ is literal)10:52
=== Lcawte|Away is now known as Lcawte
=== richb8_ is now known as richb8
xubuntu91wHi, how long it would take to setup untangle on vmware to act like firewall with openvpn on config STATICWAN - Server?for dhcp most likely? - switch - backtoserver for access to system12:02
eugenio_hello, remove all python package (including all lib related) is an advisable operation or not?12:21
eugenio_and then of course reinstall only the needed packeges12:21
jamespagecoreycb, how are the rc2's looking?12:37
jamespageI'm pushing liberty-staging -> liberty-proposed right now12:37
coreycbjamespage, pretty good, I need to take a look and see if anything else is stuck in proposed. I'm looking at a neutron dep 8 failure now.12:38
jamespagecoreycb, awesome - thankyou - sounds like you're ontop of it12:38
coreycbjamespage, yeah I think so, I also need to assess some bugs that have come in12:39
jamespagecoreycb, one of the upstream documentation team pinged me via email with an offer to work through niggle bugs he's aware of - I said bugs where a good start and then we can work from there12:40
jamespagecoreycb, if they are not critical, we can always fix in +112:40
coreycbjamespage, ok12:41
jamespagecoreycb, hmm - https://bugs.launchpad.net/cloud-archive/+bug/1504367 is interesting12:41
ubottuLaunchpad bug 1504367 in ubuntu-cloud-archive "Missing neutron-lbaasv2-agent executable in neutron-lbaas-agent package under trusty-updates/liberty" [Undecided,New]12:41
coreycbjamespage, that'd be great to get the contributions12:41
coreycbjamespage, yep that's one of them12:42
jamespagecoreycb, that feels like there is a missing package tbh12:42
jamespageneutron-lbaasv2-agent12:43
jamespagemaybe12:43
coreycbjamespage, ok yeah, maybe just needs a new binary pkg in lbnaas12:43
jamespagecoreycb, rdo appear to have a single package with both binaries and appropriate service definitions12:44
coreycbjamespage, ok12:44
jamespagecoreycb, i'd be tempted to take the same approach12:47
coreycbjamespage, alright, that'll be next on my list12:47
jamespagecoreycb, awesome12:47
jamespageI think its ok to run both agents on install12:48
jamespagesmb, around? I have a doc build problem with dpdk when backporting to 14.04  - I seem to remember you saying something about that not working on i386?12:49
coreycbjamespage, ok12:49
* jamespage ponders that again12:49
smbjamespage, yes and yes.12:49
jamespagesmb, is is fixable?12:50
smbjamespage, The problem is that they use inkscape to convert some svg graphics to pdf and that has a bug on i386 which causes invalid pdf files to be generated. So it might be "fixable" by finding a better way of conversion.12:50
smbOr just turn a blind eye on documentation in the backport...12:51
jamespagesmb, prob do tha tfor now12:51
jamespagecoreycb, golly I'm swinging on my opinion for this one12:51
coreycbjamespage, heh12:52
smbjamespage, it is probably the quickest path. Anything else requires more meddling with upstream code ...12:52
smb(which I think is meta code for a framework creating the doc creation makefiles...)12:53
jamespagecoreycb, what do you think?12:54
coreycbjamespage, taking a closer look12:56
jamespagesmb, I think I can trim the docs targets to just generate the html stuff13:04
smbjamespage, Hm ok. Guess that should be good enough if it works (and the svg->pdf is not used for anything of the html stuff too)13:05
smbjamespage, You would have to test in a Trusty environment since (in order to make things more fun) the inkscape bug alters between releases from creating output that is unusable to create incorrect output and back...13:09
coreycbjamespage, seems to me you'd want to run lbaas or lbaasv2, but not both13:25
jamespagecoreycb, i think so13:25
jamespage+1 on new binary package then13:25
coreycbjamespage, ok13:25
jamespagethat probably allows both to work13:25
fuzzywuzzzyshould a Generate a CSR and Private Key be generated as root only?13:31
bananapieI just created a dummy network card with modprobe dummy; ip link set name eth10 dev dummy0; How do I make this card persistent in Ubuntu server? I can't find any relevant doc for /etc/network/interfacs13:35
thebwtfuzzywuzzzy: not really that big of a deal, the main thing is controlling access to teh key, much like an SSH private key13:36
fuzzywuzzzythebwt, But it has to be owned by root right?13:37
thebwtyes13:38
thebwt700, owned by root13:38
thebwtbut, the CSR - that doesn't matter as muc13:38
thebwtmuch*13:38
fuzzywuzzzyahh, I see.  Thanks! =)13:39
thebwtNo problem!13:39
bananapiefound my answer : http://pastebin.com/mwEvxXas13:48
jamespagesmb, that works OK - I've delta'ed that in for the backport13:51
fuzzywuzzzyAny recommendations for light, simple to deploy patch management?13:52
smbjamespage, ack. Going forward we will see... another suggestion for upstream (whomever that cur... challenge will hit)13:54
jamespagesmb, I just had to tweak doc -> doc-api-html doc-guide-html to make that work13:55
jamespagethe build system passes those down into the relevant makefile13:55
jamespagesmb, personally I've never opened a pdf installed by a package...13:55
jamespagelol13:55
smbjamespage, Ah ok. Not that bad then. Heh, ok. :)13:56
smbhallyn, zul, Anyone currently working on qemu updates? There is a bugfix that was finally confirmed today which I might start rolling out (starting with Wily)14:12
zulsmb: im good14:12
smbzul, ok, waiting a bit more (while test compiling anyway) to give Serge some more time.14:14
zulack14:14
zuljamespage: sheesh14:15
hallynsmb: go ahead - i'm out today and monday morning14:54
smbhallyn, ah ok. thanks14:54
hallynsmb: i'll be merging 2.4 into a ppa next week and into 16.04 the day it opens,...  but that's it for my plans14:54
hallyn\o14:54
=== markthomas|away is now known as markthomas
coreycbjamespage, would you be able to run dep 8 tests against the liberty neutron branch?  I'm having issues getting through an adt-run.16:13
=== lborda is now known as lborda-sprint
=== Lcawte is now known as Lcawte|Away
sarnoldqman__: yeah, 2tb limit makes sense.. when the sun thumpers were released, 1tb drives were "huge" so they proudly advertised the thumper as being able to handle something like 48 tb of storage! wow! which is neat and all but that probably costs a fortune to cool 48 drives...17:48
patdk-wkna, electricity cost a lot less in those dark ages17:49
sarnoldpatdk-wk: but today? it might not be a perfect machine to invite into my house :)18:12
JanChow many PHP forum applications have been security issue free for (almost) 4 years?19:43
* JanC loves PunBB19:44
=== Lcawte|Away is now known as Lcawte
=== mfisch is now known as Guest27764
=== Guest27764 is now known as mfisch
=== Guest87130 is now known as balloons
=== zerick_ is now known as zerick

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