ubuntu
10 straightforward but proven ways to harden your LAMP servers
Submitted by admin on Fri, 2009-11-06 02:08Over the years I have had to harden a great number of LAMP boxes, I have found some methods work for better than others. I will now share with you all my favorite 10 along with methods to implement them on Debian/Ubuntu.
10. Lock SSH access right down. I do this by disabling root logins, disabling password authentication and using denyhosts.
To disable root logins do this: vi /etc/ssh/sshd_config and look for the following line: PermitRootLogin yes and change it thus: PermitRootLogin no
To disable password authentication (you will have to use public/private keys) do this: vi /etc/ssh/sshd_config and look for the following line: #PasswordAuthentication yes (note its commented out) and change it thus: PasswordAuthentication no
To install denyhosts do this: apt-get install denyhosts once installed it shouldn't need any configuration, but you can tweak the settings if you wish in /etc/denyhosts.conf
9. Always use Sudo for root access, This is one of the things Ubuntu does really well and its about time other distros did the same.
- Add new comment
- Read more
- 1668 reads
Develop Websites with Bluefish
Submitted by kurtedelbrock on Mon, 2009-06-15 02:24One of the nicest things about Bluefish is that it uses 30 to 45 percent less memory than other editors. This makes quick edits less of a hassle. Sometimes, other editors can be too clunky, and I found myself reverting to a console-based text editor to make a minor change, but Bluefish should stop this from happening.
- kurtedelbrock's blog
- Add new comment
- Read more
- 1390 reads
Replaying terminal sessions with scriptreplay
Submitted by linportal on Sun, 2007-05-06 18:13OK, this is so cool and sexy, I really don't understand how I didn't find about this earlier. Possibly because it's the recent add-on to the well known script utility?
So, I suppose you all know about script. You type script, do your work, type exit, and you have your complete session logged in the file named typescript. Quite handy if you want to log everything you did in the shell for whatever reasons.
What you might not know is that script has an interesting switch which allows you to also save the exact timing data of the screen output you're capturing. And an additional utility called scriptreplay which can later replay your session in real-time. Like a movie. With perfect timing.
- linportal's blog
- 7 comments
- Read more
- 15334 reads
Ubuntu vs Debian: this is amazing!
Submitted by admin on Wed, 2006-10-04 21:44The other day I was playing with fun Google Trends tool and got an idea to check Ubuntu versus Debian popularity. You can see the result on the picture below and I don't know about you, but it simply amazes me how popular Ubuntu is these days. And not only that, but its popularity is growing day by day, while it can be easily seen that Debian is either stagnating or slowly fading out.
- 30 comments
- Read more
- 50828 reads

Recent comments
1 day 19 hours ago
2 days 2 hours ago
4 days 23 hours ago
4 days 23 hours ago
5 days 5 hours ago
6 days 9 hours ago
6 days 10 hours ago
6 days 10 hours ago
6 days 11 hours ago
6 days 13 hours ago