LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices



Old

Limiting and blocking connections dynamically.

Posted 10-31-2011 at 04:46 PM by sag47
Updated 01-29-2014 at 12:14 PM by sag47

Today I feel like talking about limiting connections which get made to a server. There are a few ways to do it; some cooler than others. I'd like to feature some open source software while I'm at it.

Today I happened upon this thread which hilariously got closed for good reason. Once you wade through all the crap you'll see some pretty cool posts which explain how to limit incoming connections within a certain time period and other suggestions. I'll point out the most useful related...
Senior Member
Posted in Uncategorized
Views 848 Comments 0 sag47 is offline
Old

booting from the grub command line

Posted 10-30-2011 at 07:50 AM by neonsignal

There are grub2 boot failures (such as when disk UUIDs don't match) where it can be useful to do a minimal boot from the grub command line.

For typical systems (such as booting from the first partition of the first hard drive), this can be done with the following grub commands:
Code:
linux (hd0,1)/vmlinuz root=/dev/sda1
initrd (hd0,1)/initrd.img
boot
Senior Member
Posted in Uncategorized
Views 358 Comments 0 neonsignal is offline
Old

changing the default system editor

Posted 10-30-2011 at 07:42 AM by neonsignal

The default system editor in Debian is typically nano. If you prefer a different editor such as vi, it can be changed by setting the link from /etc/alternatives/editor:
Code:
ln -sf /usr/bin/vi /etc/alternatives/editor
Senior Member
Posted in Uncategorized
Views 211 Comments 0 neonsignal is offline
Old

Securely backup your $HOME to a remote machine

Posted 10-29-2011 at 08:19 PM by rouvas

SYNOPSIS

A simple and effective script to perform a secure backup of your home directory to a remote machine, with the help of sshfs and rsync. With trivial modifications it can be used to backup any directory.


FOR THE IMPATIENT

Drop this script into your path:

Code:
#!/bin/bash

#
# Specify the name of the user on the remote machine, defaults to the current user
#
REMOTE_USER=${REMOTE_USER:=$USER}
...
Member
Posted in Uncategorized
Views 941 Comments 0 rouvas is offline
Old

How to tell a real tech...

Posted 10-29-2011 at 04:47 AM by peonuser
Updated 10-29-2011 at 04:53 AM by peonuser

Probably going to get lambasted for this, but it is something to think about when judging a potential employee. Can a potential employee use what they have or do they need thousands of dollars just to do the simplest thing to get going. Here we will pit a confirmed Microsoft software only advocate versus someone who has at least some familiarity with linux or is willing to try something new and use the systems alloted to them.

In each of two separate rooms on the desk is a Pentium...
Member
Posted in Uncategorized
Views 274 Comments 0 peonuser is offline

  



All times are GMT -5. The time now is 10:29 PM.

Main Menu
Advertisement

Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration