COURIER IMAP + COURIERPASSD for Qmail

Size: px
Start display at page:

Download "COURIER IMAP + COURIERPASSD for Qmail"

Transcription

1 COURIER IMAP + COURIERPASSD for Qmail Courier-imap is (was, until now) the preferred IMAP server to install, because it has built in support for the vchkpw mail user setup that Vpopmail utilizes. (Not true for courier-authlib and newer). In short, Courier IMAP works with Vpopmail and virtual domains. In addition to installing Courier-imap, we're going to install Courierpassd. Courierpassd is a utility that allows users to change their mailbox passwords remotely. Note: In May 2008 the developer of courier-imap decided to drop support for vpopmail. This support is not there in courier-authlib and newer.similarly courier-imap does not work, if it doesn't find at least courier-authlib So you need to down-grade both. Reference link: ml You must have gdbm-devel installed. 1 / 36

2 yum -y install gdbm-devel libtool-ltdl-devel libtool-ltdl postgresql-devel expect We are going to use latest releases from Courierpassd is available at: QMR provides courier-authlib-0.55.tar.bz2. Latest is courier-authlib tar.bz2. Also QMR package provides courier-imap tar.bz2. Whereas the latest is courier-imap tar.bz2. Also QMR provides courierpassd rc1, whereas latest is courierpassd tar.gz. Note: The exercise below was done using the latest courier-authlib and courier-imap versions, which you will see further below, failed miserably. The reader following the 2 / 36

3 QMR guide (and this whole series of howtos) is warned again to not get tempted by the newer versions. The latest I could use for courier-authlib was and the latest I could use for courier-imap was So the steps below are equally valid of both old and new versions. cd /downloads/qmailnew wget wget wget I am going to build RPMs of these Courier-* files, after putting in the necessary config parameters. The RPM need to be built as ordinary user, for example, kamran. Courier-authlib: 3 / 36

4 This needs user kamran to be specified in visudo. kamran ALL=NOPASSWD: ALL After giving it sudo rights, perform the following steps as user Kamran:- su - kamran [kamran@www qmailnew]$ cp /downloads/qmailnew/courier* /home/kamran/ cd /home/kamran tar xjf courier-authlib tar.bz2 cd courier-authlib / 36

5 Added the following in the.spec file in the configure section. --with-authvchkpw --without-authldap --disable-root-check --with-ssl --with-redhat QMR suggests "--with-authchangepwdir=/usr/local/libexec/authlib" to be passed to the configure script. But I could not find it in courier-authlib (Later discovered that support for vchkpw is no more there in newer versions of courier-authlib!) Note: The following exercise will be useless with courier-authlib So please use an older version of courier-authlib (older than ), to do the install. The following steps were done using newer version and are provided for the sake of completion only. [kamran@www courier-authlib ]$ vi courier-authlib.spec 5 / 36

6 %configure --with-authvchkpw --without-authldap --disable-root-check --with-ssl --with-redhat cd.. mv courier-authlib tar.bz2 courier-authlib tar.bz2.orig ~]$ tar cjf courier-authlib tar.bz2 courier-authlib Courier-authlib can be built and installed using sudo: $ sudo rpmbuild -ta courier-authlib tar.bz2 6 / 36

7 cd /usr/src/redhat/rpms/x86_64/ $ sudo rpm -ivh courier-authlib x86_64.rpm courier-authlib-devel x86_64.rpm courier-authlib-mysql x86_64.rpm Time to compile/generate RPM for courier-imap as well. Pass the same arguments to its %configure section as well.. cd /home/kamran tar xjf courier-imap tar.bz2 cd courier-imap vi courier-imap.spec 7 / 36

8 %configure --with-authvchkpw --without-authldap --disable-root-check --with-ssl --with-redhat %{?xflags: %{xflags}} cd.. mv courier-imap tar.bz2 courier-imap tar.bz2.orig tar cjf courier-imap tar.bz2 courier-imap / 36

9 Time to build the RPM for courier-imap. Note: You cannot build courier-imap as sudo. You will get the following error: ============================= Do not run make check as root ============================= make[2]: *** [check-am] Error 1 make[2]: Leaving directory `/usr/src/redhat/build/courier-imap-4.3.1/imap' make[1]: *** [check] Error 2 make[1]: Leaving directory `/usr/src/redhat/build/courier-imap-4.3.1/imap' 9 / 36

10 make: *** [check-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.6589 (%build) So we need to setup a RPM environment in the /home/kamran directory. As user kamran:- mkdir $HOME/rpm/{SOURCES,SPECS,BUILD,SRPMS,RPMS} -p mkdir $HOME/rpm/RPMS/{i386,noarch,x86_64} echo "%_topdir $HOME/rpm" >> $HOME/.rpmmacros 10 / 36

11 Next, $ rpmbuild -ta courier-imap tar.bz2.... Wrote: /home/kamran/rpm/srpms/courier-imap src.rpm Wrote: /home/kamran/rpm/rpms/x86_64/courier-imap x86_64.rpm Wrote: /home/kamran/rpm/rpms/x86_64/courier-imap-debuginfo x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp umask cd /home/kamran/rpm/build 11 / 36

12 + cd courier-imap rm -rf /var/tmp/courier-imap buildroot + exit 0 [kamran@www ~]$ cd $HOME/rpm/RPMS/x86_64 sudo rpm -ivh courier-imap x86_64.rpm exit # exit back to root user again 12 / 36

13 Now, run the following to generate the IMAP certificate:- /usr/lib/courier-imap/sbin/mkimapdcert qmailnew]# /usr/lib/courier-imap/sbin/mkimapdcert Generating a 1024 bit RSA private key writing new private key to '/usr/lib/courier-imap/share/imapd.pem' semi-random bytes loaded 13 / 36

14 Generating DH parameters, 512 bit long safe prime, generator 2 This is going to take a long time *++*++*++*++*++* subject= /C=US/ST=NY/L=New York/O=Courier Mail Server/OU=Automatically-generated IMAP SSL key/cn=localhost/ address=postmaster@example.com notbefore=jun 26 16:02: GMT notafter=jun 26 16:02: GMT SHA1 Fingerprint=7A:F6:90:FA:02:2B:45:7F:CF:59:EB:2C:8E:8F:48:03:8C:61:4F:FE [root@www qmailnew]# vi /usr/lib/courier-imap/etc/imapd.cnf 14 / 36

15 change an administrative address The file: /usr/lib/courier-imap/etc/imapd Make sure that the following configuration exists: IMAPDSTART=YES ~]# grep ^IMAPDSTART /usr/lib/courier-imap/etc/imapd IMAPDSTART=YES The file: /usr/lib/courier-imap/etc/imapd-ssl 15 / 36

16 Make sure that the following configuration exists: IMAPDSSLSTART=YES Make sure that the following configuration exists: TLS_CERTFILE=/usr/lib/courier-imap/share/imapd.pem ~]# egrep '^TLS_CERTFILE ^IMAPDSSLSTART' /usr/lib/courier-imap/etc/imapd-ssl IMAPDSSLSTART=YES TLS_CERTFILE=/usr/lib/courier-imap/share/imapd.pem IMAPDSSLSTART=YES IMAPDSTARTTLS=YES IMAP_TLS_REQUIRED=0 vi /etc/authlib/authdaemonrc 16 / 36

17 Around like 27, you should see the "authmodulelist" setting. Make sure that "authvchkpw" is the only module listed. Like so: authmodulelist="authvchkpw" # authmodulelist="authuserdb authpam authpgsql authmysql authcustom authpipe" Save and exit the file. Note: You will not see authvchkpw already in the module list because it was removed in courier-authlib and newer. Ideally you should stop here, if this is the case, and download an older version (0.60.2). And perform all the steps again. The init.d files would now already be in place, because of RPM installation we did. 17 / 36

18 ~]# ls /etc/init.d/courier-* /etc/init.d/courier-authlib /etc/init.d/courier-imap Start the courier-authlib service ~]# /etc/init.d/courier-authlib start Starting Courier authentication services: authdaemond chkconfig --level 35 courier-authlib on 18 / 36

19 You should see the authdaemond process, as shown below. ~]# ps aux grep auth root ? S 19:16 0:00 /usr/sbin/courierlogger -pid=/var/spool/authdaemon/pid -start /usr/libexec/courier-authlib/authdaemond root ? S 19:16 0:00 /usr/libexec/courier-authlib/authdaemond root ? S 19:16 0:00 /usr/libexec/courier-authlib/authdaemond root ? S 19:16 0:00 /usr/libexec/courier-authlib/authdaemond root ? S 19:16 0:00 /usr/libexec/courier-authlib/authdaemond root ? S 19:16 0:00 /usr/libexec/courier-authlib/authdaemond 19 / 36

20 root ? S 19:16 0:00 /usr/libexec/courier-authlib/authdaemond root pts/0 S+ 19:16 0:00 grep auth And the following output in MAILLOG. [root@www ~]# tail -f /var/log/maillog... Jun 26 19:16:09 www authdaemond: modules="authvchkpw", daemons=5 Jun 26 19:16:09 www authdaemond: Installing libauthvchkpw Jun 26 19:16:09 www authdaemond: libauthvchkpw.so: cannot open shared object file: No such file or directory 20 / 36

21 Note: See the problem! This is because support for authvchkpasswd in versions and higher is no more there. I need to use the older again. In short, I downloaded an older version and successfully installed courier-authlib After performing all of above steps, my /var/log/maillog shows:- [root@www ~]# tail -f /var/log/maillog... Jun 26 19:58:00 www authdaemond: modules="authvchkpw", daemons=5 Jun 26 19:58:00 www authdaemond: Installing libauthvchkpw Jun 26 19:58:00 www authdaemond: Installation complete: authvchkpw 21 / 36

22 To install older versions of courier-authlib and courier-imap, remove the newer versions first: /etc/init.d/courier-authlib stop rpm -qa grep courier qmailnew]# rpm -qa grep courier courier-imap courier-authlib-devel courier-authlib courier-authlib-mysql / 36

23 qmailnew]# rpm -e courier-imap courier-authlib-devel courier-authlib courier-authlib-mysql /usr/lib/courier-imap/libexec/imapd.rc: line 55: /usr/sbin/courierlogger: No such file or directory /usr/lib/courier-imap/libexec/imapd-ssl.rc: line 56: /usr/sbin/courierlogger: No such file or directory /usr/lib/courier-imap/libexec/pop3d.rc: line 47: /usr/sbin/courierlogger: No such file or directory /usr/lib/courier-imap/libexec/pop3d-ssl.rc: line 51: /usr/sbin/courierlogger: No such file or directory warning: /usr/lib/courier-imap/etc/imapd.cnf saved as /usr/lib/courier-imap/etc/imapd.cnf.rpmsave qmailnew]# rpm -qa grep courier qmailnew]# 23 / 36

24 As evident from the command issued above, nothing related to courier is left on my system. I have RPMS on my older server. I will just rebuild them. cp /data/backup/downloads/qmailnew/courier* /downloads/qmailnew/ [Do all the installation steps here] Start Courier IMAP service: service courier-imap start chkconfig --level 35 courier-imap on 24 / 36

25 qmailnew]# nmap localhost Starting Nmap 4.11 ( ) at :01 AST Interesting ports on localhost.localdomain ( ): Not shown: 1669 closed ports PORT STATE SERVICE 22/tcp open ssh 53/tcp open domain 80/tcp open http 25 / 36

26 110/tcp open pop3 143/tcp open imap 199/tcp open smux 443/tcp open https 953/tcp open rndc 993/tcp open imaps 995/tcp open pop3s 3306/tcp open mysql Nmap finished: 1 IP address (1 host up) scanned in seconds [root@www qmailnew]# 26 / 36

27 IMPORTANT: QMAIL has it's own POP3 daemon. And this courier POP3 and POP3S WILL conflict with it. So disable POP3 and POP3S in Courier. Note: This is from QMR and I do not agree. Basically you will have to maintain two mechanisms to manage which will be difficult for you. It is rather better to disable qmail-pop3d and use pop3 and imap, both, from courier. Anyway, in this howto it is done as per QMR guide. In my next howto, this issue is being taken care of. Also In next howto, Courier is being replaced by DoveCot. vi /usr/lib/courier-imap/etc/pop3d... POP3DSTART=NO 27 / 36

28 vi /usr/lib/courier-imap/etc/pop3d-ssl... POP3DSSLSTART=NO ~]# service courier-imap stop Stopping Courier-IMAP server: imap imap-ssl pop3 pop3-ssl ~]# service courier-imap start 28 / 36

29 Starting Courier-IMAP server: imap imap-ssl Or may be rename the files: cd /usr/lib/courier-imap/etc/ mv pop3d pop3d.disabled mv pop3d-ssl pop3d-ssl.disabled qmail-scanner-2.04]# service courier-imap stop Stopping Courier-IMAP server: imap imap-ssl pop3 pop3-ssl 29 / 36

30 qmail-scanner-2.04]# service courier-imap start Starting Courier-IMAP server: imap imap-ssl COURIERPASSD: ~]# find / -name courierauthconfig /home/akhan/rpm/build/courier-authlib /courierauthconfig /usr/bin/courierauthconfig [root@www ~]# find / -name courierauth.h /home/akhan/rpm/build/courier-authlib /courierauth.h 30 / 36

31 /home/akhan/downloads/courier-authlib /courierauth.h /usr/include/courierauth.h /downloads/qmailrocks/courier-authlib-0.55/courierauth.h ~]# cd /downloads/qmailnew tar xzf courierpassd tar.gz cd /downloads/qmailnew/courierpassd /configure make && make install 31 / 36

32 echo "courierpassd 106/tcp #for /etc/xinetd.d/courierpassd" >> /etc/services echo "courierpassd 106/tcp #for /etc/xinetd.d/courierpassd" >> /usr/share/nmap/nmap-services Add this to xinetd. You must have xinet rpm installed on the system. cat > /etc/xinetd.d/courierpassd << EOF service courierpassd { port = / 36

33 socket_type = stream protocol = tcp user = root server = /usr/local/sbin/courierpassd server_args = -s imap wait = no only_from = instances = 4 disable = no } EOF 33 / 36

34 service xinetd restart courierpassd-1.1.2]# nmap localhost PORT STATE SERVICE 21/tcp open ftp 22/tcp open ssh 80/tcp open http 106/tcp open pop3pw > courierpassd 34 / 36

35 110/tcp open pop3 143/tcp open imap 199/tcp open snmp 443/tcp open https 993/tcp open imaps 995/tcp open pop3s 3306/tcp open mysql Nmap finished: 1 IP address (1 host up) scanned in seconds 35 / 36

36 Courier finished! 36 / 36

Written by Muhammad Kamran Azeem Tuesday, 04 August :42 - Last Updated Sunday, 26 December :33

Written by Muhammad Kamran Azeem Tuesday, 04 August :42 - Last Updated Sunday, 26 December :33 AUTORESPONDER: autorespond-2.0.4.tar.gz is a part of QmailAdmin project. It is needed if you later want to compile with the auto-responding facility. The tarball is provided by the QMR package. This is

More information

jic.com mail is handled by 10 mail.jic.com. root]# host -t a mail.jic.com mail.jic.com has address

jic.com mail is handled by 10 mail.jic.com. root]# host -t a mail.jic.com mail.jic.com has address Getting Started DNS Before we begin, sure DNS (mx record) is properly setup. If you were using "jic.com" as your virtual domain, here's how your host lookups would look after setting up dns: [root@mail

More information

Table of Contents. VMailMgr HOWTO. VMailMgr HOWTO...1 Bruce Guenter Dan Kuykendall 1.Introduction...

Table of Contents. VMailMgr HOWTO. VMailMgr HOWTO...1 Bruce Guenter Dan Kuykendall 1.Introduction... Table of Contents VMailMgr HOWTO...1 Bruce Guenter , Dan Kuykendall ...1 1.Introduction...1 2.Installation...1 3.Setup...1 1.Introduction...2 1.1 What is VMailMgr and

More information

Red Hat Ceph Storage 3

Red Hat Ceph Storage 3 Red Hat Ceph Storage 3 Monitoring Ceph for Red Hat Enterprise Linux with Nagios Monitoring Ceph for Red Hat Enterprise Linux with Nagios Core. Last Updated: 2018-06-21 Red Hat Ceph Storage 3 Monitoring

More information

Nexus Application Development - SDK

Nexus Application Development - SDK This chapter contains the following sections: About the Cisco SDK, page 1 Installing the SDK, page 1 Procedure for Installation and Environment Initialization, page 2 Using the SDK to Build Applications,

More information

Install latest version of Roundcube (Webmail) on CentOS 7

Install latest version of Roundcube (Webmail) on CentOS 7 Install latest version of Roundcube (Webmail) on CentOS 7 by Pradeep Kumar Published December 14, 2015 Updated August 3, 2017 Roundcube is a web browser based mail client & also known as webmail. It provides

More information

Red Hat Ceph Storage 3

Red Hat Ceph Storage 3 Red Hat Ceph Storage 3 Monitoring Ceph for Ubuntu with Nagios Monitoring Ceph for Ubuntu with Nagios Core. Last Updated: 2018-09-07 Red Hat Ceph Storage 3 Monitoring Ceph for Ubuntu with Nagios Monitoring

More information

Linux Postfix Smtp (mail Server) Ssl Certificate Installation And Configuration

Linux Postfix Smtp (mail Server) Ssl Certificate Installation And Configuration Linux Postfix Smtp (mail Server) Ssl Certificate Installation And Configuration Dec 30, 2014. HOW TO: Configure Godaddy Cert for Mail SSL instruction set to add a Godaddy cert (with intermediary file)

More information

Mithi Connect Server using the Command Line Interfaces (CLI)

Mithi Connect Server using the Command Line Interfaces (CLI) Page 1 of 1 Mithi Connect Server using the Command Line Interfaces (CLI) Introduction 1 Introduction to modules and components 2 Folder structure of an MCS installation 2 Mail store structure 3 Basic Linux

More information

If you had a freshly generated image from an LCI instructor, make sure to set the hostnames again:

If you had a freshly generated image from an LCI instructor, make sure to set the hostnames again: Storage Node Setup A storage node (or system as your scale) is a very important unit for an HPC cluster. The computation is often about the data it produces and keeping that data safe is important. Safe

More information

Building Linux Packages with RPM

Building Linux Packages with RPM Building Linux Packages with RPM S9239, Long Beach Tuesday 1:30pm, February 24, 2004 Alex devries Outline Why? The goal of pristine sources Some unobvious suggestions How it all fits

More information

Linux Essentials Objectives Topics:

Linux Essentials Objectives Topics: Linux Essentials Linux Essentials is a professional development certificate program that covers basic knowledge for those working and studying Open Source and various distributions of Linux. Exam Objectives

More information

Offloading NDO2DB To Remote Server

Offloading NDO2DB To Remote Server Purpose This document is meant to show a step-by-step guide for offloading the NDO2DB daemon from the central server to an external, remote server. NDO2DB is an acronym of "Nagios Data Output To Database"

More information

HTTPS Setup using mod_ssl on CentOS 5.8. Jeong Chul. tland12.wordpress.com. Computer Science ITC and RUPP in Cambodia

HTTPS Setup using mod_ssl on CentOS 5.8. Jeong Chul. tland12.wordpress.com. Computer Science ITC and RUPP in Cambodia HTTPS Setup using mod_ssl on CentOS 5.8 Jeong Chul tland12.wordpress.com Computer Science ITC and RUPP in Cambodia HTTPS Setup using mod_ssl on CentOS 5.8 Part 1 Basic concepts on SSL Step 1 Secure Socket

More information

ClamAV 설치 ( 큐잉서버 ) serverb

ClamAV 설치 ( 큐잉서버 ) serverb ClamAV 설치 ( 큐잉서버 ) serverb 2009 년 10 월 23 일금요일 오전 10:42 Server B 의기존 dovecot 삭제 ( 큐잉서버로사용 ) Sendmail-cf sendmail-devel 설치 Sendmail SMTP AUTH 및 Daemon 리스닝주소변경 Sendmail.cf 수정 Sendmail milter 기능제공여부파악 Clamav

More information

Hands-on Keyboard: Cyber Experiments for Strategists and Policy Makers

Hands-on Keyboard: Cyber Experiments for Strategists and Policy Makers Hands-on Keyboard: Cyber Experiments for Strategists and Policy Makers Review of the Linux File System and Linux Commands 1. Introduction Becoming adept at using the Linux OS requires gaining familiarity

More information

Aliases are set manually or in a login script. Aliases that were set manually will be gone the next time you login.

Aliases are set manually or in a login script. Aliases that were set manually will be gone the next time you login. Page 1 and 2: question without commands. Page 3 7 : questions with answers. Aliases are set manually or in a login script. Aliases that were set manually will be gone the next time you login. 1. List your

More information

Mail Server Setup using Sendmail on CentOS 5.8 Jeong Chul tland12.wordpress.com Computer Science ITC and RUPP in Cambodia

Mail Server Setup using Sendmail on CentOS 5.8 Jeong Chul tland12.wordpress.com Computer Science ITC and RUPP in Cambodia Mail Server Setup using Sendmail on CentOS 5.8 Jeong Chul tland12.wordpress.com Computer Science ITC and RUPP in Cambodia Mail Server Setup using Sendmail on CentOS 5.8 Part 1 Step 1 Email Service Step

More information

commands exercises Linux System Administration and IP Services AfNOG 2015 Linux Commands # Notes

commands exercises Linux System Administration and IP Services AfNOG 2015 Linux Commands # Notes Linux System Administration and IP Services AfNOG 2015 Linux Commands # Notes * Commands preceded with "$" imply that you should execute the command as a general user not as root. * Commands preceded with

More information

Services and Security

Services and Security Services and Security Find out what's listening to the net Find out what services are running Find out what they do Disable or remove any that you don't need References http://techrepublic.com.com/5100-6270-1053043.html

More information

RG-MACC_2.0 Installation Manual

RG-MACC_2.0 Installation Manual RG-MACC_2.0 Installation Manual Ruijie Networks Co., Ltd all rights reserved 1 Copyright Clarify Copyright ownership belongs to Ruijie, shall not be reproduced, copied, or used in other ways without permission.

More information

CentOS 6.7 with Vault MySQL 5.1

CentOS 6.7 with Vault MySQL 5.1 CentOS 6.7 with Vault MySQL 5.1 OS Middleware Installation Web Server, MySQL and PHP Other Middleware Middleware Setup and Configuration Database PHP NetCommons2 Before Install Preparation Installation

More information

Using Linux as a Virtual Machine

Using Linux as a Virtual Machine Intro to UNIX Using Linux as a Virtual Machine We will use the VMware Player to run a Virtual Machine which is a way of having more than one Operating System (OS) running at once. Your Virtual OS (Linux)

More information

T A B L E O F C O N T E N T S

T A B L E O F C O N T E N T S Linux driver - Binary rpm/source rpm user guide and known limitation T A B L E O F C O N T E N T S 1. OVERVIEW... 2 2. DRIVER COMPILATION STEPS... 2 3. OS SUPPORT MATRIX... 2 4. RELEASE CONTENTS... 5 5.

More information

Hortonworks Cybersecurity Platform

Hortonworks Cybersecurity Platform 1 Hortonworks Cybersecurity Platform Date of Publish: 2018-07-15 http://docs.hortonworks.com Contents Preparing to Upgrade...3 Back up Your Configuration...3 Stop All Metron Services...3 Upgrade Metron...4

More information

a. puppet should point to master (i.e., append puppet to line with master in it. Use a text editor like Vim.

a. puppet should point to master (i.e., append puppet to line with master in it. Use a text editor like Vim. Head Node Make sure that you have completed the section on Precursor Steps and Storage. Key parts of that are necessary for you to continue on this. If you have issues, please let an instructor know to

More information

Mastering Linux. Paul S. Wang. CRC Press. Taylor & Francis Group. Taylor & Francis Croup an informa business. A CHAPMAN St HALL BOOK

Mastering Linux. Paul S. Wang. CRC Press. Taylor & Francis Group. Taylor & Francis Croup an informa business. A CHAPMAN St HALL BOOK Mastering Linux Paul S. Wang CRC Press Taylor & Francis Group Boca Raton London New York CRC Press is an Imprint of the Taylor & Francis Croup an informa business A CHAPMAN St HALL BOOK Contents Preface

More information

Web Server ( ): FTP, SSH, HTTP, HTTPS, SMTP, POP3, IMAP, POP3S, IMAPS, MySQL (for some local services[qmail/vpopmail])

Web Server ( ): FTP, SSH, HTTP, HTTPS, SMTP, POP3, IMAP, POP3S, IMAPS, MySQL (for some local services[qmail/vpopmail]) The following firewall scripts will help you secure your web and db servers placed on the internet. The scenario is such that the MySQL db server is desired to receive db connections / traffic only from

More information

Unix/Linux Basics. Cpt S 223, Fall 2007 Copyright: Washington State University

Unix/Linux Basics. Cpt S 223, Fall 2007 Copyright: Washington State University Unix/Linux Basics 1 Some basics to remember Everything is case sensitive Eg., you can have two different files of the same name but different case in the same folder Console-driven (same as terminal )

More information

Many packages require the additional devel packages. See below package. Install EPEL repo by down load the latest RPM for CentOS 6.

Many packages require the additional devel packages. See below package. Install EPEL repo by down load the latest RPM for CentOS 6. Guacamole source code compile and installation Tested on CentOS v6.5 and Guacamole v0.9.0 Guacamole Server Obtain Source Codes mkdir -p /usr/local/src/guacamole cd /usr/local/src/guacamole wget http://sourceforge.net/projects/guacamole/files/current/source/guacamole-client-0.9.0.tar.gz

More information

Xinted. 1.1 Brief introduction. 1.2 Configuration of Xinetd

Xinted. 1.1 Brief introduction. 1.2 Configuration of Xinetd Xinted 1.1 Brief introduction Xinetd provides visiting control, improved log function and resource management. It is standard super guardian process of Internet in Asianux 2.0 system. Inetd is called super

More information

Illustrated Steps to create greggroeten.net with AWS

Illustrated Steps to create greggroeten.net with AWS Illustrated Steps to create greggroeten.net with AWS Screenshots of each step Table of Contents 1. CREATE VPC 10.10.0/16.... 3 2. CREATE 1 PUBLIC SUBNET IN DEFAULT AZ, EX BELOW... 4 3. CREATE IGW, ATTACH

More information

Read the relevant material in Sobell! If you want to follow along with the examples that follow, and you do, open a Linux terminal.

Read the relevant material in Sobell! If you want to follow along with the examples that follow, and you do, open a Linux terminal. Warnings 1 First of all, these notes will cover only a small subset of the available commands and utilities, and will cover most of those in a shallow fashion. Read the relevant material in Sobell! If

More information

Linux Networking: network services

Linux Networking: network services Linux Networking: network services David Morgan Client and server: matched pairs Client process inter-process communication Server process 1 OK as long as there s a way to talk Client process Server process

More information

Courier worksheet. (Materials originally by Brian Candler)

Courier worksheet. (Materials originally by Brian Candler) Courier worksheet (Materials originally by Brian Candler) 1. Install courier-authlib 2. Configure and start courier-authlib 3. Test courier-authlib 4. Install courier-imap 5. Configure and start courier-imap

More information

Network Monitoring & Management. A few Linux basics

Network Monitoring & Management. A few Linux basics Network Monitoring & Management A few Linux basics Our chosen platform Ubuntu Linux 14.04.3 LTS 64-bit LTS = Long Term Support no GUI, we administer using ssh Ubuntu is Debian underneath There are other

More information

Useful Unix Commands Cheat Sheet

Useful Unix Commands Cheat Sheet Useful Unix Commands Cheat Sheet The Chinese University of Hong Kong SIGSC Training (Fall 2016) FILE AND DIRECTORY pwd Return path to current directory. ls List directories and files here. ls dir List

More information

Tungsten Dashboard for Clustering. Eric M. Stone, COO

Tungsten Dashboard for Clustering. Eric M. Stone, COO Tungsten Dashboard for Clustering Eric M. Stone, COO In this training session 1. Tungsten Dashboard Welcome 2. Tungsten Dashboard Overview 3. Tungsten Dashboard Prerequisites 4. Tungsten Dashboard Security

More information

Altova LicenseServer. User and Reference Manual

Altova LicenseServer. User and Reference Manual User and Reference Manual User & Reference Manual All rights reserved. No parts of this work may be reproduced in any form or by any means - graphic, electronic, or mechanical, including photocopying,

More information

These instructions cover how to install and use pre-compiled binaries to monitor AIX 5.3 using NRPE.

These instructions cover how to install and use pre-compiled binaries to monitor AIX 5.3 using NRPE. Purpose This document describes how to monitor AIX servers using or Nagios Core. The instructions were contributed by Joshua Whitaker, who successfully configured to monitor AIX 5.3 servers, thanks Joshua!

More information

3 Connection, Shell Serial Connection over Console Port SSH Connection Internet Connection... 5

3 Connection, Shell Serial Connection over Console Port SSH Connection Internet Connection... 5 Contents 1 Description 2 2 Supported Devices 3 3 Connection, Shell 4 3.1 Serial Connection over Console Port...................... 4 3.2 SSH Connection................................. 4 3.3 Internet Connection...............................

More information

PROJECT INFRASTRUCTURE AND BASH INTRODUCTION MARKUS PILMAN<

PROJECT INFRASTRUCTURE AND BASH INTRODUCTION MARKUS PILMAN< PROJECT INFRASTRUCTURE AND BASH INTRODUCTION MARKUS PILMAN< MPILMAN@INF.ETHZ.CH> ORGANIZATION Tutorials on Tuesdays - Sometimes, will be announced In General: no exercise sessions (unless you get an email

More information

Configure CEM Controller on CentOS 6.9

Configure CEM Controller on CentOS 6.9 Configure CEM Controller on CentOS 6.9 Contents Introduction Background Prerequisites Requirements Components Used Installing Oracle Java SE Runtime Environment 8 Downloading and Installing the CEM Controller

More information

Building RPMs for Native Application Hosting

Building RPMs for Native Application Hosting This section explains how you can build RPMs for native application hosting. Setting Up the Build Environment, page 1 Building Native RPMs, page 3 Setting Up the Build Environment This section describes

More information

Configuring a Standalone VCL Environment using VMware Server 2.0

Configuring a Standalone VCL Environment using VMware Server 2.0 Configuring a Standalone VCL Environment using VMware Server 2.0 DISCLAIMER! This document provides instuctions for configuring a standalone VCL environment running on a single computer which is able to

More information

Walk-thru- Build Lustre MASTER with ZFS on RHEL 7.3 /CentOS 7.3 from Intel Git

Walk-thru- Build Lustre MASTER with ZFS on RHEL 7.3 /CentOS 7.3 from Intel Git Walk-thru- Build Lustre MASTER with ZFS on RHEL 7.3 /CentOS 7.3 from Intel Git This walk-thru is targeting developers who want to explore the bleeding edge of Lustre. If you are evaluating Lustre for production,

More information

MIS Week 10. Operating System Security. Unix/Linux basics

MIS Week 10. Operating System Security. Unix/Linux basics MIS 5170 Operating System Security Week 10 Unix/Linux basics Tonight s Plan 2 Questions from Last Week Review on-line posts In The News Download Kali Install Kali Unix/Linux Basics Scripting Appropriate

More information

Deploying Rubrik Datos IO to Protect MongoDB Database on GCP

Deploying Rubrik Datos IO to Protect MongoDB Database on GCP DEPLOYMENT GUIDE Deploying Rubrik Datos IO to Protect MongoDB Database on GCP TABLE OF CONTENTS INTRODUCTION... 1 OBJECTIVES... 1 COSTS... 2 BEFORE YOU BEGIN... 2 PROVISIONING YOUR INFRASTRUCTURE FOR THE

More information

SecurityCenter Upgrade Guide. July 21, 2015 (Revision 1)

SecurityCenter Upgrade Guide. July 21, 2015 (Revision 1) SecurityCenter 5.0.1 Upgrade Guide July 21, 2015 (Revision 1) Table of Contents Introduction... 3 Standards and Conventions... 3 Software Requirements... 4 Supported Operating Systems... 4 Dependencies...

More information

KillTest *KIJGT 3WCNKV[ $GVVGT 5GTXKEG Q&A NZZV ]]] QORRZKYZ IUS =K ULLKX LXKK [VJGZK YKX\OIK LUX UTK _KGX

KillTest *KIJGT 3WCNKV[ $GVVGT 5GTXKEG Q&A NZZV ]]] QORRZKYZ IUS =K ULLKX LXKK [VJGZK YKX\OIK LUX UTK _KGX KillTest Q&A Exam : XK0-002 Title : Linux+ Certification (2004 Objectives) Version : DEMO 1 / 6 1. At boot time, the computer reported that there are problems with inodes and blocks. Which of the following

More information

Offloading MySQL to Remote Server

Offloading MySQL to Remote Server Purpose This document is meant to show a step-by-step guide for offloading the MySQL services from the central server to an external, remote server. Target Audience This document is intended for use by

More information

SecurityCenter 5.1 Upgrade Guide. November 12, 2015 (Revision 2)

SecurityCenter 5.1 Upgrade Guide. November 12, 2015 (Revision 2) SecurityCenter 5.1 Upgrade Guide November 12, 2015 (Revision 2) Table of Contents Introduction... 3 Standards and Conventions... 3 Software Requirements... 4 Supported Operating Systems... 4 Dependencies...

More information

How to Setup Total Application Security

How to Setup Total Application Security How to Setup Total Application Security TABLE OF CONTENTS Access Total Application Security on AWS Marketplace... 2 Configuring Total Application Security... 12 Total Application Security Portal Access...

More information

How to Configure and Verify OmniWatch Connectivity. Overview. Resolution

How to Configure and Verify OmniWatch Connectivity. Overview. Resolution How to Configure and Verify OmniWatch Connectivity How To#: 11705 Title: How to Configure and Verify OmniWatch Connectivity Table of Contents Overview Resolution OmniWatch Agent Utility System Requirements

More information

Integration of UNICORE Components into Linux Systems

Integration of UNICORE Components into Linux Systems Mitglied der Helmholtz-Gemeinschaft Integration of UNICORE Components into Linux Systems 15.12.2009 Rebecca Breu UNICORE Installation as of Now tgz or graphical installer all files installed into one directory

More information

ITEC451 Network Design & Analysis Laboratory Guide: Appendix

ITEC451 Network Design & Analysis Laboratory Guide: Appendix Linux Guide Accessing the command prompt Before you can access the command prompt, you must login to the system. The administrative user on Linux machines is named root. On most Linux distributions, you

More information

Step 1 - Install Apache and PostgreSQL

Step 1 - Install Apache and PostgreSQL How to install OTRS (Open Source Trouble Ticket System) on Ubuntu 16.04 Prerequisites Ubuntu 16.04. Min 2GB of Memory. Root privileges. Step 1 - Install Apache and PostgreSQL In this first step, we will

More information

Bitnami MediaWiki for Huawei Enterprise Cloud

Bitnami MediaWiki for Huawei Enterprise Cloud Bitnami MediaWiki for Huawei Enterprise Cloud Description MediaWiki is a wiki package originally written for Wikipedia. MediaWiki is an extremely powerful, scalable software and a feature-rich wiki implementation.

More information

Dell Protected Workspace Management

Dell Protected Workspace Management Dell Protected Workspace Management Upgrade Guide Dell Protected Workspace Management v4.1 Created and Maintained by Invincea, Inc. Proprietary For Customer Use Only Dell Protected Workspace Management

More information

T A B L E O F C O N T E N T S

T A B L E O F C O N T E N T S Linux driver - Binary rpm/source rpm user guide and known limitation T A B L E O F C O N T E N T S 1. OVERVIEW... 2 2. DRIVER COMPILATION STEPS... 2 3. OS SUPPORT MATRIX... 2 4. RELEASE CONTENTS... 5 5.

More information

7.3 Install on Linux and Initial Configurations

7.3 Install on Linux and Initial Configurations 7.3 Install on Linux and Initial Configurations This section describes how to install SoftEther VPN Server to a Linux operating system. This assumes that in the Linux operating system, no extra application

More information

Bitnami Moodle for Huawei Enterprise Cloud

Bitnami Moodle for Huawei Enterprise Cloud Bitnami Moodle for Huawei Enterprise Cloud Description Moodle is a Course Management System that is designed using sound pedagogical principles to help educators create effective online learning communities.

More information

02. At the command prompt, type usermod -l bozo bozo2 and press Enter to change the login name for the user bozo2 back to bozo. => steps 03.

02. At the command prompt, type usermod -l bozo bozo2 and press Enter to change the login name for the user bozo2 back to bozo. => steps 03. Laboratory Exercises: ===================== Complete the following laboratory exercises. All steps are numbered but not every step includes a question. You only need to record answers for those steps that

More information

BUILDING YOUR OWN RPMS

BUILDING YOUR OWN RPMS BUILDING YOUR OWN RPMS CONNECTING TO THE LAB EQUIPMENT These steps will help you get started with the exercises: 1. Login to the desktop you are seated at as the user student, with the password student

More information

www.kouza.jp apache apache Linux apache http://www.apache.org/ http://www.kouza.jp/ RedHat apache apache-1.3.19-5.i386.rpm rpm -qa egrep apache apache-1.3.19-5 apacheconf-0.7-2 httpd. conf apach e /etc/httpd/conf

More information

Files

Files http://www.cs.fsu.edu/~langley/cop3353-2013-1/reveal.js-2013-02-11/02.html?print-pdf 02/11/2013 10:55 AM Files A normal "flat" file is a collection of information. It's usually stored somewhere reasonably

More information

Linux Kung Fu. Ross Ventresca UBNetDef, Fall 2017

Linux Kung Fu. Ross Ventresca UBNetDef, Fall 2017 Linux Kung Fu Ross Ventresca UBNetDef, Fall 2017 GOTO: https://apps.ubnetdef.org/ What is Linux? Linux generally refers to a group of Unix-like free and open source operating system distributions built

More information

Installing Applications in FreeBSD. wengyc

Installing Applications in FreeBSD. wengyc Installing Applications in FreeBSD wengyc Before we start Permission issue root: the superuser In Unix-like system, root is the conventional name of the user who has all rights or permissions (to all files

More information

Introduction. What is Linux? What is the difference between a client and a server?

Introduction. What is Linux? What is the difference between a client and a server? Linux Kung Fu Introduction What is Linux? What is the difference between a client and a server? What is Linux? Linux generally refers to a group of Unix-like free and open-source operating system distributions

More information

SecurityCenter 4.8.x Upgrade Guide. December 16, 2014 (Revision 1)

SecurityCenter 4.8.x Upgrade Guide. December 16, 2014 (Revision 1) SecurityCenter 4.8.x Upgrade Guide December 16, 2014 (Revision 1) Table of Contents Introduction... 3 Standards and Conventions... 3 Software Requirements... 4 Supported Operating Systems... 4 Dependencies...

More information

Bitnami Re:dash for Huawei Enterprise Cloud

Bitnami Re:dash for Huawei Enterprise Cloud Bitnami Re:dash for Huawei Enterprise Cloud Description Re:dash is an open source data visualization and collaboration tool. It was designed to allow fast and easy access to billions of records in all

More information

Mail Server With Postfix and Courier-imap and Virtual Users Wednesday, 12 March 2008 Last Updated Thursday, 03 April 2008

Mail Server With Postfix and Courier-imap and Virtual Users Wednesday, 12 March 2008 Last Updated Thursday, 03 April 2008 Mail Server With Postfix and Courier-imap and Virtual Users Wednesday, 12 March 2008 Last Updated Thursday, 03 April 2008 This tutorial describes how to configure a Mail Server using postfix, courier-imap

More information

CENG 334 Computer Networks. Laboratory I Linux Tutorial

CENG 334 Computer Networks. Laboratory I Linux Tutorial CENG 334 Computer Networks Laboratory I Linux Tutorial Contents 1. Logging In and Starting Session 2. Using Commands 1. Basic Commands 2. Working With Files and Directories 3. Permission Bits 3. Introduction

More information

Your Apache ssl.conf in /etc/httpd.conf.d directory has the following SSLCertificate related directives.

Your Apache ssl.conf in /etc/httpd.conf.d directory has the following SSLCertificate related directives. If you ever need to use HTTPS or SSL with your website, you will need to have an SSL certificate created, which your Apache web server would use to hand out to the web browsers of the site visitors. The

More information

Introduction to UNIX command-line

Introduction to UNIX command-line Introduction to UNIX command-line Boyce Thompson Institute March 17, 2015 Lukas Mueller & Noe Fernandez Class Content Terminal file system navigation Wildcards, shortcuts and special characters File permissions

More information

Lab Working with Linux Command Line

Lab Working with Linux Command Line Introduction In this lab, you will use the Linux command line to manage files and folders and perform some basic administrative tasks. Recommended Equipment A computer with a Linux OS, either installed

More information

7.3 Linux?????????????

7.3 Linux????????????? 7.3 Linux???????????????????SoftEther VPN Server?? Linux????????????????????????????????????????Linux??????????????????????????????????????????????????????????????????????????????????????Linux????????????????????????????????????????????????????

More information

9.3 Linux?????????????

9.3 Linux????????????? 9.3 Linux???????????????????VPN Bridge???Linux????????????????????????????????????????Linux?????????????????????????????????????????????????????????????????????????????????????? Linux????????????????????????????????????????????????????

More information

Upgrade Instructions. NetBrain Integrated Edition 7.1. Two-Server Deployment

Upgrade Instructions. NetBrain Integrated Edition 7.1. Two-Server Deployment NetBrain Integrated Edition 7.1 Upgrade Instructions Two-Server Deployment Version 7.1a Last Updated 2018-09-04 Copyright 2004-2018 NetBrain Technologies, Inc. All rights reserved. Contents 1. Upgrading

More information

cpouta exercises

cpouta exercises CSC Bioweek. 8.2. 2018 cpouta exercises 1 Table of Contents cpouta exercises 8.2. 2018 1. Launching a virtual machine... 2 1.1 Login to cpouta interface in... 2 1.2 Create your own SSH key pair... 2 A.

More information

Migration Howto. Table Of Contents

Migration Howto. Table Of Contents Migration Howto Migration Howto I Table Of Contents Migration from Cobalt RaQ2 /RaQ3 Servers to 42goISP Servers...1 Prerequisites...1 Proceeding...1 General...1 RaQ...1 42go ISP Manager Server...2 Disclaimer...5

More information

Installing Prime Optical

Installing Prime Optical 5 CHAPTER This section describes how to install Cisco Prime Optical 9.8 with an Oracle 11g database. To ensure a successful installation, use the checklist provided in the Installation Scenarios and Checklists,

More information

Linux Systems Administration Getting Started with Linux

Linux Systems Administration Getting Started with Linux Linux Systems Administration Getting Started with Linux Network Startup Resource Center www.nsrc.org These materials are licensed under the Creative Commons Attribution-NonCommercial 4.0 International

More information

Installation Manual InfraManage.NET Installation Instructions for Ubuntu

Installation Manual InfraManage.NET Installation Instructions for Ubuntu Installation Manual InfraManage.NET Installation Instructions for Ubuntu Copyright 1996 2017 Timothy Ste. Marie Version 7.5.72SQL InfraManage.NET Installing InfraManage.NET Page 1 of 78 Table of Contents

More information

Introduction: What is Unix?

Introduction: What is Unix? Introduction Introduction: What is Unix? An operating system Developed at AT&T Bell Labs in the 1960 s Command Line Interpreter GUIs (Window systems) are now available Introduction: Unix vs. Linux Unix

More information

BPPM Patrol Agent Installation Steps on Linux and Automation Integration

BPPM Patrol Agent Installation Steps on Linux and Automation Integration BPPM Patrol Agent Installation Steps on Linux and Automation Integration Author: Karlis Peterson, Software Consultant, BMC Software Version: 1.0 Date: May 12, 2013 DISCLAIMER NOTICE This is Field Developed

More information

HOW TO SECURELY CONFIGURE A LINUX HOST TO RUN CONTAINERS

HOW TO SECURELY CONFIGURE A LINUX HOST TO RUN CONTAINERS HOW TO SECURELY CONFIGURE A LINUX HOST TO RUN CONTAINERS How To Securely Configure a Linux Host to Run Containers To run containers securely, one must go through a multitude of steps to ensure that a)

More information

Introduction to Linux

Introduction to Linux Introduction to Linux Mukesh Pund Principal Scientist, NISCAIR, New Delhi, India History In 1969, a team of developers developed a new operating system called Unix which was written using C Linus Torvalds,

More information

Build Your Own Oracle RAC 11g Release 2 Cluster on Red Hat 4 and iscsi

Build Your Own Oracle RAC 11g Release 2 Cluster on Red Hat 4 and iscsi Build Your Own Oracle RAC 11g Release 2 Cluster on Red Hat 4 and iscsi Here is my setup which I have used for Installing Oracle RAC 11gR2 Laptop windows XP To access linux1 and linux2 There are 2 operating

More information

RG-MACC-BASE_v2.01. Installation Guide

RG-MACC-BASE_v2.01. Installation Guide RG-MACC-BASE_v2.01 Preface Thank you for using our products. Audience This manual is intended for: Network engineers Technical support and servicing engineers Network administrators Symbols Important information.

More information

Config Server Firewall. Đặng Thanh Bình

Config Server Firewall. Đặng Thanh Bình Config Server Firewall Đặng Thanh Bình Contents Introduction Features Installation Basic CSF commands Advanced Configuration 2 INTRODUCTION Intro Config Server Firewall (CSF) is a free and advanced firewall

More information

Ganglia is monitring system for high performance computing systems. We have two node potter.isb.ots.com and harry.isb.ots.com both are HPC nodes.

Ganglia is monitring system for high performance computing systems. We have two node potter.isb.ots.com and harry.isb.ots.com both are HPC nodes. Date : 13-Oct-2009 Ganglia installation Howto By Syed Asim Abbas For comments and suggestions : asimabbas31 at gmail dot com ------------------------------------------------------ Ganglia is monitring

More information

Installing MySQL Subscriber Database

Installing MySQL Subscriber Database CHAPTER 2 This chapter describes how the optional MySQL subscriber database is installed for use with the Cisco SIP Proxy Server. An installation script, install_mysql_db, is used. This script only runs

More information

This material is based on work supported by the National Science Foundation under Grant No

This material is based on work supported by the National Science Foundation under Grant No Source: http://en.wikipedia.org/wiki/file:firewall.png This material is based on work supported by the National Science Foundation under Grant No. 0802551 Any opinions, findings, and conclusions or recommendations

More information

Contents. Note: pay attention to where you are. Note: Plaintext version. Note: pay attention to where you are... 1 Note: Plaintext version...

Contents. Note: pay attention to where you are. Note: Plaintext version. Note: pay attention to where you are... 1 Note: Plaintext version... Contents Note: pay attention to where you are........................................... 1 Note: Plaintext version................................................... 1 Hello World of the Bash shell 2 Accessing

More information

Bitnami Tiny Tiny RSS for Huawei Enterprise Cloud

Bitnami Tiny Tiny RSS for Huawei Enterprise Cloud Bitnami Tiny Tiny RSS for Huawei Enterprise Cloud Description Tiny Tiny RSS is an open source web-based news feed (RSS/Atom) reader and aggregator, designed to allow you to read news from any location,

More information

This is Lab Worksheet 3 - not an Assignment

This is Lab Worksheet 3 - not an Assignment This is Lab Worksheet 3 - not an Assignment This Lab Worksheet contains some practical examples that will prepare you to complete your Assignments. You do not have to hand in this Lab Worksheet. Make sure

More information

Mills HPC Tutorial Series. Linux Basics II

Mills HPC Tutorial Series. Linux Basics II Mills HPC Tutorial Series Linux Basics II Objectives Bash Shell Script Basics Script Project This project is based on using the Gnuplot program which reads a command file, a data file and writes an image

More information

Please choose the best answer. More than one answer might be true, but choose the one that is best.

Please choose the best answer. More than one answer might be true, but choose the one that is best. Introduction to Linux and Unix - endterm Please choose the best answer. More than one answer might be true, but choose the one that is best. SYSTEM STARTUP 1. A hard disk master boot record is located:

More information

European Commission Mailman installation procedure

European Commission Mailman installation procedure EUROPEAN COMMISSION DIRECTORATE-GENERAL FOR INFORMATICS ISA Integrated Collaborative Platform European Commission Mailman installation procedure Date: 24/08/2013 Version: 1.000 Authors: everis Revised

More information