/srv/irclogs.ubuntu.com/2009/02/15/#ubuntu-server.txt

lukehasnonameQuestion:00:00
lukehasnonameWhat is the difference between a vanilla OpenLDAP setup from Ubuntu's repos and something like Fedora Directory Server?00:00
jmarsdenI suspect lots of predefined schemas and tools for managing them... but I've not used Fedora Dir Server00:02
* jmarsden is going AFK for a while, hopefully back later...00:06
rdw200169lukehasnoname, well, they both provide LDAP, i only know openLdap though... point of note:  openLdap uses the dn=config system now instead of config file00:08
lukehasnonameI 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.00:13
=== axisys_away is now known as axisys
vikramldap is just a simple db, thats all00:30
andolvikram: It is? I always imagined it being a protocol :-)00:33
vikramMisnomer00:34
lukehasnonameIt's a spec for a type of database00:37
lukehasnonamethat's how I see it00:37
lukehasnonamein any case, I'm reading that FDS is easier to use and manage than OpenLDAP00:38
vikramIts commonly used for providing authentication00:38
vikramWindows Domain Controller uses an ldap db00:38
vikrambut once you cross 2000 clients, most people prefer the performance of kerberos over ldap00:39
vikramMicrosoft 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 entries00:41
Jeff1hello, 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 it00:46
Deepsmight need libapache2-mod-perl200:48
Jeff1ok, so thats a basic apt-get method?00:48
Deepssure00:48
Jeff1thx00:48
Jeff1is there a way, now on topic, to restart perl on my box00:50
Deepsrestart perl?00:50
Deepsperl's an interpretter, it runs on demand00:50
Deepsdo you mean reload apache's config so it's aware of the newly installed mod_perl?00:51
Jeff1I mean anything needed to let apache2 know its now there or something00:51
Jeff1yes00:51
Deepsapache2ctl reload, /etc/init.d/apache2 reload, invoke-rc.2 apache2 reload, 3 options, take your pick00:51
Deepsok not apach2ctl, lol00:51
Mal3kohow to allow port ranges with ufw?00:51
Jeff1ha! thanks chief00:51
Deepsapache2ctl graceful i think00:51
Deepsi tend to use the init scripts personally anyway, easy to tab complete and all services are listed in there00:52
Deepsls /etc/init.d/, you'll find a lot in there, running them without args tells you what args they accept00:52
Jeff1i shal reboot incase00:58
Mal3kohow to allow port ranges with ufw?01:13
ScottKI'm pretty sure man ufw will explain that.01:20
steelcityjimcan anyone assist with at ssh setup01:33
ScottKDepends on what kind of help you need.  What's the problem.01:34
steelcityjimi just loaded ssh01:37
steelcityjimsetting up an acct witn no-ip.com01:38
steelcityjimNo i have to redirect something on my router01:39
steelcityjimdownloading a file from a website that how do I run it?01:41
steelcityjimdo I open with archive manager?01:42
LH[wget url?01:42
steelcityjimgot a file on my desk top how do I run it?01:45
LH[click on it01:46
LH[brb booting ubuntu01:47
steelcityjimok it brought up a list of files01:47
steelcityjimwhat is the executable in linux?01:48
steelcityjimanyone?01:53
steelcityjimhave a tgz file in my download bin how do I run it?01:53
steelcityjimactually tar.qz01:54
LHCIll try01:55
LHCwhats the link to the download01:55
steelcityjimno-ip.com01:56
steelcityjimdownloaded the file01:56
LHCare u running ubuntu as your os, or ssh to a ubuntu server01:56
steelcityjimits on my desktop when I double click it I get  aarchive mgr01:56
steelcityjimsetting up ssh to a ubuntu desktop01:57
LHCoh01:57
LHCjoin #ubuntu01:57
LHCI want to know too cause Idk how01:57
ha1331is it possible to install window xp on KVM that runs on a server without X?02:07
jmarsdensteelcityjim: Do not run random files... what are you really trying to do?!02:08
jmarsdensteelcityjim: 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.gz02:18
steelcityjimok I got it jmarsden02:22
steelcityjimi did sudo apt-get install no-ip02:22
steelcityjimlooks like it loaded correctly02:22
steelcityjimnow I guess i need to configure my router02:23
jmarsdenAh, 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:23
steelcityjimok so im redirecting port 80?02:25
jmarsdenBTW 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
jmarsdenNo, for SSH (unles syou reconfigured it) you are redirecting the ssh port, which is TCP port 2202:25
steelcityjimok is 80 if you do a webpage?02:25
jmarsdengrep ssh /etc/services will tell you.  and yes, TCP port 80 is the standard port for a web server to run on.02:26
jmarsdengrep http /etc/services will tell you that :)02:26
steelcityjimwhat is grep http /etc/services02:28
steelcityjimI don't see anything in my router config about redirecting02:29
steelcityjimwould i be looking for single port forwarding?02:31
jmarsdensteelcityjim: grep http /etc/services  is a command that you type at a shell prompt in Ubuntu02:31
jmarsdenAnd possibly, that depends on your router.02:31
steelcityjimlynksys02:32
steelcityjimlinksys02:32
jmarsdenYour router probably does not run ubuntu server, so you need to ask specific questions about using that elsewhere... :)02:32
steelcityjimI 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
jmarsdenYou do.  So do it, but if you do not know how, that is not a ubuntu-server issue...02:34
mrcoodleshow do i change the resolution for ubuntu server (its just the console) under vmware. its too small.02:41
steelcityjimjmarsden tcp protocol correct?02:43
jmarsdenAt [18:25:376] I said: <jmarsden> No, for SSH (unles syou reconfigured it) you are redirecting the ssh port, which is TCP port 2202:44
LHCjmarsden, still helping as good as ever xD02:44
jmarsdenSo I answered that question about 20 minutes ago... :)02:45
LHCim running ubuntu locally right now02:45
steelcityjimsorry im on like 4 different channels02:45
LHCits called ubermicro steelcityjim  xD02:45
steelcityjimjmarsdens gonna help me set up some users here in a min02:46
jmarsdenmrcoodles: Just set it up so you can ssh into it and use your favourite terminal app?02:46
LHCsteelcityjim, are you settin it up so users can use ftp and are locked to a fir02:48
LHCdir02:48
steelcityjimyes thats what I'd like to do02:48
LHCI need to do the same thing haha ill watch closely02:49
LHCits got something to do with chroot02:49
jmarsdensteelcityjim: sudo useradd johndoe    # to add a user called johndoe02:49
jmarsdenLHC: Last time I checked steelcityjim is setting up SSH not FTP ...02:49
LHCoh02:49
steelcityjimhow do I do password jmarsden and restrict directories?02:50
LHCis that so you can log in and use the cli ?02:50
jmarsdenYes, 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:50
jmarsdensteelcityjim: sudo passwd johndoe   # and type in his pw when it promots you to.02:51
LHClol wow02:51
LHCever use wireshark? it grabs all the passwords from your local network02:51
LHCi was shocked when it showed up so i use ssl on sites02:51
jmarsdenLHC: I use wireshark a fair bit for network troubleshooting. it does a lot more than that, btw :)02:52
jmarsdenLHC: for me, setting up SSH is easier than setting up the "secure" variations of FTP...02:52
steelcityjimok user set up02:53
steelcityjimrock on jmarsden02:53
LHCso its apt-get install openssh etc02:53
jmarsdensudo apt-get install openssh-server  # yes02:53
LHCclose haha02:53
LHCits already installed on my server dammit xD02:55
jmarsdenOf course, how else do you think you are using Putty to connect to the server? :)02:55
LHChow would ya be able to set it up in the first place?02:55
jmarsdenAt install time, from the server console.02:56
jmarsdenOn a headless server you might be doing that over a serial console, or whatever...02:56
LHCfook.us.to02:57
LHCthanks to you jmarsden  :D02:57
LHClovely jquery works02:57
steelcityjimjmarsden when my new no-ip address is entered into a browser what should happen will ssh promt for a sign on and password03:00
jmarsdenInto a browser??  Have you set up a webserver on it?03:00
jmarsdenInto FileZilla, if filezilla is set up right, yes, they will be prompted for their password03:01
steelcityjimoh no03:01
jmarsdenThen if they use a web browser they won't get very far :)03:02
steelcityjimlol03:02
steelcityjimDOH03:02
LHChaha03:02
LHCjmarsden how many servers over irc and your own have you set up xD03:03
jmarsdenNo idea... "lots"?03:03
LHC-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------03:03
LHC-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------03:03
LHC--------------------------------------03:03
LHCeach dash is a server haha03:04
steelcityjimfilezilla under construction?03:04
LHCwhat03:04
LHChttp://filezilla-project.org/03:04
jmarsdenTry http://filezilla-project.org/download.php03:04
jmarsdenActuallt their home page at http://filezilla-project.org/ works fine for me, too.03:05
LHCsame03:05
vorianeh03:05
steelcityjimok so they have to download the client piece?03:05
LHCsome hacker has his traffic running through a server :O03:06
LHCjk03:06
jmarsdensteelcityjim: well, unless you want to mail then a CD containing it, or something...03:06
LHCxD03:06
steelcityjimwhy cant the windows client communicate?03:06
LHCwhat os are u on03:07
jmarsdenWhich windows client?  The filezilla windows client communicates using SFTP with your SSH server...03:07
LHCyou just have to enter in your info in the sitemanagaer03:07
jmarsdenAs does any other SSH-based SFTP client for any OS...03:07
steelcityjimso the sftp part is encrypted?03:08
LHCsecureftp03:08
steelcityjimvs regular ftp03:08
LHCyes03:08
jmarsdenWindows 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
LHCas jmarsden said ftp blindy gives out your pass03:08
steelcityjimso you could use windows if you wanted your stuff dangling in the wind?03:09
jmarsdenUse windows??? You can use Windows any way you want, including using FileZilla on Windows, or Putty on Windows, or whatever....03:09
LHCopenssh on windows allows you to use the ssh command :P thought I advertise that03:10
jmarsdenSee http://www.openssh.com/windows.html for alternatives03:11
steelcityjimok now I can't test this from my network correct03:11
Kamping_Kaiserjmarsden, winscp (for doze)03:11
jmarsdenIs listed on the page I referred to.03:12
jmarsden steelcityjim You can test the SSH part, just not the router port open part.03:12
LHCwhats this router part?03:12
steelcityjimhow do i test the ssh part03:13
jmarsdenIf 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
jmarsdensteelcityjim: Install filezilla on a local windows box and configure it to point at the local Ip of your server03:13
jmarsdenTell it to use SFTP and a username and pw of your choice...03:14
Kamping_Kaiserjmarsden, no worries then (just finished reading up)03:14
Kamping_Kaisertesting the port is open is easy - just telnet to it. testing that the service is configured is harder :)03:14
jmarsdenKamping_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
LHCfilezilla is great I used it forever03:15
jmarsdenI prefer tools I can use on multiple platforms... less to learn and less to remember that way.03:15
ptarrantare 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
Kamping_Kaiserjmarsden, on unix boxes i use scp, so i'm only aware of winscp from using it03:15
ptarrant*im aware freenas isn't ubuntu, just for the record :)*03:16
jmarsdenptarrant: Samba has books and tutorials galore, some of which allow AD style domain setup using it.03:16
Kamping_Kaiserptarrant, what are the client os's?03:16
steelcityjimok ecconn refused03:17
jmarsdenptarrant: http://www.samba.org/samba/docs/03:17
ptarrantjmarsden: 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
ptarrantkamping_kaiser: all of them are using xp or 2k03:17
Kamping_Kaisereeeh ok. there might be something in wiki.ubuntu.com or help.ubuntu.com03:18
jmarsdenWhy do you need LDAP to stick around, in that case?  Do you have Windows servers in the mix?03:18
Kamping_Kaiserpersonally, i just gave up trying to configure ldap+samba *cringe*03:18
ptarrantjmarsden: all the servers are 2k303:18
ptarrantkamping: 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.1003:19
jmarsdenAh.  So you are not migrating from them to Ubuntu?03:19
jmarsden"I'd love to migrate everything to Ubuntu" implies migrating the servers too??03:20
steelcityjimjmarsden can I enter nothing for a password03:20
ptarrantfor 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 solution03:20
jmarsdensteelcityjim: If you actually set up a blank pw, yes03:20
ptarranti need to make sure it will work before i swap them out for ubuntu server :)03:20
jmarsdenptarrant: In a totally Linux solution why do you think you need LDAP at all?03:21
Kamping_Kaiserfwiw, i hear fedora directory service is much better then openldap (only tried ol though)03:21
jmarsdenAre we talking thousands of accounts type of a setup here?03:21
ptarrantdoesn't LDAP basically replace AD, or did i mis-read?03:21
ptarrantwe are talking about 400 student accounts and aroudn 100 staff accounts03:21
jmarsdenAD uses LDAP...03:21
ptarrantahh so its a translator03:22
Kamping_KaiserAD uses x500, not ldap per se (unless the've gutted it recently)03:22
jmarsdenYou could use any solution you like that your Ubuntu servers will work with...03:22
Kamping_KaiserAD is DAP + stuff on top for integration.03:22
ptarrantso what would be the directory for ubuntu? are there many choices? or do i just make them users?03:23
ptarranti've only been using / learning linux for about 3 months03:23
ptarrantso excuse the dumb questions here :)03:23
steelcityjimim being denied by my server03:24
jmarsdenYou might want to read http://www.samba.org/samba/docs/using_samba/ch04.html which seems closeto what you are wanting to do03:24
ptarrantthanks jmarsden03:24
jmarsdensteelcityjim: What are you trying exactly and what is the error message you are seeing?03:24
steelcityjimeconnrefused03:24
steelcityjimconnection refused by server03:25
steelcityjimim trying to connect via filezilla03:25
jmarsdenAnd you are sure you told it to use SFTP, right?03:25
steelcityjimwhoops03:26
steelcityjimmy bad03:26
steelcityjimok looks like it connected then gave me authentication failed03:27
jmarsdenSo use a correct username and password :)03:27
steelcityjimwell i did03:27
LHChah03:27
steelcityjimits the one i just set up03:28
jmarsdenIf you did, it would have let you in :)03:28
jmarsdenOK, check /var/log/secure for why it denied you access...03:28
steelcityjimok wait i re did it03:29
steelcityjimdirectory listing successful03:30
steelcityjimis that what im supposed to get?03:30
jmarsdenOk, 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
jmarsdenYou are in business.03:30
LHCyaya03:30
steelcityjimwell now I just need someone to test from the outside03:31
steelcityjimusing my 6burgh.no.ip.org03:31
jmarsdenGive me a login (in a private message) if you want...03:31
jmarsdenOK, that works now but it looks like the user has no home directory of his own?03:37
steelcityjimcan you get to public03:37
steelcityjimyou should see Abba Gold03:37
steelcityjimlol03:37
steelcityjimpublic should be open to everyone03:37
LHCwhats this site for03:38
jmarsdenpublic as in /home/jim/Public ?03:38
steelcityjimfile share with some friend03:38
steelcityjimyes03:38
steelcityjimim just learning lhc03:38
LHCsame03:38
jmarsdenDid you just break it?  Now I can't connect to the machine at all??03:39
steelcityjimno im just sitting here03:39
LHCLOL03:40
steelcityjimI swear i did not touch it03:40
jmarsdenOK... now it works again... odd.  Ok, I can see /home/jim/Public/abba/Gold/*.m4a03:40
steelcityjimohhh gyeeaa03:41
jmarsdenAs well as /home/jim/Public/junk.txt that we created yesterday03:41
steelcityjimyep03:41
steelcityjimso I got it working........roflmao03:41
steelcityjimyou da man jmarsden03:41
jmarsdenOk, I'm out now.  I would suggest you use much better (harder to guess) passwords, and you're set.03:42
LHCpassword is god03:42
steelcityjimyea I will that was just a test03:42
LHCpassword is password03:43
steelcityjimhow fast would you be able to download on that/03:43
jmarsdenHowever fast your ISP lets you upload from your machine.03:43
steelcityjimohhhh mn03:43
steelcityjimman that ain't fast03:44
steelcityjim4 mbs03:44
steelcityjimmbps03:44
LHCget a 100mbps dedi03:44
jmarsdenThat's why people pay for colocated servers with lots of bandwidth03:44
steelcityjimyea but this is free....roflmao03:44
steelcityjimthey can wait03:44
steelcityjimmfers03:44
LHCjmarsden, if you need up to 200gig of storage just ask, Im not using my dedi enough03:45
LHCunlimited bandwidth03:45
steelcityjimwon't be download gigs03:45
jmarsdenOK :)03:45
steelcityjimalbums here or ther03:45
steelcityjimjust for easy access03:45
LHCsteel is your url working03:45
steelcityjimi believe so03:46
steelcityjimjmarsden you used the 6burgh rite?03:46
steelcityjimI don't have a page yet lhc03:46
jmarsdenYes, I did sftp USERNAME@6burgh.no-ip.org03:46
steelcityjimthats my next project webpage03:47
jmarsden(I used the command line sftp client instead of FileZilla, because I'm more a command-line type of person :)03:47
steelcityjimI'd like to have a webpage with some pics general info and then a link to my server files03:47
steelcityjimwill that be doable?03:48
jmarsdensteelcityjim: Then you need to set up a web server and redirect port 80... and yes, that is doable.03:48
LHChaha jmarsden that took me 5 hours to do yesterday03:48
steelcityjimlol03:48
LHCdam comment # #03:48
jmarsdenLHC: Well, because you had a weird LAMPP setup that your buddy created, mainly :)03:49
LHCyeah dam him03:49
steelcityjimis web server a differnt app than ssh03:49
LHCoh Im gettin a new server jmarsden 1.5 tb :D03:49
jmarsdenYes.  Different protocols03:49
steelcityjimoh mfer how will that work with no-ip?03:49
steelcityjimok so now im a little confused03:50
LHCwhynot just use apache and a free domain?03:51
jmarsdensteelcityjim: It will work fine with the no-ip.org domain setup.  Same IP address, so same DNS name.03:52
steelcityjimlhc you got a webpage you created03:52
LHCyep03:52
steelcityjimcan I see it?03:52
LHCthelhc.us.to03:52
LHCits just up there for the time being instead of a nasty NOTHING FOUND sign03:52
jmarsdensteelcityjim: sudo tasksel install lamp-server  # will get your machine set up03:52
jmarsdenThen redirect port 80 just like you did port 22.03:53
jmarsdenThen browse to http://6burgh.no-ip.org and you will see the "It works!" page :)03:53
steelcityjimcan I have them both working at the same time03:53
jmarsdenYes03:54
steelcityjimohhhh swweeeeettttt03:54
steelcityjimlhc green screen with some text?03:54
LHCwhat03:54
steelcityjimyour site03:54
steelcityjimor teel03:54
LHCthere are pics in it03:54
steelcityjimThis visage?03:55
LHCv for vendetta speech03:55
* jmarsden browses to http://thelhc.us.to/ and goes half-blind trying to read white text on light blue... eek!03:56
steelcityjimi don't have any pics on mine03:56
LHChttp://thelhc.us.to/images/Screenshot-2.png03:58
LHCsteelcityjim, you see04:04
rdw200169i 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 coding04:05
owhrdw200169: Really?04:07
rdw200169yeah, like moinmoin, sphinx, drupal, wordpress, etc.. etc..04:07
LHChey rdw20016904:07
rdw200169for example, my site is created w/sphinx i.e. greamin.com04:07
rdw200169absolutely no html on my part, all i did was a little css manipulation04:07
rdw200169LHC, yo, what up04:07
LHCnmnm04:08
LHCgot my domain workin etc thanks to jmarsden04:08
owhrdw200169: So, wordpress is "robust" these days is it? So I can hit it with a million hits in 12 hours?04:08
LHCdid you get those pics?04:08
rdw200169yeah, i haven't done anything w/them though, i'm pretty lazy ;)04:09
LHChaha fair enough04:09
rdw200169owh, robust is relative... i'm talking about good looking, not good performiing04:09
Jeff1i 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 .cgi04:09
rdw200169owh, performance is a matter of the server, bandwidth, firewalls, round-robin webservers, etc...04:09
tonyyarussoowh: besides, that has just as much to do with you server and config as wp04:10
tonyyarussobah, rdw200169 beat me to it04:10
owhrdw200169: 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
jmarsdenJeff1: sudo a2enmod perl perhaps?04:10
jmarsdenJeff1: Assuming you have mod_perl installed in the first place?04:11
rdw200169owh, sorry.  i was using a simple dictionary version of robust.04:11
tonyyarussothat reminds me - I need to download some dict files04:11
jmarsdenrdw200169: 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
rdw200169i did not say that.04:12
jmarsdenYou implied it by your definition of robust being decoupled from hardware04:12
owhrdw200169: 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:12
Jeff1@ jmars -- Module perl already enabled04:13
rdw200169i implied that the factors that determine a websites ability to handle millions of hits involve more than just the html04:13
owhrdw200169: Or are you referring to a different dictionary?04:13
Jeff1.cgi is perfect .pl trys to dnload scripts04:13
rdw200169thats it.  i'm done.  y'all have fun.04:13
owhrdw200169: 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:13
LHCleave rdw200169 aloneeeeeeeeeee04:14
rdw200169owh, quit reading inconsequential things into what i'm saying.  i'm trying to be helpful, and you're being an asshole english teacher.04:14
Jeff1dare i say frontpage and a packet of razor blades ^^04:15
LHCrdw200169, remeber you said things to do with my dedi?04:15
LHCwhat other things can I do, i dont have any ideas xD04:15
owhrdw200169: Thanks for that insult. Very professional of you.04:16
LHCits irc whats professional in here ffs xD04:16
LHCbickering women xD04:17
* owh shakes head.04:17
Jeff1ok guys stay on target, perl .pl  how does one make .pl exec rather than download04:17
steelcityjimjmarsden what was that text editor you recommended last night04:17
Jeff1dont make me buy a mac!!04:17
Jeff1vi is good04:18
jmarsdenJeff1: Give me a sec, I think you need an AddHandler line...04:18
jmarsdensteelcityjim: nano is what I suggested04:18
Jeff1cheers chief04:18
LHCJeff1, whats wrong with a mac haha04:18
LHCexcept its price04:18
Jeff1nothing it will make things work first time04:18
Jeff1just no cash04:18
Jeff1hehe04:18
LHCyeah I know alot of web devs in my uni who have them for some reason04:19
LHCmaybe they like the look or something04:19
Jeff1i ebay's a G3 in UK , started the bid at £1, (no monitor)  it sold for £104:19
Jeff1sold*04:19
LHCwhats the g3? is that a laptop04:21
LHCim sure it he didnt sell it for that much haha04:21
Jeff1it was a desktop unit, but a G3 upgrade card, was really an older model04:22
Jeff1im sierous04:22
Jeff1£10 posting / packing  and it went for £104:22
LHCcool04:22
Jeff1i thaight i would do 1£ start to attract bidders04:22
Jeff1lol04:22
LHCha04:23
LHCI would love to get the old macbook pro04:23
jmarsdenJeff1: 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:23
LHCwhat are u trying to do jeff04:24
Jeff1hmm i try this now04:24
jmarsdenScript was exactly two lines:04:24
Jeff1setup hosting for some sites, cgi mainly for myself cus not very good at php, happy with perl over the years04:24
jmarsden#!/usr/bin/perl04:24
jmarsdenprint "Content-Tyoe: text/plain\n\nHello Perl world\n";04:24
Jeff1having fun with 'ehcp'04:25
LHCwhat does it do04:25
Jeff1nice tool04:25
Jeff1like a basic isp/hosting/reseller sorftare04:25
jmarsdenJeff1: Do you really want to make .pl file execute, or just to use mod_perl inside web pages?04:25
LHCIm going to sell webspace later on04:25
LHCwhen I learn a bit more about permissions which im stuck on04:25
Jeff1some scripts got .pl on them , need them to kick in for outside web'rs04:26
jmarsdenOK.04:26
LHCpoland04:26
Jeff1if rename, then gota rename code here n there, can of worms04:26
jmarsdenJeff1: Does my test script work for you in /var/www/cgi-bin/ ?04:26
steelcityjimok so jmarsden after i install lamp04:26
Jeff1brb04:26
steelcityjimis my desktop gui going to be gone?04:27
jmarsdensteelcityjim: No.04:27
jmarsdenBut you *really* need to stop relying on it!04:27
steelcityjimso i can run it through the terminal04:27
LHChehe04:27
steelcityjimwhat are you laughing at lhc04:28
LHCBut you *really* need to stop relying on it!04:28
LHCplus I like to laugh, sue me04:28
steelcityjimare a command line guy04:28
steelcityjimr u04:28
jmarsdenThis 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
LHCi just started, and I think command line is best04:29
LHCand its fun too04:29
steelcityjimno not trying tongiht jmarsden04:29
jmarsdenOK.04:29
steelcityjimI'll take my shallow vicotry to bed with me04:29
steelcityjimssh server gyyyeeaaa04:30
LHClol04:30
LHCwell done04:30
steelcityjimso im going to do sudo apt-get install lamp04:30
LHCbrb gotta get my password from windows04:31
jmarsdenNo, you are going to do what I told you do to some time ago here in the channel...04:31
jmarsdenAbout 39 minutes ago...04:31
steelcityjimsudo taskell install lamp-server #04:33
jmarsdenYes.04:33
steelcityjimwhat is taskell?04:33
jmarsdenwell, except spell tasksel correctly :)04:33
steelcityjimlol04:33
jmarsdenDo man tasksel to find out all about it.04:33
steelcityjimman tasksel at command prompt/04:34
jmarsdenWhere else? :)04:34
steelcityjimwhere can I find that in the gui?04:34
steelcityjimroflmao04:34
jmarsdenThe command prompt in a GUI is found in a terminal window, so open a terminal window and then type it... ?04:35
steelcityjimi know im messing with you04:35
Jeff1jmars, 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
ScottKOn Konqueror man:/usr/share/man/man8/tasksel.8.gz will work.04:39
ScottKjmarsden: ^^^04:40
jmarsdenJeff1: OK, sounds good to me.04:40
Jeff1now i can be old timer and never move to php and be stub'rn!04:40
Jeff1no more macs for me!04:40
jmarsdenScottK: and you can search for it in the Gnome help GUI thing on a Gnome desktop too... but we're in #ubuntu-server :)04:42
* ScottK has no idea about Gnome. Thanks.04:43
jmarsdenScottK: 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
ScottKOf course.04:44
ScottKMostly I find it kind of ironic the KDE web browser knows man.04:45
jmarsdenYes, they added a ton of unusual schemas to the KDE browser.  ssh: I think, and all kinds of things...04:45
Jeff1jmars, 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:46
LHChey04:47
jmarsdenJeff1: Yes, you should probably prevent ExecCGI stuff from working in any directory users can upload to.04:49
Jeff1thx04:51
jmarsdenNo problem.  You can use ScriptAlias to make /cgi-bin/ work out of someplace only you can write to...04:52
Jeff1i was thinking, its really only me needs it, php covers it all if a client wants a shopcart or whatever04:53
Jeff1i just love making support/contact forms for the sites in perl04:54
LHChmm04:55
LHCtype some perl let me see what it looks like04:55
LHC<?php ?> does it look like php04:55
Jeff110 print "lol"04:55
Jeff120 goto 1004:55
Jeff130 run04:55
Jeff1run04:56
Jeff1no04:56
LHCI hear php is a derivative of it04:56
Jeff1its crap for working with html in most cases04:56
Jeff1yes04:56
Jeff1its better i guess, just to someone like me thats more visual oddity than brains, perl is where the home is04:56
LHCI forgot what i was meant to do xD04:57
jmarsdenLHC: Read a tutorial, such as http://www.perl.com/pub/a/2008/04/23/a-beginners-introduction-to-perl-510.html04:57
Jeff1you have to \ all ur "04:57
LHCim already on a php one haha04:57
jmarsdenAnd Jeff1, there are serious web app frameworks written in Perl, such as Mason and webgui and so forth...04:57
LHCwhat are they used for04:57
Jeff1but there is mods to putput html between quotes to , but not good in any area of perl, sometimes you must \ the "'s04:57
jmarsdenLHC: Building dynamic web sites of various kinds, CMS systems, etc.04:58
LHCcool04:58
Jeff1is there a gui/lib to make perl more used for gui programing?04:58
Mal3kojmarsden04:58
LHCI may add a blog thing to my school site, I may build it myself04:58
LHCcss is piss easy compared to this, and I used to think it was hard haha04:59
Jeff1have you's ever messed with basic04:59
Jeff1like visual basic 6.004:59
jmarsdenJeff1: For non-web GUI app building in Perl... let me look... I suspect there are binding for some GUI toolkits...05:01
Jeff1gnome is what ubuntu uses default for gui right?05:03
jtajiJeff1: that is correct05:03
jmarsdenJeff1: wxWidgets has Perl bindings, so that would be one way to go...05:04
ScottKGnome is the Ubuntu standard, but there are siblings built around others, most notably KDE and Kubuntu and Xfce and Xubuntu.05:04
jmarsdenAnd there is POE which can do GTK stuff... http://poe.perl.org/05:05
Jeff1activesite seem to have been making visual perl at one time05:09
Jeff1now activeperl pro i beleve05:09
ScottKqt4 apparently has Perl bindings, but I can't find that anyone has packaged them.05:09
LHCjmarsden, whats that bit for rebooting apache05:10
LHCI just added another domain05:10
jmarsdenLHCL Take notes or start logging in your IRC client :)  On your setup I think it was   sudo /opt/lampp/bin/apachectl restart05:11
LHCcheers, I did copy that but im on ubuntu dualboot instead of my normal xp05:11
jmarsdenWhen you consider running Ubuntu "normal" we will have made progress :)05:12
LHChaha05:12
jmarsdenYou should be able to access your XP partition from Ubuntu though...05:12
LHCyeah ubuntu is easy, it used to be foreign to me now its ok05:12
LHChow?05:12
jmarsdenmount the relevant partition(s)05:13
jmarsdenSee https://help.ubuntu.com/community/MountingWindowsPartitions/ThirdPartyNTFS3G for one approach05:14
LHCoh I used wubbie I dont think there is a partition05:15
LHCwubi05:15
LHCor am I mistaken Idk05:15
Jeff1oh POE is cross platform, win32 also i think05:15
jmarsdenLHC: WUBI has a way to get at the surrounding XP NTFS filesystem, I am pretty sure... but I forget what it is...05:16
jmarsdenJeff1: So is wxWidgets I am fairly sure.05:17
LHCcoool05:17
LHCill google it :D05:17
Jeff1wow05:18
jmarsdenLHC: type mount and see what is there, maybe a partition called /media or similar...?05:18
Jeff1even cewindows  stuff05:18
Jeff1.net  very very visual basic 605:18
LHCnope05:19
LHC/dev/sda1 on / type ext3 (rw,errors=remount-ro)05:20
LHCtmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)05:20
LHCsysfs on /sys type sysfs (rw,noexec,nosuid,nodev)05:20
LHCvarrun on /var/run type tmpfs (rw,nosuid,mode=0755)05:20
LHCvarlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)05:20
LHCudev on /dev type tmpfs (rw,mode=0755)05:20
LHCtmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)05:20
LHCdevpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)05:20
LHC/dev/sda2 on /home type ext3 (rw)05:20
LHCsecurityfs on /sys/kernel/security type securityfs (rw)05:20
Jeff1audacity was made with wxwidgets!05:22
jmarsdenHm.  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:22
Jeff1http://audacity.sourceforge.net/ next best thing to wavelab and it free!05:23
jmarsdenLHC: See https://wiki.ubuntu.com/WubiGuide#How%20do%20I%20access%20the%20Windows%20drives?05:25
LHCty05:26
Jeff1for Ubuntu 8x one would dnload wxGTK-2.8.9.tar.gz version of wxW ?05:27
Jeff1lol theres even os2 port, god is that still alive!05:29
jmarsdenJeff1: No, it has been packaged, use your usual package management tools.05:33
Jeff1@ jmars, was you expecting a CTCP responce mirc for windows lol05:33
LHCjmarsden, that was easy haha05:33
Jeff1i wish i had my FreeDOS/irc in action there...05:34
LHCoh jmarsden after thinking of things to do with my server, im thinking Ill create a few accounts so people can upload stuff05:36
Jeff1cheers for the tip on wxW, i think i will check it on windows first to get quick look,  nearly 6am here, bed calls!!05:37
Jeff1cu LHC, jmars, thx again05:38
LHCsame here Jeff105:38
LHC5:38 opps lol05:38
Jeff1oh uk?05:38
LHCbye05:38
LHCyep05:38
Jeff1mainland?05:38
LHCbelfast05:38
Jeff1n,ireland here05:38
Jeff1nbo way05:38
Jeff1no05:38
LHCLOLLLLLLLLLLLLLLLLLLLLLLLLLLLLL05:38
Jeff1lol05:38
LHCwhatttttttttttttttt05:38
Jeff1im out side05:38
Jeff170mile05:38
LHCthats funny05:38
Jeff1big wheel!05:38
LHCim about 10 mile from city hall05:39
Jeff1alright there big wheel!05:39
LHCits shit xD05:39
Jeff1lol05:39
Jeff1nice05:39
LHCwhere abouts? omagh05:39
Jeff1i used to visit there alot belfast05:39
Jeff1arts collage/Shine05:39
Jeff1clubs05:39
Jeff1yes05:39
LHChaha I go to the arts college05:39
Jeff1omagh05:39
Jeff1haha05:39
Jeff1lol05:39
LHCstiff kitten shine is amazing05:39
LHCsoulwax :P05:39
Jeff1good old homer shake ur brain05:39
Jeff1nice05:39
LHCthats random as hell05:40
Jeff1you ever see fish do deep up there?05:40
LHCnahh, any good?05:40
Jeff1deep house outfit05:40
Jeff1from cork05:40
Jeff1they bigtime05:40
Jeff1famous track05:40
Jeff1the cure the cause05:40
LHChear of japanese popstars05:40
Jeff1vocals by tracey K05:40
Jeff1youtubbe it05:40
LHCbrand new?05:40
Jeff1they play in belfast not so long ago05:40
Jeff1a few years now but it will ring a bell05:40
Jeff1i will land here tomarrow for a yearn05:41
LHChttp://www.youtube.com/watch?v=nJTzjBd35wg05:41
Jeff1yarn*05:41
Jeff1small world man05:41
LHCyeh indeed xD05:41
LHCespecially when you thought everyone else was in bed05:41
Jeff1hahaha05:41
Jeff1should be but linux gets the better of me sometimes05:42
LHCmy whole family is up cause my parents doing night shift this week xD05:42
Jeff1one more ciggy wont hurt05:42
LHCI think i did hear this track05:42
Jeff1cools05:42
Jeff1yes famous one, good outfit to see live, house music not my main cup of tea but thats good house!05:42
Jeff1brb05:43
LHChouse is good, I like electro etc justice boys noize, japanese popstars are from derry they do housey tracks real club bangers05:43
MK13i 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
ropetinMK13: Are you planning on doing that for internet access sharing or something?05:51
MK13i am using the server as a file-backup type set-up05:52
ropetinNo real need to set up DHCP or anything then, can  you just statically assign IPs?05:53
ropetinAnd use a cross over cable05:53
MK13don't need a crossover cable, a cat6 patch cable works since the laptop has automatic crossover capabilities05:53
MK13;)05:54
ropetinAhhh, neato05:54
ropetinSo just statically assign IPs and you're good to go05:54
twbIMO 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
MK13that's the problem, I don't really know how to w/out conflicting the vista computer (it is connected to the internet)05:55
ropetinMK13: does it have a second NIC?05:55
ropetintwb: 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:56
MK13i 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
MK13no second NIC... at home i have to suffer with dial-up05:57
MK13and can't setup ad hoc connection because the server doesn't have wireless card05:58
Jeff1i hear ya @ japanese popstars05:58
twbropetin: static IP configuration requires the configuration to exist on *both* the server and the client.05:58
Jeff1u ever hear the saunters track05:58
Jeff1from the derry lads05:58
twbropetin: 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:58
Jeff1like a cover of 'my united states of america'05:59
LHCsaunters? nah, I bought their album too!05:59
ropetintwb: OK :)05:59
Jeff1its very funny05:59
Jeff1let me find05:59
LHCill look it up05:59
ropetinMK13: If you don't have anythnig acting as a DHCP server, then it won't get anything, you're right05:59
twbropetin: it's pretty easy if your DHCP server handlse /etc/ethers :-)05:59
MK13well, is there any way to get vista to "act" like the DHCP server to assign the IP when the server connects?05:59
ropetinProbably easier to set up Linux as the DHCP server05:59
MK13or use bind9 on the Ubuntu server?06:00
ropetinA little over kill I think06:00
MK13how do i set ubuntu up as DHCP then?06:00
Jeff1http://www.youtube.com/watch?v=nTtbRY5CuCE06:00
LHCty06:00
ropetinI've used dnsmasq in the past as a DHCP server, very easy to configure06:00
ropetinAnd can do DNS if you need it06:01
ropetinUnless twb has another suggestion?06:01
LHCLOL06:01
LHCever hear of big girl ?06:01
MK13firefox had an error, and it took chatzilla with it :(06:02
twbI also am a fan of dnsmasq, but not that it does not receive support from Canonical.06:02
ropetinWhat does?06:02
LHChttp://www.youtube.com/watch?v=6feq0ME1s3Y&feature=related06:02
Jeff1i got no sound on this box06:02
Jeff1going to have to get it sorted06:02
LHCoh anyways, it goes like "big girl you are fat as fuck"06:03
LHCxD06:03
twbropetin: packages in the 'main' category nominally do06:03
Jeff1lol06:03
LHC"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
Jeff1lol06:03
LHCtheres not that many things like that from here but they are always hilarious06:04
ropetinHmmm, ok06:05
Jeff1http://www.youtube.com/watch?v=3fT-jX11poU06:05
Jeff1a classic!06:06
LHChaha i heard this on radio 1 I think06:06
Jeff1the best bit is when she says 'fill your boots man' at the end06:07
LHCor on someones phone06:07
LHChaha06:07
ropetinMK13: Does that make sense?06:07
MK13does what make sense?06:07
LHCthe top boss yeah? xD06:08
LHCyou want it blown up, ill do whatever haha06:08
Jeff1as they say in belfast, it'ill meeek a big baaaang06:08
Jeff1lol06:08
LHChaha06:08
LHClad06:08
LHClaud06:08
Jeff1http://www.youtube.com/watch?v=_hfv0_LQSnA also a classic!06:08
MK13could i use the debian .deb package for the Ubuntu Server 8.10  ?06:09
LHCthis one is near done haha its awesome06:09
ropetinMK13: you can't do an 'apt get install'?06:09
MK13The 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 ICS06:10
ropetinAhhh, in which case, you can download the deb on the other machine and transfer it across on a USB key or whatever, yes06:11
MK13http://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:12
ScottKMK13: You would want one compiled on the Ubuntu 8.10 tool chain.  One from Debian might work.  It might not.06:13
LHChere Jeff1 nice talkin to ya, but im about to pass out from lack of sleep haha all the best06:14
LHCbye06:14
twbMK13: dnsmasq is part of Ubuntu.06:14
ScottKSource compatibility with Debian is an explicit design goal of Ubuntu.  Binary compatibility is not.06:14
MK13that's what i thought...06:14
Jeff1cu bro06:14
twbMK13: you need to activate the unsupported "universe" category.06:14
MK13the server doesn't have internet access tho06:14
twbMK13: then use packages.ubuntu.com/dnsmasq, not packages.debian.org.06:15
Jeff1mk13 does the linux box have any connection to the vista? like normal network?06:15
MK13the connection to Vista is what i am trying to acheive06:15
Jeff1you know theres an optnio in vista/xp that u must check first that states that other machines can use the 'internet' through it06:16
MK13is 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
MK13Jeff1: I have ICS enabled06:17
Jeff1if u have a normal network between linux/vista i.e u can see files06:17
Jeff1then 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 files06:18
MK13no, 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 other06:19
MK13Jeff1: I know.... I connect other computer like that, but the server version of ubuntu just wont for some reason06:19
Jeff1u mean u have a network card in both machines and a cable between them?06:19
uvirtbotNew bug: #329622 in openssh (main) "buffer_get_ret: trying to get more bytes 4 than in buffer 0" [Undecided,New] https://launchpad.net/bugs/32962206:20
MK13_my setup is: Internet -> Vista Laptop --ICS Enabled-> Server06:22
Jeff1i 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:22
Jeff1i 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 faster06:23
MK13_lol, my server finds my 3-com 3c905B 100BaseTX [Cyclone] rev 3006:27
Jeff1i thaught it would of atleast found my netgear06:29
MK13_yea, the problem i face isn't hardware issues. Just the fact that there isn't an acting DHCP server06:30
MK13_although I still don't see why Vista doesn't assign it one, as it does the desktop version06:31
Jeff1anyways ubuntu desktop/hosting server seems to do well for me, but i did notice my memory (512) was eat'n up pretty quick06:31
Jeff1maybe 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 looks06:32
MK13_mine only does simply file hosting and it doesn't even use all of its 96 megs of memory06:32
Jeff1ics 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 something06:34
Jeff1modem/router06:34
Jeff1then one machine does not have to rely on the other for net access06:35
MK13_yea, but im cheap :D06:36
Jeff1my headaches went away when i gout a router/modem, they are for nothing these days, real cheap if not need wireless router/modem06:37
MK13_i don't think ICS likes working in vista anyways06:39
jmarsdenMK13_: 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
MK13_jmarsden: i am looking for instructions to do that, do you know a way?06:40
jmarsdenYes.  The Ubuntu box has two NICs, right?06:41
lukehasnonameOpenLDAP vs. Fedora Directory Server: Which one is easier to administer?06:41
MK13_jmarsden: no, but all i want is to get the two computers connected, hot worried with internet while they are connected tho06:42
MK13_not*06:42
jmarsdenOh... So... you have a crossover ethernet cable?  or a switch?06:42
MK13_jmarsden: it is just a cat6 patch cord, but vista machine is automatic crossover compatible06:43
jmarsdenDo you have a third computer so you can use IRC while you are setting this up, BTW?06:43
Jeff1shot in the dark, Fedora : http://ubuntuforums.org/showthread.php?t=20620206:43
MK13_nope, just two computers06:44
jmarsdenOK.  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:44
MK13_how would i set up a static ip for ubuntu ( i just want to make sure I get it right)06:45
jmarsdenIs this Ubuntu server or desktop?06:45
MK13_server06:46
jmarsdenFor 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
Jeff1also 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
jmarsdenJeff1: He already said they will not see the Internet... no interface left to connect to the Internet :)06:47
jmarsden This is just a two node local network. no Internet connection at all.06:48
Jeff1damn06:48
Jeff1major wall06:48
Jeff1lol06:48
MK13_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 machine06:49
jmarsdenWhat does that have to do with anything about this 2 machine static network?06:50
jmarsdenI refuse to teach you IPv6 networking tonight... too much work :)06:51
Jeff1is ur modem to get on the net (what ur using now) a usb modem?06:51
MK13_yea, but is there anyway to force it to IPv4?06:51
MK13_i use the built in modem of the laptop06:51
jmarsden Yes, set the interface IP addresses statically is one simple way :)06:52
Jeff1then so theres a free LAN socket06:52
MK13_kk06:52
Jeff1on lappy06:52
jmarsdenYes, it means MK13_ can possibly set the wired LAN interfaces statically and stay Internet-connected on the laptop.06:53
MK13_http://pastebin.ubuntu.com/118330/ -  that is the Vista side of the  ethernet connection if ur interested06:53
Jeff1 a will a way06:53
MK13_yea, except the modem is what i use at home, but i use ethernet at the university06:53
Jeff1after 20 hail marys for ics of course06:53
jmarsdenMK13_: ... you have a Cat6 patch cord that goes from your home to the University???  Must be a really long cord?06:54
Jeff1hahah06:54
Jeff1i was about to suggest cups and strings but now not so sure06:55
MK13_yea, I bet u've never seen a 15 mile long ethernet cord b4 ;P06:55
jmarsdenSo right now are the two PCs at home, neaer enough to each other for your Cat6 cord to connect them?06:55
Jeff1the omage is gota get weak alone that jog06:55
Jeff1along*06:56
MK13_jmarsden: yep06:56
jmarsdenOK, 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
MK13_btw on a side note... using ICS i've hooked up a ps3 to dialup b4 :)06:57
jmarsdenI've done dialup from Siberia to the USA before... a few years ago... Telebit Trailblazer modems... :)06:58
Jeff1BBS here06:58
Jeff1late 90/9106:58
Jeff1and big sexy phone bills06:59
jmarsdenAnyway... back to the present... how is the two machine network coming along?06:59
jmarsdenShould 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:00
MK13_restarting the server now...07:02
jmarsdenYou should have just done /etc/init.d/networking restart, much quicker...07:02
jmarsdenUnless you are replacing hardware or upgrading the kernel, you pretty much do not need to reboot Linux machines, ever.07:03
MK13_last time i did that it didn't restart completely07:03
MK13_http://www.newegg.com/Product/Product.aspx?Item=N82E16833127079   -  would this be sufficeint just to make my network  simpler?07:04
Jeff1with out diving into the router world, my experence is any router works better than ics07:05
jmarsdenTheoretically yes, but the reviews of it are all rather negative...07:05
Jeff1i would goto ebay and still look for something ugil'yr and cheaper07:05
jmarsdenMuch cheaper than $20 including shipping may be hard to find, for a working router...07:06
Jeff1just imagine , u could plug the ps2 in also07:06
MK13_when i got back into the server, it wasn't connected and upon issuing "ifconfig" eth0 doesnt show up07:06
Jeff1if u can afford that, then go for it, cus atleast its fast delivery of store07:06
Jeff1ps3*07:06
jmarsdenSounds like you mis-edited /etc/network/interfaces?07:06
MK13_forgot auto eth :(07:07
Jeff1that d-link is a great wee deal07:08
Jeff14x lan ports to, the main thing, and ur not along getting d-link07:08
Jeff1alone*07:08
jmarsdenYou're not alone running Ubuntu either ... there's a sizable Ubuntu user community :)07:10
Jeff1growing07:10
jmarsdenAnd 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
MK13_ubuntu rox07:11
MK13_i am logged into server via ssh on the Vista computer :)07:12
jmarsdenBingo.  Job done :)07:12
Jeff1yayy07:12
MK13_thnx07:12
jmarsdenNo problem.07:12
Jeff1invoice is is the post07:13
Jeff1in*07:13
Jeff1lol07:13
MK13_and only ubuntu is set as static, I'll just change it to reflect vista's since it is only meant for file transferring07:13
Jeff1we tryed to email it but we got a bounce07:13
Jeff1lol07:14
jmarsdenMK13_: Sure, if this is just a temporary setup, and it works, that's all that counts.07:14
MK13_agreed07:14
Jeff1after u do ur task, i deare u to tempt evil with a quick auto assign and reboot both, i bet it works07:15
MK13_what?07:15
Jeff1change from static to auto assign ip's07:15
Jeff1see if it kicks in07:15
Jeff1booting linux first07:16
MK13_so, you are saying to change the ubuntu back to DHCP?07:16
Jeff1only when you had all ur work done, not mentaly now07:16
MK13_but is that what you mean, is just to switch ubuntu back to DHCP?07:17
Jeff1yes07:18
MK13_2207:18
MK13_kk, (forgot num lock was on)07:18
MK13_thnx for the help ppl07:19
Jeff1sleeps time , cu jmars, and cheers early'r07:20
jmarsdenNo 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
jmarsdenI should sleep too...07:20
Jeff1yes in the correct range07:20
Jeff1something like that about ics, also ports are a problem , there is 3rd party tool to edit them, MS dont allow ics to do certin things07:21
Jeff1sleep well07:21
uvirtbotNew 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/32962907:26
uvirtbotNew bug: #329632 in dhcp3 (main) "System is not resolvable by DNS when using DHCP" [Undecided,New] https://launchpad.net/bugs/32963207:26
uvirtbotNew 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/32964709:09
Killerkiwihow do I unmount /sda1 from resuce mode so I can fsck it ?09:33
ropetinumount /dev/sda1 ?09:35
Killerkiwii was in /target09:46
Killerkiwia cd .. fixed it09:46
Killerkiwithe error was the least clear if ever seen it said invalid paramater09:47
ropetin:D09:47
=== ogra_ is now known as ogra
uvirtbotNew bug: #329682 in samba (main) "samba lock files (also local ones)" [Undecided,New] https://launchpad.net/bugs/32968212:25
Davedanhow can I run a script automatically when a packge is installed?13:30
sorenDavedan: Can you elaborate?13:59
sorenWhat are you trying to do?13:59
DavedanI want to analize the packages list and send a mail with the changes when apt is used to install or update a package14:08
sorenapt-listchanges14:08
sorenDavedan: ...should be all you need.14:12
Davedan soren: how can I configure it to send mail not to localhost?14:14
Davedanand how do I access mails sent to the admin@localhost?14:15
Davedando I need to install some mail client?14:15
DavedanI want to do something similar but with http instead of through mail but couldn't find where apt-listchanges hook to apt14:16
sorenhang on, /me is on the phone.14:34
sorenDavedan: You need some sort of mta, yes.14:35
sorenDavedan: 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:36
soren...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:37
Davedansoren: how do I inspect the admin mail on localhost?14:38
Davedanjust to see the apt-listchanges works14:38
ivoksless /var/mail/$username14:39
Davedancan I send xmlrcp to a webserver instead of mail?14:41
ivoksyou mean from?14:41
ivokswhat's wrong with webserver sending a mail?14:42
ivoksit doesn't have to have opet port 2514:42
Davedanopet port 25?14:42
ivoksopen14:42
Davedanhttp feels lighter and can be done with few python lines14:43
ivokswhile smtp is heavy? :)14:43
ivokstelnet mail.server.com 2514:44
ivoksehlo mail.server.com14:44
ivoksmail from: webserveradmin@domain.com14:45
ivoksrcpt to: admin@domain.com14:45
ivoksDATA14:45
ivoksSubject: mail from listchanges14:45
ivoks(type in mail)14:45
ivoks.14:45
ivoksquit14:45
Davedanwhere do I put this stuff?14:47
ivoksstill i don't see a reason why you wouldn't have postfix running on your webserver14:47
Davedanapt-listchanges does this automatically right?14:47
ivokswithout smtpd running14:47
ivoksyou are complicating something that's just too easy14:47
ivoksinstall apt-listchanges14:47
ivoksinstall postfix14:47
ivokscomment out smtpd in /etc/postfix/master.cf14:47
ivoksset up an alias in /etc/aliases14:48
ivoksand that's it14:48
Davedanalias in /etc/aliases ?14:48
ivoksyes, where will mail for admin go14:48
Davedanok I'll try it14:48
Davedanthanks14:48
Davedanthe reason I want to 'simplify' it a bit is because I want it all to be automatically installed14:49
Davedanwithout manually configuring it14:49
ivoksfor deployment on multiple servers?14:50
Davedanyes14:50
Davedanmaybe even as an apt package14:50
ivoksif they are going to have same ubuntu version14:51
ivoksi don't see a point in listing changes for all of them14:51
ivokssince they all have the same changes14:51
Davedanthey have base ubuntu version but might have different packages installed14:51
ivoksok14:51
Davedanwhat I want is to be able to see packages conflicts of customers with our package14:53
Davedanbut I don't want the customers to have to install things manually14:53
ivoksi guess better aproach would be to hook up on landscape-client14:54
ivoksand then just create a landscape-like service14:54
ivoksit will give you much more than just packages14:55
Davedanivoks: what else? from searching about it it looks like it give control over the server14:57
ivoksyou'll be able to install packages on machine14:58
ivoksiirc, create users and groups14:58
Davedanthat's too much and open security issues14:58
ivokssee system statys14:58
Davedanall I want is to get the packages list14:58
ivoksinstalled packages?14:58
DavedanI don't want remote control, only to be notified when a new package is installed14:59
ivoksi see14:59
ivoksapt-listchanges is the best thing to do14:59
ivokscreate a deb package that will install postfix and apt-listchanges15:00
ivoksthat package would setup postfix to only listen on localhost15:00
ivoksand it would create an alias in /etc/aliases to send mail to you15:00
ivoksand that's it15:00
Davedan ivoks: so when it receives an email on localhost it forward it to me?15:01
ivoksyes15:01
Davedanbut it will probably send me other mails that are not related to new packages15:01
Davedananother security issue :)15:01
ivoksyes, it will send all system related issues15:01
DavedanI 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 update15:02
ivoksmaybe you can set up an email to which changes will be sent15:02
ivoksi don't know15:02
ivoksbut you will need mail server anyway15:02
Davedanok thank you very much!!!15:03
ivoksnp15:03
lamontivoks: apt-biff hasn't been written yet16:05
ivoks:)16:05
tangentcollisionthank you very very much16:08
tangentcollisionokay, I've installed vino16:11
tangentcollisionusing tightvnc on windows, how would I connect to my server?16:12
ivoksubuntu server doesn't ship vnc service16:15
ivoksif you haven't installed ssh service during installation, there's no remote way you can connect to it16:15
tangentcollisionugh16:16
tangentcollisionokay, let me re-cap I changed stuff16:16
tangentcollisionI don't use GUI on my server, I just installed kde I think16:16
tangentcollisionI only ssh into it and I wanted to see about VNC16:17
tangentcollisionso I installed x11vnc (meant for running from command line16:18
tangentcollisionbut I don't even know what port to connect to or anything16:19
ivoks5900 is default vnc port16:19
tangentcollisionI keep getting a failed, this sucks16:20
ivoksas it names suggests16:21
ivoksx11vnc is vnc for x1116:21
ivoksas any other VNC service16:21
ivoksyou can't run vnc on server16:21
ivoksthere's ssh for that16:21
tangentcollisionI need graphic applications16:21
ivoksyou can run vnc service only inside GUI/X1116:21
tangentcollisionI installed x1116:21
tangentcollisionI should be able to VNC for god's sake16:21
ivoksdid you start x11?16:22
tangentcollisionstartx returns server is already active for display 016:22
ivoksok, did you start x11vnc?16:22
tangentcollisionyep16:23
ivoksand you configured it to listen on which port?16:23
tangentcollisionI didn't go ahead with that16:23
tangentcollisionone moment16:23
ivokscheck with 'netstat -natp'16:24
Davedanivoks: 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 empty16:24
tangentcollisionivoks: it doesn't show up :(16:25
tangentcollisionwhat the crap?16:25
ivokstangentcollision: you didn't start it16:25
tangentcollisionmy bad, it is there, it just hid :P16:25
tangentcollision6011 apperently, how odd16:25
tangentcollisiontrying again16:25
ivoksDavedan: it will send changes of packages16:26
ivoksDavedan: where it ends depends on your mail server's configuration16:26
ivoksDavedan: and /etc/aliases16:26
DavedanI just want to see changes somewhere browser/mail whatever and then I`ll change it16:27
Davedanbut I thought it should happen automatically with me needed to call it from the command line16:28
ivoksi never used apt-listchanges16:28
ivoksbut i do know that it can show changes automaticaly16:29
ivokscheck it's config16:29
ivoksgoogle it16:29
tangentcollisionwait a minute16:29
DavedanI've tried :)16:29
tangentcollisionit only shows loopback on the netstat16:29
ivoks:)16:29
Davedan"When configured as an APT plugin it will do this automatically during upgrades"16:29
tangentcollisionthat sounds like a problem I think16:30
ivoksDavedan: check /etc/apt.conf.d/16:30
ivokstangentcollision: problems it that you didn't configure it16:30
tangentcollisionI see16:31
DavedanI don't see such folder16:31
tangentcollisionI guess I'll hunt down the config file16:31
ivoksDavedan: check /etc/apt/apt.conf.d/16:31
ivokstangentcollision: x11vnc --help16:31
Davedanok16:31
DavedanI have the file 20listchanges16:32
Davedanwhich has:16:32
DavedanDPkg::Pre-Install-Pkgs { "/usr/bin/apt-listchanges --apt || test $? -ne 10"; };16:32
DavedanDPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";16:32
tangentcollisionoh god yyesss16:34
tangentcollisionthis is beautiful16:34
tangentcollisionexcept now I have a black vnc after trying to change users :P16:38
ivokstangentcollision: your questions aren't server related16:39
tangentcollisionsorry, it started out as server related, vnc server16:39
tangentcollisionnobody else would answer my question period16:39
ivokstangentcollision: you should ask on #ubuntu for questions about VNC or some window releated channel about windows support for xdmcp16:40
tangentcollisionivoks: I tried for 2 days16:40
tangentcollisionand I've thanked you for your help, good day16:41
* tangentcollision passes out on the keyboard16:42
steelcityjimtrying to install lamp server from sudo tasksel install lamp-server # and it appears to be stuck on installing packages 0%16:54
steelcityjimany suggestions16:55
steelcityjimscratch that seems to be moving now16:59
steelcityjimok how do i develop a webserver page17:07
ivoks/var/www/index.html presents excellent start :)17:10
steelcityjimivoks what is that and how do I access it?17:11
ivokssteelcityjim: developing web pages is out of scope of this channel17:12
ivoksmost of us (if not all) aren't web developers17:12
steelcityjimi know just looking for some direction17:12
ivoksyou17:12
steelcityjimlamp set up and my ip is working17:13
ivoksyou get It works?17:13
steelcityjimyes17:13
ivoksgreat17:13
steelcityjimthat means its done correctly right17:13
ivoksthat 'It works' is in /var/www/index.html17:13
tangentcollisionI just do web hosting, ftp and ssh17:13
ivoksthat's a file on your server17:13
steelcityjimwhich means the browser accessed the server for the file correct?17:14
ivokscorrect17:14
steelcityjimgreat success17:14
steelcityjimivoks can you recommend a channel for this?17:19
ivoksweb development?17:19
ivoksuf... no, not really17:19
maw_that is a very broad question17:19
maw_you should start with html, css and javascript17:19
steelcityjimok17:19
maw_those three languages can allow you to do lots of things17:19
Deepsw3schools.com17:20
maw_php or .net after that17:20
ivoksor skip all that stuff and move into future - python17:20
steelcityjimi want to start with a basic page couple pics and text with a link to the file share17:21
maw_html can do that17:21
maw_ivoks: I am just learning python, pretty fun language :)17:21
steelcityjimdo you really need to know "language"17:22
ivoksdepends on what you want17:22
ivoksif you just want it to write 'I'm cool', then no17:22
ivoksif you want it do something depending on some other actions, then yes17:22
ivoksnetko me slijedi, cini mi se :D17:24
steelcityjimI'll just start with "im cool"17:24
steelcityjimlol17:24
ivoksuh, wrong channel17:24
steelcityjimnot finding any good direction on this17:50
maw_steelcityjim: your comments make it appear that you want to become a master hacker in 10minutes17:53
maw_you need to put some effort into reading about the different technologies you are trying to work with17:54
maw_do you even know what LAMP stands for? Is that what you really needed?17:55
maw_sounds like you just needed Apache17:55
steelcityjimmaw Im not trying to hack anything17:56
maw_>.<17:56
maw_hacker doesn't mean criminal, it is the correct word for someone who manipulates code17:57
maw_the media just uses that word to talk about bad people17:57
steelcityjimlol17:57
steelcityjimim new to linux and just created my first server and would like to create a web page17:57
steelcityjimdomain is setup17:57
maw_good, I am happy for you. everyone starts from 017:57
maw_but if you overwhelm yourself you will just give up17:58
steelcityjimjust trying to figure out how im not finding the tutorials in detail like the server set ups17:58
maw_without buying some books off amazon17:58
maw_there is no man html17:58
maw_someone said earlier... w3schools.com17:59
maw_ya that is a good site17:59
steelcityjimyea I looked at that site18:00
maw_done already?18:00
maw_I think that is humanly impossible18:01
maw_try this one18:01
maw_http://www.webmonkey.com/tutorial/tag/web_basics18:01
maw_read through every html tutorial18:01
maw_actually do the examples18:01
maw_and you will learn18:01
maw_but coming to IRC and asking "how do I html"... will get few replies18:02
maw_get a basis and ask a technical question and someone can probably assist18:02
maw_but 0 knowledge... you won't find much assistance18:02
maw_buy some o'reilly books... they are usually decent18:03
steelcityjimok one basic question18:03
steelcityjimI see how you enter the text18:03
steelcityjimam I creating a file with this in it ?18:04
steelcityjimand if so is that done from the text editor18:04
maw_ya18:04
steelcityjimso for example18:04
maw_what desktop OS are you using?18:04
steelcityjimubuntu 8.1018:04
maw_ok, for simplicity just use "text editor"18:05
steelcityjimI was told nano is simple?18:05
maw_applications > accessories18:05
maw_nano is a CLI tool18:05
maw_but you can use that too18:05
maw_vi,emacs,pico,nano,ed... use whatever you want18:05
maw_it is just text data18:05
maw_that gets parsed by an engine of some sort18:06
maw_html,php,.net etc..18:06
kinnazisnt pico just nano ?18:06
maw_nano is an enhanced version AFAIK18:06
kinnazi know in debian at the start there was only pico18:06
kinnazand later came nano18:06
kinnazthou i never noticed the difference18:06
maw_http://www.nano-editor.org states "improved pico editor"18:07
maw_I don't use it myself, so I am not sure either :P18:07
kinnazwhat you use then ?18:07
dazmansurely nothing exists apart from vi/vim? ;)18:07
maw_ya vi18:08
kinnazimho vi isnt easy to use, only benefit with it is that its available everywhere18:08
maw_yes I agree18:08
maw_and that is why I am still struggling to master it18:08
dazmanSure, 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:08
kinnazits not that hard to learn its just not easy to use18:09
kinnazyou have to press more buttons18:09
kinnazto get the same result then with nano18:09
maw_you won't find nano on a Unix machine18:09
kinnazluckly i havent played around with unix much18:09
kinnazthou old days forced me to learn vi18:09
maw_I wouldn't say that ;) ...freebsd is nice18:09
kinnaz freebsd has nano18:09
kinnaznot by default18:10
maw_not out of the box18:10
kinnazbut still package is available18:10
kinnazinstalling nano/bash is first steps in my bsd installs18:10
maw_ya their ports is quite extensive18:10
kinnazimho that default shell just sucks18:10
maw_/bin/sh ?18:10
kinnazor was it csh18:10
kinnazone of them18:10
maw_sh18:10
maw_csh might be obsd18:11
maw_either way, I also prefer bash18:11
kinnazyeah openbsd is the one i play around the most18:11
kinnazbuilding carp/pfsync routers18:11
maw_cool18:11
maw_I use pf at home on my firewall18:11
maw_that is my experience with obsd :P18:12
kinnazi had some problems with my nic at home router18:12
maw_it is a very manual OS18:12
kinnazso im using ubuntu as routing device18:12
maw_ipfilter,ipfw,pf I guess are the main 318:13
maw_I have limited experience with all of them18:13
Davedanwhere can I find info on apt.conf.d ?18:14
maw_there is an extensive man page apt.conf18:14
Davedanthx18:15
Davedanwhat is the difference between apt.conf.d and apt.conf?18:16
steelcityjimmaw one more quick question18:29
steelcityjimthis "it works" file is a text file somewhere on my server correct?18:30
steelcityjimI could open this and edit it correct?18:30
maw_steelcityjim: yes18:32
maw_I think it is in /var/www/htdocs/index.html18:32
maw_so... nano /var/www/htdocs/index.html18:32
maw_or find /var/www -iname index.html18:33
steelcityjimok I did the nano /var/www/htdocs/indes.html and it brought up the nano editior18:34
maw_and is there html code in that file?18:34
maw_or blank?18:35
steelcityjimbut no "it works"18:35
steelcityjimblank18:35
maw_ok that could because of permissions or the file doesn't exist there18:35
maw_find the file and then open it18:35
steelcityjimwhen i did find /var/www -iname index.html nothing came up18:36
steelcityjimis that because its not html?18:36
steelcityjimfound a site with some templates18:46
steelcityjimthat would work a template that I could insert a pic or to and some text would rock18:50
steelcityjimok anyone ever use a template site?19:10
steelcityjimIm curious if the only thing you can edit is the text19:11
=== axisys is now known as axisys_away
LMJsteelcityjim  : depending of the template, you may edit also the logo color and shape too19:29
NickyyHow come libdb4.7 is available for the desktop versions but not for the server versions?19:29
steelcityjimanyone heard of joomla?19:31
Kartagisthere 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 ?19:32
=== axisys_away is now known as axisys
steelcityjimhow do i install one of these templates20:06
steelcityjimzip file on my linux pc20:18
steelcityjimhow do I load the html files to my website?20:29
bn43hi 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 running20:34
bn43My server is using a 3g modem and hosts connect to the servers network card - the ppp0 connection is shared20:35
bn43can someone help/comment pls?20:36
kajahello20:37
steelcityjimcan anyone tell me how to load a web page template to my website?20:37
steelcityjimI have all the files on my server20:37
bn43steelcityjim: most hosted sites have cpanel access - does yours?20:38
steelcityjimnot sure im using lamp20:38
steelcityjimthis if my first server bn20:38
bn43um when u say website - is this hosted or are you accessing your site through your own server?20:40
steelcityjimmy own site from my server20:40
steelcityjimits set up and configured correctly just trying to get template content on it20:41
kajasteelcityjim:  try in var/www20:41
bn43most of the time all you do is load all files in /var/www20:41
bn43what he said20:41
kajaand access it thru browser with http://localhost should work20:41
steelcityjimok so find /var/www20:42
steelcityjimok it game me /var/www/indes.html20:42
bn43? normally standard file is index.html or index.php20:44
domashiii!20:44
bn43your browser automatically looks for this file and loads this20:44
steelcityjimok i found the var www folder20:46
steelcityjimand it contains the html It works file20:46
steelcityjimso I just switch the html files20:46
kajasteelcityjim: there u need place your website20:46
steelcityjimok how do i move this damn file20:48
steelcityjimwont let me copy and paste20:48
Jeff1gksudo nautilus20:48
steelcityjimdon't have permisiion to save file?20:50
bn43steelcityjim: u will need to have root access - use sudo before command - ie sudo cp blah blah - it will ask you for your password20:52
steelcityjimhmmmmmm20:53
bn43oh thats if you use the command line to do your stuff - r u using nautilus to copy?20:54
steelcityjimtrying to bn20:55
steelcityjimI was just able to edit the existing html file20:55
steelcityjimchanged the it works message20:55
steelcityjimgonna try and drop the new html file in and see what happens20:55
Nat_RHAnybody successful with tunnelbroker and UFW?  IPv6 works fine when UFW turned off21:03
=== ajmitch_ is now known as ajmitch
bn43vodacom in south africa21:06
steelcityjimok that kinda worked21:07
steelcityjimthe html file opened on my site21:07
steelcityjimbut Im guessing because the other files were not with it the other stuff did not run21:08
=== ivoks_ is now known as ivoks
steelcityjimwhen I do nautilis am i supposed to be moving the files via command line21:09
steelcityjimor drag and drop on the desktop?21:09
jahorhello, anyone from the team behing new tomcat scripts in jaunty ?21:10
steelcityjimim not doing something right21:18
steelcityjimthe html file has loaded to the site but the css files that go along are not21:19
domasghmmmm21:22
domasdear ubuntu people, I have a server, that is trying to resync it's RAID array, and crashes every time in the end21:23
steelcityjimhow do you edit your web page in the browser?21:23
domaswhat should I do? :)21:23
Kartagis<steelcityjim> how do you edit your web page in the browser? <--- you can't21:36
jahorhi. i could not stop thinking that pinning based on source-package names could be very useful ... anyone has oposite meening ?21:37
steelcityjimkart I thought once you had the files loaded you could edit in your browser21:37
Davedanis there a function to find out what was the last installed package on the server?21:44
ScottKtail -f /var/log/dpkg.log21:47
steelcityjimhow do the html css and ie files get blended into one offering?21:53
Davedan ScottK: that's great. Do you happen to know how can I extract only the last package?21:57
ScottKDavedan: Not precisely, but that's the file the information is in.  You can process it however works for you.21:57
DavedanScottK: is it possible that this file will be deleted or unlikely?21:59
ScottKDavedan: The file will always be there.  It will be empty just after logrotate, but then the information will be in dpkg.log.1.22:00
dazmanDavedan, you could write a small script, to do it.22:01
dazmanDavedan, 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
dazmanDavedan, depends what you need to do... (tail -n 1 /var/log/dpkg.log) will output the whole line.22:02
Davedandazman: thanks22:04
DavedanIt might be easier for me to do it with python22:04
Davedanbecause I need only the last installed package22:06
tsrkFrom 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
dazmanDavedan, yep..22:06
steelcityjimdo css files get placed in teh var/www also?22:10
Davedansteelcityjim: all the static files are placed in a folder accesible to your web server22:18
Davedansteelcityjim: slicehost have a nice tutorial on suggested folder structure22:18
steelcityjimok im reading a few tutorials that both talk about ftp upload of the files to the website22:18
steelcityjimHow is this done/22:19
Davedanwhere is your server?22:19
Davedando you experiment locally or is it hosted somewhere?22:19
Davedanif you have a shared hosting you usually have an easy web interface for this stuff22:20
steelcityjimi have my own server22:21
Davedanif you have access to it you don't need ftp22:21
steelcityjimok thats what I thught22:21
Davedanftp is unsecure but it is used to upload files over the network22:21
steelcityjimi have been able to move the template html file to var www folder22:21
steelcityjimand that page comes up on my site22:22
Davedanusually you have sub folders underthe www folder to structure your website/websites22:22
Davedanok22:22
Davedanwhat are you trying to do now?22:22
steelcityjimim trying to do a webpage22:22
Davedanyou just did :)22:23
steelcityjimdownloaded a template page (cause its gonna take me motnths to figure this out)22:23
steelcityjimthe template has css files, html and its supposed to be customizable to an extent22:23
Davedantemplates usually have all the files and folder structure needed22:23
Davedanjust extract it under www and it should work fine22:24
steelcityjimok so I move the zip folder into the www folder and extract all files?22:25
Davedanyep22:27
=== andyfailran is now known as andylockran
steelcityjimgksudo nautalis gets me root right22:30
Davedangksudo runs gui application in root22:32
Davedansudo is for terminal commands22:32
steelcityjimits telling me I don't have access to move this file again22:32
Davedannot sure...22:32
Davedananyway, web folders and files permissions are tricky22:33
Davedanthat's why I told you about the slicehost folder22:33
Davedanyou are the user that moving around files but apache is the user that should be able to access them22:33
steelcityjimno its local right next to me22:34
steelcityjimscratch that22:34
steelcityjimok how do I get to root22:37
steelcityjimfile system folder is locked to root owner only22:38
steelcityjimI don't recall creating a password for root?22:38
ScottKsudo foo should do what you need.22:39
steelcityjimsudo foo command not found22:39
ScottKWhat are you trying to do?22:39
Davedanon ubuntu you can't login as root (I think) but you have sudo22:39
ScottKfoo should be whatever command you need.22:40
james_whello, is there any reason that the new dovecot-postfix package is "Architecture: any"?22:51
steelcityjimok im now at root@desktop and I still can't move this file22:51
james_wit only contains a single conffile, so either it mis-built, or the package should be "Arch: all"22:52
jahorjames_w: arch: all means that it's buildable on all archs or i'm wrong22:54
jahorjames_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:55
jahorjames_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:56
james_wjahor: 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
james_wit's landed in binary NEW, and I don't want to accept it until I know whether it was intentional22:58
james_wivoks isn't around right now, so I hoped someone else might be online22:59
cxoAnd LVM experts in the house? Anyone know how to revert a pvmove?23:01
cxo(the destination drive died)23:02
jahorjames_w: ah so. sorry then. the only thing i know is that it was announced maybe on ubuntu planet as a new postfix+dovecot integration23:02
james_wjahor: thanks, I'll take a look23:02
james_wnice, It doesn't answer my question, but it sounds pretty cool :-)23:04
jahorjames_w: ;o)23:04
ScottKjames_w: I think it should have been arch all.23:09
ScottKjames_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:10
james_wScottK: thanks, I'm asking how to handle this case now, as I just found a second like this from the server team :-)23:11
ScottKThat's the only one I know anything about.23:11
james_wthe advice is to accept anything that's not dangerous and file a bug on it23:12
ScottKSounds reasonable.23:12
steelcityjimok you need to do gksudo gedit23:15
steelcityjimto edit the html file on the var/www folder23:15
steelcityjimhowever its still not launching the who site23:15
uvirtbotNew bug: #329878 in dovecot (main) "dovecot-postfix is Architecture: any" [Undecided,New] https://launchpad.net/bugs/32987823:25

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