Steps for Java Installation on Debian :-
Open terminal-
# java –version Check java version if java is not installed in your machine error will be shown as-
The program 'java' can be found in the following packages: * gij-4.3 * java-gcj-compat-headless * openjdk-6-jre-headless * cacao * gij-4.2 * jamvm * kaffe Edit /etc/apt/sources.list
deb http://ftp2.de.debian.org/debian squeeze main non-free Update-# apt-get update Check for available java package-# apt-cache search sun-java6 Install java-
# apt-get install sun-java6-jdk MySQL installation on Debian Sqeeze :-
Open source list-
/etc/apt/sources.list
Add into source list-
# Main dotdeb repository
deb http://packages.dotdeb.org squeeze all
deb-src http://packages.dotdeb.org squeeze all
Go to terminal-
# Install the GnuPG key
cat dotdeb.gpg | sudo apt-key add -
apt-get update
Installing MySql-5.5
apt-get install mysql-5.5 mysql-server-5.5
mysqladmin -u root password yourpassword
"yourpassword what you want to set password for mysql
like root, admin, abc, 123 etc...."
mysql -u root -p
Press enter after this command.
Enter password:
Enter your password here.
Now your mysql ready to use.
Tomcat Installation on Debian Squeeze:-
Open source list-
/etc/apt/sources.list
Add into source list-#tomcatdeb http://rodolphe.quiedeville.org/debian/ squeeze-backports main
Go to terminal-
Update apt keyring-gpg --export $(gpg --keyserver hkp://pgp.mit.edu --recv-keys 72F1F20D) | apt-key add -apt-get updateapt-get install tomcat7 tomcat7-admin Update the file-
/etc/tomcat7/tomcat-users.xml <role rolename="manager-gui"/><user username="tomcat" password="tomcat" roles="manager-gui"/> Now you tomcat is ready to use. Connect to your tomcat server-
http://<server name>:8080/ Phpmyadmin Installation steps-
Open-
/etc/apt/sources.listAdd into source list-
Open terminal-
apt-get install -t squeeze-php54 php5 php5-mysqlapt-get install -t squeeze-php54 php5 php5-mysql php5-imagick php5-json/etc/init.d/apache2 restartOpen browser-http://localhost/phpmyadmin/Now your phpmyadmin is ready to use.Netbeans Inatallation steps-
Download netbeans from-
http://www.oracle.com/technetwork/java/javase/downloads/jdk-7-netbeans-download-432126.htmlYour downloaded file such as-
netbeans-7.4-linux.sh
Open terminal-chmod +x jdk-7u25-nb-7_3_1-linux-i586.sh
Start netbeans installer-./jdk-7u25-nb-7_3_1-linux-i586.sh
Follow all steps of installer one by one and finish.
Now your netbeans is ready to use.
netbeans-7.4-linux.sh
Open terminal-chmod +x jdk-7u25-nb-7_3_1-linux-i586.sh
Start netbeans installer-./jdk-7u25-nb-7_3_1-linux-i586.sh
Follow all steps of installer one by one and finish.
Now your netbeans is ready to use.
Some useful commands for Linux-
Commands for retrieving and sending data into server or local IP using SCP-
Send data to server-
#scp file.txt user@domain.com:/home/dir1/subdir1/
Retrive data from server-
#scp user@domain.com:/home/user/file.txt file.txt
No comments:
Post a Comment