|
mike12345 posted:I know, I know. Do you think it's worth buying that O'Reilly book on regexp or should I just google and print out stuff I find on the web? RegEx comes in many (very similar) flavours, so I'd suggest you pick a variant and stick to it until you know the ropes, later it will be easy to use your skills in sed / grep / vim / php / perl / whatever. You mentioned python, which happens to have regular expressions that are comparatively easy to read because they don't use quite the shitload of backslashes that other flavours do. If you've used python before, that's probably a good place to start. Google 'python re tutorial' and you should find a ton of good resources.
|
# ? May 12, 2009 12:54 |
|
|
# ? Apr 26, 2024 11:06 |
|
mike12345 posted:I know, I know. Do you think it's worth buying that O'Reilly book on regexp or should I just google and print out stuff I find on the web? Personally, I found that O'Reilly's "sed and awk" was very, very helpful in learning regular expressions. There's likely tons of stuff on the web that you can get for free, but for me, the book was well worth the money, if only to have a quick reference on my desk for when I needed it. Edit: Not trying to pick a fight with Lucien or anything, just my two cents.
|
# ? May 12, 2009 15:53 |
|
Hi, I basically have no Linux experience and am starting from ground zero. I'm trying to learn how to use Asterisk and I've installed AsteriskNOW (http://www.asterisknow.org/), which is what I believe to be a Linux distribution (CentOS) that has Asterisk pre-configured, on an old desktop machine. The installation process was very user-friendly with a GUI/Windows-y experience where I used my mouse to click next through a few screens but now that it is installed all I am getting is a command line interface when I boot it up. CentOS is installed on the computers at the computer lab at my school and it has a full graphical environment with "windows" / web browser / text editor / etc...shouldn't this CentOS distribution have that as well? I know on the AsteriskNOW website it says it comes with the Asterisk GUI package and has screen shots so there is definitely something I'm not doing right here. I did some googling and somewhere it said I should try the command "startx" but that isn't recognized. If anyone can help me out and tell me what I need to do to get the user-friendly graphical version of CentOS running on this thing (from the AsteriskNOW CD that I made), I would appreciate it very much. Thanks.
|
# ? May 13, 2009 00:01 |
|
Seems like you installed a minimal version of CentOS, without X. Look around the AsteriskNOW website to check that you didn't use some minimalistic version of the CD. Maybe you'd had better luck installing regular CentOS and installing Asterisk by hand?
|
# ? May 13, 2009 00:37 |
|
reborn posted:Quick question: Anyone?
|
# ? May 13, 2009 00:56 |
|
reborn posted:Anyone? nagios maybe? It's not really clear what you're looking for.
|
# ? May 13, 2009 01:01 |
|
Can anyone tell me a good program for Ubuntu where I can sync my Ipod to my music collection and manage podcasts? Banshee was almost the one but it loving crashes when I sync my Ipod, 22% when automatically syncing, drat near 60% when manually syncing.
|
# ? May 13, 2009 02:36 |
|
Parlett316 posted:Can anyone tell me a good program for Ubuntu where I can sync my Ipod to my music collection and manage podcasts? Banshee was almost the one but it loving crashes when I sync my Ipod, 22% when automatically syncing, drat near 60% when manually syncing. Gtkpod, amarok?
|
# ? May 13, 2009 02:51 |
|
falz posted:Gtkpod, amarok? Neither one of them downloaded my podcasts correctly and I found Amarok to be horrid on it's layout. Banshee had everything except syncing my Ipod. Now i'm installing a VM of XP to manage my Ipod, looks like I'll never truly be free! Edit: Something I forgot to note, I manually synced one album to the Ipod, everything looked golden and I ejected it. When I tried to navigate to those songs my Ipod displayed No Artists but when I mounted back into Ubuntu it showed that it had that album. Parlett316 fucked around with this message at 03:03 on May 13, 2009 |
# ? May 13, 2009 02:57 |
|
Zom Aur posted:Seems like you installed a minimal version of CentOS, without X. I downloaded the 32-bit ISO here: http://www.asterisknow.org/downloads Is it possible that there is a different command to enable the graphical environment? If there isn't a GUI on my distro, instead of installing regular CentOS and adding Asterisk, is there any way to download/add the GUI to it?
|
# ? May 13, 2009 03:46 |
|
Rabbi Dan posted:I downloaded the 32-bit ISO here: http://www.asterisknow.org/downloads According to the CentOS FAQ, this might be relevant: http://www.centos.org/modules/smartfaq/faq.php?faqid=50 However, according to the quickstart guide on asteriskNOW, it uses conary. I haven't used that one, but you should be able to install gnome or kde with that. I still think it'd be easier by installing CentOS by itself but you do as you please.
|
# ? May 13, 2009 12:17 |
|
Parlett316 posted:Neither one of them downloaded my podcasts correctly and I found Amarok to be horrid on it's layout. Banshee had everything except syncing my Ipod. I personally like Exaile!. You may have to go into plugins and verify the ipod plugin. I've used it with my ipod and it works well for me. I've added my whole library w/o incident. One thing I've noticed is sometimes it'll look done, but it will be transferring in the background.
|
# ? May 13, 2009 15:23 |
|
Parlett316 posted:Can anyone tell me a good program for Ubuntu where I can sync my Ipod to my music collection and manage podcasts? Banshee was almost the one but it loving crashes when I sync my Ipod, 22% when automatically syncing, drat near 60% when manually syncing. i'm not totally sure on podcasts but i do know that quod libet does work with ipods.
|
# ? May 13, 2009 16:51 |
|
Does any one have a recommendation for drive erasure software for linux, though it will be wiping mostly old windows drives. I need it to export a log file after its complete,and obviously it needs to do the actual erasure part in the best possible fashion as well. I want to use this software on one computer running multiple hard drives that are plugged in via USB so that as soon as one is done I can save the logfile, and hot swap a new drive onto the system and start wiping that one. Therefore, another requirement would be the software plays well with other instances of itself. Any thoughts?
|
# ? May 13, 2009 18:25 |
|
eighty8 posted:Does any one have a recommendation for drive erasure software for linux, though it will be wiping mostly old windows drives. I need it to export a log file after its complete,and obviously it needs to do the actual erasure part in the best possible fashion as well. That's an awfully specific piece of software you're looking for. Fortunately, it doesn't sound terribly difficult to create. Your best bet is shell scripting in this case, or hire someone to write it for you.
|
# ? May 13, 2009 20:52 |
|
eighty8 posted:Does any one have a recommendation for drive erasure software for linux, though it will be wiping mostly old windows drives. I need it to export a log file after its complete,and obviously it needs to do the actual erasure part in the best possible fashion as well. Hopefully this will get you started... Tool for wiping disks = dd Running a script when usb plugged in: https://www.linuxquestions.org/questions/linux-hardware-18/execute-shell-script-when-usb-drive-plugged-in-377526/ Don't dd over your hard drive
|
# ? May 13, 2009 20:58 |
|
taqueso posted:Hopefully this will get you started... That link is really helpful for a starting place, thanks. I have been doing some Google searches and it looks like "shred" with appropriate modifiers is the perfect tool for the erasing itself. Combined with the stuff at that link it could be the perfect tool. I still will have a good bit of scripting to do to make a log file be made and such, but I don't think that should be that hard. What I am more concerned about is that I would like to be able to access the drives serial number if I am able for logging purposes. I know this possible if the drive is plugged into the computer via IDE but I don't know about USB.
|
# ? May 13, 2009 22:04 |
|
Here is a question: I just set up vsftpd on my box, and have set chroot_local_user=YES in /ect/vsftpd.conf. The man page says that there are security risks to setting chroot_local_user=YES, and it should only be done "if you know what you are doing" and that it can cause problems with upload permissions. I really want to lock my users in chroot jail, but I want to know what these risks they are talking about are. Help with my configs.
|
# ? May 14, 2009 02:15 |
|
PrinceofNessus posted:Here is a question: quote:Q) Help! What are the security implications referred to in the
|
# ? May 14, 2009 03:07 |
|
I've got a website that uses a 32bit payment gateway. Problem is, is that we're moving to a 64bit server with about 8GB of ram, with plans to ramp that up to 16gb if needed.. Can 32bit Linux play happily with this amount of ram? If not, is there a way to have everything else as 64bit, but just install 32bit PHP? (The payment gateway is a php extension) x1o fucked around with this message at 07:41 on May 14, 2009 |
# ? May 14, 2009 07:38 |
|
TheHeadSage posted:I've got a website that uses a 32bit payment gateway. Problem is, is that we're moving to a 64bit server with about 8GB of ram, with plans to ramp that up to 16gb if needed.. a PAE kernel or a 32-bit Apache+mod_php (or 64-bit Apache + php as fastcgi or CGI).
|
# ? May 14, 2009 11:50 |
|
eighty8 posted:That link is really helpful for a starting place, thanks. I have been doing some Google searches and it looks like "shred" with appropriate modifiers is the perfect tool for the erasing itself. Combined with the stuff at that link it could be the perfect tool. Just for curiosity's sake, I ran 'hdparm -i' on an (internal) SATA disk and was able to get the serial number. Running the same command against an external USB disk gave me an error message, "HDIO_GET_IDENTITY failed: Invalid argument". I did a few minutes of googling to see if anyone else had this problem, but I didn't come up with anything.
|
# ? May 14, 2009 13:58 |
|
juggalol posted:Just for curiosity's sake, I ran 'hdparm -i' on an (internal) SATA disk and was able to get the serial number. Running the same command against an external USB disk gave me an error message, "HDIO_GET_IDENTITY failed: Invalid argument". You might want to try the -I flag, it seems that the -i flag is for older devices. hdparm man page posted:-i Display the identification info that was obtained from the drive
|
# ? May 14, 2009 14:12 |
|
Twlight posted:You might want to try the -I flag, it seems that the -i flag is for older devices. Hurr. I probably should've checked the man page. So yeah, running 'hdparm -I' against a USB disk will indeed give you the serial number. Edit: code:
juggalol fucked around with this message at 15:09 on May 14, 2009 |
# ? May 14, 2009 15:07 |
|
Crossposting from the Ubuntu thread: So I'm trying to install Ubuntu 9.04 on a very old computer that is currently dual booting Ubuntu 8 and Windows XP MCE. I want to install it over both installations so it will be solely a Ubuntu box. When I pop in the CD (32-bit version), it says no bootable image is present. I tried running Wubi in the windows installation and kept getting a bunch of disk access errors...I also can't seem to just update Ubuntu from within Ubuntu like I can vaguely remember doing with the move from 7 to 8. Should I just use gparted to partition the Windows partition to ext3 and try it from there, or is something hosed hardware-wise?
|
# ? May 14, 2009 15:20 |
|
Gorilla Salsa posted:Crossposting from the Ubuntu thread: \/ Yea what he said it seems I can't read. reborn fucked around with this message at 13:04 on May 15, 2009 |
# ? May 14, 2009 15:38 |
|
Gorilla Salsa posted:Crossposting from the Ubuntu thread: Sounds like you need to check the integrity of the disc image and burn a new one.
|
# ? May 14, 2009 17:26 |
|
Having a weird problem I can't get to the bottom of. I have an Ubuntu systemthat is trying to connect to another Ubuntu VM running in VMWare under Vista. I have the networking configured so that SSH, HTTP, etc forwards correctly from Vista to the VM. My problem is that when I add entries to /etc/hosts in the client (non-VM) system, the command simply hangs with no output. I can connect via IP with no problems. What's even stranger is some applications (I think it was telnet or ping) can resolve the IP on the system from the hosts file, but still fails to connect. What can be going wrong? Could this be some kind of bizarro NetBios issue on Vista?
|
# ? May 14, 2009 18:09 |
|
@Lucien and juggalol Thanks for the input, I think I'll give both suggestions a try, since learning about sed and awk is high on my list anyway.
|
# ? May 14, 2009 18:33 |
|
I think I just messed up my install of Ubuntu. Because I'm apparently way too curious I decided to compile the latest stable of AbiWord. When I tried to compile it, I noticed that libpango was too old. So I dl'd the latest pango. ./configure told me I need the latest glib so.... I compiled and installed it Well you can probably guess the state of my system now. gdm freaks out, firefox and about every other gtk-app fails to start with code:
code:
code:
mike12345 fucked around with this message at 18:43 on May 14, 2009 |
# ? May 14, 2009 18:41 |
|
mike12345 posted:Time to reinstall or is there still hope for this system? I've tried That probably only installs that one package which I'm guessing doesn't really have any files and only depends on other packages; my guess is you'll want to reinstall libglib2.0-0 (or something like that) and whatever else you think you clobbered.
|
# ? May 14, 2009 20:50 |
|
spoon0042 posted:That probably only installs that one package which I'm guessing doesn't really have any files and only depends on other packages; my guess is you'll want to reinstall libglib2.0-0 (or something like that) and whatever else you think you clobbered. Yeah, I tried to purge and reinstall libglib2.0, but I can't see any difference. I even compiled the corresponding glib-version myself and installed it, but nothing. Which is weird: Basically the system should have the same glib as before, but apparently it doesn't.
|
# ? May 14, 2009 20:57 |
|
Gorilla Salsa posted:Crossposting from the Ubuntu thread:
|
# ? May 14, 2009 22:20 |
|
celestial teapot posted:Yep definitely sounds like the disc you burned is bad. If you can't seem to get any subsequent discs to work, then it's time to suspect the CD-ROM drive. That's the other thing, I thought the disc could be bad, so I tried seeing if my windows 7 disc would boot...I know it works because I used that same disc to install Windows 7 on my laptop, and no dice...I put in a DVD drive I know works from the computer I'm on now and tried the same windows 7 disc, and still no dice...oh poo poo, is my motherboard hosed?!
|
# ? May 15, 2009 12:40 |
|
Edit: Double Post
maskenfreiheit fucked around with this message at 20:46 on Mar 13, 2017 |
# ? May 15, 2009 17:42 |
|
GregNorc posted:I tried installing gcc, still no luck. Get the same error about cc. I had a look at the makefile and it should be setting CC=gcc if CC isn't set, which leads me to conclude you have CC set to something bogus. Try 'unset CC' and then 'make'.
|
# ? May 15, 2009 18:12 |
|
spoon0042 posted:I had a look at the makefile and it should be setting CC=gcc if CC isn't set, which leads me to conclude you have CC set to something bogus. Try 'unset CC' and then 'make'. you can also invoke as code:
|
# ? May 15, 2009 18:29 |
|
Does anyone know where to find the linux version of the bios upgrade for this motherboard: GA-MA790X-UD4P ( http://www.newegg.com/Product/Produc...82E16813128387 ) without it my processor is only being detected at 1.6 Ghz. EDIT: Ok I think I have the bios upgrades. Now my main processor is being detected at 3.2 Ghz, but the the three other ones are clocking in at only 800, is this normal or is there another step I am missing? This is the processor: http://www.newegg.com/Product/Product.aspx?Item=N82E16819103674 EDIT Nevermind its working now. eighty8 fucked around with this message at 04:44 on May 16, 2009 |
# ? May 16, 2009 03:00 |
|
I installed gnome-desktop-environment onto my server but the desktop will not load on boot. Is there a command to launch it?
|
# ? May 16, 2009 17:43 |
|
|
# ? Apr 26, 2024 11:06 |
|
rugbert posted:I installed gnome-desktop-environment onto my server but the desktop will not load on boot. What does happen? Does it load X but not gnome or is it not launching X at all? If you just need to start X, you can run the command startx. Depending on the distro, you may need to add xdm to your startup scripts or switch the default runlevel to the one that runs X on boot. For example, with gentoo I would run: rc-update add xdm default.
|
# ? May 16, 2009 17:53 |