November 2020
« Apr    

VNC Viewer error : No Matching security types

We are trying to access a Ubuntu system over the remote desktop connectivity for a long hours. We can able to connect/access Remote desktop from Ubuntu to Ubuntu. But neither windows or any other VNC viewer from other OS. We needed to access Ubuntu Desktop remotely from any system.

How do I enable Remote […]

Mysqlcheck : Quick guide to Sys-admins

mysqldump: Error 1194: Table ” is marked as crashed and should be repaired when dumping table `db_table` at row :

Most of us are getting this type of errors when we used “MyISM” storage engine for huge tables. Inodb tables also were affect sometimes. We can skip this errors, if we have uses high […]

How to redirect the page within your php application

PHP Redirect Script

You can easily redirect using following code:

<?php /* Redirect browser */ header(“Location:”); /* Make sure that code below does not get executed when we redirect. */ exit; ?> Another sample hack

Sample function – sitefunctions.php (note I’m not the author of the following I found it somewhere else on the […]

How to run mulitple Tomcat instance on the same server

I am listing the steps to archive the goal

1, Step 1: Install the Tomcat files

2, Make directories for each instance

3. Editing the server.xml

Tomcat using 2 major port one for listening http request and another for listening shutdown port

in here i put tomcat installation on /usr/local/tomcat5.5.9 folder

now I am going […]

How to monitor SSH Login activities and FTP logins over the web

Basic Idea behind scripts is,

We can able to monitor the activities of ssh logins,any hacking attempt and ftp logins. The steps are involved in this scripts is

1, first check the log log files for whether there is any entry is present

2, If any lines present in the logs regarding the login activities, […]

Memory inspection

A, Cheking memory size and avialbale ususge

$free -m

B, What is the maximum RAM supported by the system?


dmidecode -t 16

C, How many memory slots are available for expansion? $ dmidecode -t 17 | grep Size

D, Detailed memory information

$ cat /proc/meminfo