<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="http://mynotes.babies.vn/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://mynotes.babies.vn/feed.php">
        <title>my notes - linux</title>
        <description></description>
        <link>http://mynotes.babies.vn/</link>
        <image rdf:resource="http://mynotes.babies.vn/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-05-01T10:43:53+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://mynotes.babies.vn/doku.php?id=linux:admin&amp;rev=1667060147&amp;do=diff"/>
                <rdf:li rdf:resource="http://mynotes.babies.vn/doku.php?id=linux:bashshell&amp;rev=1667060147&amp;do=diff"/>
                <rdf:li rdf:resource="http://mynotes.babies.vn/doku.php?id=linux:digitalocean&amp;rev=1667060147&amp;do=diff"/>
                <rdf:li rdf:resource="http://mynotes.babies.vn/doku.php?id=linux:linuxdistributions&amp;rev=1691196165&amp;do=diff"/>
                <rdf:li rdf:resource="http://mynotes.babies.vn/doku.php?id=linux:mailconfigwithpostfix&amp;rev=1667060147&amp;do=diff"/>
                <rdf:li rdf:resource="http://mynotes.babies.vn/doku.php?id=linux:plowshare&amp;rev=1667060147&amp;do=diff"/>
                <rdf:li rdf:resource="http://mynotes.babies.vn/doku.php?id=linux:services&amp;rev=1667060147&amp;do=diff"/>
                <rdf:li rdf:resource="http://mynotes.babies.vn/doku.php?id=linux:shellcommands&amp;rev=1667060147&amp;do=diff"/>
                <rdf:li rdf:resource="http://mynotes.babies.vn/doku.php?id=linux:vim-editor&amp;rev=1667060147&amp;do=diff"/>
                <rdf:li rdf:resource="http://mynotes.babies.vn/doku.php?id=linux:web-mail-system&amp;rev=1667060147&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://mynotes.babies.vn/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>my notes</title>
        <link>http://mynotes.babies.vn/</link>
        <url>http://mynotes.babies.vn/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="http://mynotes.babies.vn/doku.php?id=linux:admin&amp;rev=1667060147&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-10-29T16:15:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>admin</title>
        <link>http://mynotes.babies.vn/doku.php?id=linux:admin&amp;rev=1667060147&amp;do=diff</link>
        <description>Linux Admin





Fix Old CentOS Repos

Maintainece update not supported from 2020/11/30 =&gt; you must config repos to new mirror for Fixing yum error:


yum list
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Determining fastest mirrors
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt</description>
    </item>
    <item rdf:about="http://mynotes.babies.vn/doku.php?id=linux:bashshell&amp;rev=1667060147&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-10-29T16:15:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>bashshell</title>
        <link>http://mynotes.babies.vn/doku.php?id=linux:bashshell&amp;rev=1667060147&amp;do=diff</link>
        <description>refer: 


Advanced Bash-Scripting Guide:&lt;http://tldp.org/LDP/abs/html/&gt;

Bash script: &lt;http://www.linuxconfig.org/Bash_scripting_Tutorial&gt;

Linux Bash Shell Script

Simple code

	*  create helloworld.sh

cat &gt; helloworld.sh
#!/bin/bash
strhello=&quot;Hello World&quot;
#print variable on a screen
echo $strhello


	*  chmod to excute and run:

chmod +x helloworld.sh
./helloworld.sh</description>
    </item>
    <item rdf:about="http://mynotes.babies.vn/doku.php?id=linux:digitalocean&amp;rev=1667060147&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-10-29T16:15:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>digitalocean</title>
        <link>http://mynotes.babies.vn/doku.php?id=linux:digitalocean&amp;rev=1667060147&amp;do=diff</link>
        <description>Moving web from hostgator to DigitalOcean

1. Install missing components on DigitalOcean

install basic packages


yum install vim mc man telnet


create swap file for your linux server

Most cloud virtual machine providers do not set up swapfiles as part of their server provisioning.</description>
    </item>
    <item rdf:about="http://mynotes.babies.vn/doku.php?id=linux:linuxdistributions&amp;rev=1691196165&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-08-05T00:42:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linuxdistributions</title>
        <link>http://mynotes.babies.vn/doku.php?id=linux:linuxdistributions&amp;rev=1691196165&amp;do=diff</link>
        <description>List of linux distributions

Refer: &lt;http://en.wikipedia.org/wiki/List_of_Linux_distributions&gt;

Distributions are organized into sections by the major distribution they are based on, or the package management system they are based around

Debian based


cat /etc/debian_version


Overview

	*  Debian GNU/Linux is a distribution that emphasizes free software. It supports many hardware platforms.</description>
    </item>
    <item rdf:about="http://mynotes.babies.vn/doku.php?id=linux:mailconfigwithpostfix&amp;rev=1667060147&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-10-29T16:15:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>mailconfigwithpostfix</title>
        <link>http://mynotes.babies.vn/doku.php?id=linux:mailconfigwithpostfix&amp;rev=1667060147&amp;do=diff</link>
        <description>refer: &lt;http://tecadmin.net/install-and-configure-postfix-on-centos-redhat/&gt;
email architecture: email system in linux

&lt;http://www.postfix.org/documentation.html&gt;

&lt;http://postfix.state-of-mind.de/patrick.koetter/smtpauth/sasldb_configuration.html&gt;

[postfix slide show]

Mailserver config

install and config postfix for sending and receiving mail

install

	*  install 

yum remove sendmail
yum install cyrus-sasl.x86_64 
yum install postfix


	*  set MTA default to postfix

  alternatives --set …</description>
    </item>
    <item rdf:about="http://mynotes.babies.vn/doku.php?id=linux:plowshare&amp;rev=1667060147&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-10-29T16:15:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>plowshare</title>
        <link>http://mynotes.babies.vn/doku.php?id=linux:plowshare&amp;rev=1667060147&amp;do=diff</link>
        <description>Plowshare

plowshare is a command-line (CLI) download/upload tool for popular file sharing websites (aka file hosting provider or One-Click hoster). With plowshare, you will be able to download or upload files and manage remote folders and link deletion. It runs on Linux/BSD/Unix operating system.</description>
    </item>
    <item rdf:about="http://mynotes.babies.vn/doku.php?id=linux:services&amp;rev=1667060147&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-10-29T16:15:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>services</title>
        <link>http://mynotes.babies.vn/doku.php?id=linux:services&amp;rev=1667060147&amp;do=diff</link>
        <description>Web service

apache

	*  start, stop http server

service httpd start
service httpd stop


	*  http version 
 
httpd -v
=&gt; 
Server version: Apache/2.2.3
Server built:   Jan 21 2009 22:01:41



webmin

Webmin is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache,</description>
    </item>
    <item rdf:about="http://mynotes.babies.vn/doku.php?id=linux:shellcommands&amp;rev=1667060147&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-10-29T16:15:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>shellcommands</title>
        <link>http://mynotes.babies.vn/doku.php?id=linux:shellcommands&amp;rev=1667060147&amp;do=diff</link>
        <description>Shell Command

refer: 


Advanced Bash-Scripting Guide:&lt;http://tldp.org/LDP/abs/html/&gt;

Bash script: &lt;http://www.linuxconfig.org/Bash_scripting_Tutorial&gt;

Basic Commands

man
man -a read
=&gt; output:
POSIX Programmers Manual                   READ(P)
Linux Programmers Manual                   READ(2)

man -a stat
=&gt; output:
User Commands                                STAT(1)
Linux Programmer?s Manual                   STAT(2)</description>
    </item>
    <item rdf:about="http://mynotes.babies.vn/doku.php?id=linux:vim-editor&amp;rev=1667060147&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-10-29T16:15:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>vim-editor</title>
        <link>http://mynotes.babies.vn/doku.php?id=linux:vim-editor&amp;rev=1667060147&amp;do=diff</link>
        <description>Vim Editor

Cursor movement commands
  h     move the cursor one space to the left
  j     move the cursor one space down
  k     move the cursor one space up
  l     move the cursor one space to the right
Deleting text
  x     delete the character at the cursor
  dd    delete a line</description>
    </item>
    <item rdf:about="http://mynotes.babies.vn/doku.php?id=linux:web-mail-system&amp;rev=1667060147&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-10-29T16:15:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>web-mail-system</title>
        <link>http://mynotes.babies.vn/doku.php?id=linux:web-mail-system&amp;rev=1667060147&amp;do=diff</link>
        <description>Web Mail System

refer:

	*  &lt;http://acidx.net/wordpress/2014/06/installing-a-mailserver-with-postfix-dovecot-sasl-ldap-roundcube/&gt;
	*  &lt;https://wiki.archlinux.org/index.php/Virtual_user_mail_system&gt;

Overview about webmail architecture

Overview about features in webmail system:

	*  User will use roundcube website to send and receive email
	*  Roundcube backend will:
		*  integrate with postfix for sendding email</description>
    </item>
</rdf:RDF>
