/srv/irclogs.ubuntu.com/2015/03/01/#ubuntu-server.txt

=== Lcawte is now known as Lcawte|Away
=== markthomas|away is now known as markthomas
scott2HI GUys09:13
BarneyyHi, I don't have internet traffic in Ubuntu Server, but my apache is running !09:25
BarneyyI can access my web server by enter IP Address in internet browser. but in ssh I don't have ping09:26
=== bilde2910|away is now known as bilde2910
bigbrovarhi guys.. am trying to setup ACL for my openldap installation but am having some problems ..  I would like some ldap users to be have write entries on everything under a specified ou however when I try to make modification as said user in this case dhcpuser and pykotaadmin  I get an error saying insufficient access to parent09:37
bigbrovarhere is my olcAccess.ldiff http://paste.ubuntu.com/10484117/  (ubuntu 14.04 server)09:37
=== markthomas|away is now known as markthomas
=== markthomas is now known as markthomas|away
lordievaderGood morning.10:46
=== Lcawte|Away is now known as Lcawte
=== bastidra1or is now known as bastidrazor
=== zz_DenBeiren is now known as DenBeiren
tewardis it possible to set up a repository server for debian packages on Ubuntu that actually serves Debian distros?  (NOT a mirror, a personal packages repository)15:37
rbasakteward: yes. apt-ftparchive will do a basic one, or reprepro for a more complex one. Just build using Debian chroots.15:44
tewardrbasak: can apt-ftparchive also handle Ubuntu packages alongside Debian packages?  (I would still build locally via sbuild schroots for Debian or Ubuntu16:01
rbasakteward: alongside? You'd want to have a separate repo probably to avoid confusing them. But the repository format is the same, so maybe I don't understand your question. Why wouldn't it just work?16:59
tewardrbasak: i'm trying to run my own repository server - specifically to publish packages built by me and available to users.  Trouble is, no idea how to begin with that17:00
tewards/users/systems I have/17:00
rbasakteward: OK, so the quickest way:17:00
tewardand I need to provide both ubuntu and debian packages17:00
rbasakDump all the debs in a directory17:01
teward(but the server itself is Ubuntu)17:01
rbasakapt-ftparchive packages .|tee Packages|gzip>Packages.gz17:01
rbasakapt-ftparchive release . > Release17:01
rbasakgpg --yes -o Release.gpg -ab Release17:01
rbasakThat's it. Host that directory somewhere, and it'll work.17:01
rbasakThe sources.list line looks a bit odd though17:02
rbasakdeb http://wherever/directory /17:02
rbasak(I use file:// but I presume http:// will work the same)17:02
rbasakBut this doesn't let you differentiate between releases easily, and doesn't work with the sources.list line most consumers expect.17:03
tewardto do that i'd have to set up reprepro no?17:03
rbasakNo you can do that without reprepro. Just apt-ftparchvie and serving flat files17:03
rbasakOh, depends on what exactly you mean by "that" :)17:03
rbasakTo do more advanced - yes, reprepro is probably the easiest, although I find it tedious to set up and maintain17:04
rbasakThere's a really old Launchpad bug on supporting Debian in PPAs. It just needs someone to do the work, if you want to volunteer :-)17:04
tewardrbasak: i used reprepro for this - it's not like I"m putting a billion packages there :P18:19
tewardjust some18:19
tewardrbasak: and that Debian in PPAs bug, I don't even know how to begin with that, so meh.18:19
ThmsI have an ubuntu-server instance running on a Hyper-V server. So far everything works. I resize the VHD from 10 to 30Gb, but df -h still shows 10Gb.20:21
=== bilde2910 is now known as bilde2910|away
ThmsAnyone, please ?20:24
PryMar56 Thms if ext4, then resize2fs20:25
=== ideopathic_ is now known as ideopathic
bekksThms: are you using LVM?20:33
Thmsbekks, yes using LVM20:34
bekksThen you have to resize the partition conating the PV first, then resize the PV, then resize the VG, then resize the LV, then resize the filesystem.20:35
bekks*containing20:35
Thmswow.20:35
Thmsthen pvresize, vgresize, lvresize and resize2fs ?20:36
bekksYes.20:36
Patrickdkgenerally you have to reboot or use partprobe after you adjust the partition table20:38
Thmsisnt there a quick way to do this ?20:38
Thmsor a one liner ?20:38
Patrickdkdon't use lvm?20:38
bekksThat IS the quick way...20:38
ThmsI mean I just resized my VM HDD size what"s so wrong20:38
bekksThere is no oneliner.20:38
Patrickdkyou have so many layers20:38
Patrickdkyou have to resize each layer20:38
bekksNothing is wrong. But you have to resize the partition, the PV, the VG, the LV, the FS as well.20:39
Patrickdkvm disk -> partition -> lvm parition -> lv -> filesystem20:39
Patrickdkyou dont' have to vgresize, neverh eard of that20:39
Patrickdkthe vg will resize automatically with the pvresize change20:39
bekksPatrickdk: Depending on how many disks, layout of the VG, etc. he might have to extend the VG, so he just has to check that.20:40
Patrickdkvgextend you mean?20:40
Thmsso I start with pvresize ?20:40
bekksYes.20:40
Patrickdkna20:40
Patrickdkthat won't do it20:40
bekksThms: you start with resizing the partition.20:40
Patrickdkit should be automatic20:41
ThmsI did it.20:41
ThmsI booted the server, df -h, 8Gb.20:41
bekksThats not resizing the partition.20:41
bekksdf displays free space of the filesystem.20:41
Patrickdkcome on, you even have to do all these steps in windows20:42
Patrickdkand every other os :)20:42
ThmsI resized the partition under Hyper-V20:42
bekksThms: No. You resized the DISK.20:42
Thmshow is that not resisizing the partition ?20:42
bekksThms: Not the partition.20:42
ThmsMh... I think I'm starting to understand20:44
Thmsso what tool do I need to resize the partiton then ?20:44
ThmsAnd how come fhe partition can be larger than the disk ?20:44
bekksThe partition obviously cant be larger than the disk.20:44
Patrickdkthat would be a nice trick20:45
bekksYay! RAMdoubler finally ported to HDDdoubler! :P20:45
ThmsSo how do I resize my partition please guys20:45
bekksThms: Use gparted from a livecd.20:45
tewardThms: you resized the virtual disk to have more space20:45
Patrickdkdepends on what type of partition your using20:45
tewardThms: you actually have to expand the partitions20:45
Thmsok20:45
Patrickdkparted, gparted, ...20:45
Thmsso i start with pvresize ?20:45
Patrickdkif your using mbr, fdisk works20:45
bekksNo.20:45
bekksThms: You start with resizing your partition, not with resizing the PV.20:46
ThmsHo sorry ok.20:46
bigbrovarhi guys.. am trying to setup ACL for my openldap installation but am having some problems ..  I would like some ldap users to be have write entries on everything under a specified ou however when I try to make modification as said user in this case dhcpuser and pykotaadmin  I get an error saying insufficient access to parent20:51
bigbrovarhere is my olcAccess.ldiff http://paste.ubuntu.com/10484117/  (ubuntu 14.04 server)20:51
tewarddoes anyone know how apache2-utils' htpasswd when running with `-cBC 12` arguments actually does the bcrypt hashing?  DOes it rely on system crypt() libraries or its own?22:04

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