Posts

Showing posts with the label howto

HowTO: Install Postfix & dovecot On CentOS 6

How to installing Postfix and Dovecot on Linux CentOS yum install postfix dovecot chkconfig postfix on chkconfig dovecot on  Configure main.cf : vi /etc/postfix/main.cf # change or add on these line: myhostname = mail.fileregion.com mydomain = fileregion.com myorigin = $mydomain inet_interfaces = all mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain mynetworks = 127.0.0.0/8 home_mailbox = Maildir/ smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth smtpd_sasl_auth_enable = yes smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, permit broken_sasl_auth_clients = yes Restarting postfix: /etc/init.d/postfix restart Configure Dovecot on Linux CentOS 6 Configure dovecot.conf: vi /etc/dovecot/dovecot.conf # uncomment on this line: protocols = imap pop3 listen = * Config mail auth mehanism: vi /etc/dovecot/conf.d/10-auth.conf # change on these line: disable_plaintext_a

HowTO: Install VNC Server On CentOS 6.3

1. Install Tigervnc Server view plain copy to clipboard print ? [root@demo ~]# yum -y install tigervnc-server   2. Install X Windows and GNOME. This used to be yum groupinstall "X Window System" "GNOME Desktop Environment", but is now simply: view plain copy to clipboard print ? yum groupinstall  "X Window System"   "Desktop"    3. Create a user (or use and existing user) and create VNC login. view plain copy to clipboard print ? [root@demo ~]# useradd david   [root@demo ~]# passwd david   Changing password  for  user david.   New password:   Retype  new  password:   passwd: all authentication tokens updated successfully.   [root@demo ~]# su - david   4. Switch to the user (su - user) and issue 'vncpasswd' to set the VNC password view plain copy to clipboard print ? [david@demo ~]$ vncpasswd   Password:   Verify:   [david@demo ~]$   5. Start VNC using 'vncserver :1'