qman__ | I don't know about 9.04, but in 8.04, I simply installed the program cmus on server, and it installed all the dependencies necessary to play sound | 01:13 |
---|---|---|
qman__ | using an onboard AC'97 card | 01:14 |
marshall | hey #ubuntu-server | 04:02 |
marshall | I've setup an ubuntu server, how do i hook it up with my domain name/ | 04:02 |
marshall | ? | 04:02 |
nick125 | marshall: You need to have your DNS provider point the A record(s) to your server. | 04:07 |
marshall | do i need to install bind or any of that nonsense? | 04:07 |
nick125 | marshall: It depends. If you have an external DNS provider (your domain provider might offer DNS, or you can use another service), then no. If you don't have a DNS provider, then you will need to either find one or get two IPs to your server and setup bind. | 04:08 |
marshall | ok, ill give it a try | 04:09 |
marshall | thankya | 04:09 |
nick125 | No problem. | 04:10 |
nick125 | Where is your server running? If it isn't in a decent datacenter with a reliable connection, I'd recommend a third-party DNS provider. | 04:10 |
nick125 | You definitely don't want your connection to go down, or have your IPs change for some reason and have your site down for 24-48 hours while the DNS server changes propagate. | 04:11 |
marshall | i have cloud hosting with rackspace | 04:12 |
marshall | my domain is with sibername.com | 04:12 |
marshall | i have an existing site with another host hooked up to the domain | 04:12 |
marshall | i want to switch it to my new custom server | 04:13 |
nick125 | marshall: Does your domain provider offer DNS? | 04:13 |
marshall | i believe so | 04:13 |
nick125 | What's the domain? | 04:13 |
marshall | iamjeffmarshall.ca | 04:14 |
nick125 | Ah, your nickname seems fitting :) | 04:14 |
nick125 | Yeah, you're using sibername DNS servers. It shouldn't be an issue to have them setup the proper A records. They probably have an interface to do it without having to contact them. | 04:15 |
marshall | A records eh | 04:16 |
marshall | lol thanks, ill look into it | 04:16 |
nick125 | marshall: Let me know if you have any issues getting it done. | 04:20 |
marshall | nick125: ok, thanks | 04:37 |
marshall | actually | 04:37 |
marshall | i feel i may be in way over my head | 04:37 |
nick125 | marshall: It's not impossible.... | 04:40 |
marshall | nick125: lol yeah, im sure its all pretty straightforward | 04:41 |
marshall | i setup my website with a prepackaged hosting provider, then pointed it to my nameservers at sibername for my domain | 04:41 |
android6011 | I am building a home server, what filesystem would be best for my audio and video etc. It will be accessed via samba and other methods as well as streamed across a network | 04:41 |
marshall | im now trying to setup a server from scratch and assign a domain name to it | 04:42 |
nick125 | android6011: personally, I'd go with ext3 optimizied for larger files | 04:42 |
android6011 | so not ext4? | 04:42 |
nick125 | android6011: You can do ext4 as well...but I just don't feel confident about using it on a server yet. | 04:43 |
android6011 | ok ill keep that in mind | 04:44 |
marshall | nick125: im also trying to setup svn for web development, i want to have svn.iamjeffmarshall.ca point to my svn server | 04:45 |
nick125 | Just curious..why SVN? | 04:46 |
marshall | i dont know any particular reason to use it, as far as i can see its the most cohesive version control | 04:48 |
nick125 | Ever look into bzr or git? | 04:48 |
marshall | no | 04:50 |
marshall | i havent | 04:50 |
marshall | also, i have this spiffy mac app called versions | 04:50 |
nick125 | Ah. For SVN, are you using SSH or WebDAV? | 04:50 |
marshall | but what advantages or disadvantages are there to using svn? | 04:50 |
marshall | i feel like ssh would be better, but ive got it setup through webDAV i think | 04:51 |
marshall | i followed this how to | 04:51 |
marshall | http://ariejan.net/2006/12/01/how-to-setup-a-ubuntu-development-server-part-1/ | 04:51 |
nick125 | SVN seems to have the GUI clients while distributed VCSes have benefits resulting from its distributed nature (work offline, etc) | 04:51 |
nick125 | Yeah, that's WebDAV. SSH is easier imho. | 04:52 |
nick125 | marshall: Are you the only one that will need to access the SVN repos? | 04:53 |
marshall | ill have to set up an svn for others too | 04:53 |
marshall | im doing this on my own server so i can get comfortable with using it for web dev | 04:54 |
marshall | before i use it with my team | 04:54 |
nick125 | Okay, then you might want to stick with WebDAV unless you feel comfortable giving SSH access to those people. | 04:54 |
marshall | i could give them ssh with only certain privs right? | 04:54 |
nick125 | Well, you could give them a normal user SSH account...I know with Git, there is a special "shell" that only allows them to use git and nothing else. | 04:55 |
marshall | hmm | 04:55 |
nick125 | Infact, Git has a real nice package called gitosis that handles all of that for you. The only caveat is that you can only use SSH and only use SSH keys. | 04:56 |
nick125 | IF that isn't an issue, it's a really nice package that automates a lot of the processes of managing Git. | 05:00 |
marshall | hmm | 05:00 |
marshall | my main concern is that the trunk of my repos be live on the web | 05:01 |
marshall | as in served by apache | 05:01 |
nick125 | marshall: On your server, what do you have setup so far? | 05:02 |
marshall | i just wiped it, lol | 05:03 |
nick125 | Haha. | 05:03 |
marshall | im going to setup apache2 | 05:03 |
marshall | also, i dont want to do all this as root, it just feels wrong | 05:04 |
marshall | can i setup a user account with my own name that has all the privs of root? | 05:04 |
nick125 | yeah, I always keep the root accounts on my server disabled | 05:04 |
nick125 | You can use sudo... | 05:04 |
marshall | ok, but i dont want to have to sudo everything i do on my webserver | 05:05 |
ipsemet | where can i find a list of packages that have been updated in Ubuntu 8.04.3 in the past week | 05:06 |
nick125 | marshall: If, for some reason, you need a root shell, you can always do sudo bash | 05:06 |
newz2000 | hi, is this an ok place to ask about configuring xen on ubuntu? I'm having trouble w/ networking and am not finding much help on the net. | 05:07 |
nick125 | newz2000: I don't see anything wrong with asking, but #ubuntu-virt might be better if you don't get any answers here. | 05:09 |
marshall | nick125: yeah, but if im going to upload files through sftp, i want to be able to access /var/www with my user account | 05:09 |
nick125 | marshall: I think you can add your user to the www-data group and have access to /var/www | 05:10 |
marshall | nick125: hmm | 05:11 |
marshall | nick125: how can i see a listing of available groups on my system? lsgroup or something? | 05:12 |
nick125 | marshall: I usually just do cat /etc/groups | 05:13 |
nick125 | er, /etc/group | 05:13 |
marshall | how do i add my new user account to the sudoers file? | 05:16 |
ScottK | marshall: Add them to the admin group. | 05:18 |
nick125 | usermod -a -G admin <user>, I think. | 05:19 |
marshall | it says the admin group doesnt exist when i do adduser jeff admin | 05:19 |
marshall | maybe i can add jeff to the 'sudo' group? | 05:20 |
nick125 | Check /etc/sudoers | 05:21 |
nick125 | It should have something like "%<SOMETHING> ALL=(ALL) ALL" | 05:21 |
marshall | root ALL=(ALL) ALL | 05:22 |
ScottK | You get edit /etc/group and it's enough. | 05:23 |
Boohbah | VERY BAD IDEA to give www-data user and additional access | 05:34 |
Boohbah | s/and/any/ | 05:35 |
marshall | huh? | 05:35 |
nick125 | Boohbah has a point. | 05:35 |
nick125 | www-data is the user used by Apache, so, for example, a malicious PHP application would be able to modify and delete files...which is a bad idea imho. | 05:36 |
marshall | ok, i want jeff to be able to read and write files in /var/www | 05:36 |
marshall | and to be able to sudo and do commands as root when necessary | 05:36 |
nick125 | Maybe a POSIX ACL would work better | 05:36 |
marshall | i just added jeff to 'sudo' group, doesnt seem to have given him sudo power though | 05:37 |
marshall | now im looking up how to remove him from sudo group | 05:37 |
marshall | what is posix acl? | 05:37 |
nick125 | It's a finer-grain permissions system | 05:40 |
ipsemet | when i do a ls -l the dates listed are the last modified dates of the files correct? | 05:44 |
marshall | i've added 'jeff' to 'www-data' but it doesnt seem that im able to change anything in my /var/www as jeff | 05:51 |
nick125 | yeah, I was incorrect and wrong - www-data doesn't have write access into /var/www. | 06:03 |
marshall | nick125: how should I go about letting jeff read and write to /var/www? | 06:42 |
nick125 | marshall: my suggestion would be to create a www-pub group, chown jeff:www-pub -R /var/www | 06:45 |
kyanardag_ | hi, i'm trying to run two websites from single server and i couldn't figure out how to do it. I followed the instructions given at http://www.debianadmin.com/creating-name-based-and-ip-based-virtual-hosts-in-apache.html | 09:54 |
kyanardag_ | the "default" website is working fine, but other one is not | 09:54 |
kyanardag_ | i'll be glad if someone can assist me | 09:59 |
kyanardag_ | there's something wrong in my /etc/apache2/sites-available/secondsite.com file | 10:00 |
kyanardag_ | http://pastebin.com/m2faede95 | 10:01 |
RoyK | try #httpd | 10:06 |
kyanardag_ | RoyK: thanks | 10:09 |
RoyK | np | 10:10 |
uvirtbot` | New bug: #410628 in lsb (main) "lsb_release crashed with ImportError in <module>() (dup-of: 383697)" [Undecided,New] https://launchpad.net/bugs/410628 | 10:26 |
=== twb` is now known as twb | ||
ichat | anyone able to tell me if the promise TX2 is able to work on ubuntu server (even if its just as a simple pata controler | 13:32 |
twb | ichat: first of all, | 13:33 |
twb | ichat: first of all, "hardware raid" on a $20 card is fakeraid, and should be avoided | 13:33 |
ichat | twb i know, | 13:33 |
ichat | its just that i need more pata channels | 13:33 |
twb | As to support, if you have the card already you can ask lspci for a model string, and google for that | 13:33 |
zroysch | is there an easy way to test sound from command line on server 9.04 | 14:45 |
uvirtbot` | New bug: #410669 in hundredpapercuts "Files incoming through nautilus-share should be created with user ownership, instead of "nobody" (dup-of: 268663)" [Undecided,New] https://launchpad.net/bugs/410669 | 17:41 |
uvirtbot` | New bug: #410771 in samba (main) "package swat 2:3.3.2-1ubuntu3.1 failed to install/upgrade: subprocess post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/410771 | 18:20 |
relegated | I am having some trouble getting a Wordpress plugin called Subscribe2 to send Email successfully. I am running Debian Lenny, Apache2, and PHP5, and exim4. I am able to send Email from the console using exim but am unable to through the plugin which uses the PHP mail function which I was told uses senndmail. I have a symbolic link setup so that sendmail works using exim. Can anyone help me,... | 18:35 |
relegated | ...I'm not sure where the problem lies, I have full server access. | 18:35 |
giovani | relegated: presuming exim has been configured properly ... you're done | 18:39 |
giovani | the symbolic link is simple -- and will work as expected | 18:39 |
relegated | Right, which is why I am very frustrated because it won't work through Wordpress | 18:40 |
relegated | I can send outgoing Email fine from the command line to Gmail but not through wordpress | 18:40 |
giovani | "won't work" unfortunately, isn't anything we can troubleshoot with | 18:40 |
giovani | have you tried sending mail using the symlink you created? | 18:41 |
giovani | if it works -- this is a php issue | 18:41 |
giovani | if not -- then it's an exim/symlink issue | 18:41 |
relegated | ya I can send using the symlink also | 18:42 |
giovani | then php may be misconfigured, or confused | 18:42 |
giovani | or maybe wordpress checked to see if it could send mail when you installed it -- and this wasn't set up then | 18:42 |
giovani | and it's disabled that functionality | 18:42 |
giovani | you might want to try getting assistance from wordpress | 18:43 |
relegated | Been trying that also | 18:43 |
giovani | since exim and ubuntu seem to be functioning just fine | 18:43 |
giovani | and wordpress isn't exactly a key part of ubuntu | 18:43 |
giovani | also, it would be wise to check exim logs | 18:45 |
giovani | to see if there's any record of mail attempts from php/wordpress | 18:46 |
ArchType | Hello there. | 19:01 |
ArchType | I just started the chkrootkit and I got: INFECTED (PORTS: 60001) | 19:02 |
ArchType | This isn't good right? | 19:02 |
ArchType | o_O anyone here? | 19:02 |
giovani | ArchType: ... waiting more than 60 seconds for a response before asking if anyone's here is a good idea | 19:03 |
giovani | it may or may not be a problem -- chkrootkit is just checking a list of things it thinks represent a hacked server -- sometimes they're false positives | 19:03 |
ArchType | hum | 19:04 |
ArchType | well rtorrent uses this port | 19:04 |
giovani | anything can use that port | 19:04 |
giovani | hence why chkrootkit is doing nothing but guessing | 19:04 |
giovani | try running "sudo netstat -anp | grep :60001" | 19:05 |
giovani | any results? | 19:05 |
ArchType | giovani: yes | 19:10 |
ArchType | as I said, only rtorrent: tcp 0 0 0.0.0.0:60001 0.0.0.0:* LISTEN 5137/rtorrent | 19:10 |
giovani | well if you knew that -- then you probably knew this wasn't an issue, and you didn't need to demand an answer within 60 seconds on irc on a saturday | 19:11 |
ArchType | it's saturday already :S | 19:11 |
ArchType | giovani: well I've learned something new | 19:12 |
ArchType | Also what firewall do u suggest for beginners | 19:13 |
ArchType | I know iptables are the best | 19:13 |
ArchType | but what about guarddog and why not? | 19:13 |
giovani | guarddog isn't a firewall | 19:13 |
giovani | it's an iptables configuration tool | 19:13 |
ArchType | I see | 19:16 |
giovani | iptables (or more accurately, netfilter) is the only linux firewall | 19:18 |
giovani | all of the "firewall tools" you find are just front-ends for configuring netfilter/iptables | 19:19 |
relegated | giovani: I got it, my misconfiguration and I ended up reconfiguring Exim to use a smart host since i have a dynamic IP and was getting flagged as spam because I dont have a rDNS record | 19:23 |
giovani | relegated: alright ... so then this was totally unrelated to php/wordpress -- and worked the same whether you used the command line sendmail replacement or php's function | 19:25 |
relegated | I did have the sendmail_path in php.ini set to /usr/bin instead of sbin so it might have been a combination of the two | 19:25 |
nick125 | Anyone here familar with POSIX ACLs? I'm wondering if new child objects (i.e., files and subdirectories) can "inherit" the ACL from the parent directory. | 21:28 |
nick125 | Ah, it looks like if you create a default POSIX ACL on that directory, the children will inherit the ACL. Sweeeet. | 21:51 |
addisonj | anyone around to look at a vhost file for me and give me clues as to why my apache will not start with it? | 21:52 |
addisonj | http://pastebin.com/d6de4c551 | 21:52 |
addisonj | maybe i am blind and need fresh eyes | 21:52 |
nick125 | What error are you getting? | 21:52 |
addisonj | none, that is the weird part, just says fail | 21:53 |
nick125 | Anything in the logs? | 21:54 |
addisonj | not in the error log | 21:54 |
addisonj | at least, nothing that points to failure | 21:54 |
nick125 | Mind pastebinning the last....150 lines of the error log? | 21:55 |
addisonj | so, just to make sure, do you mean the log for that particular vhost? | 21:55 |
Falc | how about running apachectl configtest? | 21:56 |
nick125 | Have you checked your overall error log file? If there's an error in one of your declarations, it might not go into the vhost's log | 21:56 |
genii | Will there be a ksplice backport to 8.04? | 21:56 |
addisonj | aha | 21:56 |
nick125 | addisonj: Find it? | 21:57 |
addisonj | sorry, on phone one sec | 21:57 |
nick125 | Phones suck. | 21:58 |
addisonj | yeah they do, which log do you want /var/log/messages? or another? | 22:02 |
nick125 | Something like /var/log/httpd/error.log or whatever it might be on your system. | 22:02 |
addisonj | bah! found it, | 22:03 |
addisonj | didn't knwo there were apache logs here too :P | 22:03 |
addisonj | no wait, i did, i just need eat lunch and get away for a bit | 22:05 |
addisonj | odd though, wrong path name pointing to my log files killed the server with no output in console | 22:05 |
giovani | it didn't "kill" the server -- it just prevented it from starting | 22:05 |
giovani | addisonj: and, as a note, if you used /etc/init.d/apache2 restart|start -- it would've printed that to console (STDERR, more precisely) | 22:13 |
addisonj | i did use that, i had another error in filename that did print, but the logfile one did not | 22:15 |
giovani | that's because it probably only evaluated the first fatal error ... and stoped ... it shouldn't continue | 22:16 |
giovani | so then you should've fixed that, and run it again, and seen the error you wanted | 22:16 |
giovani | s/stoped/stopped/ | 22:16 |
IRConan | if a process has nice value of 19 will other processes be allowed to saturate the CPU and it get no time at all... | 23:04 |
IRConan | other processes all have 0 or lower nice values | 23:05 |
guntbert | IRConan: were you hansderagon? | 23:10 |
IRConan | guntbert: what? | 23:11 |
guntbert | I read exactly the same question two days ago but the nick was different | 23:12 |
IRConan | oh... fair enough | 23:12 |
IRConan | any idea? I thought that a process with a nice that high wouldn't impact performance of others at all really but it seems to use about 70% processor even when another is running | 23:13 |
guntbert | IRConan: are you sure that the nice value is correct? | 23:13 |
IRConan | absolutely | 23:14 |
IRConan | shows in htop as 19 | 23:14 |
guntbert | IRConan: and it still hogs the cpu?, what is the system load? | 23:15 |
IRConan | the "background" process is intended to use all spare cycles so it's at 100% all the time really | 23:16 |
guntbert | IRConan: what background process? | 23:17 |
IRConan | this is where you'll laugh :P | 23:17 |
IRConan | Folding@Home | 23:17 |
IRConan | I guess I might just have to stop it... | 23:17 |
IRConan | having the server responsive is far more important | 23:17 |
IRConan | I have a few php applications which use lots of processor (generating graphs mainly) | 23:17 |
guntbert | IRConan: why should I laugh? but once again: what is the system load (in htop upper right corner) | 23:18 |
IRConan | the "Load average" ? | 23:18 |
IRConan | 0.77 | 23:18 |
IRConan | peaked at 0.84 when running one of the PHP apps just then | 23:19 |
IRConan | oh... it's much higher now... I guess it might be distorted from my messing | 23:20 |
guntbert | 0.77 is fairly low, everey other process should get all it needs - 2 or 3 is another thing - your machine "has all the time" - I wouldn't worry | 23:20 |
IRConan | thing is... if I run a php request with F@H running php uses 30%, if I run it without F@H it uses 70-100% | 23:21 |
IRConan | maybe those figures aren't very accurate... if php isn't sleeping when it could it would show high usage anyway | 23:22 |
guntbert | IRConan: I wouldn't worry too much about % | 23:23 |
IRConan | ok then... thanks for the advice | 23:23 |
IRConan | I'm hoping to implement caching on the graph generation anyway | 23:23 |
IRConan | it's impractical to have them generated for every request! | 23:23 |
guntbert | IRConan: right now I have a load of 1.8 on my notebook and I don't notice any sluggishness at all | 23:24 |
IRConan | cool | 23:24 |
IRConan | what do those load figures actually reperesent? | 23:24 |
guntbert | I never figured that out "exactly" - just lower is better :-) and the % don't have the same weight as in windows | 23:26 |
IRConan | never looked at windows loading really | 23:26 |
IRConan | occasionally 100% when I'm running prime95 on my gaming rig but that's it | 23:26 |
guntbert | you can make a test though: run some benchmark with and without F@H and see what difference it makes - I guess nearly none | 23:27 |
guntbert | or compile a kernel (just for fun) | 23:28 |
guntbert | and time that | 23:28 |
addisonj | another question, how do i redirect a folder to a file, for example www.mydomain.com/sales to www.mydomain.com/sales/index.php | 23:34 |
nick125 | addisonj: setup a default index file | 23:35 |
nick125 | so when someone goes to mydomain.com/sales/, it will look for index.html, then index.php, etc. | 23:35 |
addisonj | aha, so i just need to add that to my vhost then in DocumentIndex? | 23:36 |
guntbert | addisonj: apache should do this by default, but you can always ask in #httpd | 23:36 |
nick125 | addisonj: I believe so. | 23:36 |
addisonj | think i got it, just needed a little push in the right direction, thanks | 23:37 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!