Install CKeditor

# download
wget http://download.cksource.com/CKEditor/CKEditor/CKEditor%203.4/ckeditor_3.4.tar.gz -P /tmp/
 
# extract
tar xzf /tmp/ckeditor_*.tar.gz -C /var/www/
 
# create index.html
cat <<EOF> /var/www/ckeditor/index.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>Full Page Editing - CKEditor Sample</title>
	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
	<script type="text/javascript" src="ckeditor.js"></script>
	<script src="sample.js" type="text/javascript"></script>
	<link href="sample.css" rel="stylesheet" type="text/css" />
</head>
<body>
	<textarea cols="180" id="editor1" name="editor1" rows="10"></textarea>
	<script type="text/javascript">
	//<![CDATA[
		CKEDITOR.replace( 'editor1',
			{
				fullPage : true
			});
	//]]>
	</script>
</body>
</html>
EOF
 
 
# Links
http://ckeditor.com/