Problem With Solutions

Something Different In Linux

Home » 2010 » October

WEB-INF directory structure

Posted by Rishikesh Vispute Categories: Tomcat

What is WEB-INF directory ? The WEB-INF directory is for your default Web application and is located under your home directory. You can also create other Web applications by creating subdirectories under your home directory and create a WEB-INF directory under it, or you can upload a war file in the home directory. The war  [ Read More ]

How to configure Google Apps in cpanel server ? OR How Configuring DNS CNAME and MX records for Google Apps in cpanel server ? Ans : Google Apps is a suite of Google applications that brings together essential services to help your business. This is a hosted service that lets businesses, schools, and institutions use  [ Read More ]

reset root password in Debian

Posted by Rishikesh Vispute Categories: How to

How to reset root password in single user mode in Debian ? Ans : At grub-boot loader screen. Select Recovery mode the version of the kernel that you wish to boot and type e for edit. Select the line that starts with kernel and type e to edit the line. Go to the end of  [ Read More ]

empty trash folder automatically

Posted by Rishikesh Vispute Categories: cpanel, Email problems, How to

How to disable delete emails from trash after 7 days ? Ans : Sometimes  Problems arise when clients E mail accounts run out of its quota, even tough the In-boxes kept empty, they somehow forget to clean the Trash boxes too. After checking it is found that, all the E mails were left in the  [ Read More ]

How to install phpmyadmin on linux

Posted by Rishikesh Vispute Categories: How to, Installation

How to install phpmyadmin on linux server ? Ans : phpMyAdmin is a free software tool written in PHP intended to handle the administration of MySQL over the World Wide Web. phpMyAdmin supports a wide range of operations with MySQL. The most frequently used operations are supported by the user interface (managing databases, tables, fields,  [ Read More ]

how to install APC

Posted by Rishikesh Vispute Categories: How to, PHP

How to install APC on Linux ? Ans: The Alternative PHP Cache (APC) is a free and open opcode cache for PHP. Its goal is to provide a free, open, and robust framework for caching and optimizing PHP intermediate code. Besides being a opcode cache it provides a user cache for storing application data. APC  [ Read More ]

It’s always a good practice & from the security point of view to get notified instantly through an email when someone logs into your server through SSH with root privileges. Open the file .bashrc for the root user. Vi /root/.bashrc enter the following code into echo ‘SSH Root Access (Your Server Name) on:’ `date` `who`  [ Read More ]

Make your shell colorful

Posted by Rishikesh Vispute Categories: Basic Linux, FUN, Shell Programming and Scripting

You can easily changed your black ssh screen to colorful screen by using following steps. 1) Login to the server via SSH as root 2) Edit the .bash_profile file found in the /root directory & paste the following line: vi  .bash_profile export PS1=”\[$(tput bold)$(tput setb 4)$(tput setaf 7)\]\u@\h:\w $ \[$(tput sgr0)\]” Save & quit the  [ Read More ]

reset ssh port through WHM

Posted by Rishikesh Vispute Categories: cpanel, Uncategorized

If you mess up with the SSH setting’s on your server and lock yourself out of ssh then you can reset the SSH configuration settings from WHM by following the below steps : Login to your WHM on a non secure port that is : 2086 for example : http://serverip:2086 And then browse the URL  [ Read More ]

Basic tomcat configuration

Posted by Rishikesh Vispute Categories: Tomcat

What is Tomcat? Tomcat is Java driven Web Application Server which Provides support for Java web applications. ie. JSP technologies. -WAR (Web Application aRchive) files – Has a self-contained HTTP server CATALINA_HOME /usr/local/jakarta/tomcat CATALINA_BASE /usr/local/jakarta/tomcat JAVA_HOME ( The path to the JDK ) JAVA_HOME=/usr/local/jdk Logs : /usr/local/jakarta/tomcat/logs/catalina.out tail -f /usr/local/jakarta/tomcat/logs/catalina.out | egrep domain.com By default,  [ Read More ]

install propel-gen

Posted by Rishikesh Vispute Categories: Installation, PHP

How to install propel-gen on Linux server ? Ans: Propel is an open-source Object-Relational Mapping (ORM) for PHP5. It allows you to access your database using a set of objects, providing a simple API for storing and retrieving data. Propel gives you, the web application developer, the tools to work with databases in the same  [ Read More ]

https to http redirection

Posted by Rishikesh Vispute Categories: Basic Linux, How to, htaccess

How to redirect domain from https://domain.com to http://domain.com ? Ans: If you tried all the possibilities with the .htaccess file and your domain is still not redirected from https to http then finally you can add following code in virtual host entry means in httpd.conf file. Search the 443 entry for a domain and add  [ Read More ]

Page optimized by WP Minify WordPress Plugin

Optimized by SEO Ultimate