Cloud Network

Networking | Support | Tricks | Troubleshoot | Tips

Buymecoffe

Buy Me A Coffee

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

Monday, April 27, 2015

How to Install Ubuntu Server 15.04(Vivid Vervet) in Virtual Box - 64Bit

April 27, 2015
How to Install Ubuntu Server 15.04(Vivid Vervet) in Virtual Box - 64Bit
 

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

Saturday, April 25, 2015

How to Upgrade Ubuntu Desktop 14.04/14.10 to Ubuntu 15.04 (Vivid Vervet) - 64bit

April 25, 2015
How to Upgrade Ubuntu Desktop 14.04/14.10 to Ubuntu 15.04 (Vivid Vervet) - 64bit


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.

Wednesday, April 22, 2015

How to Install Cacti Network Monitoring along with EPEL Repository on Linux 6, CentOS 7 & Fedora 21

April 22, 2015
How to Install Cacti Network Monitoring along with EPEL Repository on Linux 6, CentOS 7 & Fedora 21
Hello Everyone,

In this tutorial,

Let Us Install Cacti Network Monitoring along with EPEL Repository  in Fedora workstation 21

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

Installing Cacti Required Packages on RHEL / CentOS / Fedora
Website :- http://cacti.net/

1. Install Apache
Step1 :-  yum install httpd httpd-devel

2. Install MySQL
Step2 :-  yum install mysql mysql-server

3. Install MariaDB
Step3 :-  yum install mariadb-server -y

4. Install PHP
Step4 :- yum install php-mysql php-pear php-common php-gd php-devel php php-mbstring php-cli

5. Install PHP-SNMP
Step5 :- yum install php-snmp

6. Install NET-SNMP
Step6 :- yum install net-snmp-utils net-snmp-libs

7. Install RRDTool
Step7 :- yum install rrdtool

8. Staring Apache, MySQL and SNMP Services
Step8 :- service httpd start       or  systemctl start httpd.service
Step9 :- service mysqld start    or  systemctl start mariadb.service
Step10 :- service snmpd start    or  systemctl start snmpd.service

9. Configure Start-up Links
Step11 :- /sbin/chkconfig --levels 345 httpd on
Step12 :- /sbin/chkconfig --levels 345 mysqld on
Step13 :- /sbin/chkconfig --levels 345 snmpd on


Enable EPEL Repository
Enable EPEL Repository in RHEL/CentOS 7/6/5

Step1 :- wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
Step2 :- rpm -ivh epel-release-7-5.noarch.rpm

Verify EPEL Repo
Step3 :-  yum repolist

Use EPEL Repo
Step4 :-  yum --enablerepo=epel info zabbix

Install Zabbix package using epel repo
Step5 :-  yum --enablerepo=epel install zabbix

Note:- The epel configuration file is located under /etc/yum.repos.d/epel.repo.

10. Install Cacti
Step19 :- yum install cacti

11. Configuring MySQL Server for Cacti Installation Set MySQL Password
Step20 :- mysqladmin -u root password “YOUR-PASSWORD-HERE”

12. Create MySQL Cacti Database
Step21 :- mysql -u root –p
Step22 :- create database cacti;
Step23 :- GRANT ALL ON cacti.* TO cacti@localhost IDENTIFIED BY cloudnetwork';
Step24 :- FLUSH privileges;
Step25 :- quit;

13. Install Cacti Tables to MySQL
Step26 :- rpm -ql cacti | grep cacti.sql
Step27 :- mysql -u cacti -p cacti < /usr/share/doc/cacti-0.8.8b/cacti.sql

14. Configure MySQL settings for Cacti
Step28 :- sudo gedit /etc/cacti/db.php
/* make sure these values reflect your actual database/host/user/password */ $database_type = "mysql";
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cacti";
$database_password = "your-password-here";
$database_port = "3306";
$database_ssl = false;

15. Configuring Firewall for Cacti
Step29 :- iptables -A INPUT -p udp -m state --state NEW --dport 80 -j ACCEPT
Step30 :- iptables -A INPUT -p tcp -m state --state NEW --dport 80 -j ACCEPT
Step31 :- service iptables save

16. Configuring Apache Server for Cacti Installation
Step32 :- sudo gedit   /etc/httpd/conf.d/cacti.conf
Alias   /cacti     /usr/share/cacti  
<Directory /usr/share/cacti/>
Order Deny,Allow
Deny from all
Allow from 192.168.0.101
</Directory>

In latest version of Apache (ex: Apache 2.4), you may need to change according to the following settings.
<Directory /usr/share/cacti/>
<IfModule mod_authz_core.c>
 httpd 2.4
Require all granted
</IfModule>


17. Finally, restart the Apache service.
Step33 :- service httpd restart   or    systemctl restart httpd.service

18. Setting Cron for Cacti
Uncomment the following line. The poller.php script runs every 5mins and collects data of known host which is used by Cacti application to display graphs.
Step34 :-  */5 * * * * cacti /usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1

19. Running Cacti Installer Setup
Step35 :- Finally, Cacti is ready, just go to

http://YOUR-IP-HERE/cacti/


login as ‘admin’ and password as ‘admin’.


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