Password protecting a directory on your site is actually fairly easy. Webmasters typically want to protect a directory if they have information that they want to make available only to a selected number of people. This guide teaches how you can make a folder on your website accessible only to people with the appropriate password.
Archive for the ‘How To’s’ Category
How do I install and configure ssh server and client under CentOS Linux operating systems?
You need to install the following packages (which are installed by default until and unless you removed it or skipped it while installing CentOS)
- openssh-clients : The OpenSSH client applications
- openssh-server : The OpenSSH server daemon
You can use the File Checksum Integrity Verifier (FCIV) utility to compute the MD5 or SHA-1 cryptographic hash values of a file. For additional information about the File Checksum Integrity Verifier (FCIV) utility, click the following article number to view the article in the Microsoft Knowledge Base:
For example, to compute the MD5 and SHA-1 hash values for the Shdocvw.dll file in your %Systemroot%\System32 folder, type the following command:
This tutorial shows you how to install and configure FTP server in CentOS 6.5. Though the steps provided here are tested in CentOS 6.5, it should work on RHEL 6.x(x stands for version) and Scientific Linux 6.x too. In this tutorial my ftp server ip and hostname are 192.168.1.200 and setup your local repoistory in CentOS 6 / RHEL 6 / Scientific Linux.respectively. I have already configured a local repository and i am gonna to install FTP from my local repository. For more information navigate to
On the command line, enter the command:
# mysqladmin -uroot -p -hlocalhost version
Enter password: ********
mysqladmin Ver 8.42 Distrib 5.1.73, for redhat-linux-gnu on x86_64
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
Server version 5.1.73
Protocol version 10
Connection Localhost via UNIX socket
UNIX socket /var/lib/mysql/mysql.sock
Uptime: 16 hours 18 min 39 sec
Threads: 1 Questions: 296 Slow queries: 0 Opens: 25 Flush tables: 1 Open tables: 18 Queries per second avg: 0.5
There you can get the version of MySQL.
Like in other wiki systems: Simply type the name of the new page in the address bar of your browser. For example, if you are in http://server/projects/xyz/wiki, you can add a page named ‘blubber’ if you add this to your URL: http://server/projects/xyz/wiki/blubber.
You need root access to add a user to the sudoers file. Enter as root user:
# su -
and put in the root password. Then use this command
to make changes on the /etc/sudoers file. It is not recommended to edit the file using text editor.
To add a user, enter the line in appropriate location.
username ALL=(ALL) ALL
%groupname ALL=(ALL) ALL
You can see this error when restarting MySQL. The system has detected that MySQL is running when it is not. This is probably due to and hard reboot of the system.
To fix this problem, remove the file
/var/lib/mysql/mysql.sock as root user:
# rm /var/lib/mysql/mysql.sock
Then start the MySQL daemon:
# service mysqld start
# /etc/init.d/mysqld start
If you have saved the user authentication on your SVN Tortoise client, and wanted to clear them if you want that everytime you access your server, you need to input your credential, then do the following steps:
- Right-click your desktop and select TortoiseSVN->Settings
- Select Saved Data.
- Click Clear against Authentication Data.
Next time you make action on your SVN repository, you will be asked for the user credentials.