[00:07] If a DNS name in sources.list resolves to a round robin IP list, and one of those IP addresses does not respond, would apt-get try a different IP address? [01:22] hello [01:25] erichammond: No. DNS doesn't work that way. Round robin is for load sharing, not failover. [01:25] hey [01:26] im just wondering from one dedicated server, how many individual sites can be run of it. like a webhost [01:27] LHC, many, using virtual servers [01:28] oh what software does that [01:28] LHC, well, the ubuntu community prefers apache webserver [01:28] im interested in using a dedi i have as a webhost for a few sites [01:28] its an ubuntu server :D [01:28] LHC, well, it's easy to install a working webserver, just use the command: tasksel [01:29] LHC, it's the option "LAMP Server" [01:29] LHC, and that will install the appropriate packages [01:29] I have a counter strike server on it, would it delete any of its feiles? haha please no [01:29] files* [01:30] LHC, it shouldn't [01:30] cool [01:30] LHC, they are completely separate apps [01:30] LHC, you can run all kinds of stuff on a single server if you want [01:30] where will it install to? I mean the directory for puttin the index.html web stuff [01:30] LHC, for example, one server can be a: mail server, web server, ftp server, etc... [01:30] LHC, well, aside from the apache binaries and configuration files, it sets the webroot as /var/www [01:31] LHC, but that can be changed if you want it to be [01:31] rdw200169, I had it for amonth, i bought it for a buddy and I to practise, so we used it as a gaming server, I still havent got the full idea what I can do with it haha [01:31] thanks alot rdw200169 ill try it now [01:31] LHC, well, you should research setting up an apache webserver, there's a lot out there on the internet about it [01:31] so I can use it as a mail server? and have my own email from it? like lhc@mysite.com [01:32] LHC, and there's more to it than i could ever explain here; rest assured that apache is the industry standard [01:32] yeah Im just looking what I can do atm with it hehe Ill definitley look it up [01:32] LHC, yes, you may also want to research what you can do w/DNS... [01:32] ok, i guess I have to get a domain name xD [01:32] LHC, for example, if you received a static IP from your dedicated webserver, having your own domain is as simple as setting up the IP on godaddy.com's DNS server [01:33] LHC, you don [01:33] LHC, you don't have to run your own DNS server, just let godaddy do it for you; much easier and more reliable [01:33] yeah It is static thanksfully [01:33] ok :D [01:33] LHC, same thing w/running a mail server, i find it is much easier just to use google apps w/a domain name from godaddy [01:33] LHC, b/c google provided "Gmail" for your own domain [01:34] LHC, *provides [01:34] so itll show up as rdw200169@whatever.com, but will use the gmail service? [01:35] LHC, yes, it all has to do w/DNS records; for example, my domain is has it's mail server records pointed to what google suggested, so my mail gets routed to them [01:35] thats fantastic!! [01:35] im really impressed xD [01:35] LHC, yeah, it works really well too, and they still provide imap/pop3 access [01:35] http://www.google.com/apps/ [01:35] LHC, so you can have user@LHC.com routed through google [01:36] cause I love gmail [01:36] LHC, it [01:36] do I click business it mangaer [01:36] LHC, it's the same exact thing; it just *looks* like it's on your domain... allows you to have the power of gmail with the professionalism of a good domain name [01:37] rdw200169, thank fuck for you xD I really wanted to know stuff like this, really helpful! [01:37] plus I think people who have person@gmail.com on their site just looks bad [01:37] LHC, yeah, just set up 'business' they have a 'free' version type thing that everyone uses [01:38] haha, how come google is great for this stuff [01:38] 50$ a year for a webserver not bad xD [01:39] LHC, who knows... i like it. i won't buy a dedicated server so i run one out of my home. consequentially, it's on the same desktop i'm using to talk to you right now on [01:39] the web server? [01:39] LHC, yeah, greamin.com [01:39] hehe [01:39] whats your connection like? [01:40] im reading your guide atm :D [01:40] garbage, there's some old equipment where i live so i have to reset the connections every few hours to keep the caches (somewhere) from getting stale [01:40] its relevant to me cause I have an old pc [01:41] one problem on the server guide [01:41] i still haven't figured out what is causing it, i think it's our old WRT54G, but that's doubtful. then again, it can't be the cable modem, i tested that [01:41] LHC, there are lots of them ;) [01:41] the pic of the open case is massive, takes ages to load. you want me to resize it? [01:42] LHC, my internet is slow :( time warner only allows a small upload < 512 kbps [01:42] 2 secs I forgot I dont have hardly any software on this pc haha [01:42] wow same upload here buddy [01:42] LHC, i should go through and resize the pictures smaller, i'm pretty lazy [01:42] ill do i for you [01:42] it [01:42] since you helped me with that gmail suggestion hehe [01:42] LHC, nah, that's ok ;) i know *how* to do it, i just haven't [01:44] i have to reinstall my programs bahhh [01:44] ScottK: Thanks for the response. I understand that round robin failover would have to be implemented at the application level. [01:44] ScottK: I understand that some browsers might do this and was hoping that apt-get might, too. [01:45] You can't really do this without ignoring TTL in DNS records and that's not a great idea overall. [01:51] rdw200169, since i cant open firefox and research stuff cause im installing something. Any other interesting things [01:51] i got really excited at that gmail thing for some reason xD [01:51] oh ill set up lamp [01:56] LHC, what do you want to know? i've done lots of interesting things with servers [01:58] anything, maybe basic things like virtual servers? [01:58] is that wmware? [01:58] cause I have a server with unlimited transfer and I dont use it as much as I should [01:58] lack of knowledge haha [01:59] ScottK: Not sure how TTL applies. If the client asks for all IP addresses for a given name and then tries them one by one, seems like it should work. [02:00] i'm talking about apache virtual servers; apache can, all by itself, provide services for a multitude of domain naims [02:00] That's not how round robin generally works. [02:00] *names [02:00] Generally you ask for a DNS name and it hands you an IP. [02:00] ScottK: "dig +short us.archive.ubuntu.com" returns (91.189.88.46, 91.189.88.40, 91.189.88.45, 91.189.88.31) [02:00] so if I designed alot of sites for local businesses I can run it off them one dedi and charge them little for hosting? [02:01] Yes, it doesn't usually return all of them. It gives you one. If it gives you all of them it's not round robin. [02:01] So once you get the answer, your resolver should cache that for the TTL. [02:01] Doesn't it give you all of them in a round-robined order? [02:01] And then if your resolver / API is naive, you just use the first [02:03] wow rdw200169 i installed tasksel [02:03] has alot of options hehe [02:03] If it's giving you all of them that's not really round robin as I understand it. [02:03] I think ill leave it for the mean time until I learn more [02:07] So I guess I'll repeat my original question: Does anybody know (for sure) if apt-get will or will not try multiple IP addresses for a DNS name if one of them fails? [02:08] i ll give you feedback to show we are listening, sorry I dont hav a clue xD [02:08] I'm working with some folks who are creating an Ubuntu mirror inside Amazon EC2 and I'd like to make sure that we have failover. [02:09] I remember I seeded ubuntu up to a ratio of 30 or so [02:09] Their current proposal for sources.list is to list the same source with each of the host names: mirror-roundrobin, mirror1, mirror2, mirror3 [02:10] "mirror-roundrobin" gets the load balancing, but if the random IP fails, it would get sources from one of the remaining explicitly listed hosts. [02:11] amm someone should really help you right now cause your doing good mirroring ubuntu [02:12] erichammond: That would probably work. [02:17] brb [02:21] how can I temporarily open ports with iptables? I tried on the commandline sudo iptables -I INPUT -p tcp --dport 6984 -j accept [02:21] but it doesn't show up in iptables -L [02:30] rdw200169, [02:36] dinsdale07: ACCEPT needs to be UPPER CASE in your rule: sudo iptables -I INPUT -p tcp --dport 6984 -j ACCEPT [02:37] jmarsden, thank you I found out. I think it's also not possible just from the commandline since my last iptables comment is DROP ALL. It seems to override all unless I put it in a file and load it. [02:37] You just need to insert the new rule ahead of that one. [02:38] It has nothing to do with being in a file or not :) [02:46] jmarsden, I don't understand well. How can I specify where in the list my rule will appear? As I said iptables -L didn't even show my rule. [02:47] I for sure must give a line number or so. [02:47] You can specify a rule number in the insert command [02:47] sudo iptables -I INPUT 63 -p tcp --dport 6984 -j ACCEPT [02:47] where 63 is the line number [02:47] Read the man page for iptables more carefully :) [02:48] ah - that makes sense now. And yes you are right - I will. [02:48] is it unix time yet? [02:48] I'm just stranded on the road in a hotel after a snow storm and I just wanted to get my torrent working :-) [02:48] Best time and place to study man pages actually. [02:48] haha [02:49] dinsdale07: You carry a *server* around on the road and into a hotel??? This is #ubuntu-server [02:51] I know - I'm abusing my webserver with rtorrent, that's why I have to do all cmd style. [02:54] wtf, im banned from #apache and I never went there before [02:54] vorian: Soundtracker failed again on hppa due to deps not being built, but it has a retry button now so you can retry it again when you think it'll work. [02:55] ScottK: great! thanks for the heads up [02:56] can someone help me with a little problem [02:57] i have a dedi that my mate and I share, im wondering how to check if there is apache installed, how do I check this [03:03] LHC: whereis apache2 [03:05] apache2: [03:05] says that [03:05] which apache2 [03:06] apache2 not installed... [03:06] ty [03:06] which version of ubunut? [03:06] How about which apache [03:06] We didn't support apache 1 for a very long time. [03:06] I wanted to find out if he had apache installed, he doesnt [03:07] he has an htdocs folder that allows me to put files there that can be accessed [03:09] Maybe using another server...lighttpd, nginx? [03:10] LHC: Maybe the output from sudo netstat -ntlp | grep :80 # will tell you what is listening on port 80... [03:12] 3109/httpd [03:12] that is the output [03:12] Im just wondering can I install apache without causing any problems [03:13] Not without making it run on a different port, that's for sure. [03:13] There is already a web server (program named httpd) running and bound to port 80. [03:14] should I delete that or is it perfectly fine [03:14] It seems to be working, so I'd say it is fine... don't delete it unless you know what it is and that your buddy does not want it :) [03:15] If you have libwww-perl installed, try HEAD http://myserver and see what the output says, especially the Server: line [03:16] Server: Apache/2.2.11 [03:16] Hmmm, then that is what is already installed, in some fashion. [03:16] thats strange I thought eariler it said it wasnt [03:16] Maybe your buddy installed it from source not from the Ubuntu package? [03:17] Sounds like it is time for the two of you to communicate? :) [03:18] lol yeah [03:18] I think ill just leave it for the mean time [03:18] I wanted to know how to use it like a webhost. lots of domains - one server [03:18] virtualize? [03:18] Yes, I think that's wise. If you want to poke around you could try locate httpd.conf [03:19] It's trivial, just lost of entries in your config file. [03:19] Virtual hosts in the web serving sense, not in the more general "virtual machine" or "virtual server" sense. [03:20] ahh :D [03:20] cause I wanted to use multiple domains from this one dedi [03:20] thats good [03:20] Yes, it's been easy to do that for well over a decade using Apache :) [03:21] lol [03:21] im new to this [03:21] i found the lamp folder [03:22] is there any command I can use to search for that file [03:22] Oh ugh, your friend used some strange "LAMP" tarball maybe, instead of the Ubuntu packages? [03:22] Yes, the command is locate [03:22] locate httpd.conf [03:23] cheers [03:23] No problem. [03:24] worked like a charm :D [03:24] i like using linux but im slowy learning [03:25] It takes a while. I started in late 1992... so I have a few years head-start :) [03:25] wow lol [03:25] do new commands get added all the time? [03:27] Well, yes, but all the important ones have been there for a while now :) In 1992 the "distro" fit onto two 720kbyte floppy disks! [03:27] haha [03:27] how much has it changed xD [03:28] well, it has got a lot more graphical, and multimedia, and works with more (and faster) hardware... but the basics of a Unix shell to manage a server have not really changed that much. [03:29] Nor have the Emacs editing commands... fortunately for my fingers :) [03:29] hehe [03:29] does anyone run window servers? [03:30] Sure, lots of people do. But not many will admit that here on #ubuntu-server :) [03:31] haha [03:32] I think all the big bandwidth guys use freebsd? [03:33] can anyone help with a samba drive share set up [03:34] can see the share on windows network but won't allow me to move files to it [03:34] I think its a password permission issue [03:34] I have the desktop gui installed [03:35] jmarsden, should this Options FollowSymLinks be on? [03:36] if you want the web server to follow them, yes. Otherwise, no, for slightly improved security. [03:36] steelcityjim: pastebin your samba config file somewhere for me? [03:38] kk :D [03:39] just remove it? [03:39] LHC: if you do nto need it, maybe commetn out that line in the file, or you could just delete the line. [03:39] kk thanks [03:40] jmarsden not sure how to do that [03:40] btw I found that httpd-vhosts.conf file [03:40] I see what you mean [03:41] steelcityjim, haha I see your pastebin thing 010101 [03:41] steelcityjim: Visit http://pastebin.ubuntu.com and paste the contents of your /etc/sa,ba/smb.conf file there, then hit the go button and tell me what the URL of the resulting pastebin page is. [03:41] one thing jmarsden [03:41] http://pastebin.com/d261154e4 [03:42] so thats two websites? [03:42] LHC: yes. The DocumentRoot lines are a bit odd, but yes. [03:42] how do I find that file guys? [03:43] Ill change them to my root which is /home/htdocs [03:43] so /home/htdocs/firstsite + /home/htdocs/2ndsite [03:43] that would be two sites? [03:43] LHC: Sure, that could work. [03:43] cool [03:44] then I point the domain name to that directory? [03:44] You make the DocumentRoot for that VirtualHost be that directory. [03:45] If you end up doing a couple of hundred sites, you'll want to automate all of this... I think ebox will do it for you [03:45] yeah, btw what happens if I dont make a virtualhost but try to do the same thing? will it break [03:45] il google ebox [03:45] !ebox [03:45] ebox is a web-based GUI interface for administering a server. It is designed to work with Ubuntu/Debian style configuration management. See https://help.ubuntu.com/community/eBox [03:46] looks good [03:46] btw if someone got the server password, are I doomed [03:46] Without any virtualhost entries in your httpd.conf (and the files it includes) you just have one web site. [03:46] The server password as in the root account password? [03:46] Probably, unless you trust that person a lot :) [03:47] (Well, to be specific... *you* are not doomed, but your server might be!) [03:47] haha [03:47] I guess all the popular sites passwords are 100 characters long [03:48] jmarsden ok i think i pasted what you need pastebin 117913 [03:48] I can imagine loggin onto youtube and being redirected to a trojan site xD [03:49] is that what you need jmarsden? [03:49] Yes. So... which share has the issue? public? [03:50] yes [03:50] this is my first config [03:50] so I probably screwed something up [03:52] And the symptom is that windows client machines can see the share just fine, and read files there, but not write files there... what are the (Linux) permissions on your /home/jim/Public/ directory ? [03:52] well i don't know about read since I don't have any file in it yet [03:52] but I cant write for sure [03:52] hey guys [03:52] OK. Do ls -ld /home/jim/Public/ # and tell me what it says [03:53] ubutnu server here, and i would like to swicth the repositories to my country's specific [03:53] it's possible ? [03:53] where do I do that? [03:53] infomomo: edit /etc/apt/sources.list [03:53] in the browser? [03:53] steelcityjim: At a shell command prompt... this is a server, right? [03:53] im in the desktop gui [03:54] jmardsen: i must edit by hand [03:54] ? [03:54] i am in canada you see [03:54] no desktop trying to convert to server [03:54] usually iweb's or sherbrooker are the fastest ones [03:54] infomomo: I don't know of an automated tool for that... I would edit it by hand., but then I am used to editing files :) [03:54] me too :D but it seems like ubuntu desktop has the tool to choose the fastest server [03:55] why wouldnt it be available for server [03:55] Because it is GUI-based and server does not come with a GUI? [03:55] maybe :D [03:56] btw jmarsden sorry to interupt, after I set those. How do I access the second one? [03:56] So you *could* install ubuntu-desktop on the server and then use that tool... but it seems easier to just edit the file :) [03:56] right [03:56] LHC: http://www.seconddomain.com [03:56] i dont need a desktop on the server [03:56] I donthave any domains for it yet [03:56] its just using the server ip [03:56] I could not get the desktop to work from the server [03:56] so installed the desktop [03:57] LHC: Then you can't access it. Apache virtual hosting depends on domain names. Well, you could test by setting up your own DNS server for the fake domaons if you want to. [03:58] steelcityjim: So you are in #ubuntu-server asking for support for a ubuntu desktop machine... this is not really a good idea... [03:58] doh [03:58] steelcityjim: Anyway, what does ls -l /home/jim/Public/ say ? [03:58] oh [03:58] where do i put that in? [03:59] im in the gui [03:59] jmarsden, I saw an option on tasksel about that [03:59] steelcityjim: You type a command at a shell prompt. Open up a terminal window and type it. [03:59] LHC: Sure you can ... but I [04:00] am not going to teach you how to configure DNS servers tonight too :) [04:00] lol yeah [04:00] what will the end result be? allowing me to type in any url and itll work? [04:01] Any url that resolves to the IP of your server and which matches one of the ServerName or ServerAlias lines, yes. [04:01] no such file or directory jmarssden [04:01] is that the number 1 [04:01] or L [04:01] nice [04:01] ill give that a go another night lol [04:02] steelcityjim: Lima Sierra ls "ell" "ess" [04:02] no such file or directory [04:02] did I bone the file creation up? [04:02] steelcityjim: You did create a directory called /home/jim/Public, right? Before you tried to share it? [04:03] i thought i did [04:03] I would check on that if I were you :) [04:04] Remember that public and Public are two different directories in Linux... [04:04] oh man [04:04] wait maybe i jacked that search up [04:05] how do I create the directory in the gui? [04:05] I forget. In the shell, do mkdir /home/jim/Public [04:05] You want help on the GUI, ask in #ubuntu, not here :) [04:07] ok did the mkdir /home/jim/public [04:08] then did the ls -l command and it gave total 8 [04:08] No... Public not public.. Your config file used Public so that is what you need to use [04:08] mfer [04:09] jmarsden [04:09] You need to be really accurate about typing in the Lunux/Unix world [04:09] im going to buy thelhc.info xD [04:09] LHC: Have fun :) [04:09] yes its like 99p [04:09] itll be good practise :P [04:09] how to update ubuntu-server ? [04:09] ok says can't creat directory home/jim/Public file exists [04:09] apt-get update? [04:09] apt-get upgrade? [04:10] infomomo: sudo apt-get update && sudo apt-get upgrade [04:10] i did [04:10] :D [04:10] thanks [04:10] i am at kernel 2.6.27-7 [04:10] running LAMP [04:10] anyone buy from godaddy before? [04:10] domain yes [04:10] why? [04:11] are the prices for a year [04:11] or one month [04:11] There is also a package called unattended-upgrades that will do security updates automatically for you [04:11] 1 year for domains brother [04:11] ahh nice [04:11] WOW infos are cheap [04:11] thats whats i need :D [04:11] 82 pense [04:11] hun ? [04:11] let me check [04:11] 82p [04:11] show us link please [04:11] www.godaddy.com [04:12] try your name [04:12] jmarsden cannot creat directory /home/jim/Public file exists [04:13] jmarsden: it's allready installed :D guess i did during the install :D [04:13] steelcityjim: OK, so we are back to ... what does ls -ld /home/jim/Public output ? [04:13] infomomo, check your name? [04:14] hun ? [04:14] drwxr-xr-x 2 jim jim 4096 2009-02-13-15:28 [04:14] did you check godaddy about a domain [04:15] then in light blue after /home/jim/Public [04:15] the price you see is only for the first year [04:15] then its regilar price [04:15] 10$/year [04:15] steelcityjim: OK. That's a start. So now put a file in there and check if a windows machine can see/read it. perhaps just do echo junk >/home/jim/Public/junk.txt [04:15] ahh so I can quit then come back? xD [04:16] LHC: Nope, then GoDaddy will steal your domain and ask you even more money for it... [04:16] ill probably change my name then xD [04:16] LHC2!! [04:17] one more thing should all the information be correct cause I dont want my address be floating around the net [04:17] damn now the folder is gone on the linux machine [04:17] Officially it should be correct. There are privacy services you can use to hide that info for extra $$$ [04:18] steelcityjim: I doubt it... unless you deleted the folder it should stick around... [04:18] meh Ill just modify it, im not expecting high traffic anyways [04:18] ok I got it back [04:19] steelcityjim: OK. So... did you do echo junk >/home/jim/Public/junk.txt [04:19] but i tried to move a folder into it and get "the folder cannot be copied because you do not have permissions to create it in the destination [04:20] Stop playing around ... one thing at once: did you do echo junk >/home/jim/Public/junk.txt [04:20] yes just did that at terminal [04:21] OK. So now go to a windows PC and look at that shared directory... can you see the file? [04:21] no [04:22] giving me contact network admin you don't have rights to access [04:23] have access permissions or no logon servers available [04:24] now im able to access my shared folders on the windows pcs with the linux [04:24] For a quick test, try chown 777 /home/jim/Public/ and then see if the windows PCs can see that share [04:24] at termnal right [04:25] OF course :) [04:25] operation not permitted [04:25] So where do I find CA.pl on Fedora? Why /etc/pki/tls/misc/CA.pl. Who wouldn't haved guessed that. [04:26] Hmmm. You are logged in as jim right? [04:26] yea [04:26] Equally obvious was the package I needed is called openssl-perl. [04:26] ScottK: locate is a handy command :) [04:26] jmarsden: Google found me where it was located before it found me which package I had to install. Locate doesn't help if it's not installed. [04:27] Installing I'm fine on because I do know yum install apt. [04:27] That's true. I think you can do something like rpm --whatprovides something # but it's been a while since I knew RPM [04:28] jmarsden actually it says changing owership of /home/jim/Public/ operation not permitted [04:28] steelcityjim: My bad... chmod 777 /home/jim/Public [04:29] ok did that [04:29] still can't see it on windows machine [04:29] but I also don't see anything else in the folder [04:29] on the linux [04:31] steelcityjim: The file junk.txt should be in there... [04:31] jmarsden, what does chmod 777 do [04:31] Sets permissions so any unix suer can read, modify or view that directory [04:31] yes that file is there jmarsden [04:32] I thought the chmod would put something else in there [04:32] ok quick questions [04:32] so... I'm not sure... reboot the windows PC and reconnect to the share? [04:33] server settings [04:33] authentication mode Domain [04:33] is that what I should have? [04:33] Wait... what? You are running an Active Directory Domain? Do you now what those are? [04:33] no [04:33] lol [04:33] s/now/know/ [04:34] Then don't do that. Was that the default?? [04:34] 4 options [04:34] ads [04:34] server [04:34] share [04:34] user [04:34] and domain 5 sorry [04:35] oh hang on [04:35] changed it to user [04:35] and i can now see the file on the windows pc.....great success [04:37] jmarsden instead of buying .info I got a free.us.to one [04:37] :D [04:37] For a small home network you probably want user... yes. OK, we got there! [04:38] ok now i know your gonna love this [04:38] LHC: OK... now have fun with virtual domains on your web server :) [04:38] how do I set this up for remote access [04:39] haha yeah [04:39] Set up what for remote access? remote file sharing over the Internet? [04:39] yes [04:39] do when I add them do I point it to /htdocs/2nd ? [04:39] if so im doing it :D [04:40] and I don't have a static ip? [04:40] steelcityjim: You'd be mad to try that! SMB file sharing is basically 100% insecure for Internet use. You'd need to tunnel it inside a VPN for security, and I have other things to do tonight that teach you that...! [04:41] lol [04:41] ok answer a few ?'s real qick [04:41] Why not use use something simple like FileZilla on the remote PC and SSH to your Linux box? [04:41] is filezilla linux or windows? [04:42] Both, but I was thinking use it on remote Windows client PCs [04:42] i was going to ask about ssh [04:42] now ssh is a server application linux correct? [04:42] There is an ssh client and an ssh server, yes [04:42] They exist for both Linux and Windows... [04:43] i did not see that in the standard apps [04:43] I would want to set up as ssh server right [04:43] what is a standard app? sudo apt-get install openssh-server [04:43] the list in the desktop gui [04:44] Quit thinking about and using a GUI, learn to use a server :) [04:44] yea thats what people keep telling me [04:44] I tried for 3 nights to get the server working via the command line [04:45] did not go well [04:45] however don't think i was getting the best direction [04:45] not like you [04:45] So: sudo apt-get install openssh-server # on the Linux box [04:46] ok [04:46] then im assuming i have to configure a sing on and password [04:46] Then open port 22 in your router and point it to the IP of the Linux box [04:46] You already did, you configured the user called jim [04:47] You can add more users, if you want, but jim will do for now [04:47] now from the remote [04:47] remote like not on your local LAN? [04:47] i type in the ip address of my internet connection at the time [04:47] yes [04:48] obviously that changes everytime i sign in and out? [04:48] since its dynamic [04:48] Once you have that router configured right, yes. You set up FileZilla to talk SFTP on port 22 to your public IP. [04:48] You can use something like no-ip.com to get a dynamic DNS entry if you want to avoid that hassle. [04:49] now I have read some ip providers have an issue with this [04:49] Well, for occasional SSH use to manage your home server, I doubt it. [04:49] If you start firing masses of big files back and forth, sure... [04:49] like movies? lol [04:50] They want you to sign up for a business grade Internet connection. Yes, like any large files. [04:50] and im assuming for hosting a personal web site also [04:50] Yes. Read the Terms of Service agreement from your ISP to check what their rules are. [04:51] im guessing they want more $$ [04:51] Correct. [04:51] they want $10 more a month for a static ip [04:51] so how does the no-ip.com work? [04:52] You create a free hostna,me such as steelcityjim.no-ip.com and then run a program on your linux box that updates that account with your current Ip address every time it changes. [04:53] do they charge for that? [04:53] Then from the outside you connect to steelcityjim.no-ip.com and you get to the right linux box even if its Ip has changed. [04:53] oh thats sweet [04:53] No, it is free but you have to keep clicking on an email every 60 days to keep it. [04:53] You can pay for upgraded services but I have not done that. [04:54] There are many such services. dyndns is another one. [04:54] excellent i'll check into it [04:54] is there a way to check what ports are open? [04:54] See http://www.no-ip.com/services/managed_dns/free_dynamic_dns.html for info on their free service. Works for me. [04:55] you have been very helpful [04:55] wow jmarsden you really do like to help haha I just came back and theres a whole page xD [04:55] well done [04:55] LHC: checking for what services are listening from the server itself? or from a remote client PC? [04:55] (I should get back to other things...) [04:56] ahh checking what ports are open on my dedi [04:56] via putty [04:56] On the server if you do sudo netstat -ntlp # you will see what TCP services are listening on what ports there [04:57] On a PC at home you could run nmap to portscan the dedicated server and check it that way too... [04:57] hehe it worked perfectly again thanks [04:57] No problem. [04:58] http://pastebin.com/db97b1a9 [04:59] so is that perfect? [05:00] Looks like it should work. I would put stuff in so that each domain logs to a differnt log file, and maybe add ServerAlias lines for www.domain... [05:00] But as it is it will work. [05:00] oh I suppose your way is better practise :D thanks alot man [05:03] See http://pastebin.com/d389ecc90 for an example that shows what I ended up doing on a production server... [05:03] It hosts maybe 150 domains... [05:04] WOW [05:04] 150? [05:04] why so much [05:04] Sure, that's small potatoes for todays world. Small businesses that are clients of the company I work for... [05:04] once I get this all good I think ill maybe sell webspace for cheap [05:05] cool [05:05] You can do 1000 web sites per server if they are all small static sites :) [05:05] the whole reason I was looking for this is because Im going to go around to local businesses and get them an online presence [05:06] so I wanted to know how to do it xD its very interesting i like it [05:06] If you know enough to provide reliable hosting, and fix it fast when it breaks, go for it. Small business owners get really upset when their website (or email) goes down! [05:08] lol yeah [05:08] itll most likely be static as said, maybe their menu or services and a contact form [05:10] dammit forbidden xD [05:15] OK, so $CLIENT now is their very own CA and their postfix box is using the self signed certs. [05:15] Time for Scotch after logging out of the Fedora box. [05:20] for apache does it matter where you place the htdocs file? I got it in /home/htdocs whilst apache is in /opt/lampp/ [05:22] LHC: It can be anywhere you want, even a CDROM :) Just be sure that the apache server can read the files there [05:22] haha cool [05:22] how do I make sure? [05:23] Directory permissions all the way down the tree... so if you use /home/htdocs then check using ls -ld /home and ls -ld /home/htdocs [05:24] You need the user and group apache runs as (often www-data but check your httpd.conf) to be able to read and traverse all the dirs from / down to the one you specify. [05:25] drwxr-xr-x 8 root root 4096 2009-02-03 00:23 /home [05:25] [05:25] drwxr-xr-x 9 root root 4096 2009-02-14 05:53 /home/htdocs [05:25] so that is fine [05:25] Should be fine, you have x permissions for everyone all the way down, and read for everyone too. [05:26] nice [05:32] jmarsden you said your using this no-ip.com [05:32] Yes... [05:32] what router you got? [05:33] seems this won't work with some routers [05:33] I'm using it a several client sites, so it works over all kinds of things from Linksys and DLink home stuff to small Cisco and SonicWall and MonoWall routers... what is your real question...? [05:33] thats it [05:33] Why would it not work with some routers... [05:33] i got lynksys [05:33] thats what is say on their site [05:34] It just uses HTTP (web access)... hmm, I've never seen it fail, will check... [05:34] they only list 4 or 5 that it works with [05:34] jmarsden I got an idea, I may reinstall apache so I know everything will work cause what is on atm doesnt seem to work [05:34] guranteed [05:34] I signed up [05:34] gonna give it a shot [05:34] LHC: Well, it was working before you started editing things, right? [05:34] So either you broke it or it is still working :) [05:35] yeah when index.html was in the htdocs dir [05:35] I dont think this multiple domains thing isnt working for me Ill just put it back [05:35] What exactly is "not working" now? [05:36] http://thelhc.us.to/ [05:36] its forbidden [05:36] You mean you are getting an error 403? [05:36] yep [05:36] but when I add the folder http://thelhc.us.to/thelhc/ it works [05:37] btw thats just a test page lol has a curse word on it [05:37] So it is working fine... you can either set the document root to /home/whatever/thelhc/ or you can move your content up one level. [05:38] [05:38] ServerName thelhc.us.to [05:38] ServerAlias thelhc.us.to [05:38] DocumentRoot /home/htdocs/thelhc [05:38] [05:39] OK. Seems reasonable. And the file is in /home/htdocs/thelhc/ ? [05:39] how difficult is makeing a web page? [05:40] LHC: Did you restart the web server after the domain name became active and pointed to your IP? [05:40] ahh no [05:40] steelcityjim: Trivial... for a trivial page :) [05:40] that might be the problem? [05:40] Yesm it might well. [05:40] would that reboot the whole server? [05:40] No. [05:41] thank god haha [05:41] and thats apache I use for that correct [05:41] steelcityjim: For creating the page you use a text editor, or a web page creation tool if you prefer. For serving up that page so others can see ityou could use Apache. [05:42] any text editors better than others? [05:42] LHC : If you can find a command called apachectl try sudo apachectl restart [05:43] bash not found haha, i think i have to use kill command [05:43] steelcityjim: Yes. But there's a bit of a "religion" thing about which ones people prefer... use one you already know well. [05:43] LHC Try not to do that... [05:43] it sounded cool though xD [05:43] well I have not used any which do you prefer [05:43] LHC: Do you know how the httpd was started? [05:44] nope the other fella does that, he installed it [05:44] I have a right mind of wiping it [05:44] backup the files I need the clean install [05:44] steelcityjim: I use Emacs but it takes a while to get comfortable with. Try nano for something quick and simple. [05:44] ok apt-get install nano/ [05:45] ? [05:45] LHC; Your call. So locate apachectl does not find it at all? [05:45] steelcityjim: sudo apt-get install nano # but it may already be installed? [05:45] oh it did, /opt/lampp/bin/apachectl [05:45] jmarsden you ever see a captive works 3000hd? [05:46] http://www.captiveworks.com/cw3000hd.php [05:46] he did now haha [05:46] you familiar lhc? [05:46] LHC: so do sudo /opt/lampp/bin/apachectl restart [05:47] wow jmarsden you know everything haha [05:47] steelcityjim: No, I don't think so. I used to be involved in setting up satellite comms at one point, but not recently... [05:48] I think its working [05:48] ill check [05:48] LHC: No, I just know a fair bit about network and system admin stuff, because I have done it for years... [05:48] linux based media satellite reciever [05:48] pretty neat device [05:49] haha fair enough [05:49] so far its working I just have to point it to thelhc folder [05:49] Interesting idea... much will depend on how good the software it uses is... [05:50] Ive had it for almost a year now [05:50] works pretty well [05:51] decodes hd satellite, dvr, web browser, cd/dvd burner [05:52] im sure you could fine tune it [05:53] Probably needs a Bluray burner if you want to keep many HD movies around, I would think? And yes, if I had one I'd probably hack on it :) [05:53] they claim they can't put blu ray in because of the driver or something [05:54] sony will sue [05:54] sucky sony [05:54] thats the only thing its missing [05:54] Hmmm, maybe there is no open source BluRay recording support in Linux yet... could be. [05:55] is there open support for hdmi? [05:55] from my understanding that has encryption also [05:58] Some interest comments and suggestions for HD playback stuff at https://help.ubuntu.com/community/RestrictedFormats/BluRayAndHDDVD [05:58] But nothing there directly says anything about *recording* to Bluray... so I'm guessing it isn't (yet?) doable. [05:58] decrypt? [06:00] I suppose you could just put a 2TB hard drive in there instead, that should be good to store quite a few movies :) [06:00] haha [06:00] do you know what hdbits.org is [06:00] Sounds liek a place to get HD movie keys from? [06:01] its a hdtorrent tracker [06:01] it is pro for all hd stuff, the most popular hd tracker. If i get an invite ill pass it onto you? [06:02] If you want, sure. [06:02] do you know what, what.cd is [06:02] the best music tracker xD [06:05] lhc what.cd what is it? [06:05] for music [06:05] how do you register? [06:06] its private [06:06] you have to get an invite etc [06:06] it counts your downloads and uploads so if you download loads, itll say stop or itll ban you [06:07] kinda like your own personal itunes [06:08] sorta but better quality haha [07:05] WOHOOOOOOOOOooooooooooooooooooooo === erichammond1 is now known as erichammond [08:08] hey anyone here === LHC is now known as RandySchwartz [09:02] hey [09:02] anyone know anything about permissions [09:02] !anyone [09:02] A large amount of the first questions asked in this channel start with "Does anyone/anybody..." Why not ask your next question (the real one) and find out? [09:03] haha [09:03] !coolshitbro [09:03] Sorry, I don't know anything about coolshitbro [09:03] who knows about permissions [09:03] beat that kaiser [09:04] !ask [09:04] Please don't ask to ask a question, simply ask the question (all on ONE line, so others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) [09:04] i want to set up a ftp account so the person can upload html and css to their webspace [09:05] but not go outside of that directory [09:05] http://ubuntuforums.org/showthread.php?t=1057657 [09:05] I tried this so far [09:07] I dont do ftp, so i cant help with that sorry. hang around, someone else might know how [09:08] k [09:12] what do you do? [09:13] ssh/scp [09:13] ahh [09:13] basically I have a whole dedi to use and I hardly use it === ReAn` is now known as ReAn [10:11] hey [10:12] do you know How set up an account so a user can upload to a web directory, but cannot go outside that dir [11:08] Hey [11:10] I have a question about something i can't seem to find a good answer to on the net, i am installing noip DUC for Linux, and there is a few different binaries i can use such as: noip2-x86_64 or noip-i686 and i dont know the differece and what one i should use for my server [11:10] I know it's not a 64-bit server, but i see x86 and im not sure whether to use it or i686 [11:12] "x86_64" is one string [11:12] eg, 64bit x86 [11:16] Yeah, but is it used for 32bit CPU's? [11:17] I understand x86 to be 32bit [11:17] so to see x86 and 64 in both confuses me [11:18] x86 is the architecture, not related to the number of bits :) [11:18] 686 is the 32bit version (just for the logs) [11:19] oh, i see. [11:19] yes, amd made a rather big mistake early on in naming it x86_64, IMHO. had they chosen x64 instead, I think things would be much clearer. [11:20] Agreed [11:20] Because i understand x64 to be 64-bit [11:20] they renamed it amd64 later, but that has only partial uptake [11:20] and x86_64 to me is like [11:20] A mixture [11:20] Well [11:20] 686 it is then [11:21] x86_64 is just another name for amd64/x64/em64t [11:22] isnt x64 used for itaniums? (IA64) [11:22] no, it isn't [11:22] x64 is what sun and microsoft call it [11:23] and it being amd64/em64t/x86_64 [11:23] aah, of course. [11:24] since em64t/x86_64 are crap names and amd64 sounds a bit confusingly vendor-specific though it really isn't. [11:25] no much more specific then IA32 or IA64 (imo) [11:25] yeah, I agree [11:25] ah, intel now call it "intel 64", not to be confused with "intel architecture 64" which is itanium. ugh. [11:27] yep. loved that. === tuxlinux_ is now known as tuxlinux [12:45] New bug: #329170 in dovecot (main) "Authentication failing intermittently" [Undecided,Incomplete] https://launchpad.net/bugs/329170 [12:47] how can i get dhcp to log in it's own file? [12:49] give syslogd a poke so it stops logging into syslog and starts into $otherfile === ScottK2 is now known as ScottK === jussio1 is now known as jussi01 [16:30] can anyone help me with bacula and win32 client? [16:58] What are some ways to maintain /home/$USER on a centralized (redundant) server, but have it cached to a client machine when the user logs in, while not letting the client fill up to capacity if many users have logged in? [17:04] nfs perhaps? [17:05] i think you can do stuff like that with samba also [17:05] but personally ive only did those setups with nfs [17:06] I was looking into AFS and DRBD. I was interested in how enterprise networks handle such things. [17:06] ok i dont know about that [17:07] afs is the apple thing, right? i have a faint memory i used it a bit with my powerbook, but that was years ago [17:07] no afs is a distributed network file system [17:08] ah ok [17:09] i was thinking afs, apple file share [17:09] http://en.wikipedia.org/wiki/Andrew_File_System [17:09] thats the óne you mean, right? [17:09] yes [17:10] seems cool [17:39] hi! [17:39] http://p.defau.lt/?ILkL1opB2Tcs4iaRCW50pQ <-- do high Slab/SUnreclaim values mean I have memory leak in kernel somewhere? [17:47] anyone have any ideas where to go from here in terms of recovering my RAID10 array? http://pastebin.com/m39890121 [17:52] anyone famiiar with pure-ftpd here? [17:54] Hi, I'm having a problem getting php mail function to work on my ubuntu web server. Someone's got a hunch? [18:02] Need help configuring the mail server to send emails through ISP:s smtp server and set the correct [mail function] setting in php.ini [18:12] ARGHHHH, I kept working tree of hour's work in /tmp, then rebooted [18:57] i have a second network card.. do I just add this to the interfaced file `iface eth1 inet dhcp' ? [18:57] sudo ifconfig eth1 dynamic did not help [18:57] open the file and write [18:58] this is how the interfaces file currently looks like [18:58] http://pastebin.com/f3e716c63 [18:59] so when I add .. do I have to run anything to activate short of rebooting? [18:59] you don't have to reboot [18:59] just ifup eth1 [18:59] you know what 'auto eth0' stands for? [19:00] ivoks: no [19:00] auto eth0 = when starting networking, start eth0 interface [19:00] automaticaly [19:00] that's why there's auto eth0 [19:00] so if you want that for eth1... [19:02] is there a way to use canonical support without using landscape? :) [19:02] how do I make sure my default gw interface is eth0 ? [19:02] axisys: good question [19:02] hm... [19:03] right now route shows this [19:03] default 192.168.1.1 0.0.0.0 UG 100 0 0 eth1 [19:03] default 192.168.1.1 0.0.0.0 UG 100 0 0 eth0 [19:03] lol [19:04] axisys: to be honest, i don't know :D [19:05] i don't think that's possible with dhcp [19:06] you can't flush routes and set your own [19:06] i could have a line in interfaces to del the default route to eth1 [19:06] looking for the syntax [19:06] since dhcp server will resend everything [19:06] you could, yes [19:06] post-up 'route del default gw dev eth1' [19:07] sudo route del -net 0.0.0.0 gw 192.168.1.1 dev eth1 [19:07] but, i'm not sure that will work once dhcp client asks for lease again [19:07] but... [19:07] you don't need sudo [19:07] you should look at /etc/dhcp/dhclient.conf [19:08] ivoks: so add this line exactly? post-up 'route del default gw dev eth1' [19:08] so that client doesn't accept routes for eth1 [19:08] axisys: yes, but as i said, i'm not sure that will work [19:08] since dhcp client asks for routes every couple of minutes [19:09] and you only bring interface up once [19:09] that's why i think /etc/dhcp3/dhclient.conf should provide some solutions [19:11] i have to run for a min.. but i think u r right.. i just should not request for the routers in the dhcpclient file [19:11] and just add the default route as a script for eth0 [19:11] right [19:11] * axisys will be back in few hrs === axisys is now known as axisys_away === erichammond1 is now known as erichammond === erichammond1 is now known as erichammond [20:22] kees: that was fast! :) [20:23] domas: caught me just as I was sitting down at the computer. :) [20:23] kees: I think I can try producing a C-based small testcase that wouldn't need apache [20:23] kees: (and leak doesn't go away until you reboot) [20:23] domas: oh! that would be very useful, yeah [20:24] domas: yeah, though I guess what I meant was, if you disable apparmor, the leak stays away? [20:24] yup, /etc/init.d/apparmor stop doesn't release memory [20:24] if it's limited to just one action, it should be (hopefully) easy to track down and fix. [20:24] it is still unreclaimable [20:24] * kees nods [20:24] kees: thats the only thing I changed [20:24] right, but if you boot, turn off apparmor, and then run the test-case, it's okay? [20:24] I switched locking mode for a process that was apparmor-audited [20:24] kees: yup [20:25] no apparmor, nothing bad happens [20:25] I have 200 servers doing the job, few with apparmor [20:25] those few caused troubles :) [20:25] dang, sucky bug. but like I said, with a test-case, it should be easy to find. [20:25] yeegh [20:25] we have canonical contract, but we didn't manage to find out how to open issues without installing landscape :))) [20:26] i'm honestly not sure how to either; I think you can just call the support phone # [20:26] cd /tmp [20:26] ergh [20:26] damn, today I rebooted one box and it wiped out working tree with few hours of diffs [20:26] I should avoid putting stuff into /tmp :) [20:27] eek [20:34] does anyone have this in their home? or work. Like have a sound system that people can add sounds to a playlist [20:51] kees: hahaha, http://p.defau.lt/?HxHScO_HJyFcgLVE2Fp8qw [20:52] kees: this is what I hit with my testcase ;-D [20:52] kees: and immediate leak too [20:54] kees: I guess next step for me would be fixing it, but I really really don't want to go into kernel hacking land ;-) [21:00] domas: heh, okay, just attach the testcase to the bug, and I'll start getting the people we need to get it fixed. [21:00] kees: done [21:00] great, thanks! [21:00] it is all in the bug now [21:00] thanks for attention, immediately spotted you on subscribers :) [21:01] the kernel message buffer problem looks scary :) [21:02] yeah [21:13] hehe, I was solving other issue today [21:13] default php5-apc uses pthread futexes on shared memory [21:13] so if some apache kid segfaults, it leaves a deadlock [21:15] damn I hate computers :) [21:21] haha, kees, sorry to kill your vm! :) [21:22] kees: one could treat this as direct DoS vector [21:24] as fcntl kills apparmor in confined environments (I guess one could manage to do same with PHP and such) [21:26] Anyone have any clever ideas for identifying a hard drive? I have a big raid6 that needs a drive to be replaced, but i cant tell what sdg is physically in the chassis [21:26] look for one that doesn't blink [21:26] =) [21:27] Sadly they dont have individual lights [21:27] well, then you can try guessing [21:27] if you don't have visual IDs, the only remaining thing is shutting system down, and checking serial numbers [21:29] The drives are split across multiple controllers, can i at least tell which driver owns which device nodes? [21:29] ghm, dmesg tells you some of that [21:31] I had a look at that, but it didnt say which driver, it all appears like it comes from scsi [21:31] x:0:0:0 [21:31] hehehe, it is quite strange not to have individual LEDs ;-) [21:32] i'm hunting through /sys at the moment [21:33] I'm spoiled by good hardware :) [21:34] Equilibrium [21:34] Ok i can tell which drives are on the same controller, but which controller is another question [21:35] there must be a vendor/model/id label somewhere here... [21:40] ah, here is a thought, i can put the drive to sleep with the scsi id [21:40] then just listen for which drive switches off [21:41] =)) [21:41] might work! [21:41] make sure others do lots of seeks then [21:41] The needle lands when the drive goes to sleep, so it should be fairly easy to catch [21:52] how do i start mysql server? [21:54] mrcoodles: depends how you installed it, but usually /etc/init.d/mysql start [21:55] domas: tried that , says Access denied for user @ localhost [21:56] then you already started it ;)) [21:56] I hate debian/ubuntu mysql package [21:56] =) [21:56] no, /etc/init.d/mysql status says its stopped. [21:56] any clue where the config file is ? [21:57] heh, /etc/mysql/my.cnf === kraut_ is now known as kraut [22:03] Having problems with hp proliant ML110 G5. I have system installed on single disk and additionaly have 2xdisks on raid array. Would like to partition and format the array, but cannot find the array. /dev/sdb and /dev/sdc are present but no /dev/md* . [22:13] cat /proc/mdstat [22:14] cat: /proc/mdstat: No such file or directory [22:23] ha1331: Have you installed and used mdadm? Maybe http://ubuntuforums.org/showthread.php?t=408461 will help? [22:25] jmarsden I need those even if I have raid "controller" [22:25] ? [22:25] You were looking for /dev/md* which is for software raid devices... ? [22:26] if you want to use a hardware raid controller you need to load the driver for that controller [22:28] jmarsden sorry about that... I tried to figure out if the array should appear as /dev/md. It isn't real raid controller, it is software raid, atlest I think so, after all /dev/sdb and sdc are present [22:29] lspci -v tell's me this: [22:29] 00:1f.2 RAID bus controller: Intel Corporation 82801 SATA RAID Controller (rev 02) [22:29] If you can see the drives and are OK with using software RAID, then use mdadm and you'll get software RAID. You might be "wasting" the capabilities of your disk controller, but it will still work. [22:29] That doesn't sound like a "real" serious RAID controller. so I'd say go for software RAID. [22:30] well, I already created the array during boot, and it was present on install, but now I cant find it anywhere [22:31] How exactly did you "create the array during boot"? Using what tool did you do that? [22:31] pressed during boot, and created it, just like one would with real controller [22:31] pressed f8 [22:32] more from lspci -v: [22:32] I think you just created some sort of fakeraid array that is not understood by Ubuntu ? I know nothing about fakeraid stuff... I'd suggest avoiding that approach [22:32] Kernel driver in use: ahci [22:32] Kernel modules: ahci [22:33] During the install, I had the option of installing the system on that array [22:33] so one would think it should be present on the installed system [22:35] No idea. Right now you can see the two drives as sdb and sdc, so you can go ahead and use them for software RAID... or you can try and figure out whatever you did before... your choice. [22:35] thanks for your help anyways :) [22:35] OK :) [22:39] pvmove is so horribly slow [22:42] 1Tb takes about 24hrs [22:43] anyone have 1 1tb hdd [22:47] ? [22:47] LHC: Even if someone does, they aren't likely to give one to you over IRC :) 640GB drive here, BTW... [22:48] jmarsden https://help.ubuntu.com/community/FakeRaidHowto#In%20Long%20without%20detail%20as%20above%20(2008-10-26%20update) [22:48] 1Tb is the cheapest $/gb drive [22:48] this helped [22:48] you can find OEM Western Digitals for $90 on ebay [22:48] now I'm fdisking plenty [22:49] ha1331: OK, if you like fakeraid, go for it. As the link I provided earlier says, you seem to end up with the worst of both hardware and software RAID that way, but I know some people like it... [22:50] jmarsden like the way you think, atleast you managed to present it positively :) [22:52] The only thing I can think of that makes fakeraid practical is if you are going to share the disk with windows [22:58] vikram: BTW you can get a 1.5TB drive from newegg for $130 which is cheaper per TB than your suggested $90 for 1TB on ebay :) http://www.newegg.com/Product/Product.aspx?Item=N82E16822148337 [22:58] Oh not bad [23:00] i have 6x500GBs in RAID6 at the moment. Very slow (10mb/s) but very reliable [23:01] That really does sound slow for a multi-drive array... do you know where the speed bottleneck is? [23:02] processor and controllers (old AMD x2, and old nvidia) [23:02] That is slow [23:02] vikram, nice [23:03] I may get a samsung 1tb spinpoint [23:03] what do you use that for? hd video [23:03] No, nothing fancy just /home /music /movies [23:03] it started off as 1 500gb disk in 2003 and just sorta got bigger [23:04] burst write still kicks ass though, near 150mb/s, but sustained writes to the array tape off at 30mb/s, controller to controller is around 10mb/s [23:04] cool :D [23:04] is it just a standard biege pc case [23:05] yes, the cheapest case i could find [23:05] luckily it has nice removable disk racks inside [23:05] I may use my first pc as a server [23:05] its an old compaq persario [23:05] what specs are needed? for simple ftp downloader and music server [23:06] Anything over p3 is overkill [23:07] its an amd 500mhz something xD [23:07] my jack server is a 200mhz cyrix running off 256mb of flash [23:07] wow haha [23:07] but it has a $700 dsp in it :) [23:07] whats the most elaborate home system youve heard of [23:08] I love the hardware side and im learning loads about scripts and software side [23:09] i dont really follow the trends, i just sorta build something and put it behind a table until it dies [23:10] haha [23:10] oh btw what psu, I cant find any low power ones [23:10] efficent and low watts i want [23:10] you can buy small PSUs from ebay [23:10] little ITX ones or even the laptop kind [23:13] i reckon having your own wee server is the best way to learn haha === LHC is now known as LH[ [23:19] jmarsden: got fed up with it... going with the softraid on linux :D [23:19] :) [23:19] those crappy-raids got to be the stupidest thing ever [23:20] totally invented by moron [23:20] linux raid has really become quite capable these days [23:20] vikram hope so :D [23:20] kees: _any_ operation on unlinked files causes the issue [23:21] kees: just reproduced with write(fd,"a",1); [23:21] I've been using it for the last 4yrs now anyways [23:21] new to ubuntu, used to go with gentoo, this is quite an experience [23:22] in any distro switch the only pain is learning the package management commands [23:23] hey jmarsden ! [23:23] LH[: Hi [23:25] you know the way when you learn php or whatever you do a project at the end to test yourself? I thought of a cool one and it may use my server hehe [23:25] since its underused, if anyone wants anything hosted tell me cause I got 200gigs free [23:26] im running a mysql server on ubuntu server as a guest on vmware which is on vista. any clue what else i have to do besides port forwarding 3306 so i can access sql from vista ? [23:26] mrcoodles, you can run ubuntu on windows via wmware? [23:28] well, yes. [23:28] its sort of the point of vmware. [23:28] I only heard of vmware on a mac I never knew it could be used on windwso [23:29] can you send a screenshot? [23:29] i would but i also have loads of porn open and i cant share that. [23:30] sharing is caring [23:30] meow. [23:30] Moooooooo [23:31] not into that. [23:31] VMware Workstation [23:31] is that it [23:31] myeaps. [23:32] awesomee [23:32] mrcoodles: If you have the vmware networking stuff all set up so your Ubuntu VM has a known IP address reachable from the Vista, you should be all set? But this is not really a #ubuntu-server question, if your host OS is Vista! [23:33] ha [23:33] can you run mac osx through vmware [23:35] jmarsden: vmware networking stuff confuse me. [23:36] why you using it [23:36] mrcoodles: Try using virtualbox or something else instead of VMware, maybe? [23:37] mrcoodles, does ubuntu work perfectly fine with it [23:37] I may test a few distros using it [23:37] can anyone help me with firewall issue? [23:37] LH[: Yes, Ubuntu works fine with VMware, and KVM, and virtualbox... :) [23:38] Mal3ko: as the /TOPIC says: Don't ask to ask, just ask. [23:38] yaya [23:38] theres no nonsence in here, just straight to it :D [23:39] i've set ufw to block most ports but when i scan with nmap, there are still hundred of ports opened [23:42] Mal3ko: ufw should be doing default deny anyway... what does sudo ufw status # say? (use pastebin if output is long) [23:43] pastebin url [23:43] if you do sudo ufw status verbose you get a bit more info... including what the default is. http://pastebin.ubuntu.com will work. [23:45] LH[: it works great. im just new to both of them. [23:46] http://pastebin.ubuntu.com/118208/ [23:47] mralphabet, whats this now [23:47] mrcoodles, whats this now [23:47] FAIL lol [23:47] ehm ? [23:47] Mal3ko: Looks fine to me, so if you nmap scan the machine from another box on your local LAN nmap reports plenty of open ports?? Maybe you can pastebin the nmap output? [23:48] both of what [23:48] Mal3ko: Is the Ubuntu server connected directly to the public Internet or is there a router that you control in the way? [23:49] LH[: Ubuntu and VMware... I would think!? [23:49] oh I thought ubuntu and macosx [23:56] jmarsden: i dont know. maybe you want to scan the server yourself? [23:56] okey? [23:56] Mal3ko: OK. You seem to have most ports filtered (I just very gently nmap scanned your IP on a few common ports)... (got your IP from /whois) [23:57] no..that's not it