Install Firefox 4 in Ubuntu 10.04 / 10.10 | Here’s how to upgrade your Firefox 3.x in Ubuntu to Firefox 4 using the Mozilla stable ppa. Simply issue these commands one after another: $ sudo add-apt-repository ppa:mozillateam/firefox-stable $ sudo apt-get update $ sudo apt-get install firefox ubufox Your existing Firefox will be replaced with the new Firefox 4.
Set Password Expiration for Linux Accounts
Set Password Expiration for Linux Accounts | For security, it is good to enforce password expiration. Here’s how you do it in Linux. Edit the file /etc/login.defs: sudo nano /etc/login.defs Here you can specify options for password expiration: PASS_MAX_DAYS 90 PASS_MIN_DAYS 7 PASS_MIN_LEN 14 PASS_WARN_AGE 7 Max Days: maximum life of a password Min Days: prevent a second change again for X
SSH Password Login From Specific IP Ranges
SSH Password Login From Specific IP Ranges | Want to require ssh keys from remote sources, but then allow ssh passwords from your local home network? It is easy to make this specific configuration or alter as desired for your server. I’ll show you how! 1. Edit the sshd_config file sudo nano /etc/ssh/sshd_config In this file, edit the existing line PasswordAuthentication to ‘no’
Securing phpMyAdmin
Securing phpMyAdmin | phpMyAdmin is a great tool but it is also a large target by hackers. Take these initial steps to secure your phpMyAdmin install in Ubuntu Linux. 1. First we will setup an Apache login and password in order to load the phpmyadmin page. This command creates an apache authenticated user (Example here creates a username
Ubuntu 11.04 Change From Unity To Classic Gnome
Ubuntu 11.04 Change From Unity To Classic Gnome | Classic Gnome fans, fear not. You can still use standard Gnome in Ubuntu 11.04 if Unity is not your bag. To change to traditional Gnome, logout and then after clicking on your username, select Ubuntu Classic Desktop at the bottom of the login screen. Enjoy the latest and greatest Ubuntu with regular Gnome! Edit! Alternate
Rotate MySQL Backups With Logrotate
Rotate MySQL Backups With Logrotate | logrotate can be used to rotate and auto-purge any file, including mysql backups. This very server (scottlinux.com) backs up a mysql dump daily, keeping the previous 8 with this method. I’ll show you how: 1. Create the following file, editing as desired. This example backs up all mysql databases in one dump. Of course you
Backup Gmail Email in Linux
Backup Gmail Email in Linux | How can I backup my gmail email in Linux? On Linux (and OS X) you can use the command line program getmail. This how-to uses IMAP to connect to your gmail account. If you haven’t already, make sure to enable IMAP in the gmail settings! 1. Ok now install getmail in Ubuntu: sudo apt-get install
Disable Guest Access – Samba
Disable Guest Access – Samba | Samba by nature has guest access for various purposes. However, you can disable guest access to prevent anonymous browsing and tighten security overall. 1. Edit the smb.conf file: $ sudo nano /etc/samba/smb.conf Add this line to the [global] section: restrict anonymous = 2 2. Close and save the file. Then restart samba. This will restart
Could not reliably determine the server’s fully qualified domain name
Could not reliably determine the server’s fully qualified domain name | After the initial install of Apache in Ubuntu, you’ll first see this message below: stmiller@brahms:~$ sudo /etc/init.d/apache2 restart * Restarting web server apache2 apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName … waiting apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName





