Cloud Network

Networking | Support | Tricks | Troubleshoot | Tips

Buymecoffe

Buy Me A Coffee

Monday, June 29, 2015

How to Create Own Online Shopping Store Using “OpenCart” in Ubuntu 15.04 Desktop

June 29, 2015
How to Create Own Online Shopping Store Using “OpenCart” in Ubuntu 15.04 Desktop


Hello Everyone,

In this tutorial,

Let Us Install Own Online Shopping Store Using “OpenCart”  on Ubuntu 15.04 – 64Bit

You can also install in Debain 8, Linux Mint 17.

OpenCart Web Panel Demo

Store Front – http://demo.opencart.com/
Admin Login – http://demo.opencart.com/admin/

Admin Login
Username: demo
Password:  demo

Installing Apache, PHP and MariaDB

Install Apache
Step1 :- apt-get install apache2

Install PHP and Extensions
Step2 :- apt-get install php5 libapache2-mod-php5 php5-curl php5-mcrypt

Install MariaDB
Step3 :- apt-get install mariadb-server mariadb-client

Start Apache and MariaDB services
Step4 :- /etc/init.d/apache2 restart
Step5 :- /etc/init.d/mysql restart

Downloading and Setting OpenCart
http://www.opencart.com/index.php?route=download/download/

Alternatively Method, Step6 :-  wget https://github.com/opencart/opencart/archive/master.zip

Step7 :- cp master.zip   /var/www/html/
Step8 :- cd /var/www/html
Step8 :- apt-get install unzip
Step9 :- unzip master.zip
Step10 :- cd opencart-master
Step11 :- mv -v upload/* ../opencart-master/
Step12 :- cp  /var/www/html/opencart-master/admin/config-dist.php  /var/www/html/opencart-master/admin/config.php
Step13 :- cp  /var/www/html/opencart-master/config-dist.php  /var/www/html/opencart-master/config.php
Step14 :- chmod 777 -R /var/www/html/opencart-master

Creating OpenCart Database
Step15 :- mysql -u root –p
CREATE DATABASE opencartdb;
CREATE USER 'opencartuser'@'localhost' IDENTIFIED BY 'mypassword';
GRANT ALL ON opencartdb.* TO 'opencartuser'@'localhost' IDENTIFIED by 'mypassword';

OpenCart Web Installation
http://<web server IP address>

Note :- Use Caution While Removing Install Directory Everything it will remove it..
To Remove install directory, you may like to run the below command.
Step16 :- rm -rf /var/www/html/opencart-master/install


Access OpenCart Web and Admin
Step17 :- http://<web server IP address>/opencart-master/


In order to login to Opencart Admin Panel, point your browser to
Step18 :- http://<web server IP address>/opencart-master/admin



-------------------------------------------------------------------------------
For Your Information Only

I am Willing to Make a FREE or CHARGE Website, if YOU WANT ME TO MAKE A VIDEOS ON Different Technologies I WILL DO IT..

Share My Video, Like it, Watch Others Videos and Have any Quries Email me (itcloudnet@gmail.com)
----------------------------------------------------------------------------------


NOTE :- For Any Clarification Please Comment Below

Comment,
Like and
Share us and help us to spread.

####--------------------------­------------------------------­------------------------------­####
Subscribe :- http://www.youtube.com/user/itcloudnet?sub_confirmation=1
Website :- http://www.cloudnetwork.in
Facebook :- http://facebook.com/itcloudnetwork
Twitter :- http://twitter.com/itcloudnet
Pinterset :- http://pinterset.com/itcloudnet
LinkedIn :- http://in.linkedin.com/pub/itcloudnet
Google+ :- https://plus.google.com/u/0/107923552480070716949/posts
Skype Id :- cloud.network1
E-Mail Id :- itcloudnet@gmail.com
####--------------------------­------------------------------­------------------------------­--####

Thanking You
Hope U Like it........

Thursday, June 25, 2015

How to Install Redis-Server 3.0.2 in Ubuntu 15.04 using Source or apt or PHP Extension and Removing

June 25, 2015
How to Install Redis-Server 3.0.2 in Ubuntu 15.04 using Source or apt or PHP Extension and Removing


Hello Everyone,

In this tutorial, 

Let Us Install and Use Redis & Redis-Server 3.0.2 on Ubuntu 15.04 – 64Bit

You can also install in Debain 8, Linux Mint 17.

Download Redis
http://redis.io/download

Redis Installation by “apt” Repository -

Write the following code in it.
Step1 :- sudo nano /etc/apt/sources.list

deb http://packages.dotdeb.org squeeze all
deb-src http://packages.dotdeb.org squeeze all

Step2 :- wget http://www.dotdeb.org/dotdeb.gpg
               cat dotdeb.gpg | sudo apt-key add -

Step3 :- sudo add-apt-repository ppa:chris-lea/redis-server

Step4 :- sudo apt-get update

Step5 :- sudo apt-get install redis-server

Redis Installation using Source
Download, extract and compile Redis with:
Step6 :-    wget http://download.redis.io/redis-stable.tar.gz
        Or    wget http://download.redis.io/releases/redis-3.0.2.tar.gz
Step7 :-    tar  xzf  redis-3.0.2.tar.gz   Or   tar  xvzf  redis-stable.tar.gz                                           
Step8 :-    cd redis-3.0.2  Or   cd redis-stable
Step9 :-    make
Step9 :-    sudo apt-get install tcl8.5
Step10 :-  make test
Step11 :-  sudo make install

To access the script move into the utils directory
Step12 :-  cd utils

Install script
Step13 :-  sudo ./install_server.sh

You can start and stop redis with these commands
Step14 :- sudo service redis_6379 start 
                sudo service redis_6379 stop

The binaries that are now compiled are available in the src directory:
Step15 :-  src/redis-server

Check if Redis is working
Step16 :- redis-cli   Or    redis-cli ping   Or       src/redis-cli
Step17 :- set foo bar
Step18 :- get foo

Output :- redis 127.0.0.1:6379> 

To set Redis to automatically start at boot, run
Step19 :- sudo  update-rc.d   redis_6379 defaults


Install Redis as PHP Extension
You can start and stop redis with these commands
Step20 :- sudo apt-get -y install php5-redis
             
Install Redis extension of PHP using Source
Step21 :-  sudo apt-get -y install php5-dev

Download phpredis from git repository
Step22 :- sudo apt-get -y install git
Step23 :- git clone git://github.com/nicolasff/phpredis.git

Compile and install phpRedis by running
Step24 :-   cd phpredis
Step25 :-   phpize
Step26 :-   ./configure
Step27 :-    make
Step28 :-    sudo -s make install

Next we need to add extension with php configuration so that php can enable this
Step29 :-  sudo -s
Step30 :- echo "extension=redis.so">/etc/php5/conf.d/redis.ini
             
To check Redis is working with php 
Step31 :- vi  phpredis.php

Write the following code in the phpredis.php 
 <?php 
redis=new Redis() or die("Can not load Redis.");
$redis->connect('127.0.0.1'); 
$redis->set('Redis test_key', 1);

Run the phpredis.php file either using your browser or command line
Step32 :-  php phpredis.php

Removing Redis 3.0.2
Step33 :- sudo apt-get remove redis-server
                           Or
Step34 :- sudo apt-get purge--auto-remove redis-server

-------------------------------------------------------------------------------
For Your Information Only

I am Willing to Make a FREE or CHARGE Website, if YOU WANT ME TO MAKE A VIDEOS ON Different Technologies I WILL DO IT..

Share My Video, Like it, Watch Others Videos and Have any Quries Email me (itcloudnet@gmail.com)
----------------------------------------------------------------------------------


NOTE :- For Any Clarification Please Comment Below

Comment, 
Like and 
Share us and help us to spread.

####--------------------------­------------------------------­------------------------------­####
Subscribe :- http://www.youtube.com/user/itcloudnet?sub_confirmation=1
Website :- http://www.cloudnetwork.in
Facebook :- http://facebook.com/itcloudnetwork
Twitter :- http://twitter.com/itcloudnet
Pinterset :- http://pinterset.com/itcloudnet
LinkedIn :- http://in.linkedin.com/pub/itcloudnet
Google+ :- https://plus.google.com/u/0/107923552480070716949/posts
Skype Id :- cloud.network1
E-Mail Id :- itcloudnet@gmail.com
####--------------------------­------------------------------­------------------------------­--####

Thanking You
Hope U Like it........

Tuesday, June 23, 2015

How to Install and Configure Apache Tomcat 8.0.23 in Ubuntu Server 15.04, CentOS 7, & Fedora 22,21

June 23, 2015
How to Install and Configure Apache Tomcat 8.0.23 in Ubuntu Server 15.04, CentOS 7, & Fedora 22,21


Hello Everyone,

In this tutorial,

Let Us Install and Configure Apache Tomcat 8.0.23 on Ubuntu Server 15.04 – 64Bit

You can also install in Debian 8, Oracle Linux, Linux Mint 17 , RHEL Linux,  CentOS,  Fedora.

Download Apache Tomcat
http://tomcat.apache.org/

Install the Oracle Java 8 JDK(JRE/JDK)
Type 'su' and the update "sudo apt-get update" then below steps follow :-

Step1 :- sudo apt-get install openjdk-8-jre
Step2 :- sudo apt-get install openjdk-8-jdk
Step3 :- java  -version

Download Java JDK 8 From Oracle Website
Website :- http://www.oracle.com/technetwork/java/javase/downloads/index.html

Watch My Video on How to install Oracle Java JDK 8
Watch Video :- https://www.youtube.com/watch?v=bd5BodEF5To&list=PLmMAzSMza_1e-bD-_wtYeP9mT52-XGMRj&index=55

Download and Install Apache Tomcat 8
Website :- http://tomcat.apache.org/download-80.cgi
Latest Version :- Tomcat 8 (i.e. 8.0.23)

Creating Tomcat New Folder in /opt
Step 1 :- sudo  mkdir /opt/tomcat/    Or  mkdir /opt/tomcat/  &&  cd   /opt/tomcat
Step 2 :- cd  /opt/tomcat

Download Apache Tomcat 8
Step 3 :-  sudo wget http://www.interior-dsgn.com/apache/tomcat/tomcat-8/v8.0.23/bin/apache-tomcat-8.0.23.zip

Download MD5 Checksum
Step 4 :- sudo wget https://www.apache.org/dist/tomcat/tomcat-8/v8.0.23/bin/apache-tomcat-8.0.23.zip.md5


Verify the MD5 Checksum against the key
Step 5 :-  cat apache-tomcat-8.0.23.zip.md5
Step 6 :-  md5sum apache-tomcat-8.0.23.zip


Extract the Tomcat zip file and cd to ‘apache-tomcat-8.0.23  /bin/’   directory.
Step 7 :-  sudo unzip apache-tomcat-8.0.23.zip
Step 8 :-  cd apache-tomcat-8.0.23/bin

Make Linux scripts executable that is under ‘apache-tomcat-8.0.23/bin/’
Step 9 :- sudo chmod 700 /opt/tomcat/apache-tomcat-8.0.23/bin/*.sh
Create symbolic link of startup script as
Step 10 :- sudo ln -s /opt/tomcat/apache-tomcat-8.0.23/bin/startup.sh    /usr/bin/tomcatup
Create Symbolic link for shutdown script as
Step 11 :- sudo ln -s /opt/tomcat/apache-tomcat-8.0.23/bin/shutdown.sh   /usr/bin/tomcatdown
Start tomcat
Step 12 :-  tomcatup

Type in Browser
Step 13 :- http://127.0.0.1:8080

Changing Apache Tomcat Port
First shutdown tomcat server
Step 14 :-  tomcatdown

Open Server.xml file to Change port 8080 to 208 then save and exit.
Step 15 :- nano /opt/tomcat/apache-tomcat-8.0.23/conf/server.xml
Sample Output
 <Connector port=“208" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" />

Restart tomcat service again and point your browser to http://127.0.0.1:208
Step 16 :- Tomcatup


Configuring Apache Tomcat 8
By default the Tomcat page is accessed by you only due its security implementation so that unauthorized users don’t have access to it.

To access admin and other sections like Server Status, Manager App and Host Manager. You need to add user accounts for admins and managers.

To add a Tomcat user edit file ‘/opt/tomcat/apache-tomcat-8.0.23/conf/tomcat-users.xml‘, in your favorite editor.

Step 17 :- sudo nano  /opt/tomcat/apache-tomcat-8.0.23/conf/tomcat-users.xml
Add the following lines just before ‘</tomcat-users>’
<role rolename="admin-gui"/>
<user username="admin" password=“cloud" roles="admin-gui"/>

<role rolename="manager-gui"/>
<user username="avi" password=“cloud123" roles="manager-gui"/>


Again, you need to restart Tomcat to take new changes into effect.
Step 18 :- tomcatdown
Step 19 :- tomcatup

After restarting Tomcat, make sure to access the admin other sections like Server Status, etc at http://127.0.0.1:208.

It you will be asked to Enter User_name and Password, you just created above, after login you will see something like the below interface


-------------------------------------------------------------------------------
For Your Information Only

I am Willing to Make a FREE or CHARGE Website, if YOU WANT ME TO MAKE A VIDEOS ON Different Technologies I WILL DO IT..

Share My Video, Like it, Watch Others Videos and Have any Quries Email me (itcloudnet@gmail.com)
----------------------------------------------------------------------------------


NOTE :- For Any Clarification Please Comment Below

Comment,
Like and
Share us and help us to spread.

####--------------------------­------------------------------­------------------------------­####
Subscribe :- http://www.youtube.com/user/itcloudnet?sub_confirmation=1
Website :- http://www.cloudnetwork.in
Facebook :- http://facebook.com/itcloudnetwork
Twitter :- http://twitter.com/itcloudnet
Pinterset :- http://pinterset.com/itcloudnet
LinkedIn :- http://in.linkedin.com/pub/itcloudnet
Google+ :- https://plus.google.com/u/0/107923552480070716949/posts
Skype Id :- cloud.network1
E-Mail Id :- itcloudnet@gmail.com
####--------------------------­------------------------------­------------------------------­--####

Thanking You
Hope U Like it........

Sunday, June 21, 2015

How to Install and Manage Sonatype Nexus 2.11.3 on Ubuntu Desktop 15.04, 14.04

June 21, 2015
How to Install and Manage Sonatype Nexus 2.11.3 on Ubuntu Desktop 15.04, 14.04


Hello Everyone,

In this tutorial,

Let us Install and Manage Sonatype  Nexus 3 on Ubuntu Desktop 15.04 – 64Bit 

You can also install in Debain 8, Linux Mint 17.2


Website :- http://www.sonatype.com/

Requirment :- http://www.sonatype.com/nexus/try-compare-buy/nexus-requirements


Install Oracle JDK Java (JRE/JDK)

Download Java from Website :- http://www.oracle.com/technetwork/java/javase/downloads/index.html

Watch Video How to Install JDK Java :- https://goo.gl/CYnMQj

Type 'su' and then type "sudo apt-get update" then follow below steps :-

Step1 :- sudo apt-get install openjdk-8-jre
Step2 :- sudo apt-get install -y openjdk-8-jdk
Step3 :- java  -version 

Repository Management with Nexus

Downloading Nexus OSS Website :- http://www.sonatype.org/nexus/go

Step4 :- cd /usr/local

Step5 :- sudo mkdir nexus

Step6 :- sudo wget https://sonatype-download.global.ssl.fastly.net/nexus/oss/nexus-2.11.3-01-bundle.tar.gz

Step7 :- sudo tar  -xvzf  nexus-2.11.3-01-bundle.tar.gz


For Nexus Pro the equivalent commands would be
Step8 :- unzip nexus-professional-2.11.3-01-bundle.zip 
Step9 :- tar xvzf nexus-professional-2.11.3-01-bundle.tar.gz

Note :- If you are installing Nexus on a server, you might want to use a directory other than your home directory. 
On a Unix machine, this book assumes that Nexus is installed in/usr/local/nexus-2.11.3-01 with a symbolic link/usr/local/nexus to the nexus directory.

Step10 :- sudo cp nexus-2.11.3-01-bundle.tar.gz  /usr/local
Step11 :- cd /usr/local
Step12 :- sudo tar xvzf nexus-2.11.3-01-bundle.tar.gz
Step13 :- sudo ln -s nexus-2.11.3-01/  nexus


Set up some variable (using the global profile).
Step14 :- sudo gedit /etc/profile

And add these lines
export NEXUS_PLATFORM=linux-x86-64
export NEXUS_HOME=/usr/local/nexus-2.11.3-01
export NEXUS_EXEC=$NEXUS_HOME/usr/local/nexus-2.11.3-01/bin/$NEXUS_PLATFORM
export PATH=$NEXUS_EXEC:$PATH

Modify the file that launches Nexus
Step15 :- sudo gedit $NEXUS_EXEC/nexus
       
And modify these lines
# Application
APP_NAME="nexus"
APP_LONG_NAME="Sonatype Nexus OSS“
# Location of the pid file.
PIDDIR="/var/run”

Step16 :- sudo cp $NEXUS_EXEC/nexus /etc/init.d/nexus
Step17 :- sudo chmod 755 /etc/init.d/nexus
Step18 :- sudo update-rc.d nexus defaults

Step19 :- sudo gedit /etc/init.d/nexus
Add the lines COMMAND_LINE="/usr/local/nexus-2.11.3-01/bin/jsw/linux-x86-64/nexus start"
eval $COMMAND_LINE

Step20 :- sudo chmod 755  /etc/init.d/nexus
Step21 :- sudo update-rc.d  nexus defaults


Upgrading Nexus
To upgrade Nexus, unpack the Nexus archive in the directory that contains the existing Nexus installation. Once the archive is unpacked, the new Nexus application directory should be a sibling to your existing sonatype-work/ directory.

Running Nexus
When you start Nexus, you are starting a web server on the default port 0.0.0.0:8081. Nexus runs within a servlet container called Eclipse Jetty, and it is started with a native service wrapper called the Tanuki Java Service Wrapper. 

To start Nexus on a Unix-like platform like Linux, Mac OS X or Solaris use
cd /usr/local/nexus-2.11.3-01/bin
./bin/nexus console
./bin/nexus start
tail -f logs/wrapper.log

To use Nexus, fire up a web browser and type in the URL 
http://localhost:8081/nexus.

The default administrator username and password combination is admin and admin123.


*********************************************************************************
Please Bye Web Hosting from any site HostGator, GoDaddy and Bluehost, I will get Small %. Just Click Below Link to Redirect to Website.

PLEASE Click Below Link to Redirect to HostGator Web Hosting….
http://goo.gl/znPKM8

PLEASE Click Below Link to Redirect to Bluehost Web Hosting…
http://goo.gl/tGawjL

--------------------------------------------------------------------------------------------------------------
For Your Information Only

I am Willing to Make a FREE or CHARGE Website, if YOU WANT ME TO MAKE A VIDEOS ON Different Technologies/field I WILL DO IT..

Watch Others Videos and Have any Quries Email to me on (itcloudnet@gmail.com)
----------------------------------------------------------------------------------------------------------------

NOTE :- For Any Clarification Please Comment Below

Comment, 
Like and 
Share us and help us to spread.

####--------------------------­------------------------------­------------------------------­####

Subscribe to Cloud Network :- http://goo.gl/LjKGzc

Website :- http://www.cloudnetwork.in

Like us on Facebook :- http://facebook.com/itcloudnetwork

Follow us on Twitter :- http://twitter.com/itcloudnet

Circle us on Google+ :- https://goo.gl/StVdHb

Pin us on Pinterset :- http://pinterset.com/itcloudnet

Add us on LinkedIn :- http://in.linkedin.com/pub/itcloudnet

Skype Id :- cloud.network1

E-Mail Id :- itcloudnet@gmail.com

####--------------------------­------------------------------­------------------------------­--####

Thanking You
Hope U Like it........

Saturday, June 20, 2015

How to Install OpenCart in Redhat Linux 7, CentOS Server 7 & Fedora 22, 21 - 64/32-Bit

June 20, 2015
How to Install OpenCart in Redhat Linux 7, CentOS Server 7 & Fedora 22, 21 - 64/32-Bit

Hello Everyone,

In this tutorial,

Let Us Install Own Online Shopping Store Using “OpenCart” in CentOS  Desktop

You Can also Install in Redhat Linux, Fedora Server

OpenCart Web Panel Demo

Store Front – http://demo.opencart.com/
Admin Login – http://demo.opencart.com/admin/

Admin Login
Username: demo
Password:  demo

Installing Apache, PHP and MariaDB

Install Apache
Step1 :- yum install httpd

Install PHP and Extensions
Step2 :- yum install php php-mysql php5-curl php5-mcrypt php-pecl-zip php-gd

Install MariaDB
Step3 :- yum install mariadb-server mariadb

Start Apache and MariaDB services
Step4 :- systemctl restart httpd.service
Step5 :- systemctl restart mariadb.service

Downloading and Setting OpenCart
Website :- http://www.opencart.com/index.php?route=download/download/

Alternatively, Step6 :- wget  https://github.com/opencart/opencart/archive/master.zip

Step7 :- cp master.zip   /var/www/html/
Step8 :- cd /var/www/html
Step8 :- apt-get install unzip
Step9 :- unzip master.zip
Step10 :- cd opencart-master
Step11 :- mv -v upload/* ../opencart-master/
Step12 :- cp  /var/www/html/opencart-master/admin/config-dist.php  /var/www/html/opencart-master/admin/config.php
Step13 :- cp  /var/www/html/opencart-master/config-dist.php  /var/www/html/opencart-master/config.php
Step14 :- chmod 777 -R /var/www/html/opencart-master

Creating OpenCart Database

Step15 :- mysql -u root -p
CREATE DATABASE opencartdb;
CREATE USER 'opencartuser'@'localhost' IDENTIFIED BY 'mypassword';
GRANT ALL PRIVILEGES ON opencartdb.*  TO  'opencartuser'@'localhost‘;
FLUSH PRIVILEGES;


OpenCart Web Installation

http://<web server IP address>

To Remove install directory, you may like to run the below command.
Step16 :- rm -rf  /var/www/html/opencart-master/install


Access OpenCart Web and Admin
Step17 :- http://<web server IP address>/opencart-master/


In order to login to Opencart Admin Panel, point your browser to
Step18 :- http://<web server IP address>/opencart-master/admin


Error:-
Warning: mCrypt extension needs to be loaded for OpenCart to work!”

yum install php-mcrypt
yum update
systemctl restart httpd.service

NOTE :- For Any Clarification Please Comment Below

Comment,
Like and
Share us and help us to spread.


####--------------------------­------------------------------­------------------------------­####
Subscribe :- http://www.youtube.com/user...
Website :- http://www.cloudnetwork.in
Facebook :- http://facebook.com/itCloud...
Twitter :- http://twitter.com/itcloudnet
Pinterset :- http://pinterset.com/itclou...
LinkedIn :- http://in.linkedin.com/pub/...
Google+ :- https://plus.google.com/u/0...
Skype Id :- cloud.network1
E-Mail Id :- itcloudnet@gmail.com
####--------------------------­------------------------------­------------------------------­--####

Thanking You
Hope U Like it........

Wednesday, June 17, 2015

How To Install Apache Cassandra 2.1.5 & Run a Single or Multiple-Node Cluster On Ubuntu Server 15.04

June 17, 2015
How To Install Apache Cassandra 2.1.5 & Run a Single or Multiple-Node Cluster On Ubuntu Server 15.04



Hello Everyone,

In this tutorial,

Let Us Install Apache Cassandra and Run a Single-Node & Multiple-Node Cluster On Ubuntu Server 15.04 - 64Bit

You Can also Install in Ubuntu 14.04, 14.10 & Linux mint 17, Debain 8, Xubuntu.

Apache Cassandra Website
Website :- http://cassandra.apache.org/download/


Download Oracle JDK
http://www.oracle.com/technetwork/java/javase/downloads/index.html

Watch this video on How to install Oracle JDK or JRE Version 7 or 8 in Ubuntu 15.04, 14.10, 14.04
https://www.youtube.com/watch?v=bd5BodEF5To&list=PLmMAzSMza_1e-bD-_wtYeP9mT52-XGMRj&index=55

Installating Oracle JDK Steps
Step1 :-  Download ----  jdk-8u31-linux-x64.tar.gz  ---- (64bit or 32bit)
Step2 :- chmod +x jdk-6u45-linux-x64.bin
Step3 :- sh jdk-6u45-linux-x64.bin
Step4 :- sudo mkdir  /usr/local/java
Step5 :- sudo mv    jdk1.8.0_31       /usr/local/java/
Step6 :- sudo nano /etc/profile
JAVA_HOME=/usr/local/java/jdk1.8.0_31
PATH=$PATH:$HOME/bin:$JAVA_HOME/bin JRE_HOME=/usr/local/java/jdk1.8.0_31 PATH=$PATH:$HOME/bin:$JRE_HOME/bin
export JAVA_HOME
export JRE_HOME
export PATH

Step7 :- java -version
javac –version
javaws -version


Step8 :- echo $JAVA_HOME

Step9 :- sudo update-alternatives --install "/usr/bin/java" "java"
"/usr/local/java/jdk1.8.0_31/bin/java" 1
Step10 :- sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/local/java/jdk1.8.0_31/bin/javac" 1
Step11 :- sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/local/java/jdk1.8.0_31/bin/javaws" 1
Step12 :- sudo update-alternatives --set java /usr/local/java/jdk1.8.0_31/bin/java
Step13 :- sudo update-alternatives --set javac /usr/local/java/jdk1.8.0_31/bin/javac
Step14 :- sudo update-alternatives --set javaws /usr/local/java/jdk1.8.0_31/bin/javaws


Installing Cassandra
Step17 :- cd ~/temp
Step18 :- wget http://www.us.apache.org/dist/cassandra/2.1.6/apache-cassandra-2.1.6-bin.tar.gz
Step19 :- tar -xvzf apache-cassandra-2.1.6-bin.tar.gz
Step20 :- mv apache-cassandra-2.1.6  ~/cassandra
Step21 :- sudo mkdir /var/lib/cassandra
Step22 :- sudo mkdir /var/log/cassandra
Step23 :- sudo chown -R $USER:$GROUP /var/lib/cassandra
Step24 :- sudo chown -R $USER:$GROUP /var/log/cassandra
Step25 :- export CASSANDRA_HOME=~/cassandra
Step26 :- export PATH=$PATH:$CASSANDRA_HOME/bin

Step27 :- sudo nano  ~/cassandra/conf/cassandra-env.sh
JVM_OPTS="$JVM_OPTS –Xss250k“
changing it to:
JVM_OPTS="$JVM_OPTS –Xss350k"


Running Cassandra
Step28 :- sudo sh ~/cassandra/bin/cassandra
Step29 :- sudo sh ~/cassandra/bin/cassandra-cli

Installing the JNA
Installing JNA can improve Cassandra memory usage
Step30 :- sudo apt-get install libjna-java
Step31 :- Download JNA 4.1.0 :- https://github.com/twall/jna

Create a symbolic link to the file
Step32 :- ln -s /usr/share/java/jna.jar <install_location>/lib

Check which version of Java is installed by running
Step33 :- java –version

Use the latest version of Java 7 or 8 on all nodes.


DataStax
Add the DataStax Community repository to the
Step34 :- sudo nano  /etc/apt/sources.list.d/cassandra.sources.list
Step35 :- deb http://debian.datastax.com/community stable main

Debian systems only:
In /etc/apt/sources.list, find the line that describes your source repository for Debian and add contrib non-free to the end of the line.
Step36 :- sudo nano /etc/apt/sources.list
deb http://some.debian.mirror/debian/  $distro main contrib non-free

Install the latest package.
Step37 :- sudo apt-get update
Step38 :- sudo apt-get install dsc12=1.2.10-1 cassandra=1.2.10

To stop the service and clear the initial gossip history
Step39 :- sudo service cassandra stop
Step40:- sudo rm -rf /var/lib/cassandra/data/system/*


Installing Dependencies
Logging into ROOT and Open Terminal
Step41 :-  sudo su
Step42 :- deb http://www.apache.org/dist/cassandra/debian 21x main
                deb-src http://www.apache.org/dist/cassandra/debian 21x main

Adding the PUBLIC_KEY
Step43 :- gpg --keyserver pgp.mit.edu --recv-keys F758CE318D77295D
                gpg --export --armor F758CE318D77295D | sudo apt-key add –
Step44 :- gpg --keyserver pgp.mit.edu --recv-keys 2B5C1B00
                gpg --export --armor 2B5C1B00 | sudo apt-key add -


NOTE :- For Any Clarification Please Below

Comment,
Like and
Share  us  and  help us to spread.

####--------------------------------------------------------------------------------------####
Subscribe :-   http://www.youtube.com/user/itcloudnet?sub_confirmation=1
Website    :-   http://www.cloudnetwork.in
Facebook :-   http://facebook.com/itCloudNetwork/
Twitter     :-   http://twitter.com/itcloudnet
Pinterset  :-   http://pinterset.com/itcloudnet
LinkedIn :-   http://in.linkedin.com/pub/itcloudnet
Google+   :-   https://plus.google.com/u/0/107923552480070716949/posts
Skype Id  :-   cloud.network1
E-Mail Id :-   itcloudnet@gmail.com
####------------------------------------------------------------------------------------####                      

Thanking You
Hope U Like it........

Monday, June 8, 2015

How to Install Fedora Workstation Live 22 With Full Screen Resolution - 64-bit

June 08, 2015
How to Install Fedora Workstation Live 22 With Full Screen Resolution - 64-bit


Hello Everyone,

In this tutorial,

Let Us Install Fedora Workstation Live 22 

You Can also Install in VMware Workstation 11 or Microsoft Hyper-V.

Minimum System Requirements
1. 1GHz Processor or Dual Core Processor.
2 512MB to 1GB of system memory (RAM).
3. 2GB to 10GB of Disk Space.
4. Graphics Card and Display capable of at least 1024x768.
5. Either a DVD drive or a USB port for the installer media.
6. Internet Access

Step1:- First Download Virtual box setup below is this link to download
https://www.virtualbox.org/...
Or
Another Link to Download Virtual Box
http://www.oracle.com/techn...

Select -- Virtual Box 4.3.X for Windows hosts 32 or 64 bit. 
(Where 'X' is the Latest Version)

Step2:- See My Video How to Install virtual box... Click Below link
http://youtu.be/__l_lhcwxwk

Step3:- Download ISO Image Fedora 22 Desktop .....Click Below link
https://getfedora.org/
size - 1.2GB.

For Full Screen Resolution..
Step4 :- sudo apt-get install virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11 or
Step5 :- sudo apt-get install virtualbox-guest-dkms
Restart the VM and enjoy screen-size.

Mount the Guest Additions by selecting Devices --- Insert Guest Additions CD image… (or you can press Host + D)
Step6 :- run the VBoxLinuxAdditions.run script within the newly mounted cd or sh VBoxLinuxAdditions.sh

How to Reset Root Password ---
https://www.youtube.com/wat...

NOTE :- For Any Clarification Please Below

Comment,
Like and
Share  us  and  help us to spread.

------------------------------­------------------------------­------------------------
Subscribe :- http://www.youtube.com/user...
Website :- http://www.cloudnetwork.in
Facebook :- http://facebook.com/itCloud...
Twitter :- http://twitter.com/itcloudnet
Pinterset :- http://pinterset.com/itclou...
LinkedIn :- http://in.linkedin.com/pub/...
Google+ :- https://plus.google.com/u/0...
Skype Id :- cloud.network1
E-Mail Id :- itcloudnet@gmail.com
------------------------------­------------------------------­-------------------

Thanking You
Hope U Like it........