Posts

Installing a self-signed SSL certificate on a cPanel

Create a self-signed SSL certificate Login to WHM. Click “Generate a SSL Certificate & Signing Request”. Enter “Contact info” with a valid e-mail address. Enter or generate a password, making sure it is sufficiently long with a mixture of letters, numbers and symbols. Under “Host to make cert for”, enter the domain on which you want the SSL. Click “Create”. Copy the text displayed for the .key and .crt, and paste them into a text file on your computer. You may need that text in the next steps. Install a self-signed SSL certificate In WHM, click “Install an SSL Certificate and Setup the Domain”. Enter the domain name, account user name, and IP address for the certificate in the Domain, User, and IP Address fields. Click “Fetch” to paste the .key and .crt files for the domain into the available display spaces, if they are currently on your server. (The first time I did this, clicking Fetch automatically pasted the required data into the fields. When I created later cer...

How to Configure Remote Access VPN Service on Vyatta

How to install vyatta image in vps. 1. Create a VPs using the vyatta iso image vyatt iso has default user vyatta with password vyatta starter your vm and login the vps. vyatta@vyatta: install image To login the reoot user. vyatta@vyatta: sudo -s How to assign the ipaddress and hostname to vytta vyatta@vyatta: configure [edit] vyatta@vyatta# vyatta@vyatta#set interfaces ethernet eth0 address 192.168.1.25/28 [edit] vyatta@vyatta#set system gateway-address 192.168.1.1 [edit] vyatta@vyatta#set system host-name vyatta.pw.in [edit] vyatta@vyatta#set system name-server 8.8.4.4 [edit] vyatta@vyatta#set system name-server 8.8.8.8 [edit] vyatta@vyatta#commit [edit] vyatta@vyatta#save Saving configuration to '/config/config.boot'... Done [edit] How to install vpn on vyatta vbash-4.1# ifconfig eth0      Link encap:Ethernet  HWaddr 9e:a3:c0:a8:76:3d           inet addr:192.168.1.25  Bcast:192.168.1.175  Mask...

How to assign the ipaddress and hostname to vyatta

vyatta@vyatta: configure [edit] vyatta@vyatta# vyatta@vyatta#set interfaces ethernet eth0 address 192.168.1.25/28 [edit] vyatta@vyatta#set system gateway-address 192.168.1.1 [edit] vyatta@vyatta#set system host-name vyatta.pw.in [edit] vyatta@vyatta#set system name-server 8.8.4.4 [edit] vyatta@vyatta#set system name-server 8.8.8.8 [edit] vyatta@vyatta#commit [edit] vyatta@vyatta#save Saving configuration to '/config/config.boot'... Done [edit]

How to install vyatta image in vps.

1. Create a VPs using the vyatta iso image vyatt iso has default user vyatta with password vyatta starter your vm and login the vps. vyatta@vyatta: install image To login the reoot user. vyatta@vyatta: sudo -s

Install 7zip on Centos 6.4

1. Add rpmforge repository wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm #rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm [root@sms ~]# rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm warning: rpmforge-release-0.5.2-2.el6.rf.i686.rpm: Header V3 DSA/SHA1 Signature,                                                                                                  key ID 6b8d79e6: NOKEY Preparing...                ########################################### [100%]    1:rpmforge-release       ########################################### [100%] [root@sms ~]# yum install p7zip Loaded plugins: fastestmirror Loading mirror speeds from cached ...

How to enable saslauthd and-testsaslauthd

By default, testsaslauthd test whether the authentication process works by invoking authentication onto the imap service, unless the -s service is passed along in the command-line. PAM configuration for the imap service is stored in /etc/pam.d/imap. However, if cyrus-imapd is not installed, the file /etc/pam.d/imap won’t exist and thus any try to use testsaslauthd against the default imap service will fail: [root@sms ~]# adduser mailuser [root@sms ~]# passwd mailuser Changing password for user mailuser. New password:  BAD PASSWORD: it is based on a dictionary word Retype new password:  passwd: all authentication tokens updated successfully. # Mechanism to use when checking passwords.  Run "saslauthd -v" to get a list # of which mechanism your installation was compiled with the ablity to use. MECH=pam # Options sent to the saslauthd. If the MECH is other than "pam" uncomment the next line. # DAEMONOPTS=--user saslauth [root@sms ~]# ls -l /etc/pam.d/imap ls: ca...

How to add ip address in linux

First, need to edit the set up for the Ethernet. Let’s start with editing this file: 1. # vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 HWADDR=1f:65:9d:63:ec:e1 TYPE=Ethernet ONBOOT=yes BOOTPROTO=none IPV6INIT=no USERCTL=no NM_CONTROLLED=yes PEERDNS=yes IPADDR=192.168.0.201 NETMASK=255.255.255.0 Now, configure default getaway: 1. # vi /etc/sysconfig/network NETWORKING=yes HOSTNAME=centos6 GATEWAY=192.168.0.1 Configure DNS Server # vi /etc/resolv.conf nameserver 8.8.8.8 nameserver 8.8.4.4 Now restart the network interface: