formats

SSH Password Login From Specific IP Ranges

Published on March 16, 2011, by + in linux, sysadmin.

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’

formats

Securing phpMyAdmin

Published on March 14, 2011, by + in linux, sysadmin.

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

formats

Ubuntu 11.04 Change From Unity To Classic Gnome

Published on March 5, 2011, by + in linux.

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

formats

Rotate MySQL Backups With Logrotate

Published on March 4, 2011, by + in linux, sysadmin.

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

formats

Check Apache Permissions

Published on March 1, 2011, by + in linux, sysadmin.

Check Apache Permissions | How can I check Apache permissions for world writeable files or directories? You can use the find command to check for 777 (world writeable) directories and files. This command searches for directories that are 777 in /var/www/: sudo find /var/www/ -type d -perm -002 And this command searches for files that are 777 in /var/www/:

formats

Backup Gmail Email in Linux

Published on February 28, 2011, by + in linux, osx.

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

formats

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

formats

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

formats

Ubuntu Linux Disable Autorun

Published on February 9, 2011, by + in linux.

Ubuntu Linux Disable Autorun | How do I disable autorun in Ubuntu Linux? As in recent news, Linux on the Desktop is vulnerable to autorun attacks via a specially crafted USB flash drive. You can help to make your Linux Desktop safer by disabling autorun for removable media. In Ubuntu, open up a terminal (Applications > Accessories > Terminal). In

formats

Debian 6 Squeeze

Published on February 7, 2011, by + in linux.

Debian 6 Squeeze | Yes Debian 6 – Squeeze is now available, after almost exactly two years of development and bug squashing. Here are the netinstall CD download links: http://www.debian.org/CD/netinst Netinstall images containing non-free firmware are also available: http://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware One welcome change along with this release is the new debian.org website: This is a warm welcome and refreshingly modern

Home Archive for category "linux" (Page 17)