Showing posts with label CentOS. Show all posts
Showing posts with label CentOS. Show all posts

If you happened to see ^M at end of every line of your code, it's a real pain. You can remove the character from the file somehow.

from your command line (Linux)

1) sed -e 's/^M//g' index.php > ind.php
[ ctrl v + ctrl M would give your ^M char on command line ]

2) mv ind.php index.php

Now, your index file is free of ^M characters. Enjoy coding.

If you are looking forward to install SSH2, follow the link to do so. It works and save you a lots time.

http://cubiclegeneration.com/web-servers/installing-secure-shell2-ssh2-php-extension

if you experience any issue at these lines

gunzip libssh2-0.18.tar.gz

tar -xvf libssh2-0.18.tar.gz

Just remove the .gz from the end, would work.

Done.

If you having trouble with your flash player in CentOS 5 ( 64 bits) then follow the link to make it work. I googled for help and found out this after a long time. It's good.

http://www.yqed.com/install-flash-player-10-centos-64-bits/

Enjoy your flash player.



Some Links (off programming)