Cloud Network

Networking | Support | Tricks | Troubleshoot | Tips

Buymecoffe

Buy Me A Coffee

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........

Tuesday, May 19, 2015

How to Install Visual studio code in Ubuntu 15.04 - 64Bit

May 19, 2015
How to Install Visual studio code in Ubuntu 15.04 - 64Bit




Hello Everyone,



In this tutorial,



How to Install Visual studio code in Ubuntu 15.04



First Adding PPA

Step1:- sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make



Second Installs Tool

Step2:- sudo apt-get update && sudo apt-get install ubuntu-make



Third Install Visual Studio Code itself

Step2:- umake web visual-studio-code



Website :- https://code.visualstudio.com/





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........





Comment Policy We’re eager to see your comment. However, Please Keep in mind that all comments are moderated manually by our human reviewers according to our comment policy, and all the links are nofollow. Using Keywords in the name field area is forbidden. Let’s enjoy a personal and evocative conversation.

How to Install WordPress 4.2.2 using (Apache, PhpMyAdmin & MySql) in Linux Mint and Ubuntu 15.04

May 19, 2015
How to Install WordPress 4.2.2 using (Apache, PhpMyAdmin & MySql) in Linux Mint and Ubuntu 15.04




Hello Everyone,



In this Tutorial,



Let us Install WordPress 4.2.2 on Ubuntu 15.04 - 64bit



Server Basic Configurations

Domain name :- localhost  wordpress.lan



Step1 :- sudo nano /etc/hosts

example :- 127.0.0.1     localhost  wordpress.lan



Step2 :- ping wordpress.lan



LAMP  Installation

Step3 :- sudo apt-get install apache2 apache2-utils php5 php5-mysql

              mysql-client mysql-server



Install PhpMyAdmin Web Interface

Step4 :- sudo  apt-get install phpmyadmin

Step5 :- sudo  cp  /etc/phpmyadmin/apache.conf /etc/apache2/conf-available/

Step6 :- sudo  mv  /etc/apache2/conf-available/apache.conf /etc/apache2/conf-available/phpmyadmin.conf

Step7 :- ls  /etc/apache2/conf-available/

Step8 :- sudo  a2enconf  phpmyadmin



Create a Virtual Host on Apache web server

Step9 :- sudo  nano  /etc/apache2/sites-available/wordpress.conf

VirtualHost *:80

        ServerName           wordpress.lan

        ServerAdmin         webmaster@localhost

        DocumentRoot      /var/www/html

        ErrorLog ${APACHE_LOG_DIR}/error.log

        CustomLog ${APACHE_LOG_DIR}/access.log combined

/VirtualHost



Activate the new virtual host

Step10 :- sudo  a2ensite  wordpress.conf

Step11 :- sudo  service   apache2   restart



To avoid that future Apache error concerning Server Name FQDN

Step12 :- Sudo  nano /etc/apache2/apache2.conf

Step13 :- ServerName wordpress.lan

Step14 :- sudo service apache2 restart



 Create WordPress Database

Step15 :- mysql  -u   root   -p

Step16 :- sudo dpkg-reconfigure mysql-server-5.6

Step17 :- sudo mysql_secure_installation



Using PhpMyAdmin

Point your browser to your server IP or virtual domain name and login to PhpMyAdmin using root account



Using Command Line

Step18 :- mysql -u root -p

mysql CREATE DATABASE IF NOT EXISTS wordpress;

mysql CREATE USER cloud@localhost IDENTIFIED BY "your_password_here";

mysql GRANT ALL PRIVILEGES ON wordpress.* TO cloud@localhost;

mysql FLUSH PRIVILEGES;

mysql  quit



Download and Install WordPress

Step19 :- wget http://wordpress.org/latest.tar.gz

Step20 :- sudo tar xvzf latest.tar.gz

Step21 :- sudo cp -r wordpress/*  /var/www/html

Step22 :- sudo service apache2 restart

Step23 :- sudo service mysql restart

Step24 :- sudo chown -R www-data  /var/www/html

Step25 :- sudo chmod -R 755  /var/www/html



http://wordpress.lan/index.php

http://your_server_IP/index.php



Step26 :- sudo chown -R root  /var/www/html



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........



Comment Policy We’re eager to see your comment. However, Please Keep in mind that all comments are moderated manually by our human reviewers according to our comment policy, and all the links are nofollow. Using Keywords in the name field area is forbidden. Let’s enjoy a personal and evocative conversation.

Tuesday, May 12, 2015

How to Install ‘PhpVirtualBox’ to Manage Virtual Machines via Web Browser...

May 12, 2015
How to Install ‘PhpVirtualBox’ to Manage Virtual Machines via Web Browser...


 

 Hello Everyone,

In this tutorial,

How to Install VirtualBox and PhpVirtualBox in Ubuntu 15.04

1. updated system package database and install prerequisites such as Apache, PHP and other needed dependencies.
Step1 :-  sudo apt-get update && apt-get upgrade && apt-get autoremove
Step2 :-  sudo apt-get install apache2
Step3 :-  sudo apt-get install php5 php5-common php-soap php5-gd
Step4 :-  sudo apt-get install build-essential dkms unzip wget
Step5 :-  vi /etc/apt/sources.list
               deb http://download.virtualbox.org/virtualbox/debian raring contrib

2. Download and Add Oracle public key
Step7 :- wget www.virtualbox.org/download/oracle_vbox.asc
Step6 :- apt-key add oracle_vbox.asc

4. restart the Apache service
Step10 :- /etc/init.d/apache2 restart  
Step11 :- systemctl restart apache2.service 

5.  Point your browser to your Private IP Address or your loopback address
Step12 :-
http://ip-address
OR
http://localhost

6. Now it’s time to install VirtualBox.
Step13 :- apt-get install virtualbox-4.3

7. Download and install PhpVirtualBox.
Step14 :- wget http://sourceforge.net/projects/phpvirtualbox/files/phpvirtualbox-4.3-3.zip
Step15 :- unzip phpvirtualbox-4.3-3.zip

8. Next, move the extracted ‘phpvirtualbox-4.3-3‘ folder to the default root folder
Step16 :- mv phpvirtualbox-4.3-3     /var/www/html

9. Rename the directory ‘phpvirtualbox-4.3-3‘ to phpvb or anything
Step17 :- mv /var/www/html/phpvb/config.php-example /var/www/html/phpvb/config.php

9. Create a new user account (or add an existing user) and add it to vboxusers group and change phpvb directory ownership to avi user.
Step18 :- useradd avi
Step19 :- passwd avi
Step20 :- usermod -aG vboxusers avi
Step21 :- chown -R avi:avi /var/www/html/phpvb

10. Now open ‘config.php‘ file and add newly created user and password.
Step22 :- vi / var/www/html/phpvb/config.php

11. Now Download and install virtualbox extension
Step23 :- wget http://download.virtualbox.org/virtualbox/4.3.26/Oracle_VM_VirtualBox_Extension_Pack-4.3.26-98988.vbox-extpack

Step24 :- VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.3.12-93733.vbox-extpack

12. Now start Virtualbox-websrv as the user ‘avi‘ defined in config file.
Step25 :- vboxwebsrv -H 127.0.0.1

Step26 :- /etc/init.d/virtualbox start
# /etc/init.d/vboxdrv  start
# /etc/init.d/vboxweb-service start

Now point your browser to ip_where_phpvirtualbox_is_installed/phpvb or 127.0.0.1/phpvb, if it was installed on the native server.


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........




Comment Policy We’re eager to see your comment. However, Please Keep in mind that all comments are moderated manually by our human reviewers according to our comment policy, and all the links are nofollow. Using Keywords in the name field area is forbidden. Let’s enjoy a personal and evocative conversation.

Saturday, May 2, 2015

How to Upgrade Ubuntu Desktop 14.04/14.10 to Ubuntu 15.04 (Vivid Vervet)...

May 02, 2015
How to Upgrade Ubuntu Desktop 14.04/14.10 to Ubuntu 15.04 (Vivid Vervet)...
 

Hello Everyone,

In this tutorial,

Let Us Install          in                 - 64Bit

You Can also Install in CentOS 7, Oracle Linux, Cloud Linux, Redhat Linux 6,7.




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........