[00:57] has anyone ever connverted an existing badly mismanaged non dpkg based system to ubuntu by installing apt? [01:07] what? [01:08] i inherited 1000 gentoo systems [01:17] there's no such thing as 'converting' another system to ubuntu [01:17] apt only works because it manages everything [01:17] kermit: perhaps whoever left them to you should have taken them to the grave instead... :) [01:17] you can't just tack it on and expect anything to improve [01:17] kermit: you are going to be better off replacing the systems one by one with clean installs [01:18] portage isn't awful, but that assumes the previous maintainer stuck to portage [01:18] lots of people don't [01:18] so yes, the only solution is to replace it system by system [01:19] with 1000 systems.. frankly even using apt is dicey without some kind of unifying configuration management [01:19] yeah [01:19] you need to put together your roles and standardize at the very least [01:19] even if you don't use a large scale software management solution, you need standard builds [01:20] Its just a nightmare if you have a problem and the answer isn't to just do a clean install and throw your usual tools at it. [01:20] right [01:21] you have to make those decisions up front in how you're going to do things [01:21] even if they're not ideal for each situation [01:22] I actually just put together the first version of a debian build we're going to use for our LaCie NASes at work [01:22] and we only have a couple hundred of them [01:22] took a couple weeks [01:24] qman__: "build" meaning something you can repeat with one command? [01:24] not quite but close, it's an image, we copy it to a flash drive [01:24] set up boot order, run a setup script [01:24] ^5 yeah thats the way to scale out [01:24] SpamapS: Error: "5" is not a valid command. [01:25] it auto configures raid based on the number of drives [01:25] auto installs our labtech agent for management [01:25] sets up hostname and mail and all [01:26] we have a bunch of lacies but it could really be used on any x86 device with evenly sized hard drives === ErtanERBEK is now known as Guest93320 === e-diablo_ is now known as ErtanERBEK === petersaints_ is now known as petersaints [02:35] anyone know why when i telnet into my database i'm using for my mail server that when i run the command "SELECT INBOX" Unable to open this mailbox, but I am able to SELECT INBOX.Sent ? [02:43] that doesn't make any sense [02:43] you can't telnet into a database [02:43] sounds more like your telnetting into imap [03:32] ok, that's what i'm doing. sure why not. [03:33] *shrugs* i dunno. first time attempting installing a homeserver and wanted to try to set up mail on it. excuse me for improper use of terminology. :S [03:33] but, yes, i am using telnet localhost imap to get in there === hatake is now known as blackjack [11:52] anyone got a small transparent ubuntu server logo? === fenris is now known as Guest52920 === fenris is now known as Guest11938 === hatake is now known as blackjack === yofel_ is now known as yofel [14:12] Question: I need a file system that supports "Transparent Compression" to store lot's of text files. Inasmuch as EXT* won't do that, what is your recommendaton? Btrfs (Oracle) is still in beta phase, Reiser4 implementation appears to be complicated?! [14:13] Or possibly I have to forget compression at all? [14:17] I only know of ywo things [14:18] use a fuse compression layer ontop of any fs [14:18] or use zfs [14:18] patdk-lap: Thanks. Will look into that === fenris is now known as Guest64189 === railsraider_ is now known as railsraider [16:06] patdk-lap: Checked both zfs and fuse. I am going with fuse. It appears that zfs has compliance issues with GPL. I wish that Kernel supported a native filesystem with transparent compression though. Thanks again [16:29] alimj: btrfs has transparent compression and is close to be considered stable [16:29] some distros will use it by default soon... [16:30] depends on how critical your use of it is, of course [16:45] JanC: achem - "closte to be considered stable" is subjective [16:45] alimj: there's a native port http://zfsonlinux.org/ [16:45] dunno how stable it is, though [16:46] JanC: Thanks. I was considering btrfs (mentioned in 1st message). However, since it is still in development (by Oracle), we have to wait [16:46] zfs under fuse works ok, but write speeds tend to suck rather badly [16:46] RoyK: it's as subjective as considering ext4 stable ;) [16:46] JanC: no, it's not [16:46] JanC: ext4 is used by thousands upon thousands of machines out there, whereas btrfs still changes the ondisk formats [16:47] ext4 has been seeing lots of bugs [16:47] JanC: btrfs is still on the bleeding edge [16:47] well, of course, there are bugs [16:47] but not comparible [16:47] if you want to run btrfs, make sure you recompile kernel and btrfsprogs once a week or so [16:48] it's difficult to compare if you don't test servers with either of them [16:48] if you ask for help on an issue, running ubuntu 12.10 or perhaps 12.04, they will ask you to install the latest bleeding-edge kernel/userspace from git [16:49] JanC: well, I have 100+ servers on ext4 and a few test machines with btrfs. there are far more issues with those 3(?) btrfs machines than with the rest of the server park [16:49] so I guess I can compare [16:49] OK, we currently have more than necessary good and reliable choices. I will use fuse until BtrFS is finalized ... :) [16:50] alimj: I gues that'll happen somewhere around 2017 [16:50] !!!!!!!!!!!! [16:50] RoyK: well, that might be some good comparison point [16:50] RoyK: depending on how you use both ☺ [16:50] raid-[56] support was announced some 3.5 years back and the first git tree with the code was announced a month back [16:50] in btrfs [16:51] and it doesnæt work too well [16:51] I wouldn't use RAID 5/6 with btrfs right now [16:51] btrfs development doesn't happen too quickly [16:51] JanC: well, I've just tested it in a vm, was a bit curious [16:52] RoyK: I mean, I wouldn't use it in production [16:52] JanC: I used to run some 100TiB zfs machines in my last job [16:52] on openindiana [16:52] if you need zfs, better use something like illumos or freebsd [16:52] what I mean is: some parts of btrfs might be stable enough for certain purposes [16:53] JanC: sure, but how can you know which parts? [16:53] it's a lottery [16:53] testing ☺ [16:53] better not use btrfs for something in production... [16:54] use ext4 or xfs [16:54] and obviously, things that have been tested by others might be a good indication [16:55] e.g. have a look at what SuSE will support [16:55] personally, I'm doing ext4 ontop of zfs volume [16:55] so I get compression, without any ugly linux mess [18:12] hy all [18:14] I'm still confused with this topology, in my ubuntu server using 2 nic, one onboard headed to swith, the second nic toward mikrotik, mikrotik ip 192.168.1.2, http://postimage.org/image/91p7e8eyj/ [18:14] i want to make proxy squid mode bridge, can help my :( [18:16] blackjack: Do you mean that you require a transparent proxy? [18:17] alimj, yeah right , can help my sir plz [18:18] blackjack: squid won't bridge, it will proxy [18:18] blackjack: to make your linux box a router, setup nat [18:18] routing+nat [18:18] pretty easy [18:18] RoyK, how to ? [18:19] RoyK, im using mikrotik+ubuntuserver for proxy [18:20] blackjack: Let's clarify. What do you really want 1) Share internet 2) Share and cache content [18:20] blackjack: tried googling that? [18:21] alimj, number two share and cache content, i use squid/lusca [18:21] RoyK, already sir [18:21] http://bit.ly/UU4uJi [18:22] alimj, and RoyK so far I only use 1 nic and now I'm going to try the method bridges, by using the 2 nic, but im confuse [18:22] what are you trying to do? [18:22] single nic to router and then another to your home lan? [18:22] blackjack: Then you require routing+nat+transparrent squid+ip tables. It is a long story. Not easy to say on IRC [18:23] RoyK: I think he wants to NAT but meanwhile, cache HTTP content. [18:24] routing is easy, nat is pretty easy (with iptables), transparent squid proxy is very easy (with iptables) after a quick google search [18:24] alimj, yeah i now, before im using 1 nic, this http://images01.olx.co.id/ui/15/75/41/1319911088_270737441_2-JASA-SETTING-ROUTER-MIKROTIK-SQUID-EXTERNAL-PROXY-SERVER-Bisa-di-Set-Dari-jarak-Jauh-Pekan-Baru.jpg [18:24] now il try this http://postimage.org/image/91p7e8eyj/ [18:25] so ? [18:25] oh, mikrotik - I guess you want to configure that router to use the squid proxy? [18:25] or not [18:26] just saw that last image [18:26] well, first of all, configure the two NICs on different subnets [18:26] setup NAT [18:26] setup transparent proxying [18:27] if you bridge, you wan't be able to control traffic that easily [18:27] you can do it as a bridge [18:27] http://freecode.com/articles/configuring-a-transparent-proxywebcache-in-a-bridge-using-squid-and-ebtables [18:27] it's not easy but it's doable [18:27] as I said "not that easily" [18:28] no, I use a mikrotik to share the bandwidth, and I'm using ubuntu server as a proxy [18:28] and imho there's no point of bridging if you can use nat [18:28] reduced complexity, drop-in replacement [18:28] qman__, RoyK alimj what the best, 1 nic or 2 nic [18:29] blackjack: just setup a different ip subnet for the second nic [18:29] enable nat [18:29] I would say NAT with 2 nics [18:29] when that works, go further with transparent proxying [18:29] hmm meaby i know [18:30] With 1 nic, users can setup IPs manually and connect to your mikrotik directly (bypassing Squid entirly) [18:30] if you have 10.10.10.0/24 on the wan side of that server, setup 10.10.11.0/24 on the other (or something) [18:30] pic just example, this my config [18:31] pastebin it [18:33] http://dpaste.com/918731/ [18:35] blackjack: just drop the bridging [18:35] blackjack: It is already too late here. I have to go. Hope the others would help. Good luck [18:35] blackjack: setup eth0 on 192.168.1.250 and eth1 on 192.168.2.250 (or something) and configure nat [18:38] RoyK: I think that he could mix these two solutions: http://www.cyberciti.biz/tips/linux-setup-transparent-proxy-squid-howto.html & http://codeghar.wordpress.com/2012/05/02/ubuntu-12-04-ipv4-nat-gateway-and-dhcp-server/ [18:38] RoyK, alimj i use this config http://dpaste.com/918734/ [18:38] on rc.local [18:39] whether this is true ? [18:39] blackjack: and I would recommend against using a bridge - as alimj posted [18:39] blackjack: anyway, using rc.local for configuring network isn't really a good idea [18:40] better do it properly in /etc/network/interfaces [18:40] RoyK: It is too complex. Too much for IRC. Blackjack: Follow those two posts. 1st setup Nat mode and then setup transparent cache proxy for HTTP (Port 80) [18:41] blackjack: really, get rid of that config in rc.local, and setup the two nics with addresses on different networks [18:41] enable routing [18:41] enable nat [18:41] alimj, my My proxy is running, I just want to use the bridge method [18:41] when that works, enable transparent proxy [18:41] RoyK, ok [18:42] OK. Then I have to say goodbye and wish you all good luck :) See you [18:42] nite, alimj [18:42] thank you RoyK alimj :D [18:46] Yeah, I need big help. [18:48] It has to do with ubuntu server networking setup, I have a thread on Ubuntu Forums with more information. [18:49] http://ubuntuforums.org/showthread.php?p=12497490 [18:49] If someone could just look at that, and possibly help me or direct me to help. That'd be amazing. [18:52] miker: packet loss? does ifconfig report it? [18:52] btw, you should add a netmask to ifconfig [18:53] or to /etc/network/interfaces [18:53] How do I know if ifconfig reports it? [18:53] pastebin ifconfig -a [18:54] Once sec. [18:55] !pastebinit [18:55] pastebinit is the command-line equivalent of !pastebin - Command output, or other text can be redirected to pastebinit, which then reports an URL containing the output - To use pastebinit, install the « pastebinit » package from a package manager - Simple usage: command | pastebinit -b http://paste.ubuntu.com [18:55] I'll add "netmask 255.255.255.0" then try it. [18:55] it won't help your problem [18:55] honestly, it's probably a defect in the switch [18:56] qman__: the ifconfig output from that post shows no bad packages [18:56] But when I have it hooked up to my windows computer it works flawlessly no packet loss at all. [18:56] if you watch a tcpdump/wireshark capture and see a bunch of random garbage, that'll confirm it [18:56] s/packages/packets/ [18:56] oh, no errors/dropped? [18:57] monitoring the switch may help as well [18:57] but, miker, pastebin ifconfig -a first [19:00] been starting to use ubuntu and having some fun with it. Now i want to do a virtual machine for a home server. i'm a developer which wants to try out the development on my own network. Talking about LAMP and Node.js. Should I go with ubuntu or server or... even devian? [19:00] doesn't matter much [19:00] depends what you like [19:01] what would be the main difference in your point of view? [19:01] starting out with a 12.04 server (or perhaps 12.10 if it's only for development) should do [19:01] Sendoushi: about the same difference as between blondes and brunettes [19:01] the difference is the default set of packages and the release schedule [19:01] eheh [19:01] you can do pretty much whatever you want with both [19:02] i don't know much about the linux terminal and such but... i guess i'll try a ubuntu server [19:02] it doesnt hurt to try! [19:02] nope [19:02] i already have a ubuntu desktop installed also [19:03] one thing you will quickly learn is that server applications are administered by the command line [19:03] ubuntu desktop is merely ubuntu server with a ton of X stuff [19:04] it's not that difficult though, don't let it scare you off [19:04] i kind of like the command line ehehe [19:04] good [19:04] just get to get used to it [19:05] it's got a rather steep learning curve, but once you know it, well, it makes things rather much easier [19:05] use the tab key [19:05] it is your friend [19:05] tab key? [19:05] aaah ok ehehe [19:05] to get stuff already there :) [19:05] i use it on sublime text ehehe [19:05] or even c++ [19:06] ubuntu has lots of tab completion built in by default [19:06] for more than just filse [19:06] sometimes its actually overzealous [19:06] * RoyK uses RHEL at work and doesn't like it too muc, except it's very stable [19:07] Like I don't care that the file is called .foo I know its a tar.. [19:07] RoyK: "stable" how? [19:07] as in rock stable [19:08] if you mean it never changes and has tons of outdated software.. agreed.. very stable. :) [19:08] of course [19:08] but if you only need samba or apache or some mysql or postgresql server, it's stable [19:08] I actually ran into a customer who was still using a redhat 7 server a few months back [19:08] they wanted me to restore some files from tape backup [19:08] RoyK: MySQL 5.1 is *way* less reliable than 5.5.... [19:09] agreed [19:09] RoyK: its slower, it breaks on more replication scenarios, and has a dangerous optimizer that chooses horrible query plans. [19:09] but then, I don't like mysql in the first place [19:09] RoyK: so yes, its predictably crap. :) [19:09] But it did report the packet loss. [19:10] what nic? [19:10] http://s9.postimage.org/4ljuzsw5b/IMG_20130210_130345.jpg [19:10] eth0 [19:10] what sort of nic, is what I meant [19:10] "dropped: 43" [19:10] You mean like speed or brand? [19:10] miker: pastebin is a bit better ;) [19:10] brand [19:11] Yea I tried to pastebin it but it wouldn't uplead because of the packet loss. [19:12] heh [19:12] miker: what distro version? [19:12] 12.10 [19:13] and what nic? [19:13] lspci | grep net [19:13] And I'm looking up the brand, it's just a built in one on a IBM xServe 335 [19:13] how many space (hard drive) do you think that the system needs? [19:13] miker: lshw [19:13] pastebin that [19:14] Sendoushi, a stock install of ubuntu server takes approximately 1GB, though 2-4GB is going to be a lot more comfortable [19:14] if you intend to have files and stuff saved, bigger is always better [19:14] ok so... 4gb plus like... 2gb for files [19:14] since it is only supposed to be server [19:20] Okay. [19:20] It's a Broadcom NetXtreme BCM5703X Gigabit card [19:21] And http://pastebin.ubuntu.com/1634045/ that's pastebin lshw [19:26] installer is asking for partition disks [19:26] what is this LVM thing? [19:26] what should i use? [19:26] http://pastebin.ubuntu.com/1634069/ that's for ifconfig -a [19:28] What should I do? [19:30] have you tried different switch ports? also, if you can, watch the traffic from the switch's point of view [19:31] Let me try another port. [19:32] I don't think I can monitor it from my switch [19:32] Sendoushi, for a VM you probably don't need lvm, I'd just go manual and make one partition the full size of the virtual disk [19:32] miker, can you ping from the switch? [19:32] well gone for lvm [19:32] now http proxy [19:32] should i ignore this for now? [19:32] if you don't know, leave it blank [19:32] i think i need this http thing [19:32] ok then [19:34] miker: those broadcom NICs are rather infamous for their drivers [19:34] broadcom doesn't document their hardware openly, so unless you sign a badass NDA, you won't get access to them [19:35] damn just installed lamp [19:35] if you do, you can't write open source software [19:39] New port doesn's help [19:39] when they said "no gui" it was reallly no gui [19:39] so... how does the ubuntu desktop just weights the same than ubuntu server? [19:40] what? [19:41] [19:41] miker, in that case, it's probably the NIC or the switch config [19:42] the problem with old cisco gear is that it's old, and they often have bad ports and stuff, but usually it's only a couple, otherwise nothing would work [19:42] What could I change? Because when I bring the switch up to my room it runs perfect, 0% packet loss. [19:42] how can i get the pt keyboard layout?? [19:42] And I use the same port in my room as I do for my server. [19:43] dpkg reconfigure keyboard [19:43] in that case I suspect the NIC or NIC driver in the server [19:43] But when I connect my server straight to my router I get no packet loss. [19:44] yes [19:44] How could it be the drivers then? [19:44] what I'm saying is, there's an incompatibility between your NIC or driver and that cisco switch [19:44] Hi there. I'm configuring a Ubuntu server on an existing network, and I was wondering if there was a good guide for configuring Postfix. I'm unsure about whether I need to be configured as an internet site, or a satellite. There is an existing smtp server that I would need to use for sending any mail. [19:45] if the switch has any VoIP features or STP on, I'd try turning those off [19:45] and any extra functionality beyond dumb switch, and see if it solves the issue [19:46] unami, if you are using an existing SMTP server, then you need either satellite system or internet site with smarthost [19:46] which depends on how you want to use postfix [19:46] if you only want local mail to get to the internet, smarthost [19:46] if you want to provide mailboxes for other systems and users, internet site [19:46] err [19:46] if you only want local mail to get to the internet, satellite [19:46] if you want to provide mailboxes for other systems and users, internet site with smarthost [19:47] damn how will i know what layout of keyboard i have and how to get the right one? [19:48] qman__: This is helpful - thank you. [19:54] I'm not even sure if this switch has any special features like that. [19:57] not getting the right keyboard setup :s === Guest5473 is now known as scotty [20:01] not even getting the / [20:06] i'm accessing console-setup for the keyboard but not really changing a thing [20:25] besides vim is there any easier text editor? [20:27] Sendoushi: nano is often recommended for something easier to learn [20:27] how can i nano? [20:27] damn i dont get it keyboard layout was just fine and now restarted the machine and once again... on the wrong one [20:31] how can i change display resolution? [20:44] guys how can i access the cd? [20:44] isn't there something like a dir from dos? [20:45] i need to get to the folder media inside the cd (i think it is there) [21:39] <_Andrei_> what do you mean by cd ? Sendoushi , the comand line ? [21:40] already solved [21:40] thanks [21:40] :) [21:40] <_Andrei_> oh yes change dir [21:40] already installed apache also and now checking how to do stuff on this [21:40] like... how can i connect to the ftp and such [21:40] or even dock it on my mac [21:40] <_Andrei_> ok ;) [21:40] ideas on how to do this? [21:40] i'm using a vm [21:41] ips are different, tried to bridge already but... not really working [21:41] but accessing the ip of the ubuntu machine... works so... [21:41] <_Andrei_> you're on an apple vm on ubuntu ? [21:42] apple vm [21:43] <_Andrei_> i'm on Ubuntu actually but MacOS i don't really know how it works [21:43] i also would like to change the display resolution of the machine [21:43] noe it is something around 1024x768 or something [21:43] but i would like to have like 500x768 [21:44] <_Andrei_> have you asked some questions on #ubuntu channel ? [21:44] something like that. like a column so i can work on the other side you know? [21:44] i did [21:44] i tried [21:45] <_Andrei_> hope you'll find out, got to go, sorry [21:46] no problemo cya [21:56] how can i set a nfs folder on ubuntu server? [21:56] ubuntu server is inside a vm on mac and i want to access a folder inside ubuntu [23:31] hey all [23:32] I wonder if anyone's seen issues with installing vmbuilder on 12.10? I can't seem to install that nor python-vmbuilder due to missing (and uninstallable) dependencies? [23:35] awaterma: uninstallable packages are a pretty serious (and usually easily fixed) bug. Perhaps report it? [23:35] I've only seen it on this local machine, I run 12.10 on a server and don't have this problem. [23:35] make sure you run apt-get update first [23:36] Yeah, I've updated and upgraded all sources. No complaints. [23:37] However, when I try and install python-vmbuilder I get: [23:38] The following packages have unmet dependencies: python-vm-builder : Depends: debootstrap (>= 1.0.9) but it is not installable [23:39] launchpad says it's available: https://launchpad.net/ubuntu/quantal/+source/vm-builder/0.12.4+bzr481-0ubuntu1 [23:40] I thought that 0.12.4 < 1.0.9. [23:40] oh, it's another package, my bad, please ignore my comment. [23:43] got it. [23:43] Works if I update the mirror: http://packages.ubuntu.com/quantal/all/ubuntu-vm-builder/download [23:44] No fun running quantal on this old mac mini server. Nearly all working now, though. [23:44] One would think that "tasksel" would install a way to make vms for a server that handles virtual machines ....