Go2Linux Summary

Stay updated with http://www.go2linux.org blog.

Take Control of your Linux | sudoers file: How to with Examples

The sudoers file located at: /etc/sudoers, contains the rules that users must follow when using the sudo command. If you have ever used used Ubuntu, you know that the root account is disabled. This is because the root password is not set in Ubuntu, you can assign one and use it as with every other Linux distribution. That anyway is another story. On normal Ubuntu Linux computers you need to use sudo to act as root. I like using sudo,…

Click the title to see the rest http://su.pr/23IDVZ

KISS simplicity: Arch Linux

Introduction Arch Linux History Arch Linux saw the light with Arch Linux 0.1 on March 11, 2002 from the hand of Judd Vinet. Vinet’s inspiration came from Slackware and CRUX, but he added Pacman the package manager of Arch Linux. Pacman takes care of package installation, removal and upgrades. In 2007 Judd leaves leadership of Arch Linux and Aaron Griffin continue with the labor. Over these years the popularity of Arch Linux grew up,…

Click the title to see the rest http://su.pr/2pVZzD

Take Control of your Linux | sudoers file: How to with Examples

The sudoers file located at: /etc/sudoers, contains the rules that users must follow when using the sudo command. If you have ever used used Ubuntu, you know that the root account is disabled. This is because the root password is not set in Ubuntu, you can assign one and use it as with every other Linux distribution. That anyway is another story. On normal Ubuntu Linux computers you need to use sudo to act as root. I like using sudo,…

Click the title to see the rest http://su.pr/1KyaOG

KISS simplicity: Arch Linux

Introduction Arch Linux History Arch Linux saw the light with Arch Linux 0.1 on March 11, 2002 from the hand of Judd Vinet. Vinet’s inspiration came from Slackware and CRUX, but he added Pacman the package manager of Arch Linux. Pacman takes care of package installation, removal and upgrades. In 2007 Judd leaves leadership of Arch Linux and Aaron Griffin continue with the labor. Over these years the popularity of Arch Linux grew up,…

Click the title to see the rest http://su.pr/1vrgJM

Wordpress Performance Comparison: Using Nginx, Apache, APC and Varnish in Different Scenarios

Introduction If you follow this blog, you may already know that I’m somehow obsessed with performance. But performance with low resources. I like to try to squeeze every drop of power from a server before upgrading it. Usually this is achievable tweaking configuration of the server. This time, I’ve been playing with Wordpress and a Small VPS server. Here the specs: 512 MB RAM Shared CPU Shared Disk Arch Linux 32 Bits It…

Click the title to see the rest http://su.pr/2oXWfe

Nginx, PHP-FPM, APC, Varnish and Wordpress

Installing needed software I’m using Arch Linux as the server, so let’s install needed software. First be sure you have the latest available software now install all the stuff. pacman -Syu Now install Nginx, PHP-FPM and MySQL pacman -S nginx php-fpm mysql Now let’s first take some steps to be sure mysql installation is secure. /etc/rc.d/mysqld start mysql_secure_installation In case you need help answering the…

Click the title to see the rest http://su.pr/1NOihu

scp command line to securely copy files over ssh, between Linux, Mac or Windows

SCP Introduction scp stands for secure cp (copy), which means you can copy files across ssh connection. That connection will be securely encrypted, it is a very secure way to copy files between computers You can use scp to copy files from or to a remote server. You can also copy files from one remote server to another remote server, without passing traffic through your PC. You can use scp on Linux, Mac and Windows (using WinSCP). SCP…

Click the title to see the rest http://su.pr/21caXp

How to: Purge, Flush or Delete Postfix Queue, or a Single Email

To flush or purge the postfix mail queue, just enter this command postfix -f But if you need to delete an individual email from the queue, you’ll first need to see the queue. Traditionally you use `mailq` this time we’ll use: postqueue -p And the output should show all messages in queue: 5642B4D8647* 1683500 Tue Jun 3 08:37:27 xxxxxx@xxxxxxx.com rrrrrrrrr@hotmail.com 9359B4D82B1* 1635730 Tue…

Click the title to see the rest http://su.pr/1qggxK

Set Time, Date Timezone in Linux from Command Line or Gnome | Use ntp

To have the correct time and date in Linux is very important, a lot of things depends on it. It does not matter if you are using Linux to power your personal computer or you have a Linux server. The server and system clock needs to be on time. Set date from the command line date +%Y%m%d -s “20120418” Set time from the command line date +%T -s “11:14:00” Set time and date from the command line date -s “19 APR…

Click the title to see the rest http://su.pr/56vMuc

iptables: Small manual and tutorial with some examples and tips

This is a small manual of iptables, I’ll show some basic commands, you may need to know to keep your computer secure. Basic commands List rules iptables -L This is going, list the default table “Filter”. List rules in specific table iptables -L -t nat You can also list the other tables like: mangle, raw and security. You should consider reading a bit more about tables. You can do it in the Tables section in the man…

Click the title to see the rest http://su.pr/1ROZU8

Resize Windows in Gnome when Margin is Out of Boundaries

When for any reason, one of the margins of your window goes out of boundaries, specially when is the top margin, which is out of the boundaries of the screen. Move or resize to put it inside boundaries again is not a easy task, in those cases, what you can do, is resize using the keyboard. Just press ALT + F8 and the cursor will become a small cross, then you can move the mouse to the direction of the margin you want to resize. It will lock…

Click the title to see the rest http://su.pr/28iXH6

Install s3tools, s3cmd on Mac OS X

If you are planning to use Amazon S3 services, and you own a Mac, you may want to install s3cmd command from s3tools in your Mac. Here is how: First you need to get the software, you can download from here. Then just run: sudo python setup.py install And finally configure it running: s3cmd —configure. You can read more about how to use s3cmd

Click the title to see the rest http://su.pr/1btxhQ