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