https

Apache generates its private key and converts that private key to .CSR file (Certificate signing request). Then Apache sends the .csr file to the CA (Certificate Authority). CA will take the .csr file and convert it to .crt (certificate) and will send that .crt file back to Apache to secure and complete the https connection … Continue reading https

apache

yum install httpd ------------------------------------------------------------------------------------------------- service httpd start ------------------------------------------------------------------------------------------------- vim /var/www/html/sample.html <head> <body> hello guies how are u </body> </head> ------------------------------------------------------------------------------------------------- <virtualhost *:80> documentroot /var/www/html/ directoryindex sample.html servername mywebserver.com </virtualhost> -------------------------------------------------------------------------------------------------- httpd -t -------------------------------------------------------------------------------------------------- service httpd restart ------------------------------------------------------------------------------------------------- In browser just type server-name or ipaddress 1. What is Apache web server? Answer : Apache web server … Continue reading apache

dns

Domain Name Servers (DNS) are the Internet's equivalent of a phone book. They maintain a directory of domain names and translate them to Internet Protocol (IP) addresses. This is necessary because, although domain names are easy for people to remember, computers or machines, access websites based on IP addresses. ---------------------------------------------------------------------------------------------- [root@server-rhel6 ~]# ip a | … Continue reading dns

yum

 copy the iso image to the server by scp or ftp or samba mkdir /mnt/iso vim /etc/yum.repos.d/my.repo [1] name=rhel6 baseurl=file:///mnt/iso enabled=1 gpgcheck=0 vim /etc/fstab /root/rhel-server-6.7-x86_64-dvd.iso  /mnt/iso iso9660  loop,ro  0  0 mount -a df -hT yum repolist ------------------------------------------------------------------------------------------------------------------ How to make online repository 1. Adding RPMForge Repository Use following commands to install rpmforce repository on your … Continue reading yum

mysql

[root@MYSQL ~]# rpm -qa  mysql mysql-server [root@MYSQL ~]# yum list all |grep   mysql* [root@MYSQL ~]# yum install mysql mysql-server [root@MYSQL ~]# netstat -tlpn Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name … Continue reading mysql

telnet

[root@server-rhel6 ~]# rpm -q telnet-server [root@server-rhel6 ~]# yum install telnet-server [root@server-rhel6 ~]# vim /etc/xinetd.d/telnet          disable         = no [root@server-rhel6 ~]# /etc/init.d/xinetd status xinetd is stopped [root@server-rhel6 ~]# /etc/init.d/xinetd start Starting xinetd:                                   … Continue reading telnet

ssh

[root@server-rhel6 ~]# rpm -q openssh-server openssh-server-5.3p1-112.el6_7.x86_64 [root@server-rhel6 ~]# yum install openssh-server Loaded plugins: product-id, refresh-packagekit, security, subscription-manager Setting up Install Process Package openssh-server-5.3p1-112.el6_7.x86_64 already installed and latest version Nothing to do [root@server-rhel6 ~]# useradd hulk [root@server-rhel6 ~]# passwd hulk Changing password for user hulk. New password: BAD PASSWORD: it is too short BAD PASSWORD: is … Continue reading ssh

nfs

[root@server-rhel6 ~]# hostname server-rhel6 [root@server-rhel6 ~]# ifconfig eth0      Link encap:Ethernet  HWaddr 00:0C:29:B5:97:4A           inet addr:172.16.28.130  Bcast:172.16.28.255  Mask:255.255.255.0           inet6 addr: fe80::20c:29ff:feb5:974a/64 Scope:Link           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1           RX packets:19781 errors:0 dropped:0 overruns:0 frame:0   … Continue reading nfs

What is Linux

What is Linux? Just like Windows XP, Windows 7, Windows 8, and Mac OS X, Linux is an operating system. An operating system is software that manages all of the hardware resources associated with your desktop or laptop. To put it simply – the operating system manages the communication between your software and your hardware. … Continue reading What is Linux