[00:00] Question: [00:00] What is the difference between a vanilla OpenLDAP setup from Ubuntu's repos and something like Fedora Directory Server? [00:02] I suspect lots of predefined schemas and tools for managing them... but I've not used Fedora Dir Server [00:06] * jmarsden is going AFK for a while, hopefully back later... [00:08] lukehasnoname, well, they both provide LDAP, i only know openLdap though... point of note: openLdap uses the dn=config system now instead of config file [00:13] I have zero experience with LDAP, I simply know its uses. I need to ramp up my knowledge and understanding of it, though, as I told a company I could build them software that interfaces with their AD server. === axisys_away is now known as axisys [00:30] ldap is just a simple db, thats all [00:33] vikram: It is? I always imagined it being a protocol :-) [00:34] Misnomer [00:37] It's a spec for a type of database [00:37] that's how I see it [00:38] in any case, I'm reading that FDS is easier to use and manage than OpenLDAP [00:38] Its commonly used for providing authentication [00:38] Windows Domain Controller uses an ldap db [00:39] but once you cross 2000 clients, most people prefer the performance of kerberos over ldap [00:41] Microsoft loves ldap, they use it in Exchange too. But as many of us have come to absolutely hate exchange, its mainly because ldap wasnt designed for anything more 1 liner entries [00:46] hello, do i need to add a mime or something so my apache2 kicks in .cgi/.pl files? - php is fine, perl main file sites in /usr/bin/perl - my hello world script is exe/755 and what i get is my browser fires up the code raw in text rather than exec'n it [00:48] might need libapache2-mod-perl2 [00:48] ok, so thats a basic apt-get method? [00:48] sure [00:48] thx [00:50] is there a way, now on topic, to restart perl on my box [00:50] restart perl? [00:50] perl's an interpretter, it runs on demand [00:51] do you mean reload apache's config so it's aware of the newly installed mod_perl? [00:51] I mean anything needed to let apache2 know its now there or something [00:51] yes [00:51] apache2ctl reload, /etc/init.d/apache2 reload, invoke-rc.2 apache2 reload, 3 options, take your pick [00:51] ok not apach2ctl, lol [00:51] how to allow port ranges with ufw? [00:51] ha! thanks chief [00:51] apache2ctl graceful i think [00:52] i tend to use the init scripts personally anyway, easy to tab complete and all services are listed in there [00:52] ls /etc/init.d/, you'll find a lot in there, running them without args tells you what args they accept [00:58] i shal reboot incase [01:13] how to allow port ranges with ufw? [01:20] I'm pretty sure man ufw will explain that. [01:33] can anyone assist with at ssh setup [01:34] Depends on what kind of help you need. What's the problem. [01:37] i just loaded ssh [01:38] setting up an acct witn no-ip.com [01:39] No i have to redirect something on my router [01:41] downloading a file from a website that how do I run it? [01:42] do I open with archive manager? [01:42] wget url? [01:45] got a file on my desk top how do I run it? [01:46] click on it [01:47] brb booting ubuntu [01:47] ok it brought up a list of files [01:48] what is the executable in linux? [01:53] anyone? [01:53] have a tgz file in my download bin how do I run it? [01:54] actually tar.qz [01:55] Ill try [01:55] whats the link to the download [01:56] no-ip.com [01:56] downloaded the file [01:56] are u running ubuntu as your os, or ssh to a ubuntu server [01:56] its on my desktop when I double click it I get aarchive mgr [01:57] setting up ssh to a ubuntu desktop [01:57] oh [01:57] join #ubuntu [01:57] I want to know too cause Idk how [02:07] is it possible to install window xp on KVM that runs on a server without X? [02:08] steelcityjim: Do not run random files... what are you really trying to do?! [02:18] steelcityjim: If the file ends in .tar.gz ( g as in "gee" not q as in "queue") then you can unpack it using tar zxf filename.tar.gz [02:22] ok I got it jmarsden [02:22] i did sudo apt-get install no-ip [02:22] looks like it loaded correctly [02:23] now I guess i need to configure my router [02:23] Ah, that's what you were trying to download. Yes, always use existing packaged software rather than trying to download a tarball and compile it yourself ... let someobne else do the hard part for you :) [02:25] ok so im redirecting port 80? [02:25] BTW this is a classic case of asking the wrong question: If you had asked "what software can I install so that no-ip.com knows my dynamic IP address you would probably have got a more suitable answer more rapidly... always ask the real question... [02:25] No, for SSH (unles syou reconfigured it) you are redirecting the ssh port, which is TCP port 22 [02:25] ok is 80 if you do a webpage? [02:26] grep ssh /etc/services will tell you. and yes, TCP port 80 is the standard port for a web server to run on. [02:26] grep http /etc/services will tell you that :) [02:28] what is grep http /etc/services [02:29] I don't see anything in my router config about redirecting [02:31] would i be looking for single port forwarding? [02:31] steelcityjim: grep http /etc/services is a command that you type at a shell prompt in Ubuntu [02:31] And possibly, that depends on your router. [02:32] lynksys [02:32] linksys [02:32] Your router probably does not run ubuntu server, so you need to ask specific questions about using that elsewhere... :) [02:34] I thought i had to tell the router that traffic coming in on port 22 (no-ip address) to redirect to the server ip? [02:34] You do. So do it, but if you do not know how, that is not a ubuntu-server issue... [02:41] how do i change the resolution for ubuntu server (its just the console) under vmware. its too small. [02:43] jmarsden tcp protocol correct? [02:44] At [18:25:376] I said: No, for SSH (unles syou reconfigured it) you are redirecting the ssh port, which is TCP port 22 [02:44] jmarsden, still helping as good as ever xD [02:45] So I answered that question about 20 minutes ago... :) [02:45] im running ubuntu locally right now [02:45] sorry im on like 4 different channels [02:45] its called ubermicro steelcityjim xD [02:46] jmarsdens gonna help me set up some users here in a min [02:46] mrcoodles: Just set it up so you can ssh into it and use your favourite terminal app? [02:48] steelcityjim, are you settin it up so users can use ftp and are locked to a fir [02:48] dir [02:48] yes thats what I'd like to do [02:49] I need to do the same thing haha ill watch closely [02:49] its got something to do with chroot [02:49] steelcityjim: sudo useradd johndoe # to add a user called johndoe [02:49] LHC: Last time I checked steelcityjim is setting up SSH not FTP ... [02:49] oh [02:50] how do I do password jmarsden and restrict directories? [02:50] is that so you can log in and use the cli ? [02:50] Yes, or just use SFTP for secure file xfer... FTP is a badly designed protocol that sends the password in the clear over the Internet, etc etc. [02:51] steelcityjim: sudo passwd johndoe # and type in his pw when it promots you to. [02:51] lol wow [02:51] ever use wireshark? it grabs all the passwords from your local network [02:51] i was shocked when it showed up so i use ssl on sites [02:52] LHC: I use wireshark a fair bit for network troubleshooting. it does a lot more than that, btw :) [02:52] LHC: for me, setting up SSH is easier than setting up the "secure" variations of FTP... [02:53] ok user set up [02:53] rock on jmarsden [02:53] so its apt-get install openssh etc [02:53] sudo apt-get install openssh-server # yes [02:53] close haha [02:55] its already installed on my server dammit xD [02:55] Of course, how else do you think you are using Putty to connect to the server? :) [02:55] how would ya be able to set it up in the first place? [02:56] At install time, from the server console. [02:56] On a headless server you might be doing that over a serial console, or whatever... [02:57] fook.us.to [02:57] thanks to you jmarsden :D [02:57] lovely jquery works [03:00] jmarsden when my new no-ip address is entered into a browser what should happen will ssh promt for a sign on and password [03:00] Into a browser?? Have you set up a webserver on it? [03:01] Into FileZilla, if filezilla is set up right, yes, they will be prompted for their password [03:01] oh no [03:02] Then if they use a web browser they won't get very far :) [03:02] lol [03:02] DOH [03:02] haha [03:03] jmarsden how many servers over irc and your own have you set up xD [03:03] No idea... "lots"? [03:03] ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- [03:03] ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- [03:03] -------------------------------------- [03:04] each dash is a server haha [03:04] filezilla under construction? [03:04] what [03:04] http://filezilla-project.org/ [03:04] Try http://filezilla-project.org/download.php [03:05] Actuallt their home page at http://filezilla-project.org/ works fine for me, too. [03:05] same [03:05] eh [03:05] ok so they have to download the client piece? [03:06] some hacker has his traffic running through a server :O [03:06] jk [03:06] steelcityjim: well, unless you want to mail then a CD containing it, or something... [03:06] xD [03:06] why cant the windows client communicate? [03:07] what os are u on [03:07] Which windows client? The filezilla windows client communicates using SFTP with your SSH server... [03:07] you just have to enter in your info in the sitemanagaer [03:07] As does any other SSH-based SFTP client for any OS... [03:08] so the sftp part is encrypted? [03:08] secureftp [03:08] vs regular ftp [03:08] yes [03:08] Windows does not come with a built-in SSH / SFTP client. Yes, SFTP is (in this context) file transfer over SSH, so it is encrypted. [03:08] as jmarsden said ftp blindy gives out your pass [03:09] so you could use windows if you wanted your stuff dangling in the wind? [03:09] Use windows??? You can use Windows any way you want, including using FileZilla on Windows, or Putty on Windows, or whatever.... [03:10] openssh on windows allows you to use the ssh command :P thought I advertise that [03:11] See http://www.openssh.com/windows.html for alternatives [03:11] ok now I can't test this from my network correct [03:11] jmarsden, winscp (for doze) [03:12] Is listed on the page I referred to. [03:12] steelcityjim You can test the SSH part, just not the router port open part. [03:12] whats this router part? [03:13] how do i test the ssh part [03:13] If server is behind a router doing NAT you have to set the router to redirect the SSH port to the server's local IP. [03:13] steelcityjim: Install filezilla on a local windows box and configure it to point at the local Ip of your server [03:14] Tell it to use SFTP and a username and pw of your choice... [03:14] jmarsden, no worries then (just finished reading up) [03:14] testing the port is open is easy - just telnet to it. testing that the service is configured is harder :) [03:15] Kamping_Kaiser: I tend to suggest FileZilla because there is a Linux version of it that works the same way, which is not really the case for WinSCP. [03:15] filezilla is great I used it forever [03:15] I prefer tools I can use on multiple platforms... less to learn and less to remember that way. [03:15] are there any good migration guides out there? im a sys-admin for a small school, i'd love to migrate everything to ubuntu. I'm using freenas for most of my share needs, but i always hit a snag trying to use LDAP to replace AD. [03:15] jmarsden, on unix boxes i use scp, so i'm only aware of winscp from using it [03:16] *im aware freenas isn't ubuntu, just for the record :)* [03:16] ptarrant: Samba has books and tutorials galore, some of which allow AD style domain setup using it. [03:16] ptarrant, what are the client os's? [03:17] ok ecconn refused [03:17] ptarrant: http://www.samba.org/samba/docs/ [03:17] jmarsden: yea i looked those over, i never could get LDAP and Samba to shake hands correctly, i was looking for other guides, or do i just need to hit the tutorials more? [03:17] kamping_kaiser: all of them are using xp or 2k [03:18] eeeh ok. there might be something in wiki.ubuntu.com or help.ubuntu.com [03:18] Why do you need LDAP to stick around, in that case? Do you have Windows servers in the mix? [03:18] personally, i just gave up trying to configure ldap+samba *cringe* [03:18] jmarsden: all the servers are 2k3 [03:19] kamping: thats the issue i ran into over and over, i did all the tutorials for ubuntu 7 but can't get it to work with 8.10 [03:19] Ah. So you are not migrating from them to Ubuntu? [03:20] "I'd love to migrate everything to Ubuntu" implies migrating the servers too?? [03:20] jmarsden can I enter nothing for a password [03:20] for the moment, i need them to stay the way they are because its a production enviroment, i setup a "test" subnetwork (172.16 instead of 192) for me to try and get ldap and a totally *nix / linux solution [03:20] steelcityjim: If you actually set up a blank pw, yes [03:20] i need to make sure it will work before i swap them out for ubuntu server :) [03:21] ptarrant: In a totally Linux solution why do you think you need LDAP at all? [03:21] fwiw, i hear fedora directory service is much better then openldap (only tried ol though) [03:21] Are we talking thousands of accounts type of a setup here? [03:21] doesn't LDAP basically replace AD, or did i mis-read? [03:21] we are talking about 400 student accounts and aroudn 100 staff accounts [03:21] AD uses LDAP... [03:22] ahh so its a translator [03:22] AD uses x500, not ldap per se (unless the've gutted it recently) [03:22] You could use any solution you like that your Ubuntu servers will work with... [03:22] AD is DAP + stuff on top for integration. [03:23] so what would be the directory for ubuntu? are there many choices? or do i just make them users? [03:23] i've only been using / learning linux for about 3 months [03:23] so excuse the dumb questions here :) [03:24] im being denied by my server [03:24] You might want to read http://www.samba.org/samba/docs/using_samba/ch04.html which seems closeto what you are wanting to do [03:24] thanks jmarsden [03:24] steelcityjim: What are you trying exactly and what is the error message you are seeing? [03:24] econnrefused [03:25] connection refused by server [03:25] im trying to connect via filezilla [03:25] And you are sure you told it to use SFTP, right? [03:26] whoops [03:26] my bad [03:27] ok looks like it connected then gave me authentication failed [03:27] So use a correct username and password :) [03:27] well i did [03:27] hah [03:28] its the one i just set up [03:28] If you did, it would have let you in :) [03:28] OK, check /var/log/secure for why it denied you access... [03:29] ok wait i re did it [03:30] directory listing successful [03:30] is that what im supposed to get? [03:30] Ok, so it is working fine. You can drag and driop files from left pane to right pane to upload, and vice versa to download... [03:30] You are in business. [03:30] yaya [03:31] well now I just need someone to test from the outside [03:31] using my 6burgh.no.ip.org [03:31] Give me a login (in a private message) if you want... [03:37] OK, that works now but it looks like the user has no home directory of his own? [03:37] can you get to public [03:37] you should see Abba Gold [03:37] lol [03:37] public should be open to everyone [03:38] whats this site for [03:38] public as in /home/jim/Public ? [03:38] file share with some friend [03:38] yes [03:38] im just learning lhc [03:38] same [03:39] Did you just break it? Now I can't connect to the machine at all?? [03:39] no im just sitting here [03:40] LOL [03:40] I swear i did not touch it [03:40] OK... now it works again... odd. Ok, I can see /home/jim/Public/abba/Gold/*.m4a [03:41] ohhh gyeeaa [03:41] As well as /home/jim/Public/junk.txt that we created yesterday [03:41] yep [03:41] so I got it working........roflmao [03:41] you da man jmarsden [03:42] Ok, I'm out now. I would suggest you use much better (harder to guess) passwords, and you're set. [03:42] password is god [03:42] yea I will that was just a test [03:43] password is password [03:43] how fast would you be able to download on that/ [03:43] However fast your ISP lets you upload from your machine. [03:43] ohhhh mn [03:44] man that ain't fast [03:44] 4 mbs [03:44] mbps [03:44] get a 100mbps dedi [03:44] That's why people pay for colocated servers with lots of bandwidth [03:44] yea but this is free....roflmao [03:44] they can wait [03:44] mfers [03:45] jmarsden, if you need up to 200gig of storage just ask, Im not using my dedi enough [03:45] unlimited bandwidth [03:45] won't be download gigs [03:45] OK :) [03:45] albums here or ther [03:45] just for easy access [03:45] steel is your url working [03:46] i believe so [03:46] jmarsden you used the 6burgh rite? [03:46] I don't have a page yet lhc [03:46] Yes, I did sftp USERNAME@6burgh.no-ip.org [03:47] thats my next project webpage [03:47] (I used the command line sftp client instead of FileZilla, because I'm more a command-line type of person :) [03:47] I'd like to have a webpage with some pics general info and then a link to my server files [03:48] will that be doable? [03:48] steelcityjim: Then you need to set up a web server and redirect port 80... and yes, that is doable. [03:48] haha jmarsden that took me 5 hours to do yesterday [03:48] lol [03:48] dam comment # # [03:49] LHC: Well, because you had a weird LAMPP setup that your buddy created, mainly :) [03:49] yeah dam him [03:49] is web server a differnt app than ssh [03:49] oh Im gettin a new server jmarsden 1.5 tb :D [03:49] Yes. Different protocols [03:49] oh mfer how will that work with no-ip? [03:50] ok so now im a little confused [03:51] whynot just use apache and a free domain? [03:52] steelcityjim: It will work fine with the no-ip.org domain setup. Same IP address, so same DNS name. [03:52] lhc you got a webpage you created [03:52] yep [03:52] can I see it? [03:52] thelhc.us.to [03:52] its just up there for the time being instead of a nasty NOTHING FOUND sign [03:52] steelcityjim: sudo tasksel install lamp-server # will get your machine set up [03:53] Then redirect port 80 just like you did port 22. [03:53] Then browse to http://6burgh.no-ip.org and you will see the "It works!" page :) [03:53] can I have them both working at the same time [03:54] Yes [03:54] ohhhh swweeeeettttt [03:54] lhc green screen with some text? [03:54] what [03:54] your site [03:54] or teel [03:54] there are pics in it [03:55] This visage? [03:55] v for vendetta speech [03:56] * jmarsden browses to http://thelhc.us.to/ and goes half-blind trying to read white text on light blue... eek! [03:56] i don't have any pics on mine [03:58] http://thelhc.us.to/images/Screenshot-2.png [04:04] steelcityjim, you see [04:05] i dunno if you guys are aware of this, but there are some very easy ways to create robust websites w/out having to do a lot of coding [04:07] rdw200169: Really? [04:07] yeah, like moinmoin, sphinx, drupal, wordpress, etc.. etc.. [04:07] hey rdw200169 [04:07] for example, my site is created w/sphinx i.e. greamin.com [04:07] absolutely no html on my part, all i did was a little css manipulation [04:07] LHC, yo, what up [04:08] nmnm [04:08] got my domain workin etc thanks to jmarsden [04:08] rdw200169: So, wordpress is "robust" these days is it? So I can hit it with a million hits in 12 hours? [04:08] did you get those pics? [04:09] yeah, i haven't done anything w/them though, i'm pretty lazy ;) [04:09] haha fair enough [04:09] owh, robust is relative... i'm talking about good looking, not good performiing [04:09] i have removed # to activate 'AddHandler cgi-script .cgi ' in apache2's mime.conf has made my .cgi files work, but .pl files still provoke a download file window on browsers, anyone any ideas how to make .pl act like .cgi [04:09] owh, performance is a matter of the server, bandwidth, firewalls, round-robin webservers, etc... [04:10] owh: besides, that has just as much to do with you server and config as wp [04:10] bah, rdw200169 beat me to it [04:10] rdw200169: I've never ever heard the word robust applied to the way something looks - and that's in over 30 years in IT - I suppose that's a sign of the times. [04:10] Jeff1: sudo a2enmod perl perhaps? [04:11] Jeff1: Assuming you have mod_perl installed in the first place? [04:11] owh, sorry. i was using a simple dictionary version of robust. [04:11] that reminds me - I need to download some dict files [04:12] rdw200169: So Apache is not robust, because on az 486 with 8MB RAM on a home DSL connection it cannot handle 1 million hits in 12 hours?? [04:12] i did not say that. [04:12] You implied it by your definition of robust being decoupled from hardware [04:12] rdw200169: You mean: "Robust means, literally, made of oak, and hence implies great compactness and toughness of muscle, connected with a thick-set frame and great powers of endurance.", or was there another meaning that I missed? [04:13] @ jmars -- Module perl already enabled [04:13] i implied that the factors that determine a websites ability to handle millions of hits involve more than just the html [04:13] rdw200169: Or are you referring to a different dictionary? [04:13] .cgi is perfect .pl trys to dnload scripts [04:13] thats it. i'm done. y'all have fun. [04:13] rdw200169: You said: "(13:05:49) rdw200169: i dunno if you guys are aware of this, but there are some very easy ways to create robust websites w/out having to do a lot of coding" [04:14] leave rdw200169 aloneeeeeeeeeee [04:14] owh, quit reading inconsequential things into what i'm saying. i'm trying to be helpful, and you're being an asshole english teacher. [04:15] dare i say frontpage and a packet of razor blades ^^ [04:15] rdw200169, remeber you said things to do with my dedi? [04:15] what other things can I do, i dont have any ideas xD [04:16] rdw200169: Thanks for that insult. Very professional of you. [04:16] its irc whats professional in here ffs xD [04:17] bickering women xD [04:17] * owh shakes head. [04:17] ok guys stay on target, perl .pl how does one make .pl exec rather than download [04:17] jmarsden what was that text editor you recommended last night [04:17] dont make me buy a mac!! [04:18] vi is good [04:18] Jeff1: Give me a sec, I think you need an AddHandler line... [04:18] steelcityjim: nano is what I suggested [04:18] cheers chief [04:18] Jeff1, whats wrong with a mac haha [04:18] except its price [04:18] nothing it will make things work first time [04:18] just no cash [04:18] hehe [04:19] yeah I know alot of web devs in my uni who have them for some reason [04:19] maybe they like the look or something [04:19] i ebay's a G3 in UK , started the bid at £1, (no monitor) it sold for £1 [04:19] sold* [04:21] whats the g3? is that a laptop [04:21] im sure it he didnt sell it for that much haha [04:22] it was a desktop unit, but a G3 upgrade card, was really an older model [04:22] im sierous [04:22] £10 posting / packing and it went for £1 [04:22] cool [04:22] i thaight i would do 1£ start to attract bidders [04:22] lol [04:23] ha [04:23] I would love to get the old macbook pro [04:23] Jeff1: It seems to "just work" for me on Ubuntu 8.10 here, I created a trivial perl script in /var/www/cgi-bin and it runs when I point a browser at it... [04:24] what are u trying to do jeff [04:24] hmm i try this now [04:24] Script was exactly two lines: [04:24] setup hosting for some sites, cgi mainly for myself cus not very good at php, happy with perl over the years [04:24] #!/usr/bin/perl [04:24] print "Content-Tyoe: text/plain\n\nHello Perl world\n"; [04:25] having fun with 'ehcp' [04:25] what does it do [04:25] nice tool [04:25] like a basic isp/hosting/reseller sorftare [04:25] Jeff1: Do you really want to make .pl file execute, or just to use mod_perl inside web pages? [04:25] Im going to sell webspace later on [04:25] when I learn a bit more about permissions which im stuck on [04:26] some scripts got .pl on them , need them to kick in for outside web'rs [04:26] OK. [04:26] poland [04:26] if rename, then gota rename code here n there, can of worms [04:26] Jeff1: Does my test script work for you in /var/www/cgi-bin/ ? [04:26] ok so jmarsden after i install lamp [04:26] brb [04:27] is my desktop gui going to be gone? [04:27] steelcityjim: No. [04:27] But you *really* need to stop relying on it! [04:27] so i can run it through the terminal [04:27] hehe [04:28] what are you laughing at lhc [04:28] But you *really* need to stop relying on it! [04:28] plus I like to laugh, sue me [04:28] are a command line guy [04:28] r u [04:29] This is #ubuntu-server, and the Ubuntu server install does not come with a GUI, for good reason... so, did you get the web sevrer working yet? [04:29] i just started, and I think command line is best [04:29] and its fun too [04:29] no not trying tongiht jmarsden [04:29] OK. [04:29] I'll take my shallow vicotry to bed with me [04:30] ssh server gyyyeeaaa [04:30] lol [04:30] well done [04:30] so im going to do sudo apt-get install lamp [04:31] brb gotta get my password from windows [04:31] No, you are going to do what I told you do to some time ago here in the channel... [04:31] About 39 minutes ago... [04:33] sudo taskell install lamp-server # [04:33] Yes. [04:33] what is taskell? [04:33] well, except spell tasksel correctly :) [04:33] lol [04:33] Do man tasksel to find out all about it. [04:34] man tasksel at command prompt/ [04:34] Where else? :) [04:34] where can I find that in the gui? [04:34] roflmao [04:35] The command prompt in a GUI is found in a terminal window, so open a terminal window and then type it... ? [04:35] i know im messing with you [04:39] jmars, cheers, you joggle'd da mind, i try all that, but then noticed in that line : AddHandler cgi-script .cgi the .cgi at the end, so chanced a .pl after it also in array and it worked, after restarting apache2 of course! [04:39] On Konqueror man:/usr/share/man/man8/tasksel.8.gz will work. [04:40] jmarsden: ^^^ [04:40] Jeff1: OK, sounds good to me. [04:40] now i can be old timer and never move to php and be stub'rn! [04:40] no more macs for me! [04:42] ScottK: and you can search for it in the Gnome help GUI thing on a Gnome desktop too... but we're in #ubuntu-server :) [04:43] * ScottK has no idea about Gnome. Thanks. [04:44] ScottK: System -> Help and Support -> type tasksel into the search bar and press Enter... but I am trying to help people learn to admin servers where such tools do not exist... [04:44] Of course. [04:45] Mostly I find it kind of ironic the KDE web browser knows man. [04:45] Yes, they added a ton of unusual schemas to the KDE browser. ssh: I think, and all kinds of things... [04:46] jmars, as far as security goes with this perl/cgi , due to how apache/www is setup, noone should be able to upload cgi scripts into their own host accounts that would be able to browse back or out side of their account, this correct? [04:47] hey [04:49] Jeff1: Yes, you should probably prevent ExecCGI stuff from working in any directory users can upload to. [04:51] thx [04:52] No problem. You can use ScriptAlias to make /cgi-bin/ work out of someplace only you can write to... [04:53] i was thinking, its really only me needs it, php covers it all if a client wants a shopcart or whatever [04:54] i just love making support/contact forms for the sites in perl [04:55] hmm [04:55] type some perl let me see what it looks like [04:55] does it look like php [04:55] 10 print "lol" [04:55] 20 goto 10 [04:55] 30 run [04:56] run [04:56] no [04:56] I hear php is a derivative of it [04:56] its crap for working with html in most cases [04:56] yes [04:56] its better i guess, just to someone like me thats more visual oddity than brains, perl is where the home is [04:57] I forgot what i was meant to do xD [04:57] LHC: Read a tutorial, such as http://www.perl.com/pub/a/2008/04/23/a-beginners-introduction-to-perl-510.html [04:57] you have to \ all ur " [04:57] im already on a php one haha [04:57] And Jeff1, there are serious web app frameworks written in Perl, such as Mason and webgui and so forth... [04:57] what are they used for [04:57] but there is mods to putput html between quotes to , but not good in any area of perl, sometimes you must \ the "'s [04:58] LHC: Building dynamic web sites of various kinds, CMS systems, etc. [04:58] cool [04:58] is there a gui/lib to make perl more used for gui programing? [04:58] jmarsden [04:58] I may add a blog thing to my school site, I may build it myself [04:59] css is piss easy compared to this, and I used to think it was hard haha [04:59] have you's ever messed with basic [04:59] like visual basic 6.0 [05:01] Jeff1: For non-web GUI app building in Perl... let me look... I suspect there are binding for some GUI toolkits... [05:03] gnome is what ubuntu uses default for gui right? [05:03] Jeff1: that is correct [05:04] Jeff1: wxWidgets has Perl bindings, so that would be one way to go... [05:04] Gnome is the Ubuntu standard, but there are siblings built around others, most notably KDE and Kubuntu and Xfce and Xubuntu. [05:05] And there is POE which can do GTK stuff... http://poe.perl.org/ [05:09] activesite seem to have been making visual perl at one time [05:09] now activeperl pro i beleve [05:09] qt4 apparently has Perl bindings, but I can't find that anyone has packaged them. [05:10] jmarsden, whats that bit for rebooting apache [05:10] I just added another domain [05:11] LHCL Take notes or start logging in your IRC client :) On your setup I think it was sudo /opt/lampp/bin/apachectl restart [05:11] cheers, I did copy that but im on ubuntu dualboot instead of my normal xp [05:12] When you consider running Ubuntu "normal" we will have made progress :) [05:12] haha [05:12] You should be able to access your XP partition from Ubuntu though... [05:12] yeah ubuntu is easy, it used to be foreign to me now its ok [05:12] how? [05:13] mount the relevant partition(s) [05:14] See https://help.ubuntu.com/community/MountingWindowsPartitions/ThirdPartyNTFS3G for one approach [05:15] oh I used wubbie I dont think there is a partition [05:15] wubi [05:15] or am I mistaken Idk [05:15] oh POE is cross platform, win32 also i think [05:16] LHC: WUBI has a way to get at the surrounding XP NTFS filesystem, I am pretty sure... but I forget what it is... [05:17] Jeff1: So is wxWidgets I am fairly sure. [05:17] coool [05:17] ill google it :D [05:18] wow [05:18] LHC: type mount and see what is there, maybe a partition called /media or similar...? [05:18] even cewindows stuff [05:18] .net very very visual basic 6 [05:19] nope [05:20] /dev/sda1 on / type ext3 (rw,errors=remount-ro) [05:20] tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) [05:20] sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) [05:20] varrun on /var/run type tmpfs (rw,nosuid,mode=0755) [05:20] varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777) [05:20] udev on /dev type tmpfs (rw,mode=0755) [05:20] tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) [05:20] devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620) [05:20] /dev/sda2 on /home type ext3 (rw) [05:20] securityfs on /sys/kernel/security type securityfs (rw) [05:22] audacity was made with wxwidgets! [05:22] Hm. I ran WUBI a while back on one ancient laptop... and I am pretty sure I could cp files from it to the main windows filesystem... [05:23] http://audacity.sourceforge.net/ next best thing to wavelab and it free! [05:25] LHC: See https://wiki.ubuntu.com/WubiGuide#How%20do%20I%20access%20the%20Windows%20drives? [05:26] ty [05:27] for Ubuntu 8x one would dnload wxGTK-2.8.9.tar.gz version of wxW ? [05:29] lol theres even os2 port, god is that still alive! [05:33] Jeff1: No, it has been packaged, use your usual package management tools. [05:33] @ jmars, was you expecting a CTCP responce mirc for windows lol [05:33] jmarsden, that was easy haha [05:34] i wish i had my FreeDOS/irc in action there... [05:36] oh jmarsden after thinking of things to do with my server, im thinking Ill create a few accounts so people can upload stuff [05:37] cheers for the tip on wxW, i think i will check it on windows first to get quick look, nearly 6am here, bed calls!! [05:38] cu LHC, jmars, thx again [05:38] same here Jeff1 [05:38] 5:38 opps lol [05:38] oh uk? [05:38] bye [05:38] yep [05:38] mainland? [05:38] belfast [05:38] n,ireland here [05:38] nbo way [05:38] no [05:38] LOLLLLLLLLLLLLLLLLLLLLLLLLLLLLL [05:38] lol [05:38] whatttttttttttttttt [05:38] im out side [05:38] 70mile [05:38] thats funny [05:38] big wheel! [05:39] im about 10 mile from city hall [05:39] alright there big wheel! [05:39] its shit xD [05:39] lol [05:39] nice [05:39] where abouts? omagh [05:39] i used to visit there alot belfast [05:39] arts collage/Shine [05:39] clubs [05:39] yes [05:39] haha I go to the arts college [05:39] omagh [05:39] haha [05:39] lol [05:39] stiff kitten shine is amazing [05:39] soulwax :P [05:39] good old homer shake ur brain [05:39] nice [05:40] thats random as hell [05:40] you ever see fish do deep up there? [05:40] nahh, any good? [05:40] deep house outfit [05:40] from cork [05:40] they bigtime [05:40] famous track [05:40] the cure the cause [05:40] hear of japanese popstars [05:40] vocals by tracey K [05:40] youtubbe it [05:40] brand new? [05:40] they play in belfast not so long ago [05:40] a few years now but it will ring a bell [05:41] i will land here tomarrow for a yearn [05:41] http://www.youtube.com/watch?v=nJTzjBd35wg [05:41] yarn* [05:41] small world man [05:41] yeh indeed xD [05:41] especially when you thought everyone else was in bed [05:41] hahaha [05:42] should be but linux gets the better of me sometimes [05:42] my whole family is up cause my parents doing night shift this week xD [05:42] one more ciggy wont hurt [05:42] I think i did hear this track [05:42] cools [05:42] yes famous one, good outfit to see live, house music not my main cup of tea but thats good house! [05:43] brb [05:43] house is good, I like electro etc justice boys noize, japanese popstars are from derry they do housey tracks real club bangers [05:51] i need help setting up a network for just 2 computers. A server with Ubuntu Server 8.10 and a laptop with vista. I am connecting them with a cat6 patch cord, but when connected together, niether computer assigns an ip ( i would prefer the Vista computer assigns them, btw) [05:51] MK13: Are you planning on doing that for internet access sharing or something? [05:52] i am using the server as a file-backup type set-up [05:53] No real need to set up DHCP or anything then, can you just statically assign IPs? [05:53] And use a cross over cable [05:53] don't need a crossover cable, a cat6 patch cable works since the laptop has automatic crossover capabilities [05:54] ;) [05:54] Ahhh, neato [05:54] So just statically assign IPs and you're good to go [05:55] IMO it's easier to set up static assignment *over* DHCP -- then the IP configuration is stored centrally rather than needing to configure it on both hosts :-) [05:55] that's the problem, I don't really know how to w/out conflicting the vista computer (it is connected to the internet) [05:55] MK13: does it have a second NIC? [05:56] twb: But wouldn't you have to configure the DHCP server, so you're moving config from one place to another, but still have to do it? [05:57] i have tried setting up eth0 as auto with dhcp, but it ends up with three inet6 addresses (scope: site, global, link) with addresses like fec0::16:250... etc. [05:57] no second NIC... at home i have to suffer with dial-up [05:58] and can't setup ad hoc connection because the server doesn't have wireless card [05:58] i hear ya @ japanese popstars [05:58] ropetin: static IP configuration requires the configuration to exist on *both* the server and the client. [05:58] u ever hear the saunters track [05:58] from the derry lads [05:58] ropetin: by telling the DHCP server to statically assign an IP to a certain MAC, you put both ends of the configuration on the server. [05:59] like a cover of 'my united states of america' [05:59] saunters? nah, I bought their album too! [05:59] twb: OK :) [05:59] its very funny [05:59] let me find [05:59] ill look it up [05:59] MK13: If you don't have anythnig acting as a DHCP server, then it won't get anything, you're right [05:59] ropetin: it's pretty easy if your DHCP server handlse /etc/ethers :-) [05:59] well, is there any way to get vista to "act" like the DHCP server to assign the IP when the server connects? [05:59] Probably easier to set up Linux as the DHCP server [06:00] or use bind9 on the Ubuntu server? [06:00] A little over kill I think [06:00] how do i set ubuntu up as DHCP then? [06:00] http://www.youtube.com/watch?v=nTtbRY5CuCE [06:00] ty [06:00] I've used dnsmasq in the past as a DHCP server, very easy to configure [06:01] And can do DNS if you need it [06:01] Unless twb has another suggestion? [06:01] LOL [06:01] ever hear of big girl ? [06:02] firefox had an error, and it took chatzilla with it :( [06:02] I also am a fan of dnsmasq, but not that it does not receive support from Canonical. [06:02] What does? [06:02] http://www.youtube.com/watch?v=6feq0ME1s3Y&feature=related [06:02] i got no sound on this box [06:02] going to have to get it sorted [06:03] oh anyways, it goes like "big girl you are fat as fuck" [06:03] xD [06:03] ropetin: packages in the 'main' category nominally do [06:03] lol [06:03] "get ur self to the m club ,find yourself a fat milly.big lad cum in her mouth and shel let you have her babies " [06:03] lol [06:04] theres not that many things like that from here but they are always hilarious [06:05] Hmmm, ok [06:05] http://www.youtube.com/watch?v=3fT-jX11poU [06:06] a classic! [06:06] haha i heard this on radio 1 I think [06:07] the best bit is when she says 'fill your boots man' at the end [06:07] or on someones phone [06:07] haha [06:07] MK13: Does that make sense? [06:07] does what make sense? [06:08] the top boss yeah? xD [06:08] you want it blown up, ill do whatever haha [06:08] as they say in belfast, it'ill meeek a big baaaang [06:08] lol [06:08] haha [06:08] lad [06:08] laud [06:08] http://www.youtube.com/watch?v=_hfv0_LQSnA also a classic! [06:09] could i use the debian .deb package for the Ubuntu Server 8.10 ? [06:09] this one is near done haha its awesome [06:09] MK13: you can't do an 'apt get install'? [06:10] The server has no internet access, the only way it could get it is if I could get it on the network with the Vista computer to use ICS [06:11] Ahhh, in which case, you can download the deb on the other machine and transfer it across on a USB key or whatever, yes [06:12] http://ftp.debian.org/debian/pool/main/d/dnsmasq/ would the .deb packages from here work, or do i need a .deb made specifically for Ubuntu 8.10? [06:13] MK13: You would want one compiled on the Ubuntu 8.10 tool chain. One from Debian might work. It might not. [06:14] here Jeff1 nice talkin to ya, but im about to pass out from lack of sleep haha all the best [06:14] bye [06:14] MK13: dnsmasq is part of Ubuntu. [06:14] Source compatibility with Debian is an explicit design goal of Ubuntu. Binary compatibility is not. [06:14] that's what i thought... [06:14] cu bro [06:14] MK13: you need to activate the unsupported "universe" category. [06:14] the server doesn't have internet access tho [06:15] MK13: then use packages.ubuntu.com/dnsmasq, not packages.debian.org. [06:15] mk13 does the linux box have any connection to the vista? like normal network? [06:15] the connection to Vista is what i am trying to acheive [06:16] you know theres an optnio in vista/xp that u must check first that states that other machines can use the 'internet' through it [06:17] is there any way to use apt-get to get the packages in a VMware setup i have, then transfer them to the actual server? [06:17] Jeff1: I have ICS enabled [06:17] if u have a normal network between linux/vista i.e u can see files [06:18] then theres check box on ur vista's modem props or device that u check that states other machines can ALSO surf the net as well as SHARE files [06:19] no, the two computers can't see each other yet, there is a cat6 patch cord connecting them (i connect my Ubuntu Desktop to XP and Vista this way) BUT the computer's aren't getting ip's assigned, so even though they are connected, they don't see each other [06:19] Jeff1: I know.... I connect other computer like that, but the server version of ubuntu just wont for some reason [06:19] u mean u have a network card in both machines and a cable between them? [06:20] New bug: #329622 in openssh (main) "buffer_get_ret: trying to get more bytes 4 than in buffer 0" [Undecided,New] https://launchpad.net/bugs/329622 [06:22] my setup is: Internet -> Vista Laptop --ICS Enabled-> Server [06:22] i see, well i know xbuntu fresh install, did not find my basic ne2000 3-com, then i tryed atleast 7 other makes (a box of them here) and it still never found them, so i wiped and installed ubuntu desktop and it found the first card, then i tryed others and it found them, so maybe it is xbuntu not finding the actual card/device - assigning driver? [06:23] i installed xbuntu first so i could run basic server, i found desktop version alot better for me cus of how it got up on its feet faster [06:27] lol, my server finds my 3-com 3c905B 100BaseTX [Cyclone] rev 30 [06:29] i thaught it would of atleast found my netgear [06:30] yea, the problem i face isn't hardware issues. Just the fact that there isn't an acting DHCP server [06:31] although I still don't see why Vista doesn't assign it one, as it does the desktop version [06:31] anyways ubuntu desktop/hosting server seems to do well for me, but i did notice my memory (512) was eat'n up pretty quick [06:32] maybe its to do with xbuntu ip range, like maybe it has a fixed range it can only assign and is out of vista's range, where it looks [06:32] mine only does simply file hosting and it doesn't even use all of its 96 megs of memory [06:34] ics is a pain even when it is working, its hard to know what turn it takes, you would be better of with a little router from ebay or something [06:34] modem/router [06:35] then one machine does not have to rely on the other for net access [06:36] yea, but im cheap :D [06:37] my headaches went away when i gout a router/modem, they are for nothing these days, real cheap if not need wireless router/modem [06:39] i don't think ICS likes working in vista anyways [06:40] MK13_: If you need to work with just your existing hardware, why not set up the Ubuntu server as the router/firewall machine, it can run a DHCP server to serve an IP to the laptop behind it... ? [06:40] jmarsden: i am looking for instructions to do that, do you know a way? [06:41] Yes. The Ubuntu box has two NICs, right? [06:41] OpenLDAP vs. Fedora Directory Server: Which one is easier to administer? [06:42] jmarsden: no, but all i want is to get the two computers connected, hot worried with internet while they are connected tho [06:42] not* [06:42] Oh... So... you have a crossover ethernet cable? or a switch? [06:43] jmarsden: it is just a cat6 patch cord, but vista machine is automatic crossover compatible [06:43] Do you have a third computer so you can use IRC while you are setting this up, BTW? [06:43] shot in the dark, Fedora : http://ubuntuforums.org/showthread.php?t=206202 [06:44] nope, just two computers [06:44] OK. So why not just wire them together and set static IPs on each one, say 192.168.0.1 on Ubuntu and 192.168.0.2 on Vista... and you are done. [06:45] how would i set up a static ip for ubuntu ( i just want to make sure I get it right) [06:45] Is this Ubuntu server or desktop? [06:46] server [06:47] For server see https://help.ubuntu.com/8.10/serverguide/C/network-configuration.html (but keep a copy of any files you modify so you can put things back later) [06:47] also if done this way and no auto assigning, u must state the dns servers and gateway ip if you want both to see the internet also i think, so probe ur isp for the dns servers and gateway ip, [06:47] Jeff1: He already said they will not see the Internet... no interface left to connect to the Internet :) [06:48] This is just a two node local network. no Internet connection at all. [06:48] damn [06:48] major wall [06:48] lol [06:49] wait, i just realised. When i set up my eth0 device as DHCP set, then it gets assigned weird IPv6 addresses, and so does my vista machine [06:50] What does that have to do with anything about this 2 machine static network? [06:51] I refuse to teach you IPv6 networking tonight... too much work :) [06:51] is ur modem to get on the net (what ur using now) a usb modem? [06:51] yea, but is there anyway to force it to IPv4? [06:51] i use the built in modem of the laptop [06:52] Yes, set the interface IP addresses statically is one simple way :) [06:52] then so theres a free LAN socket [06:52] kk [06:52] on lappy [06:53] Yes, it means MK13_ can possibly set the wired LAN interfaces statically and stay Internet-connected on the laptop. [06:53] http://pastebin.ubuntu.com/118330/ - that is the Vista side of the ethernet connection if ur interested [06:53] a will a way [06:53] yea, except the modem is what i use at home, but i use ethernet at the university [06:53] after 20 hail marys for ics of course [06:54] MK13_: ... you have a Cat6 patch cord that goes from your home to the University??? Must be a really long cord? [06:54] hahah [06:55] i was about to suggest cups and strings but now not so sure [06:55] yea, I bet u've never seen a 15 mile long ethernet cord b4 ;P [06:55] So right now are the two PCs at home, neaer enough to each other for your Cat6 cord to connect them? [06:55] the omage is gota get weak alone that jog [06:56] along* [06:56] jmarsden: yep [06:57] OK, then the university setup is irrelevant for right now. So hook the two PCs up with the patch cord and set the two wired interfaces to static IP addresses in the same subnet, and off we go :) [06:57] btw on a side note... using ICS i've hooked up a ps3 to dialup b4 :) [06:58] I've done dialup from Siberia to the USA before... a few years ago... Telebit Trailblazer modems... :) [06:58] BBS here [06:58] late 90/91 [06:59] and big sexy phone bills [06:59] Anyway... back to the present... how is the two machine network coming along? [07:00] Should be about 1 minute per machine to reconfigure each interface... and we've been here more than two minutes... so does it work yet? :) [07:02] restarting the server now... [07:02] You should have just done /etc/init.d/networking restart, much quicker... [07:03] Unless you are replacing hardware or upgrading the kernel, you pretty much do not need to reboot Linux machines, ever. [07:03] last time i did that it didn't restart completely [07:04] http://www.newegg.com/Product/Product.aspx?Item=N82E16833127079 - would this be sufficeint just to make my network simpler? [07:05] with out diving into the router world, my experence is any router works better than ics [07:05] Theoretically yes, but the reviews of it are all rather negative... [07:05] i would goto ebay and still look for something ugil'yr and cheaper [07:06] Much cheaper than $20 including shipping may be hard to find, for a working router... [07:06] just imagine , u could plug the ps2 in also [07:06] when i got back into the server, it wasn't connected and upon issuing "ifconfig" eth0 doesnt show up [07:06] if u can afford that, then go for it, cus atleast its fast delivery of store [07:06] ps3* [07:06] Sounds like you mis-edited /etc/network/interfaces? [07:07] forgot auto eth :( [07:08] that d-link is a great wee deal [07:08] 4x lan ports to, the main thing, and ur not along getting d-link [07:08] alone* [07:10] You're not alone running Ubuntu either ... there's a sizable Ubuntu user community :) [07:10] growing [07:11] And I guarantee a Ubuntu box can become a more flexible router than the Dlink box can :) Anyway... how is that 2 node network now? [07:11] ubuntu rox [07:12] i am logged into server via ssh on the Vista computer :) [07:12] Bingo. Job done :) [07:12] yayy [07:12] thnx [07:12] No problem. [07:13] invoice is is the post [07:13] in* [07:13] lol [07:13] and only ubuntu is set as static, I'll just change it to reflect vista's since it is only meant for file transferring [07:13] we tryed to email it but we got a bounce [07:14] lol [07:14] MK13_: Sure, if this is just a temporary setup, and it works, that's all that counts. [07:14] agreed [07:15] after u do ur task, i deare u to tempt evil with a quick auto assign and reboot both, i bet it works [07:15] what? [07:15] change from static to auto assign ip's [07:15] see if it kicks in [07:16] booting linux first [07:16] so, you are saying to change the ubuntu back to DHCP? [07:16] only when you had all ur work done, not mentaly now [07:17] but is that what you mean, is just to switch ubuntu back to DHCP? [07:18] yes [07:18] 22 [07:18] kk, (forgot num lock was on) [07:19] thnx for the help ppl [07:20] sleeps time , cu jmars, and cheers early'r [07:20] No problem. BTW, according to http://www.home-network-help.com/ics-host.html for Vista ICS you have to set the local NIC static at 192.168.0.1 ... may help if you do want to try the ICS approach later. [07:20] I should sleep too... [07:20] yes in the correct range [07:21] something like that about ics, also ports are a problem , there is 3rd party tool to edit them, MS dont allow ics to do certin things [07:21] sleep well [07:26] New bug: #329629 in bacula (universe) "package bacula-director-pgsql 2.4.2-1ubuntu6 failed to install/upgrade: le sous-processus post-installation script a retourné une erreur de sortie d'état 1" [Undecided,New] https://launchpad.net/bugs/329629 [07:26] New bug: #329632 in dhcp3 (main) "System is not resolvable by DNS when using DHCP" [Undecided,New] https://launchpad.net/bugs/329632 [09:09] New bug: #329647 in postfix (main) "package postfix None [modified: /var/lib/dpkg/info/postfix.list] failed to install/upgrade: subprocess pre-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/329647 [09:33] how do I unmount /sda1 from resuce mode so I can fsck it ? [09:35] umount /dev/sda1 ? [09:46] i was in /target [09:46] a cd .. fixed it [09:47] the error was the least clear if ever seen it said invalid paramater [09:47] :D === ogra_ is now known as ogra [12:25] New bug: #329682 in samba (main) "samba lock files (also local ones)" [Undecided,New] https://launchpad.net/bugs/329682 [13:30] how can I run a script automatically when a packge is installed? [13:59] Davedan: Can you elaborate? [13:59] What are you trying to do? [14:08] I want to analize the packages list and send a mail with the changes when apt is used to install or update a package [14:08] apt-listchanges [14:12] Davedan: ...should be all you need. [14:14] soren: how can I configure it to send mail not to localhost? [14:15] and how do I access mails sent to the admin@localhost? [14:15] do I need to install some mail client? [14:16] I want to do something similar but with http instead of through mail but couldn't find where apt-listchanges hook to apt [14:34] hang on, /me is on the phone. [14:35] Davedan: You need some sort of mta, yes. [14:36] Davedan: Either a proper one like postfix or exim or sendmail or whatever, and then redirect root's mail somewhere else, or use something like msmtp. [14:37] ...but this is hardly unique for apt-listchanges. If you want to send mail (which was your initial requirement), you need something that can do that. :) [14:38] soren: how do I inspect the admin mail on localhost? [14:38] just to see the apt-listchanges works [14:39] less /var/mail/$username [14:41] can I send xmlrcp to a webserver instead of mail? [14:41] you mean from? [14:42] what's wrong with webserver sending a mail? [14:42] it doesn't have to have opet port 25 [14:42] opet port 25? [14:42] open [14:43] http feels lighter and can be done with few python lines [14:43] while smtp is heavy? :) [14:44] telnet mail.server.com 25 [14:44] ehlo mail.server.com [14:45] mail from: webserveradmin@domain.com [14:45] rcpt to: admin@domain.com [14:45] DATA [14:45] Subject: mail from listchanges [14:45] (type in mail) [14:45] . [14:45] quit [14:47] where do I put this stuff? [14:47] still i don't see a reason why you wouldn't have postfix running on your webserver [14:47] apt-listchanges does this automatically right? [14:47] without smtpd running [14:47] you are complicating something that's just too easy [14:47] install apt-listchanges [14:47] install postfix [14:47] comment out smtpd in /etc/postfix/master.cf [14:48] set up an alias in /etc/aliases [14:48] and that's it [14:48] alias in /etc/aliases ? [14:48] yes, where will mail for admin go [14:48] ok I'll try it [14:48] thanks [14:49] the reason I want to 'simplify' it a bit is because I want it all to be automatically installed [14:49] without manually configuring it [14:50] for deployment on multiple servers? [14:50] yes [14:50] maybe even as an apt package [14:51] if they are going to have same ubuntu version [14:51] i don't see a point in listing changes for all of them [14:51] since they all have the same changes [14:51] they have base ubuntu version but might have different packages installed [14:51] ok [14:53] what I want is to be able to see packages conflicts of customers with our package [14:53] but I don't want the customers to have to install things manually [14:54] i guess better aproach would be to hook up on landscape-client [14:54] and then just create a landscape-like service [14:55] it will give you much more than just packages [14:57] ivoks: what else? from searching about it it looks like it give control over the server [14:58] you'll be able to install packages on machine [14:58] iirc, create users and groups [14:58] that's too much and open security issues [14:58] see system statys [14:58] all I want is to get the packages list [14:58] installed packages? [14:59] I don't want remote control, only to be notified when a new package is installed [14:59] i see [14:59] apt-listchanges is the best thing to do [15:00] create a deb package that will install postfix and apt-listchanges [15:00] that package would setup postfix to only listen on localhost [15:00] and it would create an alias in /etc/aliases to send mail to you [15:00] and that's it [15:01] ivoks: so when it receives an email on localhost it forward it to me? [15:01] yes [15:01] but it will probably send me other mails that are not related to new packages [15:01] another security issue :) [15:01] yes, it will send all system related issues [15:02] I guess it is a good start and if it works in test I can tweak the python code in apt-listchanges to do something else on update [15:02] maybe you can set up an email to which changes will be sent [15:02] i don't know [15:02] but you will need mail server anyway [15:03] ok thank you very much!!! [15:03] np [16:05] ivoks: apt-biff hasn't been written yet [16:05] :) [16:08] thank you very very much [16:11] okay, I've installed vino [16:12] using tightvnc on windows, how would I connect to my server? [16:15] ubuntu server doesn't ship vnc service [16:15] if you haven't installed ssh service during installation, there's no remote way you can connect to it [16:16] ugh [16:16] okay, let me re-cap I changed stuff [16:16] I don't use GUI on my server, I just installed kde I think [16:17] I only ssh into it and I wanted to see about VNC [16:18] so I installed x11vnc (meant for running from command line [16:19] but I don't even know what port to connect to or anything [16:19] 5900 is default vnc port [16:20] I keep getting a failed, this sucks [16:21] as it names suggests [16:21] x11vnc is vnc for x11 [16:21] as any other VNC service [16:21] you can't run vnc on server [16:21] there's ssh for that [16:21] I need graphic applications [16:21] you can run vnc service only inside GUI/X11 [16:21] I installed x11 [16:21] I should be able to VNC for god's sake [16:22] did you start x11? [16:22] startx returns server is already active for display 0 [16:22] ok, did you start x11vnc? [16:23] yep [16:23] and you configured it to listen on which port? [16:23] I didn't go ahead with that [16:23] one moment [16:24] check with 'netstat -natp' [16:24] ivoks: I've installed apt-listchanges and configured it to send mail on changes. If I understand correctly it should do it automatically when I'm installing a new package but /var/mail folder is empty [16:25] ivoks: it doesn't show up :( [16:25] what the crap? [16:25] tangentcollision: you didn't start it [16:25] my bad, it is there, it just hid :P [16:25] 6011 apperently, how odd [16:25] trying again [16:26] Davedan: it will send changes of packages [16:26] Davedan: where it ends depends on your mail server's configuration [16:26] Davedan: and /etc/aliases [16:27] I just want to see changes somewhere browser/mail whatever and then I`ll change it [16:28] but I thought it should happen automatically with me needed to call it from the command line [16:28] i never used apt-listchanges [16:29] but i do know that it can show changes automaticaly [16:29] check it's config [16:29] google it [16:29] wait a minute [16:29] I've tried :) [16:29] it only shows loopback on the netstat [16:29] :) [16:29] "When configured as an APT plugin it will do this automatically during upgrades" [16:30] that sounds like a problem I think [16:30] Davedan: check /etc/apt.conf.d/ [16:30] tangentcollision: problems it that you didn't configure it [16:31] I see [16:31] I don't see such folder [16:31] I guess I'll hunt down the config file [16:31] Davedan: check /etc/apt/apt.conf.d/ [16:31] tangentcollision: x11vnc --help [16:31] ok [16:32] I have the file 20listchanges [16:32] which has: [16:32] DPkg::Pre-Install-Pkgs { "/usr/bin/apt-listchanges --apt || test $? -ne 10"; }; [16:32] DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2"; [16:34] oh god yyesss [16:34] this is beautiful [16:38] except now I have a black vnc after trying to change users :P [16:39] tangentcollision: your questions aren't server related [16:39] sorry, it started out as server related, vnc server [16:39] nobody else would answer my question period [16:40] tangentcollision: you should ask on #ubuntu for questions about VNC or some window releated channel about windows support for xdmcp [16:40] ivoks: I tried for 2 days [16:41] and I've thanked you for your help, good day [16:42] * tangentcollision passes out on the keyboard [16:54] trying to install lamp server from sudo tasksel install lamp-server # and it appears to be stuck on installing packages 0% [16:55] any suggestions [16:59] scratch that seems to be moving now [17:07] ok how do i develop a webserver page [17:10] /var/www/index.html presents excellent start :) [17:11] ivoks what is that and how do I access it? [17:12] steelcityjim: developing web pages is out of scope of this channel [17:12] most of us (if not all) aren't web developers [17:12] i know just looking for some direction [17:12] you [17:13] lamp set up and my ip is working [17:13] you get It works? [17:13] yes [17:13] great [17:13] that means its done correctly right [17:13] that 'It works' is in /var/www/index.html [17:13] I just do web hosting, ftp and ssh [17:13] that's a file on your server [17:14] which means the browser accessed the server for the file correct? [17:14] correct [17:14] great success [17:19] ivoks can you recommend a channel for this? [17:19] web development? [17:19] uf... no, not really [17:19] that is a very broad question [17:19] you should start with html, css and javascript [17:19] ok [17:19] those three languages can allow you to do lots of things [17:20] w3schools.com [17:20] php or .net after that [17:20] or skip all that stuff and move into future - python [17:21] i want to start with a basic page couple pics and text with a link to the file share [17:21] html can do that [17:21] ivoks: I am just learning python, pretty fun language :) [17:22] do you really need to know "language" [17:22] depends on what you want [17:22] if you just want it to write 'I'm cool', then no [17:22] if you want it do something depending on some other actions, then yes [17:24] netko me slijedi, cini mi se :D [17:24] I'll just start with "im cool" [17:24] lol [17:24] uh, wrong channel [17:50] not finding any good direction on this [17:53] steelcityjim: your comments make it appear that you want to become a master hacker in 10minutes [17:54] you need to put some effort into reading about the different technologies you are trying to work with [17:55] do you even know what LAMP stands for? Is that what you really needed? [17:55] sounds like you just needed Apache [17:56] maw Im not trying to hack anything [17:56] >.< [17:57] hacker doesn't mean criminal, it is the correct word for someone who manipulates code [17:57] the media just uses that word to talk about bad people [17:57] lol [17:57] im new to linux and just created my first server and would like to create a web page [17:57] domain is setup [17:57] good, I am happy for you. everyone starts from 0 [17:58] but if you overwhelm yourself you will just give up [17:58] just trying to figure out how im not finding the tutorials in detail like the server set ups [17:58] without buying some books off amazon [17:58] there is no man html [17:59] someone said earlier... w3schools.com [17:59] ya that is a good site [18:00] yea I looked at that site [18:00] done already? [18:01] I think that is humanly impossible [18:01] try this one [18:01] http://www.webmonkey.com/tutorial/tag/web_basics [18:01] read through every html tutorial [18:01] actually do the examples [18:01] and you will learn [18:02] but coming to IRC and asking "how do I html"... will get few replies [18:02] get a basis and ask a technical question and someone can probably assist [18:02] but 0 knowledge... you won't find much assistance [18:03] buy some o'reilly books... they are usually decent [18:03] ok one basic question [18:03] I see how you enter the text [18:04] am I creating a file with this in it ? [18:04] and if so is that done from the text editor [18:04] ya [18:04] so for example [18:04] what desktop OS are you using? [18:04] ubuntu 8.10 [18:05] ok, for simplicity just use "text editor" [18:05] I was told nano is simple? [18:05] applications > accessories [18:05] nano is a CLI tool [18:05] but you can use that too [18:05] vi,emacs,pico,nano,ed... use whatever you want [18:05] it is just text data [18:06] that gets parsed by an engine of some sort [18:06] html,php,.net etc.. [18:06] isnt pico just nano ? [18:06] nano is an enhanced version AFAIK [18:06] i know in debian at the start there was only pico [18:06] and later came nano [18:06] thou i never noticed the difference [18:07] http://www.nano-editor.org states "improved pico editor" [18:07] I don't use it myself, so I am not sure either :P [18:07] what you use then ? [18:07] surely nothing exists apart from vi/vim? ;) [18:08] ya vi [18:08] imho vi isnt easy to use, only benefit with it is that its available everywhere [18:08] yes I agree [18:08] and that is why I am still struggling to master it [18:08] Sure, there is a learning curve required for vim, but, once you've mastered it, it's pretty good. Of course, nano is pretty easy to use for anyone. [18:09] its not that hard to learn its just not easy to use [18:09] you have to press more buttons [18:09] to get the same result then with nano [18:09] you won't find nano on a Unix machine [18:09] luckly i havent played around with unix much [18:09] thou old days forced me to learn vi [18:09] I wouldn't say that ;) ...freebsd is nice [18:09] freebsd has nano [18:10] not by default [18:10] not out of the box [18:10] but still package is available [18:10] installing nano/bash is first steps in my bsd installs [18:10] ya their ports is quite extensive [18:10] imho that default shell just sucks [18:10] /bin/sh ? [18:10] or was it csh [18:10] one of them [18:10] sh [18:11] csh might be obsd [18:11] either way, I also prefer bash [18:11] yeah openbsd is the one i play around the most [18:11] building carp/pfsync routers [18:11] cool [18:11] I use pf at home on my firewall [18:12] that is my experience with obsd :P [18:12] i had some problems with my nic at home router [18:12] it is a very manual OS [18:12] so im using ubuntu as routing device [18:13] ipfilter,ipfw,pf I guess are the main 3 [18:13] I have limited experience with all of them [18:14] where can I find info on apt.conf.d ? [18:14] there is an extensive man page apt.conf [18:15] thx [18:16] what is the difference between apt.conf.d and apt.conf? [18:29] maw one more quick question [18:30] this "it works" file is a text file somewhere on my server correct? [18:30] I could open this and edit it correct? [18:32] steelcityjim: yes [18:32] I think it is in /var/www/htdocs/index.html [18:32] so... nano /var/www/htdocs/index.html [18:33] or find /var/www -iname index.html [18:34] ok I did the nano /var/www/htdocs/indes.html and it brought up the nano editior [18:34] and is there html code in that file? [18:35] or blank? [18:35] but no "it works" [18:35] blank [18:35] ok that could because of permissions or the file doesn't exist there [18:35] find the file and then open it [18:36] when i did find /var/www -iname index.html nothing came up [18:36] is that because its not html? [18:46] found a site with some templates [18:50] that would work a template that I could insert a pic or to and some text would rock [19:10] ok anyone ever use a template site? [19:11] Im curious if the only thing you can edit is the text === axisys is now known as axisys_away [19:29] steelcityjim : depending of the template, you may edit also the logo color and shape too [19:29] How come libdb4.7 is available for the desktop versions but not for the server versions? [19:31] anyone heard of joomla? [19:32] there was the line log-facility local7 in /etc/dhcp3/dhcpd.conf and I added the line local7.debug /var/log/dhcpd.log and it started logging in both /var/log/messages and /var/log/dhcpd.conf. how can I make it log only to /var/log/dhcpd.log ? === axisys_away is now known as axisys [20:06] how do i install one of these templates [20:18] zip file on my linux pc [20:29] how do I load the html files to my website? [20:34] hi is anyone here using ntop on server specifically to track internet usage for each host connecting? I'm not sure how to configure it tho I have it running [20:35] My server is using a 3g modem and hosts connect to the servers network card - the ppp0 connection is shared [20:36] can someone help/comment pls? [20:37] hello [20:37] can anyone tell me how to load a web page template to my website? [20:37] I have all the files on my server [20:38] steelcityjim: most hosted sites have cpanel access - does yours? [20:38] not sure im using lamp [20:38] this if my first server bn [20:40] um when u say website - is this hosted or are you accessing your site through your own server? [20:40] my own site from my server [20:41] its set up and configured correctly just trying to get template content on it [20:41] steelcityjim: try in var/www [20:41] most of the time all you do is load all files in /var/www [20:41] what he said [20:41] and access it thru browser with http://localhost should work [20:42] ok so find /var/www [20:42] ok it game me /var/www/indes.html [20:44] ? normally standard file is index.html or index.php [20:44] hiii! [20:44] your browser automatically looks for this file and loads this [20:46] ok i found the var www folder [20:46] and it contains the html It works file [20:46] so I just switch the html files [20:46] steelcityjim: there u need place your website [20:48] ok how do i move this damn file [20:48] wont let me copy and paste [20:48] gksudo nautilus [20:50] don't have permisiion to save file? [20:52] steelcityjim: u will need to have root access - use sudo before command - ie sudo cp blah blah - it will ask you for your password [20:53] hmmmmmm [20:54] oh thats if you use the command line to do your stuff - r u using nautilus to copy? [20:55] trying to bn [20:55] I was just able to edit the existing html file [20:55] changed the it works message [20:55] gonna try and drop the new html file in and see what happens [21:03] Anybody successful with tunnelbroker and UFW? IPv6 works fine when UFW turned off === ajmitch_ is now known as ajmitch [21:06] vodacom in south africa [21:07] ok that kinda worked [21:07] the html file opened on my site [21:08] but Im guessing because the other files were not with it the other stuff did not run === ivoks_ is now known as ivoks [21:09] when I do nautilis am i supposed to be moving the files via command line [21:09] or drag and drop on the desktop? [21:10] hello, anyone from the team behing new tomcat scripts in jaunty ? [21:18] im not doing something right [21:19] the html file has loaded to the site but the css files that go along are not [21:22] ghmmmm [21:23] dear ubuntu people, I have a server, that is trying to resync it's RAID array, and crashes every time in the end [21:23] how do you edit your web page in the browser? [21:23] what should I do? :) [21:36] how do you edit your web page in the browser? <--- you can't [21:37] hi. i could not stop thinking that pinning based on source-package names could be very useful ... anyone has oposite meening ? [21:37] kart I thought once you had the files loaded you could edit in your browser [21:44] is there a function to find out what was the last installed package on the server? [21:47] tail -f /var/log/dpkg.log [21:53] how do the html css and ie files get blended into one offering? [21:57] ScottK: that's great. Do you happen to know how can I extract only the last package? [21:57] Davedan: Not precisely, but that's the file the information is in. You can process it however works for you. [21:59] ScottK: is it possible that this file will be deleted or unlikely? [22:00] Davedan: The file will always be there. It will be empty just after logrotate, but then the information will be in dpkg.log.1. [22:01] Davedan, you could write a small script, to do it. [22:02] Davedan, tail -n 1 /var/log/dpkg.log | cut -d ' ' -f5 would output the package name, but it may not always be "install", it could be an upgrade or similar... [22:02] Davedan, depends what you need to do... (tail -n 1 /var/log/dpkg.log) will output the whole line. [22:04] dazman: thanks [22:04] It might be easier for me to do it with python [22:06] because I need only the last installed package [22:06] From looking at proftpd logs it looks like people are trying to brute force me. Is there a way to log the attempted password as well as the username so I can see if I'm at any risk of being brute forced? [22:06] Davedan, yep.. [22:10] do css files get placed in teh var/www also? [22:18] steelcityjim: all the static files are placed in a folder accesible to your web server [22:18] steelcityjim: slicehost have a nice tutorial on suggested folder structure [22:18] ok im reading a few tutorials that both talk about ftp upload of the files to the website [22:19] How is this done/ [22:19] where is your server? [22:19] do you experiment locally or is it hosted somewhere? [22:20] if you have a shared hosting you usually have an easy web interface for this stuff [22:21] i have my own server [22:21] if you have access to it you don't need ftp [22:21] ok thats what I thught [22:21] ftp is unsecure but it is used to upload files over the network [22:21] i have been able to move the template html file to var www folder [22:22] and that page comes up on my site [22:22] usually you have sub folders underthe www folder to structure your website/websites [22:22] ok [22:22] what are you trying to do now? [22:22] im trying to do a webpage [22:23] you just did :) [22:23] downloaded a template page (cause its gonna take me motnths to figure this out) [22:23] the template has css files, html and its supposed to be customizable to an extent [22:23] templates usually have all the files and folder structure needed [22:24] just extract it under www and it should work fine [22:25] ok so I move the zip folder into the www folder and extract all files? [22:27] yep === andyfailran is now known as andylockran [22:30] gksudo nautalis gets me root right [22:32] gksudo runs gui application in root [22:32] sudo is for terminal commands [22:32] its telling me I don't have access to move this file again [22:32] not sure... [22:33] anyway, web folders and files permissions are tricky [22:33] that's why I told you about the slicehost folder [22:33] you are the user that moving around files but apache is the user that should be able to access them [22:34] no its local right next to me [22:34] scratch that [22:37] ok how do I get to root [22:38] file system folder is locked to root owner only [22:38] I don't recall creating a password for root? [22:39] sudo foo should do what you need. [22:39] sudo foo command not found [22:39] What are you trying to do? [22:39] on ubuntu you can't login as root (I think) but you have sudo [22:40] foo should be whatever command you need. [22:51] hello, is there any reason that the new dovecot-postfix package is "Architecture: any"? [22:51] ok im now at root@desktop and I still can't move this file [22:52] it only contains a single conffile, so either it mis-built, or the package should be "Arch: all" [22:54] james_w: arch: all means that it's buildable on all archs or i'm wrong [22:55] james_w: arch any means that it's architecture independant package. for dependency holder and config-only package it's fine to be arch all. [22:56] james_w: i made some dependency-holding packages for internal purpose in our company and they are arch all too ...see http://open.prv.etn.cz/testing/pkg-meta/etpol-essential/ [22:58] jahor: I'm looking for someone that knows about what this package is meant to do, so they can tell me if it's a mistake or not. [22:58] it's landed in binary NEW, and I don't want to accept it until I know whether it was intentional [22:59] ivoks isn't around right now, so I hoped someone else might be online [23:01] And LVM experts in the house? Anyone know how to revert a pvmove? [23:02] (the destination drive died) [23:02] james_w: ah so. sorry then. the only thing i know is that it was announced maybe on ubuntu planet as a new postfix+dovecot integration [23:02] jahor: thanks, I'll take a look [23:04] nice, It doesn't answer my question, but it sounds pretty cool :-) [23:04] james_w: ;o) [23:09] james_w: I think it should have been arch all. [23:10] james_w: Since it's such a small package I don't think it hurts to accept and and he fixes in the next upload. [23:11] ScottK: thanks, I'm asking how to handle this case now, as I just found a second like this from the server team :-) [23:11] That's the only one I know anything about. [23:12] the advice is to accept anything that's not dangerous and file a bug on it [23:12] Sounds reasonable. [23:15] ok you need to do gksudo gedit [23:15] to edit the html file on the var/www folder [23:15] however its still not launching the who site [23:25] New bug: #329878 in dovecot (main) "dovecot-postfix is Architecture: any" [Undecided,New] https://launchpad.net/bugs/329878