|
asaf posted:Looking for a distribution to use on a VM to get back into coding... Last time I did this I used Ubuntu 10.04 LTS, but with the changes I've been hearing about Ubuntu and all the crap that seems to come loaded on it in the latest LTS release, I'm wondering if I would be better served by something like Mint. I used to use Linux as my primary about three years ago, and back then I was into Arch, but using Arch on a VM strictly cause I prefer coding in a *nix environment instead of Windows seems like it would waste a lot of time. Distribution suggestions, anyone? Yes, indeed. Xubuntu should serve your purposes well. X11 on arch is a pain in the rear end.
|
# ? Dec 1, 2012 11:34 |
|
|
# ? Jun 12, 2024 19:47 |
|
Just ssh in and use vim. A remarkably large number of developers work that way. Ubuntu will have sshd and vim easily available.
|
# ? Dec 1, 2012 23:26 |
|
This is actually a bsd question but I think it might be general enough to work here. I'm trying to install xorg on freebsd using ports and near the end of the install process I hit scroll lock, freezing the screen. I hit it again and it sent me to the login prompt. I don't know if scroll lock did anything, but the xorg command is not found and I'm not sure if it installed properly. I tried installing another program from ports and nothing strange happened during install and it doesn't seem to work either. If I try ps it lists the make install clean command as idle. As you can probably tell I decided to start loving around in BSD and Linux for fun, so feel free to laugh at me, but please help. How am I supposed to start X? icantfindaname fucked around with this message at 07:27 on Dec 2, 2012 |
# ? Dec 2, 2012 07:01 |
|
icantfindaname posted:This is actually a bsd question but I think it might be general enough to work here. I'm trying to install xorg on freebsd using ports and near the end of the install process I hit scroll lock, freezing the screen. I hit it again and it sent me to the login prompt. I don't know if scroll lock did anything, but the xorg command is not found and I'm not sure if it installed properly. I tried installing another program from ports and nothing strange happened during install and it doesn't seem to work either. If I try ps it lists the make install clean command as idle. The ports tree file for http://forums.somethingawful.com/showthread.php?threadid=2798970 Scroll lock lets you scroll around the terminal to read what has scrolled past the terminal's view. I'd say you switched consoles, so press alt + f1/f2/f3/... until you find the terminal that was in use. If you are using csh, you might have to type rehash before startx. Also it's worth noting that the default .xinitrc will start twm with xclock and xterm, so make sure you are going to build at least twm if you are going to test xorg without installing a wm (you should have configured this in the xorg-apps dialog while installing xorg).
|
# ? Dec 2, 2012 07:21 |
|
hifi posted:http://forums.somethingawful.com/showthread.php?threadid=2798970 Thanks, that fixed it. It had sent me to a new console.
|
# ? Dec 2, 2012 07:28 |
|
oh poo poo... how do I troubleshoot this? fstab /dev/sdb /mnt/Media btrfs noatime,device=/dev/sdb,device=/dev/sdc,device=/dev/sdd,subvol=Media,auto 0 0 /dev/sdb /mnt/Shares btrfs noatime,device=/dev/sdb,device=/dev/sdc,device=/dev/sdd,subvol=Shares,auto 0 0 /dev/sdb /mnt/Stuff btrfs noatime,device=/dev/sdb,device=/dev/sdc,device=/dev/sdd,subvol=Stuff,auto 0 0 http://pastebin.com/7Y7UhfjE root@gnubox:/mnt# mount -a mount: /dev/sdb is write-protected, mounting read-only mount: cannot mount /dev/sdb read-only mount: /dev/sdb is write-protected, mounting read-only mount: cannot mount /dev/sdb read-only mount: /dev/sdb is write-protected, mounting read-only mount: cannot mount /dev/sdb read-only This has always worked fine in the past. I rebooted earlier today for an unrelated reason and just this evening realized that none of them were mounted. smartctl thinks they are ok . I know they are old. I have backups. http://pastebin.com/38uUKGbd
|
# ? Dec 4, 2012 04:31 |
|
Kaluza-Klein posted:oh poo poo... how do I troubleshoot this? To do any kind of fs troubleshooting you really need to provide things like dmesg outputs, kernel versions, what a cursory fsck says, sysrq w, etc. That should probably be added to the OP or something.
|
# ? Dec 4, 2012 07:00 |
|
Yes at the very least check dmesg, it will have the error the fs driver came up with.
|
# ? Dec 4, 2012 07:28 |
|
Does anyone have any experience putting Linux on previously Android (ARM) devices? Is it possible beyond the runs-as-an-app I've been hearing about?
|
# ? Dec 4, 2012 20:26 |
|
Saint Darwin posted:Does anyone have any experience putting Linux on previously Android (ARM) devices? Is it possible beyond the runs-as-an-app I've been hearing about? I have a trim slice which is a tiny form factor all in one running arm v7. Ubuntu is easiest to get going, there's archlinux and several other options. However, what you can run will depend on your device and what arm version.
|
# ? Dec 4, 2012 22:09 |
|
asaf posted:Looking for a distribution to use on a VM to get back into coding... Last time I did this I used Ubuntu 10.04 LTS, but with the changes I've been hearing about Ubuntu and all the crap that seems to come loaded on it in the latest LTS release, I'm wondering if I would be better served by something like Mint. I used to use Linux as my primary about three years ago, and back then I was into Arch, but using Arch on a VM strictly cause I prefer coding in a *nix environment instead of Windows seems like it would waste a lot of time. Distribution suggestions, anyone? I switched from Ubuntu to Mint after Unity came out and I never looked back. I do a lot of web development with Gedit, Netbeans IDE, Apache/PHP/MySQL. Mint works wonderfully. I'm sure most distros will work just as well, but I can wholeheartedly vouch for Mint. It just works exactly as you expect it to.
|
# ? Dec 4, 2012 22:19 |
|
asaf posted:Looking for a distribution to use on a VM to get back into coding... Last time I did this I used Ubuntu 10.04 LTS, but with the changes I've been hearing about Ubuntu and all the crap that seems to come loaded on it in the latest LTS release, I'm wondering if I would be better served by something like Mint. I used to use Linux as my primary about three years ago, and back then I was into Arch, but using Arch on a VM strictly cause I prefer coding in a *nix environment instead of Windows seems like it would waste a lot of time. Distribution suggestions, anyone? CentOS/Fedora should be fine - What are you trying to code with? You should be able to find a step-by-step 'get Ruby on Rails/LAMP/whatever running' for almost any distro.
|
# ? Dec 4, 2012 22:41 |
|
Ratzap posted:I have a trim slice which is a tiny form factor all in one running arm v7. Ubuntu is easiest to get going, there's archlinux and several other options. However, what you can run will depend on your device and what arm version. It's going to be one of these http://www.amazon.com/gp/product/B008H3B736/ref=oh_details_o00_s00_i00 One person in the reviews says that it can do Ubuntu but didn't elaborate. I would hope that since it's generic enough it shouldn't have much of a problem, I just don't know where to start. I haven't installed Linux on anything but VMs and x86-based computers, so an ARM-based mini-computer seems daunting (but it probably isn't that hard, I know). asaf posted:Looking for a distribution to use on a VM to get back into coding... Last time I did this I used Ubuntu 10.04 LTS, but with the changes I've been hearing about Ubuntu and all the crap that seems to come loaded on it in the latest LTS release, I'm wondering if I would be better served by something like Mint. I used to use Linux as my primary about three years ago, and back then I was into Arch, but using Arch on a VM strictly cause I prefer coding in a *nix environment instead of Windows seems like it would waste a lot of time. Distribution suggestions, anyone? Hey now, calm down, you're probably overthinking things. I don't see a problem with any of those. At work I code in RHEL6, at home I use Mint. I like Mint because it's more of a "desktop" feel that I could easily install on laptops and VMs and then the only things I had to add on were coding and testing related packages. Adult Sword Owner fucked around with this message at 23:02 on Dec 4, 2012 |
# ? Dec 4, 2012 22:58 |
|
Saint Darwin posted:It's going to be one of these Looks interesting. Skim through http://archlinuxarm.org/forum/viewforum.php?f=11 and you might find someone who's done it already. Looks like someone was trying a cortex core in a tablet mid year so they may well be along by now. I'd guess that android pc shows up as a usb drive in order to get your bootable image in place or something. Good luck anyway and do keep up posted how you get on.
|
# ? Dec 4, 2012 23:56 |
|
Ratzap posted:Looks interesting. Skim through http://archlinuxarm.org/forum/viewforum.php?f=11 and you might find someone who's done it already. Looks like someone was trying a cortex core in a tablet mid year so they may well be along by now. Looking around, apparently someone suggested this can work https://www.miniand.com/forums/forums/2/topics/1 It's obviously built for a different piece of plastic, but I can't imagine it would be vastly different. Worth a try I suppose.
|
# ? Dec 5, 2012 02:02 |
|
I am trying to save user input as a variable in a Perl script. I already have this part down. The part I need help with is when the input has characters that require escaping. How do I handle this? This is how I currently have it acquiring the data: print "Question: "; my $variable = <>; chomp( $variable );
|
# ? Dec 5, 2012 02:56 |
|
Crush posted:I am trying to save user input as a variable in a Perl script. I already have this part down. The part I need help with is when the input has characters that require escaping. How do I handle this? This really depends on things such as which characters you want to escape. A regex could work if you're inputs aren't too crazy but there are also libraries/modules dedicated to this kind of thing. You should really be asking this in a programming thread (there is even one dedicated to perl) and not the general linux thread.
|
# ? Dec 5, 2012 03:32 |
|
Longinus00 posted:You should really be asking this in a programming thread (there is even one dedicated to perl) and not the general linux thread. Will do, thanks!
|
# ? Dec 5, 2012 04:34 |
|
I've yet to determine the final cause (cable or HBA) but after swapping the 7 year old PSU and case (better cooling) the last thing I tried was putting the drive that kept dropping out of my array onto a port on the mobo, and bingo, no more drops. Secured the important data and added one of the 2 spares. Its rebuilding now with a 4th drive. I'll verify the data with BTRFS's tools when thats done, then determine if its the cable or HBA that caused the drops, and finally re-add the 5th drive. An interesting experience.
|
# ? Dec 5, 2012 08:45 |
|
I'm not sure if this is the right thread for this or not. Are their any recommended books on Linux admin? Preferably from a web server point of view. So things like web site configuration in Apache or Nginx, log management, troubleshooting setups, tuning and troubleshooting server performance, etc. I deal mostly with a Windows Server environment so looking to get some experience in the Linux side of things. I appreciate any help. Thanks!
|
# ? Dec 5, 2012 20:44 |
|
I bought the Ubuntu Server 11.10 version of this book: http://www.amazon.com/Ubuntu-12-04-Server-Administration-ebook/dp/B008EEARHU/ref=sr_1_5?ie=UTF8&qid=1354738038&sr=8-5&keywords=ubuntu+server I found it to be generally helpful for the basic setup of all of the various services you sound like you are looking for (web servers) but I will say that I don't feel it went into a lot of depth, just covered a lot of things broadly so that I knew what I was looking for. In general, I would say if you start with a book like this and combine with some good google skills then you'll be able to do anything you are looking to do. Also, Ars Technica is 3 parts into a really good series about standing up a web server running Nginx including SSL and PHP configuration. I'm not sure how far they are going to keep going with it, but I've found it very useful so far: Ars - Part One Ars - Part Two Ars - Part Three .
|
# ? Dec 5, 2012 21:20 |
|
robbob posted:I'm not sure if this is the right thread for this or not. The CentOS deployment guide. RHEL deployment guide. RHCE, RHCSA, etc guides. Ubuntu is fine, but CentOS/RHEL are much bigger in the "enterprise" realm.
|
# ? Dec 5, 2012 21:24 |
|
robbob posted:I'm not sure if this is the right thread for this or not. For General Linux stuff I'd get one of Mark G. Sobbell's books: http://www.amazon.com/s/ref=a9_sc_1?rh=i%3Aaps%2Ck%3Asobell+linux&keywords=sobell+linux&ie=UTF8&qid=1354739057 For Apache-specific stuff, check out specific books. Most of the stuff can be found online, though. http://www.amazon.com/Apache-Cookbook-ebook/dp/B0028N4WI8/ref=sr_1_1?s=digital-text&ie=UTF8&qid=1354738942&sr=1-1&keywords=Apache
|
# ? Dec 5, 2012 21:24 |
|
evol262 posted:The CentOS deployment guide. RHEL deployment guide. RHCE, RHCSA, etc guides. Ubuntu is fine, but CentOS/RHEL are much bigger in the "enterprise" realm. That's what we use (RHEL), but I read a lot of blogs from 'Internet Company X' and it seems like I see Ubuntu/Debian mentioned more.
|
# ? Dec 5, 2012 21:27 |
|
IMHO if you want to be an effective linux admin you need to know both redhat and debian based systems. And with that you know pretty much everything you need to know because who the gently caress runs gentoo anymore. e: You could delve into FreeBSD or Solaris to cover all your bases.
|
# ? Dec 5, 2012 21:33 |
|
Along those lines, is getting "REDHAT CERTIFIED" worth it if I'm looking to move into sysadmin-type jobs? I was looking through a magically procured studyguide for the test and I'd say I know more than half of it already, and the stuff I don't know is for the most part just a deeper use of stuff I was using already.
|
# ? Dec 5, 2012 21:36 |
|
Saint Darwin posted:Along those lines, is getting "REDHAT CERTIFIED" worth it if I'm looking to move into sysadmin-type jobs? I was looking through a magically procured studyguide for the test and I'd say I know more than half of it already, and the stuff I don't know is for the most part just a deeper use of stuff I was using already. Do it if you can do it for free/almost free. I could do LPI for €90 at FOSDEM last year, I ended up not going due to circumstances but that would be well worth it. But paying several thousand to get certified? Nah.
|
# ? Dec 5, 2012 21:38 |
|
Saint Darwin posted:Along those lines, is getting "REDHAT CERTIFIED" worth it if I'm looking to move into sysadmin-type jobs? I was looking through a magically procured studyguide for the test and I'd say I know more than half of it already, and the stuff I don't know is for the most part just a deeper use of stuff I was using already. Is your area littered with job ads requiring Redhat certs? Then get it.
|
# ? Dec 5, 2012 21:41 |
|
Saint Darwin posted:Along those lines, is getting "REDHAT CERTIFIED" worth it if I'm looking to move into sysadmin-type jobs? I was looking through a magically procured studyguide for the test and I'd say I know more than half of it already, and the stuff I don't know is for the most part just a deeper use of stuff I was using already. It doesn't cost that much, especially if you're not going through training. It's certainly an edge up in some fields.
|
# ? Dec 5, 2012 21:44 |
|
I don't think I've seen a job specifically ask for it, but I do want to do sysadmin work but my experience consists of "messing around with it on a few machines at home, doing some very basic stuff in college, and supporting individual machines at work even though that's not my official job description" I just want to show I know what the hell I'm doing and to stand out a little? I assume it's really the reasons I haven't gotten call-backs since that experience looks a bit lame.
|
# ? Dec 5, 2012 21:50 |
|
Saint Darwin posted:I don't think I've seen a job specifically ask for it, but I do want to do sysadmin work but my experience consists of "messing around with it on a few machines at home, doing some very basic stuff in college, and supporting individual machines at work even though that's not my official job description" Your description pretty much sounds like "I want to be a sysadmin, but I'm not experienced enough, and I keep applying to sysadmin jobs." To be honest, Linux isn't uncommon enough that I need to hire some shade-tree guy who's never touched a production system, doesn't know how to script, can't configure a webserver, etc. You need to look lower, at junior admin, operations, etc, and work your way up when you have the experience. It's unlikely that you're going to win out over a guy who has even six months of solid experience working on the command line.
|
# ? Dec 5, 2012 22:25 |
|
Thanks for all the quick responses! I've got a lot of information to look through now. I have messed around with Ubuntu but I will definitely give CentOS a try. Mainly been a Windows admin so trying to bring my Linux skills up to par.
|
# ? Dec 5, 2012 22:55 |
|
robbob posted:Thanks for all the quick responses! I've got a lot of information to look through now. I have messed around with Ubuntu but I will definitely give CentOS a try. Mainly been a Windows admin so trying to bring my Linux skills up to par. The big complaint about CentOS is '_____ isn't included' or '______ is really out of date' Which is fine if you want a stable box for production but kinda stinks if you're doing cutting-edge stuff and don't want to search for repos or build your own poo poo.
|
# ? Dec 5, 2012 23:09 |
|
I apologize if this has been asked before but I'm looking to brush up on Linux as a side fun project and need to know where to start. I've used Ubuntu in the past but I'd like to really understand it rather than just get my hand held through the whole process of using the software. Is Gentoo a good starting spot? It'll be a VM so no real hassle of losing anything.
|
# ? Dec 5, 2012 23:54 |
|
Irritated Goat posted:I apologize if this has been asked before but I'm looking to brush up on Linux as a side fun project and need to know where to start. I've used Ubuntu in the past but I'd like to really understand it rather than just get my hand held through the whole process of using the software. Is Gentoo a good starting spot? It'll be a VM so no real hassle of losing anything. To learn what about linux exactly? You can spend hours installing a Gentoo system and not learn much beyond how to read their documentation. If you want to learn about large linux-targeted software packages like a webserver, it's a much better idea to use an OS that you will be comfortable with, and won't have to work around. However, if you really want to compile stuff, there's also LFS.
|
# ? Dec 6, 2012 00:20 |
|
hifi posted:To learn what about linux exactly? You can spend hours installing a Gentoo system and not learn much beyond how to read their documentation. If you want to learn about large linux-targeted software packages like a webserver, it's a much better idea to use an OS that you will be comfortable with, and won't have to work around. However, if you really want to compile stuff, there's also LFS. General use and maybe some future IT use like maintaining servers and the like
|
# ? Dec 6, 2012 00:22 |
|
Well, uh, that's still very broad. The desktop and server case are very different in terms of how they're put together and how you should administer them, so something more specific that "general use" would be helpful.
|
# ? Dec 6, 2012 01:51 |
|
Suspicious Dish posted:Well, uh, that's still very broad. The desktop and server case are very different in terms of how they're put together and how you should administer them, so something more specific that "general use" would be helpful. I really should think out a better way of describing what I need. Just ignore me for now until I figure that out
|
# ? Dec 6, 2012 01:56 |
|
Longinus00 posted:To do any kind of fs troubleshooting you really need to provide things like dmesg outputs, kernel versions, what a cursory fsck says, sysrq w, etc. That should probably be added to the OP or something. spankmeister posted:Yes at the very least check dmesg, it will have the error the fs driver came up with. The first pastebin link was the only thing in /var/log/messages that seemed relevant. I thought (oops) that everything in the kernel ring buffer (dmesg) ended up in /var/log/messages... Anyway, I did a btrfsck and it produced quite a bit of output: http://sprunge.us/QjQR I then tried mounting again and it still didn't work, and mounting with 'recovery' and read-only options got no further. THEN I noticed that certain SELinux errors in dmesg had not made it to /var/log/messages ... [124408.867890] SELinux: initialized (dev sdd, type btrfs), uses xattr [124412.558657] SELinux: initialized (dev sdd, type btrfs), uses xattr [124438.541849] SELinux: initialized (dev sdd, type btrfs), uses xattr etc etc... So setenforce 0 and everything mounted perfectly fine And I am using F18 beta 3.6.7-5.fc18.x86_64, sorry I forgot to mention that, too. edit: http://sprunge.us/beIj This is what happens when I try to mount in enforcing mode. It mounts just fine in permissive. That transid increased by 4 every time I make an attempt. 2 for the first half, and 2 for when it retries in read only mode. If that means anything... edit edit: Audit log http://sprunge.us/XPXE other people fucked around with this message at 04:30 on Dec 6, 2012 |
# ? Dec 6, 2012 03:55 |
|
|
# ? Jun 12, 2024 19:47 |
|
Kaluza-Klein posted:The first pastebin link was the only thing in /var/log/messages that seemed relevant. I thought (oops) that everything in the kernel ring buffer (dmesg) ended up in /var/log/messages... I can't help help you with selinux but I can tell you that you've mixed up /var/log/messages and dmesg in your pastebin. You also shouldn't need to specify the devices when mounting multi device btrfs volumes. The recommended way to do it is to make sure btrfs scan is run some time before hand. In your case this should all be automated in initramfs. Here's my fstab for mounting a 3 volume btrfs device. code:
code:
|
# ? Dec 6, 2012 04:36 |