<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>AG Linux</title><description>Linux study notes from 2012 to 2018. A personal journal.</description><link>https://amargautam.co.uk/</link><language>en-gb</language><item><title>Opening Firewall Ports with iptables</title><link>https://amargautam.co.uk/firewall-and-iptables/</link><guid isPermaLink="true">https://amargautam.co.uk/firewall-and-iptables/</guid><description>Opening ports 80, 110 and 143 by editing /etc/sysconfig/iptables, restarting the service and checking the rules, plus firewalld and ufw equivalents.</description><pubDate>Thu, 27 Dec 2018 00:00:00 GMT</pubDate></item><item><title>How to Install Magento 1 on CentOS 6</title><link>https://amargautam.co.uk/how-to-install-magento-on-centoos-6/</link><guid isPermaLink="true">https://amargautam.co.uk/how-to-install-magento-on-centoos-6/</guid><description>My short checklist for installing Magento 1 on CentOS 6: download it, adjust Apache&apos;s httpd.conf and add the PHP mcrypt packages from EPEL.</description><pubDate>Sun, 16 Dec 2018 00:00:00 GMT</pubDate></item><item><title>Install, Configure and Test Apache on CentOS and Red Hat</title><link>https://amargautam.co.uk/installation-of-apache-server/</link><guid isPermaLink="true">https://amargautam.co.uk/installation-of-apache-server/</guid><description>Installing Apache httpd with yum on CentOS or Red Hat, starting it at boot, enabling name-based virtual hosting on port 80 and testing the default page.</description><pubDate>Thu, 25 Oct 2018 00:00:00 GMT</pubDate></item><item><title>Installing Samba on Linux</title><link>https://amargautam.co.uk/installing-samba/</link><guid isPermaLink="true">https://amargautam.co.uk/installing-samba/</guid><description>The basic steps to install Samba with yum, edit its config files, add a Samba user, set folder ownership, test the config and restart the service.</description><pubDate>Mon, 04 Jun 2018 00:00:00 GMT</pubDate></item><item><title>Set Up an SSL Certificate on a CentOS Apache Web Server</title><link>https://amargautam.co.uk/ssl-certificate-in-centos-webserver/</link><guid isPermaLink="true">https://amargautam.co.uk/ssl-certificate-in-centos-webserver/</guid><description>Creating a key, CSR and self-signed certificate with OpenSSL, adding them to Apache mod_ssl on CentOS, and redirecting HTTP to HTTPS.</description><pubDate>Mon, 07 May 2018 00:00:00 GMT</pubDate></item><item><title>Configure OSSEC Email Alerts and the Alert Level</title><link>https://amargautam.co.uk/ossec-email-notification-configuration/</link><guid isPermaLink="true">https://amargautam.co.uk/ossec-email-notification-configuration/</guid><description>How to turn on OSSEC email notifications in ossec.conf, set the recipient, SMTP server and sender, choose the minimum alert level and restart OSSEC.</description><pubDate>Fri, 26 Jan 2018 00:00:00 GMT</pubDate></item><item><title>Check Running Processes, Login History, Services and Open Ports</title><link>https://amargautam.co.uk/to-check-log-services-activities-running-processess/</link><guid isPermaLink="true">https://amargautam.co.uk/to-check-log-services-activities-running-processess/</guid><description>Quick commands to see what a Linux server is doing: ps aux for processes, last for login history and netstat or ss for listening ports and services.</description><pubDate>Sun, 12 Mar 2017 00:00:00 GMT</pubDate></item><item><title>How to Create a Cron Job with crontab</title><link>https://amargautam.co.uk/how-to-make-crontab-job/</link><guid isPermaLink="true">https://amargautam.co.uk/how-to-make-crontab-job/</guid><description>The five crontab time fields and their allowed values, how to add jobs with crontab -e and list them with crontab -l, and worked schedule examples.</description><pubDate>Fri, 03 Mar 2017 00:00:00 GMT</pubDate></item><item><title>Basic Linux Commands Revisited: mv, mkdir, less and useradd</title><link>https://amargautam.co.uk/basic-linux-commands/</link><guid isPermaLink="true">https://amargautam.co.uk/basic-linux-commands/</guid><description>My 2017 cheat sheet of everyday commands (mv, mkdir, less, rm, useradd, userdel), corrected, with how to read files in less and manage user accounts.</description><pubDate>Fri, 03 Mar 2017 00:00:00 GMT</pubDate></item><item><title>Rsync over SSH and the Trailing Slash Question</title><link>https://amargautam.co.uk/rsync-over-ssh/</link><guid isPermaLink="true">https://amargautam.co.uk/rsync-over-ssh/</guid><description>Copying folders between servers with rsync over SSH, using a custom port and key, and how a trailing slash on the source changes where files end up.</description><pubDate>Thu, 08 Dec 2016 00:00:00 GMT</pubDate></item><item><title>Install Zabbix from Source on CentOS 6.3</title><link>https://amargautam.co.uk/installation-of-zabbix-on-centos-6-3/</link><guid isPermaLink="true">https://amargautam.co.uk/installation-of-zabbix-on-centos-6-3/</guid><description>My steps for compiling Zabbix server and agent on CentOS 6.3, creating its MySQL database and copying the PHP web frontend into Apache.</description><pubDate>Thu, 08 Dec 2016 00:00:00 GMT</pubDate></item><item><title>How to Add a Product in Magento 1 from the Admin Panel</title><link>https://amargautam.co.uk/how-to-add-products-in-magento/</link><guid isPermaLink="true">https://amargautam.co.uk/how-to-add-products-in-magento/</guid><description>Where to add a new product in the Magento 1 admin, the main tabs to fill in, and why a new product might not appear on your shop.</description><pubDate>Wed, 11 May 2016 00:00:00 GMT</pubDate></item><item><title>Install Nagios Core 3 and Plugins on CentOS 6: Quick Steps</title><link>https://amargautam.co.uk/how-to-install-nagios-on-centos-6/</link><guid isPermaLink="true">https://amargautam.co.uk/how-to-install-nagios-on-centos-6/</guid><description>A short command list for building Nagios Core 3.4.4 and the Nagios plugins from source on CentOS 6, then logging in to the web interface.</description><pubDate>Mon, 25 Jan 2016 00:00:00 GMT</pubDate></item><item><title>How to Troubleshoot Apache: A Step-by-Step Checklist</title><link>https://amargautam.co.uk/how-to-troubleshoot-apache/</link><guid isPermaLink="true">https://amargautam.co.uk/how-to-troubleshoot-apache/</guid><description>A checklist for when an Apache website will not load: DNS, service status, config syntax, error logs, listening ports, the firewall and SELinux.</description><pubDate>Sat, 23 Jan 2016 00:00:00 GMT</pubDate></item><item><title>Use Cron to Sync the System Time with ntpdate</title><link>https://amargautam.co.uk/use-cron-to-sync-time-using-ntp/</link><guid isPermaLink="true">https://amargautam.co.uk/use-cron-to-sync-time-using-ntp/</guid><description>A daily cron job that syncs the clock with ntpdate, with each option explained, the missing server fixed, and today&apos;s chrony and timesyncd alternatives.</description><pubDate>Sun, 11 Oct 2015 00:00:00 GMT</pubDate></item><item><title>Install Nagios on CentOS: Users, Web Login, Alerts and Checks</title><link>https://amargautam.co.uk/how-to-install-nagios-in-linux-centos-server/</link><guid isPermaLink="true">https://amargautam.co.uk/how-to-install-nagios-in-linux-centos-server/</guid><description>A fuller Nagios Core source install on CentOS: nagios user and nagcmd group, web interface login, plugins, alert email address and a config check.</description><pubDate>Wed, 06 May 2015 00:00:00 GMT</pubDate></item><item><title>How to Install CentOS 5.8 with the Netinstall ISO</title><link>https://amargautam.co.uk/how-to-install-centos5-8-netinstall/</link><guid isPermaLink="true">https://amargautam.co.uk/how-to-install-centos5-8-netinstall/</guid><description>Short steps for installing CentOS 5.8 from the netinstall image using the HTTP mirror settings. Historic: CentOS 5 reached end of life in 2017.</description><pubDate>Thu, 30 Apr 2015 00:00:00 GMT</pubDate></item><item><title>Common Linux Log Files and What Each One Records</title><link>https://amargautam.co.uk/common-linux-log-files/</link><guid isPermaLink="true">https://amargautam.co.uk/common-linux-log-files/</guid><description>A list of common files in /var/log and what they contain, with the Red Hat vs Debian/Ubuntu differences and how to read logs with journalctl today.</description><pubDate>Wed, 01 Apr 2015 00:00:00 GMT</pubDate></item><item><title>How to Install and Configure NFS and NFSv4 on CentOS 6</title><link>https://amargautam.co.uk/how-to-install-and-configure-nfs-and-nfsv4-on-centos-6/</link><guid isPermaLink="true">https://amargautam.co.uk/how-to-install-and-configure-nfs-and-nfsv4-on-centos-6/</guid><description>Setting up an NFS server on CentOS 6, exporting a folder to a client, mounting it with NFS or NFSv4, keeping it after reboot and checking statistics.</description><pubDate>Sun, 16 Nov 2014 00:00:00 GMT</pubDate></item><item><title>VI Editor Search and Replace Commands</title><link>https://amargautam.co.uk/vi-editor-search-and-replace/</link><guid isPermaLink="true">https://amargautam.co.uk/vi-editor-search-and-replace/</guid><description>Reference for vi search and replace with :s, covering the current line, the whole file, line ranges, marks and the :g command, with confirm and case flags.</description><pubDate>Tue, 11 Nov 2014 00:00:00 GMT</pubDate></item><item><title>How to Install OpenVPN on CentOS 6</title><link>https://amargautam.co.uk/how-to-install-openvpn-in-centos-6/</link><guid isPermaLink="true">https://amargautam.co.uk/how-to-install-openvpn-in-centos-6/</guid><description>My 2014 notes on installing OpenVPN on CentOS 6 with easy-rsa 2.0 certificates and PAM login, with corrections and notes on what to use today.</description><pubDate>Mon, 08 Sep 2014 00:00:00 GMT</pubDate></item><item><title>Basic Linux Administration: Users, Groups and Permissions</title><link>https://amargautam.co.uk/basic-linux-administraiton-user-group-mgmt/</link><guid isPermaLink="true">https://amargautam.co.uk/basic-linux-administraiton-user-group-mgmt/</guid><description>Notes on creating users and groups, adding users to groups, reading and changing file permissions with chmod, and what /etc/shadow and /etc/group hold.</description><pubDate>Tue, 22 Jul 2014 00:00:00 GMT</pubDate></item><item><title>How to Set or Change the MySQL Root Password with mysqladmin</title><link>https://amargautam.co.uk/change-update-mysqladmin-password/</link><guid isPermaLink="true">https://amargautam.co.uk/change-update-mysqladmin-password/</guid><description>Set or change the MySQL root password with mysqladmin, create a user and grant privileges, with corrected commands and MySQL 8.0 syntax.</description><pubDate>Mon, 24 Mar 2014 00:00:00 GMT</pubDate></item><item><title>How to Comment Out All Lines in the VI Editor</title><link>https://amargautam.co.uk/how-to-comment-all-lines-in-vi-editor/</link><guid isPermaLink="true">https://amargautam.co.uk/how-to-comment-all-lines-in-vi-editor/</guid><description>Comment out every line of a file in vi with one search-and-replace command, plus how to comment a range, undo it and use Vim visual block mode.</description><pubDate>Fri, 21 Feb 2014 00:00:00 GMT</pubDate></item><item><title>Fixing Amazon AWS SSH Permission Denied Errors</title><link>https://amargautam.co.uk/amazon-aws-ssh-failed-permission-denied/</link><guid isPermaLink="true">https://amargautam.co.uk/amazon-aws-ssh-failed-permission-denied/</guid><description>Why SSH to an AWS EC2 Linux instance fails with Permission denied, and how to fix it with the right .pem file permissions and login user name.</description><pubDate>Fri, 07 Feb 2014 00:00:00 GMT</pubDate></item><item><title>How to Install Redmine on CentOS 6 with Apache and Passenger</title><link>https://amargautam.co.uk/how-to-install-redmine-on-centos/</link><guid isPermaLink="true">https://amargautam.co.uk/how-to-install-redmine-on-centos/</guid><description>My notes from installing Redmine 1.4 on CentOS 6.3 with MySQL, Ruby gems, Passenger and an Apache virtual host, with corrected commands.</description><pubDate>Sun, 02 Feb 2014 00:00:00 GMT</pubDate></item><item><title>Basic VI Editor Commands: Open, Insert, Save and Quit</title><link>https://amargautam.co.uk/basic-vi-editor/</link><guid isPermaLink="true">https://amargautam.co.uk/basic-vi-editor/</guid><description>The first vi editor commands a beginner needs: open a file, switch to insert mode, type text, then save or quit, with the original save command corrected.</description><pubDate>Wed, 07 Aug 2013 00:00:00 GMT</pubDate></item><item><title>How to Set Up MySQL Master-Slave and Master-Master Replication</title><link>https://amargautam.co.uk/replication-of-mysql-server/</link><guid isPermaLink="true">https://amargautam.co.uk/replication-of-mysql-server/</guid><description>Step-by-step notes for MySQL replication between two servers: my.cnf settings, a replication user, a locked dump, and CHANGE MASTER TO.</description><pubDate>Sun, 21 Jul 2013 00:00:00 GMT</pubDate></item><item><title>Windows (MS-DOS) vs Linux Commands: A Side-by-Side Table</title><link>https://amargautam.co.uk/command-differents-windows-linux-centos/</link><guid isPermaLink="true">https://amargautam.co.uk/command-differents-windows-linux-centos/</guid><description>A table of everyday MS-DOS/Windows Command Prompt commands and their Linux equivalents, such as copy and cp, dir and ls, del and rm, with examples.</description><pubDate>Thu, 23 May 2013 00:00:00 GMT</pubDate></item><item><title>Remove the Shipping and Tax Block from Magento 1 Checkout</title><link>https://amargautam.co.uk/how-to-remove-shipping-and-tax-block-from-checkout-page-magento/</link><guid isPermaLink="true">https://amargautam.co.uk/how-to-remove-shipping-and-tax-block-from-checkout-page-magento/</guid><description>A short note pointing to a video on removing the shipping and tax block from the Magento 1 checkout page, plus what to check first.</description><pubDate>Wed, 17 Apr 2013 00:00:00 GMT</pubDate></item><item><title>How to Remove index.php from URLs in Magento 1</title><link>https://amargautam.co.uk/how-to-remove-index-php-in-magento/</link><guid isPermaLink="true">https://amargautam.co.uk/how-to-remove-index-php-in-magento/</guid><description>Turn on web server rewrites, set RewriteBase in .htaccess and clear the cache so Magento 1 URLs no longer contain index.php.</description><pubDate>Tue, 20 Nov 2012 00:00:00 GMT</pubDate></item><item><title>My First Linux Commands: Files, Directories and Users</title><link>https://amargautam.co.uk/basic-linux-commands-2/</link><guid isPermaLink="true">https://amargautam.co.uk/basic-linux-commands-2/</guid><description>Early notes on moving, renaming, viewing and deleting files with mv, mkdir, less and rm, plus adding and removing users, with fixes and examples.</description><pubDate>Sun, 28 Oct 2012 00:00:00 GMT</pubDate></item><item><title>Install iRedMail: A Postfix Mail Server Setup Script</title><link>https://amargautam.co.uk/installation-and-configuration-iredmail-for-postfix-and-mail-server/</link><guid isPermaLink="true">https://amargautam.co.uk/installation-and-configuration-iredmail-for-postfix-and-mail-server/</guid><description>My short notes on downloading iRedMail 0.8.3 and running its installer script to set up a Postfix mail server, plus what to prepare and check.</description><pubDate>Wed, 05 Sep 2012 00:00:00 GMT</pubDate></item><item><title>Installing CentOS 5.8: Netinstall ISO and Mirror Settings</title><link>https://amargautam.co.uk/installation-of-centos-5-8/</link><guid isPermaLink="true">https://amargautam.co.uk/installation-of-centos-5-8/</guid><description>The CentOS 5.8 netinstall ISO downloads and the mirror site and directory settings for i386 and x86_64. Historic: CentOS 5 reached end of life in 2017.</description><pubDate>Wed, 08 Aug 2012 00:00:00 GMT</pubDate></item><item><title>Passwordless SSH Login with SSH Keys</title><link>https://amargautam.co.uk/passwordless-ssh-login/</link><guid isPermaLink="true">https://amargautam.co.uk/passwordless-ssh-login/</guid><description>Setting up SSH key login so you can connect without typing a password, with the file permissions SSH needs and the safer ssh-copy-id method.</description><pubDate>Sat, 21 Jul 2012 00:00:00 GMT</pubDate></item><item><title>Partition, Format and Mount a New Disk with fdisk</title><link>https://amargautam.co.uk/file-partition-mount-fdisk/</link><guid isPermaLink="true">https://amargautam.co.uk/file-partition-mount-fdisk/</guid><description>How I partition a new disk with fdisk, format it as ext4 and mount it via /etc/fstab, with corrected steps, UUIDs and a warning on picking the right disk.</description><pubDate>Mon, 07 May 2012 00:00:00 GMT</pubDate></item></channel></rss>