sureshmsi.co.nr

Posts Tagged ‘Linux

How to list only directories in linux console

Posted by: sureshm on: December 2, 2007

Well, we know how to list files and directories in console. Yes ‘ls’ is enough.
The ‘ls’ will display all files and directories. To list only directories use :
[ myEmpire$]: ls -d */
This will do the trick.
To list only directories, use any one of the following commands.
# ls -d [...]

How to install the GNU C++ compiler on Linux

Posted by: sureshm on: October 27, 2007

Now a days there are lot of easy tools/commands for the installation in Linux. The most commonly used are yum, apt-get, urpmi etc.
The below will help you to install GNU C++ complier using the source file. Please make sure that you have root (wheel user) privilege in the machine in order to [...]

Disable SSLv2 and enable SSLv3 in the server in Ensim Linux Server
Edit the conf of ssl
# vi /etc/httpd/conf.d/ssl.conf
Add/Edit the lines
SSLProtocol -All +SSLv3 +TLSv1
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:!SSLv2:+EXPRestart Apache
/etc/init.d/httpd restart
You can connect the server using OpenSSL to test it :
openssl s_client -connect localhost:443
Replace the localhost with the server name