I am writing a small post that will help you just to see what ports are open in a particular remote/local machine.we are going to use tool name as nc.To install it , open your terminal and type as # yum install nc After installing , you can use it withnc -zv xxx.xxx.xxx.xxx <Port> ...
Tutorial on .htpasswd and .htaccess with apache(httpd) in Linux
November 16, 2014
Raaz
.htaccess, access, apache, centos, debain, fedora, htaccess, htpasswd..htpasswd, Linux, protecting, redhat, restricitng, securing, ubuntu, Virtualhosting
No comments
Edit
If there is a situation that have to dealt with like a public website but with some secret information.How can we protect the information ? .We can use .htpasswd and .htaccess in that time.How ? Lets see................Open your terminal and type as vim /etc/httpd/conf/httpd.confand find line no : 334 to 338....
Make the system Time Zone persistent across REBOOT in Linux
Hi Guys!
Are tou tired of fixing the Time Zone across reboot in your Linux box..? Here are three simple steps for you to fix the issue.
In this example we are fixing the time zone to IST. Similarly you can set it to any Time Zone of your choice.
Step:1 Set the hardware clock to IST time zone
# ln -sf /usr/share/zoneinfo/Asia/Calcutta /etc/localtime
Step:2 Verify the hardware clock is set...
How To do Software RAID using mdadm in CentOS
Today I am writing about how to create Software RAID. Creating Software RAID is pretty easy. All we need either 3 equal size partitions on different harddisks or 3 equal size harddisks. In my approach , I am doing this in VmWare by choosing 3 virtual harddisks with equal 1 GB Size. Our first step is we need to make those harddisks...
VSFTPD - Passive mode port configuration
Virtual Hosts in Apache -Linux
############################Listen 192.168.56.150:80Listen 192.168.56.151:81############################So above two lines are stands for IP based virtual hosting and as well as Port based Virtual Host.The virtual Host which listens to the 1st IP will browse throughh port 80 but other will listens and browse through port 81 only.Now We have to configure Virtual Hosts#########################################<VirtulHost...
Rename Database in MySQL
Today I am writing about how to rename MySQL Database.So If you want to rename a database in MySQL dont forget taking backup of your Views,Procedures and Functions of current database. Because while you renaming changes wont apply for Views,Procedures and functions.After you have taken the backup , We can go for renaming with the command below.RENAME TABLE old_db.table TO new_db.table;Here old_db...
Famous SELinux Contexts
November 03, 2014
Raaz
centos, context, famous, fedora, Linux, RedHat Linux, regular, selinux
No comments
Edit
How to set the primary IP address of a Windows Server 2008 R2
November 01, 2014
Venkata Rao Amudalapalli
2008, ipaddress, outgoing ip, server2008, Windows Server 2008, Windows Server 2008 r2
No comments
Edit
Hi All..!
Finally, today I got a solution for the problem continuously facing, whenever we add a new IP to our servers (Windows 2008 server), the primary IP address ( the default outgoing IP) is getting changed automatically which in turn causing lot many issues later.
Here is the solution.
http://www.aip.im/2013/01/how-to-set-the-primary-ip-address-of-a-windows-server-2008-r2/
This...
Subscribe to:
Posts (Atom)