2015 - Cloud Network

Networking | Support | Tricks | Troubleshoot | Tips

Buymecoffe

Buy Me A Coffee

Wednesday, November 11, 2015

How to Install Joomla 3.4.3 with LAMP (Apache, MySQL, PhpMyAdmin) on Fedora Server 23 & CentOS 7 - Part 1 & 2

November 11, 2015
How to Install Joomla 3.4.3 with LAMP (Apache, MySQL, PhpMyAdmin) on Fedora Server 23 & CentOS 7 - Part 1 & 2

Part - 2 Video

Hello Everyone,

In this tutorial,

Let us  Install Joomla 3.4.3 Using LAMP (Apache, MySQL, PhpMyAdmin) on Fedora 23, 22, 21.

Please follow below link to Install LAMP on Fedora 23,22,21 & CentOS 7
https://goo.gl/wv93Mr

Joomla Latest Version 3.4.3
Download Joomla Website :- http://www.joomla.org/

make sure you have root login credential.
Step 1 :- hostname
Step 2 :- ip addr show

Downloading Joomla 3.4.3
Step 3 :- wget http://joomlacode.org/gf/download/frsrelease/20086/162539/Joomla_3.4.3-Stable-Full_Package.tar.gz

Copy downloaded source files package and extract it under 
Apache DocumentRoot directory (i.e /var/www/html/)
Step 4 :- cp   Joomla_3.4.3-Stable-Full_Package.tar.gz   /var/www/html/
Step 5 :- cd   /var/www/html
Step 6 :- tar  -zxvf Joomla_3.4.3-Stable-Full_Package.tar.gz

Change the Ownership of Directory
Step 7 :- rm -rf  Joomla_3.4.3-Stable-Full_Package.tar.gz
Step 8 :- chown -R apache:apache   /var/www/html/
Step 9 :- ls -l 

Restart Apache web service. 
Step 10 :- systemctl restart httpd.service  or     service httpd restart

To make httpd service started automatically in next boot, use below command.
Step 11 :- systemctl enable httpd.service   or     chkconfig --level 35 httpd on

Verify your httpd is running and listening request on port 80.
Step 12 :- netstat -antp | grep httpd

Iptables (Firewall) Configuration
Please open port 80 on firewall or disable iptables
Step 14 :- firewall-cmd  --zone=public  --add-port=80/tcp  --permanent
Step 15 :- firewall-cmd  --reload


Create Joomla Database
You can set MySQL root password using following command or else skip if you already   
Step 17 :- mysqladmin -u root password ‘fedora'

Login with root credential in MySQL.
Step 18 :- mysql -u root -p

Create database called “joomla” in MySQL.
Step 19 :- mysql> create database joomla;

Grant privilege on joomla database for “joomla” user in MySQL.
Step 20 :- mysql> grant all on joomla.*  to joomla@'localhost' identified by ‘fedora';
Step 21 :- mysql> flush privileges;

Restart MySQL service and auto enable at system startup.
Step 22 :- systemctl restart mariadb.service  &&  systemctl enable mariadb.service
Step 23 :- service mysqld restart  &&  chkconfig --level 35 mysqld on

Open your browser and type 
http://192.168.0.124 or  http://192.168.0.124/installation
to configure Joomla step by step.

Database Configuration
Fill up the details like database name, username and password which was set earlier in Step 6 for MySQLsettings and click ‘Next‘.
FTP Configuration
Install Sample Data

Congratulation! Joomla ! Installation Completed.

Error :- https://goo.gl/lAFdCi
Remove installation directory :- rm -rf installation/

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


Wednesday, October 7, 2015

10 Useful Commands to Collect System and Hardware Information in Redhat Linux 7 & Ubuntu 15.04

October 07, 2015
10 Useful Commands to Collect System and Hardware Information in Redhat Linux 7 & Ubuntu 15.04

How to Install Bodhi Linux 3.1.0 in Virtual Box with Full Screen Resolutions

October 07, 2015
How to Install Bodhi Linux 3.1.0 in Virtual Box with Full Screen Resolutions




Hello Everyone,



In this tutorial,



Let Us Install Bodhi Linux 3.1 on Virtual Box



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



Minimum System Requirements

1. 300MHz Processor or Dual Core Processor.

2  128MB of system memory (RAM).

3. 5GB of Disk Space.

4. Graphics Card and Display capable of at least 1024x768.

5. Either a CD/DVD drive or a USB port for the installer media.

6. Internet Access.

7. Platform:- i386 and AMD64



Step1:- First Download Virtual box setup below is this link to download

https://www.virtualbox.org/wiki/Downloads

Or

Another Link to Download Virtual Box

http://goo.gl/40gkJF



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 Bodhi Linux 3.1.....By Below link

http://www.bodhilinux.com/

size - 619MB



For Full Screen Resolution

Step5 :- sudo apt-get install virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11                or

Step6 :- 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)

Step7 :- run the VBoxLinuxAdditions.run script within the newly mounted cd

         or  sh VBoxLinuxAdditions.sh



For Reset Root Password

For remaining installation please Keep watching my video

PLEASE REMEMBER USERNAME & PASSWORD During Installation of Ubuntu Desktop 14.10 LTS

if you Forget username or password or then you can reset by watching below video.....



How to Reset Root Password in Ubuntu 14.04

https://goo.gl/CHdXmY





-------------------------------------------------------------------------------

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

Tuesday, September 29, 2015

10 Useful Commands to Collect System and Hardware Information in Redhat Linux 7 & Ubuntu 15.04

September 29, 2015
10 Useful Commands to Collect System and Hardware Information  in Redhat Linux 7 & Ubuntu 15.04


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


1. How to View Linux System Information
type :-  uname
   
a. To view your network hostname, use ‘-n’ switch with uname command as shown.
type :- uname –n    

b. To get information about kernel-version, use ‘-v’ switch.
type :- uname –v
 
c. To get the information about your kernel release, use ‘-r’ switch.
type :- uname –r  

d. To print your machine hardware name, use ‘-m’ switch.
type :- uname –m

e. All this information can be printed at once by running ‘uname -a’ command as shown below.
type :- uname –a

2. How to View Linux System Hardware Information
type :- sudo lshw      

a. You can print a summary of your hardware information by using the -short option.
type :- sudo lshw –short      

b. If you wish to generate output as a html file, you can use the option -html.
type :- sudo lshw -html > lshw.html

3. How to View Linux CPU Information
type :- lscpu

4. How to Collect Linux Block Device Information
type :- lsblk      

a. If you want to view all block devices on your system then include the -a option.
type :- lsblk -a

5. How to Print USB Controllers Information
type :- lsusb        

a. You can use the -v option to generate a detailed information about each USB device.
type :- lsusb –v


6. How to Print PCI Devices Information
type :- lspci

       a. Use the -t option to produce output in a tree format.
type :- lspci –t

       b. Use the -v option to produce detailed information about each connected device.
type :- lspci -v


7. How to Print SCSI Devices Information
type :- sudo apt-get install lsscsi [on Debian derivatives]
type :- yum install lsscsi [On RedHat based systems]
type :- dnf install lsscsi [On Fedora 21+ Onwards]


        a. After install, run the lsscsi command as shown:
        type :- lsscsi

       b. Use the -s option to show device sizes.
       type :- lsscsi -s


8. How to Print Information about SATA Devices
type :- sudo hdparm /dev/sda1
type :- sudo hdparm -g /dev/sda1


9. How to Print Linux File System Information
type :- sudo  fdisk -l

10. How to Extract Information about Hardware Components
type :- sudo  dmidecode -t memory      

a. To print information about system, run this command.
type :- sudo  dmidecode -t system    

b. To print information about BIOS, run this command.
type :- sudo  dmidecode -t bios

11. To print information about processor, run this command.
type :- sudo dmidecode -t processor


-------------------------------------------------------------------------------
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, September 8, 2015

How to Install Android Studio with Java JDK 8 in Windows 10

September 08, 2015
How to Install Android Studio with Java JDK 8 in Windows 10

Sunday, August 23, 2015

How to Install Microsoft Windows 10 on Virtual Box with Full Screen Resolution

August 23, 2015
How to Install Microsoft Windows 10 on Virtual Box with Full Screen Resolution

Wednesday, August 19, 2015

How to Install Android 6.0 M Marshmallow Preview 3 on Nexus 5, Nexus 6, Nexus 9 or Nexus Player

August 19, 2015
How to Install Android 6.0 M Marshmallow Preview 3 on Nexus 5, Nexus 6, Nexus 9 or Nexus Player

Friday, August 14, 2015

Check Out What’s New in Linux Kernel 4.2 Released in Ubuntu 15.04, Debian 8 & Linux Mint 17.2

August 14, 2015
Check Out What’s New in Linux Kernel 4.2 Released in Ubuntu 15.04, Debian 8 & Linux Mint 17.2

How To stop Android Device text message virus | Protect From 'Stagefright' MMS Attack

August 14, 2015
How To stop Android Device text message virus | Protect From 'Stagefright' MMS Attack

Tuesday, August 11, 2015

Check Out List of 65 Android Apps & Games You Shouldn’t Download on Your Smartphone

August 11, 2015
Check Out List of 65 Android Apps & Games You Shouldn’t Download on Your Smartphone

Monday, August 10, 2015

Top 5 New WhatsApp Features Update: Custom Notifications, Mark as Unread, Low Data Setting and More

August 10, 2015
Top 5 New WhatsApp Features Update: Custom Notifications, Mark as Unread, Low Data Setting and More

Tuesday, July 28, 2015

How to Install and Configuring Zabbix 2.4.5 on Debian 8, Ubuntu 15.04 and RHEL/CentOS 7, Fedora 22

July 28, 2015
How to Install and Configuring Zabbix 2.4.5 on Debian 8, Ubuntu 15.04 and RHEL/CentOS 7, Fedora 22
Hello Everyone,

Let Us Installing and Configuring Zabbix 2.4.5 on Debian 8 

YOU CAN ALSO INSTALL IN 
FEDORA 22 / UBUNTU 15.04,14.10 / REDHAT LINUX 7 / LINUX MINT 17.2 / CENTOS 7 

Install Initial Required Software and Dependencies

Website :- https://www.zabbix.com

[On Debian 8] 
Step 1 :- sudo apt-get install build-essential gcc curl wget libsnmp-dev libcurl4-gnutls-dev libxml2-dev

[On RHEL/CentOS 7] 
Step 2 :-  yum install gcc gcc-c++ make openssl-devel curl wget net-snmp net-snmp-utils net-snmp-libs net-snmp-devel gnutls gnutls-devel libxml2 libxml2-devel 


Install MariaDB Database and Library
[On Debian 8] 
Step 3 :-  sudo apt-get install mariadb-server mariadb-client libmysqld-dev 

[On RHEL/CentOS 7] 
Step 4 :-  yum install mariadb-server mariadb-client mariadb-devel 
Step 5 :-  mysql_secure_installation

Install Apache Web Server and PHP
[On Debian 8]
Step 6 :-  sudo apt-get install apache2 php5 php5-mysql php5-gd php5-cli php5-xmlrpc 

[On RHEL/CentOS 7]
Step 7 :-  
yum install httpd php php-mysql php-gd pgp-cli php-xml php-bcmath php-mbstring mod_ssl openssl


[On Debian 8]
Step 8 :- sudo nano /etc/php5/apache2/php.ini

[On RHEL/CentOS 7]
Step 8 :- nano /etc/php.ini
http://php.net/manual/en/timezones.asia.php#113195

Now, search with CTRL+C and replace the following PHP values as it follows:
post_max_size = 16M 
max_execution_time = 300 
max_input_time = 300 
date.timezone = Continent/City  --- Chennai, Kolkata, Mumbai, New Delhi
always_populate_raw_post_data = -1 

[On Debian 8]
Step 9 :- sudo systemctl restart apache2.service

[On RHEL/CentOS 7]
Step 10 :-  systemctl restart httpd.service

Download, Compile and Install Zabbix Server
Step 11 :- 
wget http://sourceforge.net/projects/zabbix/files/ZABBIX\ Latest\ \Stable/2.4.5/zabbix-2.4.5.tar.gz
Step 12 :-  ls
Step 13 :-  tar xfz zabix-2.4.5.tar.gz 
Step 14 :-  cd zabix-2.4.5.tar.gz/ 
Step 15 :-  ls 
Step 16 :-  ./configure --enable-server --enable-agent --with-mysql --enable-ipv6 --with-net-snmp --with-libcurl --with-libxml2 
Step 17 :-  make 
Step 18 :-  make install 


Zabbix Post-Installation System Settings
Step 19 :-  groupadd  zabbix 
Step 20 :-  useradd -g zabbix   -d  /usr/local/share/zabbix   -s    /bin/false zabbix 


Configure MariaDB Database for Zabbix
Step 21 :-  mysql -u root -p 
MariaDB> create database zabbix; 
MariaDB> grant all privileges on zabbix.* to 'zabbix'@'localhost' identified by 'your_password'; 
MariaDB> flush privileges; 
MariaDB> exit 

Step 22 :- cd zabbix-2.4.5/ 
Step 23 :- ls database/mysql/ 
Step 24 :- mysql -u zabbix -p zabbix   <   database/mysql/schema.sql 
Step 25 :- mysql -u zabbix -p zabbix   <   database/mysql/images.sql 
Step 26 :- mysql -u zabbix -p zabbix   <   database/mysql/data.sql 

Configure Apache Webserver for Zabbix
Step 27 :-  rm /var/www/html/index.html
Step 28 :- cp -rf frontends/php/* /var/www/html/ 

[On Debian 8]
Step 29 :- usermod -aG www-data zabbix
Step 30 :- a2enmod ssl
Step 31 :- a2ensite default-ssl 
Step 32 :- systemctl restart apache2.service

[On RHEL/CentOS 7]
Step 33 :- usermod -aG apache zabbix 
Step 34 :- systemctl restart httpd.service

Configure Zabbix Server
Step 35 :-  nano /usr/local/etc/zabbix_server.conf 

Once the file is opened for editing search and replace the following values accordingly:
ListenPort=10051
LogFile=/var/log/zabbix_server.log
DBHost=localhost   ## Replace with the IP of the remote database in case MySQL server is located on a different host
DBName=zabbix              ## Use the name of the Zabbix MySQL database
DBUser =zabbix               ## Use the name of the Zabbix MySQL database User
DBPassword=password   ## Zabbix MYSQL database password
DBSocket=/var/run/mysqld/mysqld.sock
DBPort=3306


Finally, after all the server configurations are in place, start Zabbix Server and Agent (to collect data about localhost) by issuing the following commands:
Step 36 :- touch /var/log/zabbix_server.log 
Step 37 :- chmod 775 /var/log/zabbix_server.log 
Step 38 :- chgrp zabbix /var/log/zabbix_server.log 
Step 39 :- /usr/local/sbin/zabbix_server 
Step 40 :- /usr/local/sbin/zabbix_agentd 
Step 41 :- /usr/local/sbin/zabbix_agent 
Step 42 :- netstat -tulpn 

Install Zabbix Web Frontend Interface
Step 43 :- 
http://192.168.1.221/setup.php 
OR 
https://192.168.1.221/setup.php

[on Debian 8] 
Step 44 :- chown -R www-data /var/www/html/conf/ 

[on RHEL/CentOS 7]
Step 45 :- chown -R apache /var/www/html/conf/
Step 46 :- chown -R root /var/www/html/conf/ 

Step 47 :- Username: admin
Step 48 :- Password: zabbix 

In order to start Zabbix daemons after system reboot, open /etc/rc.local file for editing and add the following lines before exit 0 statement:

Step 43 :- /usr/local/sbin/zabbix_agentd
Step 44 :- /usr/local/sbin/zabbix_agent
Step 45 :- /usr/local/sbin/zabbix_server

Error 1
Deleted the database created then recreate the database name in mysql 

Error 2
Check timezone remove ; before the 

-------------------------------------------------------------------------------
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, July 23, 2015

World's oldest Quran found at Birmingham University in UK (2015)

July 23, 2015
World's oldest Quran found at Birmingham University in UK (2015)

Friday, July 3, 2015

How to Install and Use Docker Machine 1.6 (Image, Containers) in Ubuntu Server 15.04, 14.10 - 64Bit

July 03, 2015
How to Install and Use Docker Machine 1.6 (Image, Containers) in Ubuntu Server 15.04, 14.10 - 64Bit

 Hello Everyone,

In this tutorial,

Let Us Install Docker Machine 1.1 in Ubuntu 15.04

You Can also Install in Debian/Ubuntu/Linux Mint.

Download
Website:- http://www.docker.com

Prerequisites
Docker requires a 64-bit installation
kernel must be 3.10 at minimum or newer Version  ( uname -r )

To upgrade your kernel and install the additional packages.

Update your package manager & Login as a Root.
Step1 :- SU &   sudo apt-get update

Install both the required and optional packages.
Step2 :- sudo apt-get install linux-image-generic-lts-trusty
              sudo apt-get install linux-image-extra-`uname -r`

Reboot your host.
Step3 :- sudo reboot

Installing Docker Machine or Add docker repository key to apt-key for package verify
Step4 :- wget   -qO-   https://get.docker.com/    |     sh 
        Or sudo sh -c "wget -qO- https://get.docker.io/gpg | apt-key add -“

Verify docker is installed correctly
Step5 :- docker  run -it ubuntu bash

Optional Configurations for Docker on Ubuntu
    Create a docker group
    Adjust memory and swap accounting
    Enable UFW forwarding
    Configure a DNS server for use by Docker

Create the docker group and add your user.
Step6 :- sudo  usermod  -aG  docker  ubuntu

Verify your work by running docker without sudo.
Step7 :-  docker run -it ubuntu bash

Adjust memory and swap accounting
Step8 :- sudo nano /etc/default/grub/
Set the GRUB_CMDLINE_LINUX value as follows
Step9 :- GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1"

Update GRUB.
Step10 :- sudo update-grub
Step11 :- Reboot  system

Verify that UFW is installed and enabled.
Step12 :- sudo ufw status

Step13 :- sudo nano /etc/default/ufw
DEFAULT_FORWARD_POLICY="ACCEPT“

Step14 :- sudo ufw reload

Allow incoming connections on the Docker port.
Step14 :- sudo ufw allow 2375/tcp

Configure a DNS server for use by Docker
Step15 :- sudo nano /etc/default/docker

Add a setting for Docker.
Step16 :- DOCKER_OPTS="--dns 8.8.8.8  --dns 192.168.0.1 ”

Replace 8.8.8.8 with a local DNS server such as 192.168.0.1. You can also specify multiple DNS servers. Separated them with spaces, for example:
--dns 8.8.8.8 --dns 192.168.0.1

Restart the Docker daemon.
Step17 :- sudo restart docker

Get the latest Docker package
Step 2 :-  wget -qO- https://get.docker.com/ | sh

Verify docker installed or not
Step 3 :-  sudo docker-run hello-world

Show running containers
Step 4 :- sudo docker ps
Step 5 :- sudo docker images

Run a container from a specific image
Step 6 :-  sudo docker run -i -t <image_id || repository:tag> -bash

Start a existed container
Step 7 :-  $ sudo docker start -i <image_id>

Attach a running container:
Step 8 :-  $ sudo docker attach <container_id>


Upgrade Docker


To install the latest version of Docker, use the standard -N flag with wget

Step18 :- wget -N https://get.docker.com/ | sh

Error
TLS enabled daemon withou TLS ?

Answer
Sudo docker -d

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

Wednesday, July 1, 2015

How to Install Jenkins (Deploying, Upgrade, Apache, Nginx Proxy) in Ubuntu Server 15.04 - 64bit

July 01, 2015
How to Install Jenkins (Deploying, Upgrade, Apache, Nginx Proxy) in Ubuntu Server 15.04 - 64bit

Hello Everyone,

In this tutorial,

Let Us Install Jenkins 1.617 in Ubuntu 15.04

Download Jenkins
Website :- https://www.jenkins-ci.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

Installing Jenkins
Step4 :- wget -q -O - https://jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -

Step5 :- sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list'

Step6 :- sudo apt-get update

Step7 :- sudo apt-get install jenkins

Upgrade to Latest Version
 If available for latest version you can update
 Step8 :- sudo apt-get update

Step9 :- sudo apt-get install jenkins

What does this package do?
Jenkins will be launched as a daemon up on start. See /etc/init.d/jenkins for more details.

The 'jenkins' user is created to run this service.

Log file will be placed in /var/log/jenkins/jenkins.log. Check this file if you are troubleshooting Jenkins.

/etc/default/jenkins will capture configuration parameters for the launch like e.g JENKINS_HOME

By default, Jenkins listen on port 8080. Access this port with your browser to start configuration.
The Ubuntu Jenkins maintainer also maintains for deployment in clouds.

Step11 :- juju deploy jenkins

Step12 :- juju deploy -n 5 jenkins-slave

Step13 :- juju add-relation jenkins jenkins-slave

The default password for the 'admin' account will be auto-generated. You can set it using:

Step14 :- juju set jenkins password=mypassword

Always change it this way - this account is used by the charm to manage slave configuration. Then feel free to expose your jenkins master:

Step15 :- juju expose jenkins

Setting up an Apache Proxy for port 80 -> 8080
This configuration will setup Apache2 to proxy port 80 to 8080 so that you can keep Jenkins on 8080.

 Step16 :- sudo aptitude install apache2

 Step17 :- sudo a2enmod proxy

 Step18 :- sudo a2enmod proxy_http

Note :- do not do this next command if you already have virtual hosting setup that depends on the default site.

Step19 :- sudo a2dissite default
Create a file called jenkins.conf in /etc/apache2/sites-available
<VirtualHost *:80>
    ServerAdmin webmaster@localhost
    ServerName cloudnetwork.in
    ServerAlias cloud
    ProxyRequests Off
    <Proxy *>
        Order deny,allow
        Allow from all
    </Proxy>
    ProxyPreserveHost on
    ProxyPass / http://localhost:8080/ nocanon
    AllowEncodedSlashes NoDecode
</VirtualHost>

 Step21 :- sudo a2ensite jenkins

 Step22 :- sudo apache2ctl restart
Setting up an Nginx Proxy for port 80 -> 8080

This configuration will setup Nginx to proxy port 80 to 8080 so that you can keep Jenkins on 8080.
 Step22 :- Install Nginx.

 Step23 :- sudo aptitude -y install nginx

 Remove default configuration.
 Step24 :- cd /etc/nginx/sites-available

 Step25 :- sudo rm default ../sites-enabled/default

Create new configuration for Jenkins.

Note: Sometimes your permissions (umask, etc) might be setup such that this won't work.
Create the file somewhere else then copy it into place if you run into that problem

Step27 :-  sudo cat > jenkins
upstream app_server {
    server 127.0.0.1:8080 fail_timeout=0;
}
server {
    listen 80;
    listen [::]:80 default ipv6only=on;
    server_name cloudnetwork.in
    location / {
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Host $http_host;
        proxy_redirect off;
        if (!-f $request_filename) {
            proxy_pass http://app_server;
            break;
        }
    }
}
                                           Hit CTRL + D to finish writing the file
Link your configuration from sites-available to sites-enabled:

 Step28 :- sudo ln -s /etc/nginx/sites-available/jenkins /etc/nginx/sites-enabled/

 Step29 :- Restart Nginx

 Step30 :- sudo service nginx restart
Where to go from here?
(http://myserver/jenkins/ instead of http://myserver:8080/)

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

Monday, June 29, 2015

How to Install RabbitMQ 3.5.3, Erlang 17.3 in Ubuntu Desktop 15.04, 14.10 - 64bit

June 29, 2015
How to Install RabbitMQ 3.5.3, Erlang 17.3 in Ubuntu Desktop 15.04, 14.10 - 64bit



Hello Everyone,

In this tutorial,

Let Us Install and Manage RabbitMQ-Server 3.5.3-1 on Ubuntu Server 15.04 – 64Bit

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

Download RabbitMQ
Website :- https://www.rabbitmq.com
The latest release of RabbitMQ is 3.5.3

Downloading and Installing RabbitMQ
Add the RabbitMQ source to the APT source list.
Step1 :- sudo echo "deb http://www.rabbitmq.com/debian/ testing main" >> /etc/apt/sources.list.d/rabbitmq.list

Add the verification key for the package to avoid any unsigned packages.
Step2 :- sudo wget http://www.rabbitmq.com/rabbitmq-signing-key-public.asc

Step3 :- sudo apt-key add rabbitmq-signing-key-public.asc
Or  curl -s http://www.rabbitmq.com/rabbitmq-signing-key-public.asc | sudo apt-key add -
Updating, Download and Install RabbitMQ
Step4 :- sudo apt-get update
Step5 :- sudo apt-get  install rabbitmq-server


In order to manage the maximum amount of connections upon launch
Step6 :- sudo nano /etc/default/rabbitmq-server Uncomment the limit line (i.e. remove #)


Start the server and verify it is running
Step7 :- sudo service rabbitmq-server restart
       Or  sudo invoke-rc.d rabbitmq-server stop/start/status


systemctl disable firewalld
systemctl stop firewalld

Install the Management GUI
Managing RabbitMQ
Step8 :- sudo rabbitmq-plugins enable rabbitmq_management

Once you've enabled the console, it can be accessed using your favourite web browser.
Step9 :- http://[your IP address]:15672

The default username and password are both set “guest” for the log in.


Add Management User

To create a new user
Step10 :- sudo rabbitmqctl add_user admin  123
Step11 :- sudo rabbitmqctl set_user_tags admin administrator
Step12 :- sudo rabbitmqctl set_permissions -p / admin ".*" ".*" ".*"
Step13 :- sudo rabbitmqctl delete_user guest
Step14 :- sudo service rabbitmq-server restart

Web GUI should now be accessible to the new user
URL :- http://127.0.0.1:15672/

Remote Access
Add rule, restart service
Step15 :- sudo iptables -A INPUT -p tcp --dport 15672 -m state --state NEW,ESTABLISHED -j ACCEPT
Step16 :- sudo service ufw reload

Verify port is listening
Step17 :- netstat -tulpn

Managing on Ubuntu / Debian Based Systems

To start the service:
service rabbitmq-server start

# To stop the service:
service rabbitmq-server stop

# To restart the service:
service rabbitmq-server restart

# To check the status:
service rabbitmq-server status

And that's it! You now have your own message queue working on your virtual server.

Configuring RabbitMQ
http://www.rabbitmq.com/configure.html



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

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