[00:00] <kees> I recommend staying on latest ubuntu, but then I like all the toolchain hardening that started in 8.10.  :)
[00:01] <andol> kees: What version of Ubuntu does www.ubuntu.com run on? :-)
[00:03] <kees> andol: I actually don't know.  :P
[00:04] <PlaneCrazy1> hello
[00:04] <andol> kees: Well, the netcraft respons does suggest an Ubuntu 8.04 :P
[00:05] <alice583> btw, does ubuntu server support mandatory access control similar to that found in selinux? and if not by default, is it possible to install that later on?
[00:06] <PlaneCrazy1> has anyone had any experience installing Wolfenstien: ET on Linux 9.04 server???
[00:06] <sbeattie> alice583: apparmor is available by default, and selinux is available in the archive.
[00:06] <andol> alice583: There is a gradualy improving support for MAC using Apparmor.
[00:06] <infinity> andol: Pretty much the entire Canonical DC runs on LTS releases.
[00:07] <andol> Yet, I'd say RHEL/CentOS have come a bit further with the selinux deployment.
[00:07] <andol> s/the/their/
[00:08] <PlaneCrazy1> has anyone had any experience installing Wolfenstien: ET on Linux 9.04 64 server???
[00:10] <PlaneCrazy1> I have tried to install and keep getting this error message:
[00:11] <PlaneCrazy1> I have tried to install and keep getting this error message: ./setup.sh: 278: /home/username/. setup 2723: not found
[00:13] <PlaneCrazy1> wow 176 people in the room and no one answers?!?!
[00:13] <PlaneCrazy1> cool
[00:48] <TimReichhart> could anybody help me out I have a webserver and mail server  my problem is they are on 2 different servers with 2 different ip addresses how would I get the subdomain to work
[01:06] <TimReichhart> anybody?
[01:18] <alice583> what commands would I use to update my server and keep it patched with all the latest updates?
[01:20] <TimReichhart> its apt-get update and apt-get upgrade
[02:35] <matt> Hi, I am wondering how to give the sox package mp3 encoding support.  I installed the sox and lame packages, but sox still cannot encode mp3 files.
[02:56] <mikegriffin> any chance that i can use php-apc.deb on hardy? its not in apt
[03:00] <TimReichhart> can I have 2 different servers with 2 different internal ip addresses?  like one for webserver and other one for mail server?
[03:00] <TimReichhart> both using virtual hosting?
[03:06] <mikegriffin> TimReichhart: not sure what you are asking really
[03:07] <TimReichhart> ok how would I get 2 servers to work on one domain but they are on 2 seprate internal ip addresses
[03:08] <TimReichhart> lets say my webserver is on ip of 192.168.20.5 and my mail server is on 192.168.30.196  how would I get both of them to work as one for one domain
[03:08] <mikegriffin> define work as one
[03:09] <TimReichhart> well I just said
[03:09] <TimReichhart> get 2 server to work on one domain
[03:09] <TimReichhart> servers*
[03:10] <TimReichhart> is there some kind of virtual hosting I need to setup on both machines
[03:14] <TimReichhart> ok i guess nobody knows
[03:14] <mikegriffin> i am really struggling to understand what you mean
[03:15] <mikegriffin> it sounds like you aren't really sure what you are trying to achieve
[03:15] <TimReichhart> yes I do know what im trying to achieve
[03:15] <mikegriffin> are you hoping to have both servers respond to http requests?
[03:15] <TimReichhart> no
[03:15] <mikegriffin> what are you solving for?
[03:16] <TimReichhart> ok i will explain
[03:17] <TimReichhart> i have 2 servers doing to different things for one domain    I want one server doing the email and the other one doing the website but they are on 2 different machines with 2 different internal ip addresses
[03:17] <TimReichhart> i know you can do that
[03:18] <foxbuntu> TimReichhart, you just need to change your ip schema on your network to a 16 bit (or class b) network to support your goal
[03:18] <mikegriffin> foxbuntu: not necessarily
[03:18] <TimReichhart> yea that is what i was thinking
[03:18] <mikegriffin> TimReichhart: can you ping one from the other?
[03:19] <foxbuntu> mikegriffin, no it can be done with routing as well
[03:19] <TimReichhart> well I was able to ping to both of them
[03:19] <TimReichhart> I can ping all machines on my network
[03:19] <foxbuntu> mikegriffin, but using a 16 bit subnet is usually the easiest vs static routes
[03:20] <mikegriffin> a static route is completely unrelated as is routing subnets, etc if the hosts can currently ping each other
[03:20] <mikegriffin> its just a matter of configuring a smart host and mx
[03:21] <foxbuntu> mikegriffin, agreed, I didnt see that until after my previous statement
[03:21] <TimReichhart> but how would I do the mx then?
[03:21] <mikegriffin> foxbuntu: this is why i was asking for clarification instead of goose chasing
[03:21] <mikegriffin> TimReichhart: both servers running postfix? does an mx record exist currently?
[03:21]  * foxbuntu goes away to do something else
[03:22] <mikegriffin> foxbuntu: sorry didnt mean to be rude
[03:22] <TimReichhart> no only one machine is doing the postfix
[03:23] <mikegriffin> TimReichhart: with the terms mx and smarthost, you have everything you need to research this or ask your provider
[03:24] <mikegriffin> if you have a specific question shoot
[03:26] <TimReichhart> not much help here
[03:27] <pmatulis> boggles
[03:27] <TimReichhart> so would I need to setup virutal hosting on my mail server
[03:27] <mikegriffin> TimReichhart: are you kidding me?
[03:27] <TimReichhart> no im not kidding you
[03:27] <mikegriffin> pmatulis: your turn
[03:28] <pmatulis> nah, way too tired
[03:28] <mikegriffin> pmatulis: any help for me?
[03:28] <TimReichhart> so your telling me there is noway I can do this then
[03:28] <mikegriffin> tried to get php-apc on hardy, tried hardy-backports
[03:28] <mikegriffin> TimReichhart: no, its quite easy to configure
[03:28] <TimReichhart> i dont see how its easy
[03:29] <pmatulis> mikegriffin: fewer words is best
[03:31] <TimReichhart> so can i setup a virutal host on my email server then
[03:32] <mikegriffin> TimReichhart: do you know what 'smart host' means?
[03:32] <TimReichhart> not really please explain mike
[03:32] <mikegriffin> no
[03:35] <TimReichhart> alright
[03:35] <TimReichhart> then whats the use of telling me about it if you cant explain it
[03:36] <mikegriffin> i gave pretty good advice i thought. do you not have a hosting provider that helps you with this sort of thing?
[03:36] <TimReichhart> i got crappy godaddy
[03:37] <TimReichhart> and i am hosting the sites on my own servers
[03:48] <mikegriffin> TimReichhart: so you want to have all mail handled by the second server, not the webserver
[03:48] <TimReichhart> that is correct
[03:48] <mikegriffin> what do you hope to accomplish by doing that?
[03:50] <TimReichhart> all i wanted to do to see how this all works because i know isp's do this
[03:50] <TimReichhart> is there a problem doing that?
[03:50] <mikegriffin> by making changes that you do not understand, you introduce complexities that make debugging harder perhaps
[03:50] <TimReichhart> you probley come back saying that is stupid
[03:51] <mikegriffin> no, it can make sense to have a different server handle mail
[03:51] <mikegriffin> but it does not always make sense to do so
[03:52] <TimReichhart> alright
[06:23] <ar> Hey guys
[06:24] <ar> if your home directory name changes to some wierd name does that mean Ive been hacked?
[06:28] <genii> Could be filesystem corruption
[06:29] <jmarsden> ar: I'd say either (a) you did it, (b) someone else with appropriate authority did it, (c) a hardware or software problem mangled the filesystem... or (d) you got hacked.
[06:30] <jmarsden> Did its name change in /etc/passwd and in the actual filesystem?
[06:32] <genii> Also is it /home got renamed or /homename
[06:32] <genii> Rather /home/somename
[06:33] <genii> Could be /home is mounted on wrong partition also. Had this happen before
[09:39] <mpathy> Hi there.. I have a general question because I am set up a Ubuntu-Server now.. I have 4 GB of RAM so I think about using the 64bit version.. Are ALL server specific packages are also available as 64bit packages or only a subset? If last one is yes, what percentage is available?
[09:41] <jmarsden> mpathy: As far as I know, all server-related packages in Ubuntu itself are available for amd64; there may be some commercial software for Ubuntu that is not, though.  For Ubuntu software in main and universe, the answer really should be 100%.
[09:46] <mpathy> Okay.. So would you suggest to use a 64bit installation, when I have 4 GB of RAM on a AMD Athlon 64 X2 5600+ Dual Core? It is some kind of 50:50 if I should do or not, in my opinion, so I wanted to ask someone more experienced..
[09:52] <mpathy> jmarsden: What do you think about that?
[09:54] <jmarsden> It's probably fine to use 64bit on that machine.  I run 64bit here on Intel E5200 with 8Gb RAM (several of virtual machines!)
[09:55] <mpathy> jmarsden: You said for main and universe 100% - is there a possibilty to easily compare this also for multiverse?
[09:55] <jmarsden> You can look; I just have no experience with multiverse.
[09:56] <jmarsden> What is there in multiverse that you are expecting to use on your server?
[09:57] <mpathy> jmarsden: Okay, but do you think there is a big speed difference between 32bit and 64bit with server specs?
[09:57] <jmarsden> No, very little difference.
[09:57] <mpathy> jmarsden: Perhaps some additional tools for sieve, or something
[09:58] <mpathy> jmarsden: Okay then to being on the secure side I stay with 32bit :) THANKS :)
[09:58] <jmarsden> No problem.
[10:50] <jay3> ok I am here chalcedony
[10:51]  * chalcedony smiles
[10:51] <chalcedony> jay3: ask :)
[10:51] <jay3> ok
[10:52] <jay3> Yes I was wondering with the new ubuntu server does it automatically install amazon clud and if so is there any way a person can uninstall it?
[10:52] <jay3> clud=cloud
[10:55] <jay3> ok
[10:55] <jay3> ubuntu
[12:14] <mpathy> Hi There.. How big can a /boot get on a Ubuntu Server? Is 256 MB sufficient or is 512 MB more secure?
[12:58] <mib_l6ub2tbm> hey guys
[12:58] <dantalizing> morning mib_l6ub2tbm
[12:59] <mib_l6ub2tbm> my server will not pickup an ip address from my router
[12:59] <mib_l6ub2tbm> i want to give it dynamic ip address
[13:05] <mib_l6ub2tbm> anyone
[14:32] <IvanCosta> Hi
[14:34] <IvanCosta> I installed Apache2 and configure some web (for intranet only) and when I use "a2dissite name_of_site" the site still available in "http://machine_ip/name_of_site". Is it normal?
[14:35] <maxb> IvanCosta: Did you restart apache?
[14:36] <IvanCosta> Maxb: yes.
[14:36] <IvanCosta> I don't understand that
[14:40] <IvanCosta> Maxb: The webpages are in the "/etc/www/name_of_web". Until now, I used only one webpage with openSUSE and Apache. I didn't use enable control because is only one webpage. But now, I use Ubuntu Server and I need to use many webages (just for intranet).
[14:41] <IvanCosta> Maxb: So, I have to enable and disable one or other to do some changes. How can I do this?
[14:42] <maxb> I'm afraid I don't completely understand what you're saying
[14:43] <maxb> Perhaps you are misusing the word "webpage" when you actually mean "website" or "virtual host" ?
[14:43] <maxb> Also I have no idea what you mean by "I didn't use enable control"
[14:47] <IvanCosta> Maxb: I'm sorry about the terms, I'm newbie in Apache. Until last week, I was use one server with Apache2 (in openSUSE) with a wiki inside (just for me and other computers in my house). So, I installed Apache and put the wiki folder in /htdocs and it worked!
[14:50] <IvanCosta> Maxb: Now, I make another webpages, in php, and I wan't to do the same processes, but I decided to use Ubuntu Server. I installed Apache2 and made some configuration in /etc/apache2/sites-available/name_of_site. I have just one server for 5 websites (just for intranet). Is this "websites" or "virtualhosts"?
[14:51] <maxb> Virtualhosts are when you have http://something.mydomain.tld/ and http://somethingelse.mydomain.tld/ be different websites but served from the same server
[14:53] <maxb> If you find the 'sites' configuration infrastructure added by Debian/Ubuntu to be unwanted complication, you don't have to use it
[14:53] <IvanCosta> Maxb: I normaly use http://server_ip/name_of_the_folder_site to access.
[14:55] <IvanCosta> Maxb: How can I do to make the access like you said (http://something.mydoman/), but just for intranet?
[14:55] <maxb> What do you mean, just for intranet?
[14:58] <IvanCosta> I have six computers in my house (one more for samba-apache server). The Apache2 webpages is only to use with this computer. The "sites" isn't registred in www.
[18:06] <beawesomeinstead> does anyone know hot to propagate /etc/environment changes without reboot?
[18:06] <beawesomeinstead> *how
[18:10] <pace_t_zulu> beawesomeinstead: have you read https://help.ubuntu.com/community/EnvironmentVariables
[18:10] <pace_t_zulu> ?
[18:41] <mac9416> Hey, ya'll! When installing 8.10 server in expert mode, I get to Installing additional components, about 24% in and all a sudden the screen goes to blinking black/white fitfully. After about 30-40min. I see a screen lined with "failed" down the left side. :-(
[18:42] <mac9416> I did the disc-checker-thinger successfully.
[18:47] <jmarsden> mac9416: (a) Try using the normal (non-expert) install? (b) Try 9.04 server instead?
[18:48] <mac9416> I can't really try 9.04 yet. I will try the Normal mode, though.
[18:51] <wizardslovak> hello people
[18:52] <wizardslovak> i need help with partitioning
[18:53] <mac9416> Go ahead, wizardslovak.
[18:55] <wizardslovak> well i am about to install server with LAMP as my study server
[18:55] <wizardslovak> right now i want to partition disk
[18:55] <mac9416> BRB...
[18:55] <mac9416> Don't go away.
[18:55] <wizardslovak> but problem is i dont really know how many gbs i should use fo what lets say Swap,/,bott and home
[18:56] <wizardslovak> ok
[18:56] <wizardslovak> so till you come ill write what i have so far
[18:57] <wizardslovak> its 80gb hard disk and i primary is 79.3 logical (swap) 756
[18:57] <wizardslovak> all of this partitioning system did
[18:57] <pmatulis> wizardslovak: swap = 2 x RAM, but more than 2 GB is usually wasteful
[18:57] <wizardslovak> so 1024
[18:57] <wizardslovak> should be good
[18:58] <pmatulis> wizardslovak: what will your server be doing?
[18:58] <pmatulis> wizardslovak: LAMP only?
[18:58] <wizardslovak> its test server for LAN
[18:58] <wizardslovak> i just want to learn servers
[18:59] <wizardslovak> i am noob to it tho
[18:59] <pmatulis> wizardslovak: so 1 GB swap is plenty
[18:59] <wizardslovak> for now i want to be able to host web site
[18:59] <wizardslovak> with some storage for files
[19:00] <wizardslovak> and mysql
[19:01] <wizardslovak> so far i have 79.3 for /
[19:01] <wizardslovak> and 756 for swap
[19:01] <pmatulis> wizardslovak: 79.3 GB?
[19:02] <wizardslovak> yes , default system partition
[19:02] <wizardslovak> swap is logical or primary?
[19:03] <pmatulis> wizardslovak: if you have only 2 partitions (/ and swap) then make swap be primary
[19:03] <wizardslovak> how  many partitions i need ?? is 2 enough?
[19:03] <wizardslovak> i want to do my own partitioning
[19:04] <pmatulis> wizardslovak: for you, yes.  in a real setting you would almost always set up a partition for /home and /tmp
[19:04] <wizardslovak> well real setting? lets do that
[19:06] <pmatulis> wizardslovak: then set up /, /tmp, swap, and /home
[19:06] <wizardslovak> ok
[19:06] <wizardslovak> so swap 1024mb primary?
[19:08] <pmatulis> wizardslovak: /tmp (512 MB), swap (1 GB), /home (50 GB), and / (the rest).  calculate / in advance and beging by creating it
[19:09] <wizardslovak> all of them as primary partitions?
[19:09] <pmatulis> wizardslovak: or just put 20 GB for /, 1 GB for swap, 512 MB for /tmp, and /home will take the rest
[19:09] <pmatulis> wizardslovak: sure, you get four of them
[19:10] <wizardslovak> ok give me sec
[19:10]  * pmatulis goes to do something else, will be back in 30
[19:10] <JoeliousCeasar> Sorry, wizard, do you still need help partitioning?
[19:11] <mac94163> I reckon that looked a little funny.
[19:11] <mac94163> The benifits of having too many accounts.
[19:12] <mac94163> And now I get a charming little "3" on the end of my name.
[19:12] <wizardslovak> well partitioning is done hehe
[19:12] <wizardslovak> still hang on i will have more questions
[19:12] <mac94163> Okee-dokee will do.
[19:12] <wizardslovak> shoul i install LAMP by intalation or manually install it later?
[19:15] <JoeliousCeasar> My wireless internet signal is perfectly atrocious.
[19:16] <wizardslovak> lol
[19:16] <wizardslovak> i never couldnt make my audio and wireless work tho
[19:16] <mac941621> Whoever I am. :-P
[19:16] <wizardslovak> so i just left it as it is
[19:16] <wizardslovak> on desktop pc i did , however on laptop i couldnt
[19:17] <wizardslovak> right now server is installing
[19:17] <mac941621> Cool
[19:17] <wizardslovak> i am happy for it too
[19:19] <wizardslovak> ok
[19:20] <wizardslovak> so right now i have choice of installing LAMP '
[19:20] <wizardslovak> should i install it now or later?
[19:20] <wizardslovak> whats openssh server?
[19:21] <JoeliousCeasar> Stupid wireless.
[19:21] <JoeliousCeasar> I'll just keep this nick for now.
[19:21] <JoeliousCeasar> :-P
[19:22] <JoeliousCeasar> So, you're about to install LAMP?
[19:22] <wizardslovak> yes
[19:22] <wizardslovak> it asks me if i want to do it now
[19:23] <wizardslovak> should i do it or install it manually later?
[19:23] <JoeliousCeasar> I would do it now, but it's your call.
[19:24] <wizardslovak> well i am noob in it so i am asking pros lol
[19:24] <JoeliousCeasar> I'm certainly not a apro, but I think installing now is about the same as later. I'd go for it.
[19:25] <wizardslovak> well i did LAMP and Samba
[19:27] <wizardslovak> so another question
[19:28] <wizardslovak> question is how will i be able to connect to server tru LAN??
[19:28] <wizardslovak> i will set up server and let it be by itself
[19:28] <wizardslovak> so i want to be able to install and maintin server from my laptop
[19:29] <JoeliousCeasar> OK, you will want to use a thing called SSH.
[19:29] <wizardslovak> so i should install that openssh?
[19:30] <wizardslovak> did u ever done it??
[19:30] <JoeliousCeasar> The SSH server comes with Ubuntu Server, I believe.
[19:30] <JoeliousCeasar> Yup, actually have.
[19:30] <wizardslovak> if yes i will need help  how to install and connect to it
[19:30] <JoeliousCeasar> :-D-
[19:30] <wizardslovak> damn i didnt
[19:31] <JoeliousCeasar> I believe the SSH client is shipped with the normal Ubuntu (your laptop)
[19:31] <wizardslovak> lol my laptop didnt come with kubuntu preintslled
[19:31] <wizardslovak> i did it myself
[19:32] <JoeliousCeasar> Yeah, that's cool, the SSH client should be on there.
[19:32] <wizardslovak> lol so installation finished but i got an error
[19:32] <wizardslovak> GRUB loading error 18?!
[19:32] <JoeliousCeasar> Crud, what was it?
[19:32] <JoeliousCeasar> Oh, I think that's easy to fix.
[19:32] <JoeliousCeasar> Hold on...
[19:32] <wizardslovak> ok
[19:33] <JoeliousCeasar> http://wiki.linuxquestions.org/wiki/GRUB#Error_18
[19:33] <JoeliousCeasar> Try that...
[19:34] <JoeliousCeasar> Let me try something a little more pithy...
[19:34] <JoeliousCeasar> "You've run into the BIOS cylinder limit. This is most probably an older machine with a newer disk... In any case, you have to set things up so that the grub first stage is below the BIOS limit."
[19:34] <JoeliousCeasar> http://ubuntuforums.org/archive/index.php/t-77042.html
[19:34] <JoeliousCeasar> I looked to that thread the very firat time I installed Ubuntu on a computer.
[19:35] <JoeliousCeasar> A 2g hard drive. :-D
[19:35] <wizardslovak> so i gotta go to bios and fix what?
[19:35] <JoeliousCeasar> "The easiset way is to create a small 'boot' partition (only a few meg needed) at the beginning of the disk.
[19:35] <JoeliousCeasar> If you have a DOS (FAT16 or FAT32) partition on at the beginning of your disk, you can actually use that to install your boot data in -- just specify that partition as your boot partition (/boot), and remember to set it so that the partition is NOT formatted (i'm presuming you don't want to lose your Windows data -- if you do, then you'd probably be better off to reformat the partition to ext3 than leave it as FAT)
[19:35] <JoeliousCeasar> "
[19:35] <JoeliousCeasar> Um...
[19:35] <JoeliousCeasar> Wait a min...
[19:36] <wizardslovak> i dont have no dual boot
[19:36] <wizardslovak> this machine will be linux only
[19:37] <JoeliousCeasar> Right. Is your HD very old?
[19:37] <wizardslovak> they are (pc and hd) same age
[19:37] <wizardslovak> actually they come together
[19:38] <JoeliousCeasar> Is the computer very old?
[19:39] <wizardslovak> yes 7 years
[19:39] <wizardslovak> its old dell dimension 2400
[19:40] <JoeliousCeasar> Hmmm. Try setting the HD mode to LBA in the BIOS.
[19:40] <JoeliousCeasar> lol
[19:41] <wizardslovak> i dont see it nowhere
[19:41] <mac9416> You're in the BIOS?
[19:42] <wizardslovak> yes
[19:43] <mac9416> OK, go to the first option ( top left) in the BIOS.
[19:43] <mac9416> (I haven't done this for awhile)
[19:44] <mac9416> I believe you will see a list of drives.
[19:44] <wizardslovak> drive configiration?
[19:44] <mac9416> I think. Maybe.
[19:44] <mac9416> Do you see anything that says "mode"
[19:44] <mac9416> Maybe a column in a table of drives.
[19:44] <mac9416> ?
[19:45] <wizardslovak> no
[19:45] <mac9416> Hmmm. I wish I had an extra computer beside me...
[19:46] <wizardslovak> hmmm
[19:46] <wizardslovak> so i quess i wont be able to have server on this old crap
[19:46] <mac9416> Just a sec...
[19:47] <mac9416> Now hang with me, I've installed Ubuntu on what has to be the oldest computer in the county....
[19:47] <wizardslovak> lol
[19:47] <wizardslovak> ok
[19:48] <mac9416> In the BIOS, what info is at the top of the screen...
[19:48] <mac9416> Should be BIOS info name/version etc.
[19:48] <wizardslovak> bios version A03
[19:49] <mac9416> "Award" BIOS?
[19:49] <wizardslovak> it doesnt say only a03
[19:49] <mac9416> OK...
[19:50] <mac9416> I'm looking at screenshots, trying to refresh my memory.
[19:52] <mac9416> OK, go to standard CMOS features...
[19:52] <wizardslovak> give me sec
[19:52] <IvanCosta> Hi, guys.
[19:52] <mac9416> Hiya
[19:52] <IvanCosta> How can I test the mysql port?
[19:53] <mac9416> Heavens, IDK.
[19:54] <IvanCosta> My MySql is working but I can't access from other computers...
[19:54] <wizardslovak> lol
[19:54] <wizardslovak> mac9416:  i changed my jumper to master ANd it works now lol
[19:55] <mac9416> wizardslovak, hehe, I am a dummy.
[19:55] <wizardslovak> lol i just found it on ubuntuforums heheh
[19:55] <mac9416> Master w/slave present (cdrom)?
[19:55] <wizardslovak> ok now i am logg on to my new server
[19:55] <wizardslovak> hd master cdrom master
[19:55] <mac9416> Cool.
[19:55] <wizardslovak> hihi so how should i check/imnstall ssh?
[19:56] <mac9416> Just a min...
[19:57] <wizardslovak> should i get gui for server?? i mean i will use it as standalone server and point is to learn command lol
[19:57] <mac9416> OK, try "sudo apt-get install openssh-server"
[19:57] <mac9416> A GUI isn't necessary...
[19:58] <mac9416> But it could be nice.
[19:58] <wizardslovak> ok so i have openssh installed
[19:58] <wizardslovak> it would be lol
[19:58] <mac9416> Alright, hold on...
[19:59] <mac9416> OK, what kind of network connection do you have between your laptop and your server?
[20:00] <wizardslovak> if laptop in on linux its LAN if on windows its wireless , server will be connected with Cat5e enthernet cable to the router
[20:00] <wizardslovak> router runs dd-wrt
[20:01] <pace_t_zulu> wizardslovak: good choice on dd-wrt...
[20:01] <wizardslovak> i always used dd-wrt
[20:01] <mac9416> Hey, I'll have to talk to you about dd-wrt later, but right now...
[20:01] <mac9416> (I have a new router)
[20:01] <wizardslovak> this is my 3rd router i flashed
[20:02] <wizardslovak> ok mac you help me with server ill help you with router
[20:02] <mac9416> Cool. OK, so run "ifconfig" on the server...
[20:02] <mac9416> This will tell you its IP address.
[20:05] <wizardslovak> ok i got ip adress
[20:06] <mac9416> Alright, now on your laptop type "ping <IP address>"
[20:06] <mac9416> Just to make sure the connection is there.
[20:06] <wizardslovak> ok its pinging
[20:07] <mac9416> No errors?
[20:08] <wizardslovak> no
[20:08] <mac9416> Cool. Now type (on the laptop) "ssh <IP address>"
[20:08] <wizardslovak> how to stop ping?
[20:08] <wizardslovak> ctrl+s?
[20:09] <mac9416> ctrl-c
[20:09] <mac9416> :-D
[20:09] <wizardslovak> ok no errors
[20:09] <wizardslovak> ssh ip -> error
[20:09] <mac9416> Did it ask for a password?
[20:10] <mac9416> Uh-oh.
[20:10] <wizardslovak> the authenticity of host ip cant be established
[20:10] <mac9416> That's alright.
[20:10] <wizardslovak> i clicked yes now it asks password
[20:10] <mac9416> OK, cool...
[20:11] <wizardslovak> ok i typed password and now i am in
[20:11] <wizardslovak> lol
[20:11] <wizardslovak> lets try update it true ssh
[20:11] <mac9416> OK
[20:11] <wizardslovak> sudo apt-get install update?
[20:11] <wizardslovak> right?
[20:11] <mac9416> Yup
[20:12] <mac9416> Wait...
[20:12] <mac9416> Yeah, try it.
[20:12] <wizardslovak> "couldn't find package update"
[20:13] <mac9416> Oops. Try "apt-get update"
[20:13] <mac9416> Silly me
[20:13] <mac9416> :-P
[20:14] <wizardslovak> done
[20:14] <mac9416> Very cool.
[20:14] <mac9416> :-D :-D
[20:14] <wizardslovak> what if i want to connect to server from Wlan??
[20:15] <wizardslovak> lets say from my friends house/
[20:15] <wizardslovak> ssh wlanip:lanip
[20:15] <wizardslovak> ??
[20:15] <mac9416> Wirelss? Should be the same way.
[20:16] <wizardslovak> no wireless
[20:16] <wizardslovak> somewhere out of range of my LAn
[20:16] <mac9416> Internet?
[20:16] <mac9416> Hmmm.
[20:18] <wizardslovak> ??
[20:18] <wizardslovak> how to check if lamp is working?
[20:19] <mac9416> For the SSH over internet: http://ubuntuforums.org/archive/index.php/t-271036.html
[20:19] <mac9416> Well, to see if the web server is working, go to your laptop...
[20:20] <mac9416> open Firefox and type: "<IP address>" in the address bar.
[20:20] <wizardslovak> lol
[20:20] <wizardslovak> "it works"
[20:21] <mac9416> Yup.
[20:21] <mac9416> :-D
[20:21] <wizardslovak> niceee
[20:22] <wizardslovak> what if i want to upload web site from laptop to server?
[20:22] <mac9416> What form is the website in? One html page?
[20:22] <wizardslovak> well i didnt make it yet
[20:23] <wizardslovak> i will use probably quanta+/dreamweaver
[20:23] <mac9416> OK. Well, IDK much about it, but navigate to /var/www on your server...
[20:23] <wizardslovak> hmm i read here that i should add port to the server
[20:24] <mac9416> ?
[20:24] <mac9416> I think it's already serving on port 80
[20:24] <wizardslovak> ok i am there , now how should i upload web site?
[20:24] <mac9416> Hold on...
[20:25] <mac9416> "ls" and tell me what you see.
[20:27] <wizardslovak> nothing
[20:27] <mac9416> Not eve "." and ".."?
[20:27] <wizardslovak> so i made quick web site with html
[20:27] <wizardslovak> no
[20:28] <mac9416> Hmmm. Try "ls -a"
[20:28] <wizardslovak> shouldnt it be "ls -l"??
[20:29] <mac9416> -a lists even hidden files.
[20:29] <wizardslovak> ok it says bash_history , sudo_as_admin_successful,bash_logout .profile
[20:30] <mac9416> OK, did you cd into /var/www?
[20:30] <wizardslovak> no
[20:30] <mac9416> Alright, type "cd /var/www"
[20:30] <wizardslovak> ok i changed to /var/www and ls -a ------- ondex.html
[20:31] <wizardslovak> index.html
[20:32] <mac9416> Alright, that's the "It Works!" web page. If you replace it, Apache will serve that out.
[20:32] <wizardslovak> ok now my question is how to upload web site from laptop to server over ssh?
[20:33] <mac9416> Alright you have to use "scp" whick I only vaguely remember how to use...
[20:34] <mac9416> "scp SourceFile <IP Address>:directory/TargetFile "
[20:34] <mac9416> Oops...
[20:34] <mac9416> "scp SourceFile <IP Address> Directory/TargetFile "
[20:34] <wizardslovak> this i should type in my laptop
[20:34] <foxbuntu> wizardslovak, scp FILE user@host:/path/to/dir/
[20:34] <wizardslovak> let see
[20:35] <mac9416> "scp SourceFile <IP Address>:/directory/TargetFile "
[20:35] <mac9416> foxbuntu, thanks
[20:36] <mac9416> Use foxbuntu's line. "host" is the IP address
[20:37] <wizardslovak> error permission denied
[20:37] <mac9416> Hmmm.
[20:38] <wizardslovak> i used "sudo acp file user@IP:/var/www
[20:38] <mac9416> Now, you're not doing this from within the SSH are you?
[20:38] <foxbuntu> mac9416, your user has to have write permissions to the dest directory, and usually a nomal user doesnt to /var/www
[20:39] <foxbuntu> wizardslovak, ^
[20:39] <mac9416> Right...
[20:39] <wizardslovak> so first i gotta change permissions
[20:39] <wizardslovak> and that what i am not good at
[20:39] <wizardslovak> mac9416: all of this i do true ssh
[20:39] <foxbuntu> wizardslovak, no, move it to /tmp on the server first then ssh into the server and place it with sudo cp
[20:39] <wizardslovak> i have server next to me
[20:40] <wizardslovak> aha so scp file user@ip:.tmp
[20:40] <mac9416> I believe you have to be outside the SSH shell to use scp properly, though
[20:40] <mac9416> Yeah.
[20:40] <mac9416> Or /tmp/file
[20:40] <mac9416> Maybe
[20:41] <wizardslovak> done
[20:41] <wizardslovak> moved to /tmp/index.html
[20:41] <mac9416> OK, back in the SSH: "sudo cp /tmp/index.html /var/www/index.html"
[20:42] <foxbuntu> wizardslovak, then sudo chmod root:www-data /var/www/index.html
[20:42] <wizardslovak> it works!!!!!!!!!!!!!!!!!!!!!!!!!1
[20:42] <wizardslovak> heheh
[20:43] <mac9416> Too cool!
[20:43] <wizardslovak> hehe now i gotta make note in order to remember it later
[20:43] <wizardslovak> give me sec
[20:43] <mac9416> Alright.
[20:45] <mac9416> Hey, man, my laptop's about to go dead.
[20:45] <wizardslovak> cant you plug it?
[20:46] <mac9416> I'm afraid not. I'm in a car with a friend driving and I forgot the adapter :-D
[20:46] <mac9416> :-P
[20:47] <mac9416> If you PM me on ubuntuforum I'll meet you back here later. I've still got to talk to you about dd-wrt :-D
[20:48] <wizardslovak> lol
[20:48] <wizardslovak> ok
[20:48] <mac9416> My nickname there is mac9416 too.
[20:49] <wizardslovak> i am not on ubuntu forums
[20:49] <wizardslovak> i did send you pm tho
[20:49] <wizardslovak> foxbuntu:  sudo chmod??? what for?
[20:50] <mac9416> Alright, I just sent my email address.
[20:50] <mac9416> Cya!
[20:50] <wizardslovak> ok peace and thank you
[20:50] <foxbuntu> wizardslovak, the group that owns the www files should be www-data
[20:51] <wizardslovak> i am getting error
[20:51] <foxbuntu> on what?
[20:52] <wizardslovak> chmod invalid mode :"root:www-data"
[20:52] <foxbuntu> oh sorry not chmod
[20:52] <foxbuntu> chown
[20:52] <wizardslovak> ok done
[20:52] <wizardslovak> so i can do everything true ssh?
[20:53] <foxbuntu> yup
[20:53] <wizardslovak> so right now i am ready to put server in its place
[20:53] <wizardslovak> heheh
[20:57] <wizardslovak> what is the best text editor on server??
[20:58] <foxbuntu> wizardslovak, I prefer nano
[21:02] <wizardslovak> nano
[21:02] <wizardslovak> what is the command to shut down server?
[21:04] <wizardslovak> ??
[21:04] <orudie> sudo shutdown now
[21:05] <wizardslovak> lol it reset
[21:06] <giovani> wizardslovak: what reset?
[21:06] <wizardslovak> sudo shutdown now
[21:06] <wizardslovak> i shows "recovery menu"
[21:06] <giovani> that's not "reset"
[21:07] <giovani> sudo shutdown -P now
[21:07] <giovani> will power down the server
[21:07] <giovani> this is not default, because servers are rarely intended to be shut down
[21:08] <wizardslovak> ok thank you
[21:08] <wizardslovak> server is down
[21:08] <wizardslovak> hehe
[21:08] <wizardslovak> do  you guys by any chance know how to make work wireless on laptop??
[21:08] <wizardslovak> my doesnt work :(:(
[21:09] <giovani> wizardslovak: this is not the appropriate channel for that, try #ubuntu
[21:09] <wizardslovak> sorry
[21:09] <wizardslovak> i asked but noone answers
[21:09] <giovani> that happens
[21:09] <giovani> it's community support
[21:09] <giovani> and you probably didn't ask the question in a helpful way (i.e. how you did just now -- with no details on card, driver, etc)
[21:10] <giovani> you can also try http://www.ubuntuforums.org/
[21:10] <wizardslovak> i dont really know what card i got
[21:10] <giovani> well then nobody will help you
[21:10] <giovani> if you can't figure out things like that ... then you're probably not ready for linux
[21:11] <wizardslovak> wel i always used desktop
[21:11] <giovani> anyway, no more about this in #ubuntu-server ... it's the wrong channel
[21:11] <wizardslovak> month ago i got llaptop
[21:11] <wizardslovak> ok
[21:18] <wizardslovak> ok back
[21:41] <foxbuntu> giovani, try to ask the questions the average new user doesn't know how to ask, don't just tell them "they aren't ready for linux"
[21:42] <giovani> foxbuntu: we all have our opinions ... if a user doesn't have the fortitude to determine their wireless card model ... I don't believe they're ready for linux
[21:42] <giovani> you may disagree ... feel free to
[21:43] <foxbuntu> giovani, you are welcome to hold that opinion, however do not say that to new users, users are part of the community too, no matter what skill level they are at. Remember, everyone started learning linux sometime.
[21:44] <giovani> foxbuntu: I don't believe this issue is related to whether or not they're starting linux
[21:44] <giovani> but I'm leaving this there, have a great day
[21:47]  * foxbuntu is tired of this attitude inside the linux community
[21:51] <giovani> and likewise the linux community is tired of those that coddle users no matter how little effort they put in, and how lazy they are
[21:52] <foxbuntu> giovani, advocating for the community and maintaining the user cannot be helped attitude is not possible
[21:52] <giovani> it certainly is
[21:52] <giovani> users can be helped, it happens all the time
[21:53] <giovani> but not every user, no matter what the request, and no matter what their level of laziness should be catered to
[21:53] <giovani> that's what differentiates working for a customer, and the real world of individuals
[21:53] <giovani> if a user needs that level of help, they're best served by a corporation that pays employees to cater to those who refuse to make an effort
[21:54] <foxbuntu> giovani, nor did I say they should, but I did say that rather than taking this attitude with them, you should ask questions like "which card to do have, if you arent sure, you can try to google for it or use lspci"
[21:54] <giovani> it wasn't attitude, after he complained that "they didn't answer me" we came to understand why
[21:55] <foxbuntu> giovani, most new users to linux dont know the rules of irc either
[21:55] <giovani> I asked which card he has, he didn't know -- and didn't seem to want to figure it out himself, so, I'm not going to aid in that, especially in this channel, where such support is forbidden
[21:55] <giovani> foxbuntu: that, I explained to him in a clear manner
[21:57] <foxbuntu> giovani, why is it such a problem that you ask questions a leave the snide comments out? If you don't want to help, excuse yourself from the conversation.
[21:57] <giovani> foxbuntu: there were no snide comments, that's why
[21:57] <foxbuntu> "then i don't like you are ready for linux"
[21:57] <giovani> and if no response is given to a user, they continue to complain, rather than understand why nobody is responding to their unanswerable question
[21:58] <giovani> so I explained why
[21:59] <foxbuntu> my only problem with anything you said was that one comment, its exactly why we loose new users
[22:00] <giovani> I stated what I believed to be true ... I don't share your goal of getting as many people to join the linux community as is possible ... that's not beneficial imo
[22:01] <foxbuntu> giovani, then perhaps you should review the goals and rules of Ubuntu
[22:02] <a|wen> hmm... so if the user doesn't know the lspci command in advance he is not ready to linux
[22:02] <giovani> a|wen: lspci is far far far from the only, or even the best way to determine your wireless card model
[22:03] <giovani> in fact, with newer cards, it's often inaccurate
[22:04] <giovani> looking at the card itself is often the best way to determine its model number -- if it is a special case where it's been rebranded, and is being misidentified by its labeling on the card itself, absoltuely, pci id numbers can be useful, and no, I wouldn't expect a beginner to know that
[22:04] <foxbuntu> giovani, so your suggestion to a user is to crack open their laptop to get the model number of their wireless card?
[22:05] <giovani> foxbuntu: absolutely
[22:05] <giovani> relying on the pciid list provided with linux distros is a mistake
[22:05] <giovani> they're easily wrong 10-20% of the time
[22:05] <giovani> with moden wireless cards
[22:05] <foxbuntu> giovani, rather than googling either the information gathered by lspci, or their laptop model number?
[22:06] <giovani> foxbuntu: those are other options, usually netting less reliable results than physically looking at the card
[22:06] <giovani> unless the card has been specially rebranded
[22:06] <giovani> a beginner should have the knowledge and desire to google their laptop model number
[22:07] <a|wen> giovani: my experience in most cases is that the user don't know what info they need to provide, or where to get it ... that is the extra one-two lines with a question-sign at the end that is needed
[22:07] <giovani> if they have to be instructed and walked through a non-linux task like that ... they're not ready, in my opinion
[22:09] <foxbuntu> giovani, well I, along with likely several others here, would disagree with your view points on these issues...and I really think you should consider why Ubuntu is called "Linux for Humans" before propagating them further
[22:09] <giovani> foxbuntu: and disagreement is part of what makes life life ... I'm not trying to insist that you agree with me, you however, are doing that
[22:10] <giovani> we don't all need to believe exactly the same things to be in one place
[22:10] <foxbuntu> giovani, nope, just stating the facts of what Ubuntu's goals are
[22:11] <giovani> #ubuntu-server is very separate from #ubuntu, that's been made clear by many users here, to me and to others
[22:11] <giovani> no desktop questions are to be asked or answered here
[22:11] <giovani> I decided to bend that a little to make sure he wasn't being ignored, and understood WHY he wasn't going to get an answer
[22:12] <foxbuntu> giovani, I never once said I had an issue with anything you said other than telling a new user he isnt ready for linux
[22:12] <a|wen> giovani: it is ... so direct them to #ubuntu or their loco-channel
[22:12] <giovani> a|wen: I did ... did you actually read the conversation?
[22:13] <giovani> foxbuntu: and that's my opinion, and I maintain it -- I don't need to conform to your stance on the issue, and I'm not asking that you do to mine
[22:13] <giovani> so there's no reason to keep bringing that up
[22:13] <giovani> if you wanted to walk him through that, I wouldn't stop you, or say anything about it
[22:13] <giovani> that's your time, and your effort to do with as you please
[22:13] <a|wen> giovani: i did read the conversation ... but then stop after that
[22:14] <giovani> a|wen: then you would've seen my effort to get him to ask the question in #ubuntu, where it's relevant, he said he had, and had been ignored, I explained why he might have been ignored, after learning that he provided #ubuntu with zero details
[22:15] <a|wen> giovani: well, that is his choice ... he didn't provide the info, he wont get any help to get it to work
[22:15] <a|wen> giovani: no need to get the person to feel extra stupid that he is not "ready/good enough for linux"
[22:16] <giovani> a|wen: exactly ... I never said it wasn't his choice, I was simply explaining why, so he'd understand, because he clearly didn't understand why
[22:19] <Thirsteh> screen-profiles is pretty great, but what's feeding the up/down bandwidth meters in the prompt? Mine don't seem to budge from 0kbps
[22:20] <Thirsteh> and on that note, any recommendations for a good curses-based network traffic monitor á la jnettop?
[22:20] <foxbuntu> giovani, so if a user cann't do somethig you consider to be simple, they don't deserve help because they aren't ready for linux is your point of view?
[22:21] <giovani> foxbuntu: if a user cannot make a certain amount of effort (something that will be required regularly for them to learn to use linux), then I will not expend my time and effort to help them complete a task that is not special, or linux-related, because I do not believe it will benefit them, or me, or the community, they need to find that interest/drive on their own, it cannot be taught or instructed
[22:22] <giovani> doing it for them is the old teach a man to fish adage
[22:22] <giovani> and instructing them to open up their laptop is not linux-related, nor is googling for their laptop model
[22:22] <giovani> so I will not offer that
[22:22] <a|wen> Thirsteh: i don't know jnettop ... but iptraf ?
[22:22] <foxbuntu> giovani, had you bothered to notice that particular user was willing to learn because he was able to get LAMP working to the point that he could be shown how to use scp and ssh, he was taking notes and attempting to learn
[22:23] <giovani> foxbuntu: his question and bewilderment at no response proved otherwise to me, if you disagree, for the 10th time ... I'm not stopping you
[22:23]  * giovani &
[22:24] <Thirsteh> a|wen: that one is great, thanks!
[22:24] <a|wen> Thirsteh: great
[22:26]  * foxbuntu goes to be productive, because this conversation obviously will never be...it only proves my previous point
[23:40] <duvnell1> is there a GUI/point-and-click setup-my-ubuntu-server-as-a-network-router tool?   or do I continue forward with installing bind, dhcpd, enabling ipv4 forwarding, etc myself?
[23:41] <sam_> how can i have lighttpd  host a different site on a different port but same ip ?
[23:42] <duvnell1> I believe you can specify multiple ports to listen on
[23:42] <duvnell1> but you'll need to vhost too
[23:43] <sam_> ok ill try make it clearer what i want to do as i wasnt very clear before
[23:43] <sam_> i have a dynamic ip
[23:44] <sam_> so im usin a ddns
[23:44] <sam_> when someone visits my site on port 80 i want them to go to the normal version of the site (hosted at /var/www
[23:45] <sam_> and if they visit my server on port 81 i want them to go to the testing version (/var/www2)
[23:45] <thirsteh> you can set up vhosts that only care about ports, and respond to any hostname/IP
[23:45] <thirsteh> if you want the exact syntax for your lighttpd config, you should ask in #lighttpd
[23:45] <sam_> ok i have never used linux as a server so i dont nmo how to do much
[23:49] <giovani> duvnell1: I don't know of any such tool, and if it exists, GUIs and tools that use them aren't supported in #ubuntu-server
[23:51] <thirsteh> sam_: This thread might be helpful: http://forum.lighttpd.net/topic/958 - basically add $SERVER["socket"] == ":81" and server.document-root = "/path/to/testing/version"
[23:52] <giovani> duvnell1: there is, however, a pretty good tutorial on the wiki, have you read that? honestly, routing is pretty simple, presuming you're just handling 2 or 3 interfaces
[23:55] <sam_> thirsten: i have don that and restarted lighttpd but i just get a connection refused from firefox
[23:56] <sam_> could i put my config on pastebin for you to take a look?
[23:57] <sam_> http://pastebin.com/d621bcf95
[23:58] <giovani> sam_: your config file doesn't have a server.port designation in it that's not commented out
[23:58] <giovani> server.port = 80 will run it on port 80
[23:58] <giovani> server.port = 81 will run it on 81
[23:59] <giovani> lighttpd doesn't cleanly support listening on multiple ports in a single process
[23:59] <giovani> you can use $SERVER["socket"]
[23:59] <giovani> but I don't find that clean