|
Ziir posted:No, that didn't help. I swear I had it working like regular backspace even just one hour ago. You aren't accessing vi differently are you (i.e. ssh, xterm)?
|
# ? Jun 3, 2011 22:18 |
|
|
# ? May 10, 2024 02:25 |
|
Ziir posted:No, that didn't help. I swear I had it working like regular backspace even just one hour ago. Try 'export TERM=gnome' without the quotes.
|
# ? Jun 3, 2011 22:30 |
|
Modern Pragmatist posted:You aren't accessing vi differently are you (i.e. ssh, xterm)? I'm accessing it the same way I've always did, via ssh. Underflow posted:Try 'export TERM=gnome' without the quotes. This makes it even worse. Now backspace adds some ? characters.
|
# ? Jun 4, 2011 00:08 |
|
Ziir posted:No, that didn't help. I swear I had it working like regular backspace even just one hour ago. Try deleting or mv-ing your .vimrc
|
# ? Jun 4, 2011 00:18 |
|
Ziir posted:I'm accessing it the same way I've always did, via ssh. See if 'export TERM=linux' or 'export TERM=vt100' returns you to the normal behaviour. If not, it's almost certainly something in your user config file like BlackMK4 says. Unless your /etc/profile has somehow been altered, which is unlikely.
|
# ? Jun 4, 2011 10:48 |
|
Underflow posted:See if 'export TERM=linux' or 'export TERM=vt100' returns you to the normal behaviour. If not, it's almost certainly something in your user config file like BlackMK4 says. Unless your /etc/profile has somehow been altered, which is unlikely. Deleted my .vimrc file and tried those two settings but nope, none of it works. maybe I really didn't have backspace functionality .
|
# ? Jun 4, 2011 10:52 |
|
Ziir posted:Deleted my .vimrc file and tried those two settings but nope, none of it works. maybe I really didn't have backspace functionality . Did either of those 2 exports at least change it back to what you had before 'TERM=gnome'? Also: - is there a .terminfo file in your homedir? Was it always there? - is there an .inputrc file in your homedir? Was it always there? I have a thorough although pretty ancient doc on escape chars somewhere; I'll see if I can dig it up.
|
# ? Jun 4, 2011 11:48 |
|
We have a CentOS 5.x (?) box that is having an NFS/network load issue (I'm not sure of the version at the moment). Basically, it is trying to load NFS automounts before eth0 is fully brought up. Like, the logs look like this: code:
Searching Google tells me "tg3" is a Broadcom driver or something. How do I change the order of whatever it's doing to make it attempt mounts after the Network is brought up?
|
# ? Jun 7, 2011 23:11 |
|
Xenomorph posted:We have a CentOS 5.x (?) box that is having an NFS/network load issue (I'm not sure of the version at the moment). vvv⁻⁻⁻ That is a much better way, do that instead. dont skimp on the shrimp fucked around with this message at 00:15 on Jun 8, 2011 |
# ? Jun 7, 2011 23:16 |
|
Xenomorph posted:We have a CentOS 5.x (?) box that is having an NFS/network load issue (I'm not sure of the version at the moment). Edit: Alternatively you could use autofs (or similar) so that the NFS share is only mounted when the mountpoint is accessed. waffle iron fucked around with this message at 00:11 on Jun 8, 2011 |
# ? Jun 8, 2011 00:08 |
|
Sorry if I sound ignorant but I don't really know the best place to ask so I thought I try here. I really want to learn Linux, at least enough to know my way around especially the command prompt. I've got Ubuntu installed since it looks like a more simpler way for a newbie like me to get into it (in fact it looks like this version has made it even simpler). My question is how did you guys learn the fundamentals of Linux? Experimenting? Is there a good tutorial out there you guys recommend I can use for an introduction? I'm a slow learner so just installing applications and working with drivers is difficult for me right now.
|
# ? Jun 8, 2011 04:26 |
|
Real talk express: If you want to learn "linux" uninstall Ubuntu and use something like Slackware/CentOS or maybe Debian. Otherwise you'll just stare at Gnome for a couple hours and then get bored. The crappier the distro the better the learning experience will be, I'm not even kidding here. Also get a study guide for the Linux+ or LPIC-1 since they cover all the basic commands and config files of a standard system.
|
# ? Jun 8, 2011 04:40 |
|
Social Animal posted:I really want to learn Linux, at least enough to know my way around especially the command prompt. If you learn by doing, make use of Linux. Search for information on projects and make them happen: Install Apache, make a webpage with vi (or just learn to use vi is a huge start), learn how to use SSL with apache, use PHP, use MySQL. Your first shell script, your first relational database, make a blog. Make something cool with it. Learn which log files contain which information. Send and receive mail, make a Windows fileshare, etc. This is where Linux really excels, varied tasks in the server role. While easy for me to type this list, that in itself would take you quite a while to make happen, and you'll have issues that will take time to resolve. If you learn by reading, either books from O'Reilly, Amazon, etc. Or learn by the tons of tutorials that are a google search away. As mentioned above, a study guide for a test would be a good idea too.
|
# ? Jun 8, 2011 05:10 |
|
Social Animal posted:Sorry if I sound ignorant but I don't really know the best place to ask so I thought I try here. I really want to learn Linux, at least enough to know my way around especially the command prompt. I've got Ubuntu installed since it looks like a more simpler way for a newbie like me to get into it (in fact it looks like this version has made it even simpler). Mosly it's just about using it and learning as you go. Start with the basics, and learn more and more advanced things as needed. I grew up on DOS so basic operations are very familiar/similar though some may have different names: (cd, mkdir, dir/ls, del/rm, move/mv, etc.) Use a cheat sheet until you get more famliiar with command names (this was just one of the first google results, there may be better ones out there). Read man pages (starting with "man man")to get acquainted with new commands, or to remind you of obscure, lesser-used options for commands you may already be somewhat familiar with. -There's rarely a newbie linux question that can't be answered by a simple google search. -You can also ask questions on ubuntuforums.org or other linux specific forums -You can try IRC chat and can often receive a more immediate response than forums may provide: ##linux on freenode.net for general questions or any of the myriad application-specific IRC channels for GNU/Linux software(typically also on freenode.net servers) -http://ubuntuguide.org for some nice step by step guides on common issues, mostly for initial configuration(application install, drivers, etc.) of a box. -If you do need to ask a question online, try to ask smart questions to avoid being flamed/chastised. Some other topics you might want to eventually look into: -general or bash-specific(Bourne Again SHell, the most commonly used and imitated shell) shell concepts like tab-completion, standard input/output, pipes, redirects. -How linux file/directory permissions work -Linux Filesystem hierarchy (conventions of what types of files go under which paths, though some distros may vary) I've been using linux for about 12 years, and Ubuntu for about 5. I think it is pretty decent beginner distro that for the most part "just works", and despite the cries of various neckbeards who equate "time spent unnecessarily manually configuring a bunch of poo poo" with how "elite" a distro is, it is perfectly suitable for experienced users as well, who would rather spend their time just getting the important poo poo done. That said, the latest Ubuntu does feature a new graphical interface which is... controversial to say the least. Personally I did not care for it and, reverted to the "classic" gnome inteface. You can read more about it in the Ubuntu thread if you haven't already seen it.
|
# ? Jun 8, 2011 05:21 |
|
Thanks for the responses guys. I'm going to load up CentOS and jump between that and Ubuntu to check it out. I think what I'm for sure going to do is checkout the Linux+ study material and get some basics with that and then set up a server just to see if I can figure it all out. Again thanks for the responses, you guys got me off to a good start.
|
# ? Jun 8, 2011 09:43 |
|
You might want to try setting up a box or vm with a console-only install. Then you will be forced to figured out how to do things in the console. Should be easy to do with most distros, but you might have to get the "server" version of some of them. Try out a bunch of the distros, too. They are subtly (and sometimes not so subtly) different and have diverging methods for handling package management, startup, configs, etc.
|
# ? Jun 8, 2011 13:40 |
|
Social Animal posted:I've got Ubuntu installed since it looks like a more simpler way for a newbie like me to get into it (in fact it looks like this version has made it even simpler). Grab this book and just sit around and play with it for a while. http://www.amazon.com/Ubuntu-Unleashed-2011-Covering-10-10/dp/0672333449/ref=pd_sim_b_3
|
# ? Jun 8, 2011 13:42 |
|
Social Animal posted:Thanks for the responses guys. I'm going to load up CentOS and jump between that and Ubuntu to check it out. I think what I'm for sure going to do is checkout the Linux+ study material and get some basics with that and then set up a server just to see if I can figure it all out. I had a lot of fun poking around Slackware back in the 1990s. I was so excited when I got 3.3 on CD (I had only used Floppy installs before). Most of what I do now is command-line in Ubuntu Server. I think we're sticking with CentOS on the Desktop. Does anyone still recommend Gentoo?
|
# ? Jun 8, 2011 18:10 |
|
Xenomorph posted:I had a lot of fun poking around Slackware back in the 1990s. I was so excited when I got 3.3 on CD (I had only used Floppy installs before). I remember the Box O' Fifty Floppies(TM). I had a blast blowing away my 386 and installing Slackware or SLS.
|
# ? Jun 8, 2011 19:46 |
|
^^ My first linux install was slackware via floppy. Had a giant stack of howto printouts because I was dualbooting my only PC.Xenomorph posted:Does anyone still recommend Gentoo? I admin a server running Gentoo and it has been working great for a long time. My personal boxes are ubuntu or arch now, though. I just found it to be too annoying to keep a gentoo box up to date when it involved compiling x, kde, etc.
|
# ? Jun 8, 2011 20:03 |
|
Xenomorph posted:Does anyone still recommend Gentoo? Either should be fine though.
|
# ? Jun 8, 2011 20:18 |
|
I'm not sure compiling things from the AUR is much better. Has Arch fixed their "QA is not our responsibility" philosophy? Last time I ran it, they pushed a new (incompatible) version of ncurses that broke half the packages on my system.
|
# ? Jun 8, 2011 20:19 |
|
The AUR is incredibly easy. yaourt -Sy packagename --noconfirm
|
# ? Jun 8, 2011 20:36 |
|
taqueso posted:^^ My first linux install was slackware via floppy. Had a giant stack of howto printouts because I was dualbooting my only PC. Nothing like booting Windows, visiting a couple websites, printing them out or writing stuff down, then booting back into Linux and trying poo poo out. Then having to go back to Windows. Or hell, not even being able to boot Linux in the first place. drat kids today with their laptops, able to surf while they install. I remember helping people out in IRC. They'd keep popping in and out of the channel, between reboots and dialing up, and if they were lucky, and persistent, eventually they'd be back using Linux
|
# ? Jun 8, 2011 21:07 |
|
Bob Morales posted:Nothing like booting Windows, visiting a couple websites, printing them out or writing stuff down, then booting back into Linux and trying poo poo out. Then having to go back to Windows. Or hell, not even being able to boot Linux in the first place. My shiny new 28.8 was a Winmodem. So besides reading documentation and downloading Linux while in Windows, I was completely offline once I got Linux to boot. I even put my 14.4 back in for a little while since it was only an RPI modem and I could then get online with Linux. I made damned sure my next modem was a hardware one after using three software modems in a row (2400, 14.4, 28.8).
|
# ? Jun 8, 2011 23:22 |
|
So I am having shitloads of problems with my arch system, the power went out during a thunderstorm and poo poo hit the fan and my system seems to have lost a lot of the shared libraries amongst other things. I have attempted to re-install the various lib packages through pacman/doing from the CLI multiple times to no avail. To the question, any way to outright completely remove all but the base installation including updates without losing config files and/or the system completely making GBS threads itself? I guess if I have to I could reinstall the system, I am assuming linux does not mind me keeping my home partition and deleting the other ones. Sorry if this is badly written, have been up for 24 hours most of which was dedicated to attempting to fix the problems.
|
# ? Jun 9, 2011 11:23 |
|
This thread has some interesting little scripts for reinstalling all packages on an Arch system. I'd back up whatever you can before you try them, especially /etc/. If that doesn't work, I'd probably backup and reinstall. I don't have experience with Arch linux specifically, but in general I'd tar up /etc/ and /var/ and reinstall the system without formatting volumes. Reinstall any missing packages/updates from there, and then replace any configuration files that returned to default with the copies from your backups. If you want to be extra careful you could use tar/rsync/clonezilla to backup the whole system to another hard drive before you start. BnT fucked around with this message at 14:40 on Jun 9, 2011 |
# ? Jun 9, 2011 14:29 |
|
https://bbs.archlinux.org/viewtopic.php?id=13882&p=1 has a script that is supposed to be like gentoo's revdep-rebuild. This says it will download all installed packages: https://wiki.archlinux.org/index.php/Pacman_Tips#Redownloading_all_installed_packages_.28minus_AUR.29 I feel like I should know how to fix your problem, but I don't. Please tell us what works.
|
# ? Jun 9, 2011 14:41 |
|
Can anyone tell me why this doesn't work as expected (apache 2)?code:
^/(.*)$ ought to match a request for "/" in my book.
|
# ? Jun 9, 2011 14:53 |
|
Which distro is the better choice for a small-scale (personal) VPS: Ubuntu or Debian? I'm looking at these guys for hosting, and of the OSs they offer as standard, Ubuntu and Debian seem best for me, but I'm not sure which to go with. It'll mostly be for my own personal projects with a few small-scale websites, so I'm not too worried about utmost stability and would rather have access to the most up-to-date packages. Supposedly Debian's slow release cycle means Ubuntu is better in this regard? Also, what's the difference between vanilla Ubuntu and Ubuntu Server? Is the distinction worth worrying about? The host I linked to above just uses a pre-created desktop Ubuntu template for their VM (from here), but I might be able to persuade them set me up with Ubuntu Server if it's worth it.
|
# ? Jun 9, 2011 14:54 |
|
Security updates still get backported to debian stable, so only thing you need to consider would be if you need features that are present only in newer packages. Personally, I'd go with debian.
|
# ? Jun 9, 2011 14:56 |
|
Comatoast posted:The AUR is incredibly easy. While I don't disagree, I'm really not sure how this is any better than "emerge packagename", since you're compiling it either way (and compiles with Gentoo were the complaint). Carthag posted:Can anyone tell me why this doesn't work as expected (apache 2)? code:
Inquisitus posted:Which distro is the better choice for a small-scale (personal) VPS: Ubuntu or Debian? Inquisitus posted:It'll mostly be for my own personal projects with a few small-scale websites, so I'm not too worried about utmost stability and would rather have access to the most up-to-date packages. Supposedly Debian's slow release cycle means Ubuntu is better in this regard? Inquisitus posted:Also, what's the difference between vanilla Ubuntu and Ubuntu Server? Is the distinction worth worrying about?
|
# ? Jun 9, 2011 15:16 |
|
evol262 posted:Is there a reason why you're not just using: Turns out there was another redirect elsehwere (in a different file) with a [L,PT] flags so I didn't see any strange output when it was just rewriting poo poo behind the scenes. Thanks anyway :| The slash is just for prettiness so I don't get "newurl.dk//blah"
|
# ? Jun 9, 2011 15:44 |
|
Is there a standard utility/script for adding and removing daemons from rc.conf in arch? I'm writing some fabric scripts to deploy a webserver and would like to avoid reinventing the wheel.
|
# ? Jun 9, 2011 17:14 |
|
evol262 posted:(which doesn't make a difference if you're on OpenVZ/Xen PV anyway, as far as I know). On OpenVZ/Virtuozzo, you're correct; Xen (since early 3.0) has features to allow loading the kernel out of the domU's filesystem, and most deployments use that, because it's generally better and simpler to use distro kernels when possible. (I say this as someone involved in implementing a Xen-based VM hosting platform.)
|
# ? Jun 9, 2011 17:43 |
|
evol262 posted:Ubuntu is essentially Debian unstable. Just use that. Debian's much better about having, ah... reasonable dependencies on packages, so your VPS won't get crapped up quite as fast. I'm leaning toward Debian in that case. I'll see if they're willing to set me up with testing/unstable, but they might be reluctant screw around with specific distros/releases rather than using the pre-created VMs, so is it simple to upgrade from Debian stable? Also, what is there between testing and unstable? How unstable actually is unstable? Inquisitus fucked around with this message at 17:47 on Jun 9, 2011 |
# ? Jun 9, 2011 17:44 |
|
Inquisitus posted:so is it simple to upgrade from Debian stable? Inquisitus posted:How unstable actually *is* unstable?
|
# ? Jun 9, 2011 17:48 |
|
Inquisitus posted:I'm leaning toward Debian in that case. I'll see if they're willing to set me up with testing/unstable, but they might be reluctant screw around with specific distros/releases rather than using the pre-created VMs, so is it simple to upgrade from Debian stable? Debian unstable is actually pretty stable - probably more so than Ubuntu Also you don't have to ask them to set you up with unstable, if they can set you up with stable you can either make the switch manually or grab smxi and do it the easy way.
|
# ? Jun 9, 2011 18:01 |
|
Inquisitus posted:Also, what is there between testing and unstable? How unstable actually is unstable? When they say 'unstable' they don't mean that in terms of crashing or anything like that.
|
# ? Jun 9, 2011 18:20 |
|
|
# ? May 10, 2024 02:25 |
|
Inquisitus posted:I'm leaning toward Debian in that case. I'll see if they're willing to set me up with testing/unstable, but they might be reluctant screw around with specific distros/releases rather than using the pre-created VMs, so is it simple to upgrade from Debian stable? Just to say, you're ordering a VPS. Learn to manage it yourself. You could install Gentoo in a chroot and swap over to it from there. Makes no difference to them, really. Templates are for their convenience, but you can do whatever.
|
# ? Jun 9, 2011 18:33 |