Linux Support

How To Install phpmyadmin in Ubuntu 16.04 LTS

How To Install phpmyadmin in Ubuntu 16.04 LTS

From What so ever source you upgrade your system to ubuntu 16.04 it willl remove the mcrypt from the present system if you have phpmyadmin previously installed in the system.

This will create a error of “mbstring”.

To rectify this and install phpmyadmin in your 16.04 ubuntu please run th following commands one by one.

  1. sudo apt-get update
  2. sudo apt-get install phpmyadmin php-mbstring php-gettext
  3. sudo phpenmod mcrypt
  4. sudo phpenmod mbstring
  5. sudo systemctl restart apache2

 

To check your phpmyadmin installation : https://localhost/phpmyadmin

Plugins

WordPress Plugins – Email, Print, Fonts Size Plugins (All in One)

Our Plugin is a remarkable Plugin which works to facile the users with various exceptional options.

It provides the users with the options to Send an Email, Print a Post and Increasing and Decreasing the Font Size of a post along with the addition of appropriate buttons to the content.

A user can perform a lot many functions using this Plugin as it makes functioning of various features comfy and facile.

Email, Print, Fonts Size Plugin (All in One) can perform the following functions –  

  1. Email: One can send a particular post not only to his own email but also to a friend or someone he might think this article is helpful.
  2. Print: One can also print a particular post; the complete content of the post will be printed in a great format and that too along with all the images.
  3. Font Size: One can increase or decrease the font size as required and according to his comfort of reading.

Email & Print options allow you in the easiest and the most flexible way to send an Email, print a post, Increment and Decrements of font size and adding appropriate buttons to the content.

WordPress Plugin Screen Shots

Wordpress Plugins - Email, Print, Fonts Size Plugins (All in One). Download Free Best plugin for font re size, email post, also converted into PDF file
WordPress Plugins – Email, Print, Fonts Size Plugins (All in One)

Not only this, but a user can also customize the complete view of the profile according to his ease and comfort.

The best part about the Plugin is that whenever the user will want to download any post then he will get that post without any extras, that is, only with the complete content and all the images. If you will print it directly, you will get all the sidebars and extras in your print, whereas, using this Plugin will remove all the undesirable content.
This Plugin has been designed to make the users relieved and relaxed by providing them with various facilities.

DOWNLOAD

Django

Installation Guide For Django (Python)

Installation Guide For Django (Python)

Introduction

Django is one of the most popular python web framework. Although it is considered as an MVC framework but basically it is an MTC (model, template, controller) architecture . You can install Django in your Ubuntu Operating System by following the below mentioned steps –

Before we start, I hope you are familiar with all sort of Linux commands and their  execution. So, without any further wastage of time let’s get started with the installation process.

Step 1:

If we are working on a linux system python will be installed by default. You can just verify it by typing “python” in your terminal. ( ctrl+z to exit ). All we need is to just install Django.

Although there are a number of ways to do so, but as per my experience this is the best so far.

For installation of Django first we need to install pip in our system. This can be done by the following command.

sudo apt-get update

sudo apt-get install python-pip

Although Django does not work on python 3 but still if you want to install pip for python 3 you can go for the following command ‘sudo apt-get install python3-pip’

Step 2:

Now as you have installed pip in your system you can proceed with the installation of Django. You just have to type the following command.

sudo pip install django

The above command will install django in your system. Also, it will ask you to upgrade it if it was already installed in your system. The upgradation can be made by the following command.

sudo pip install django –upgrade

Now your system is loaded with Django, just to verify the installation run the following command

django-admin –version

NOTE: Make sure that you have the latest Django version running on your system else it may create some troubles in the future processing of your project.

 

Linux Support

27 Ubuntu Commands To Execute Just After Installation

27 Ubuntu Commands To Execute Just After Installation

Following are the 26 Ubuntu Commands To Execute Just After Installation if you are developer. This command will help you to make your Ubuntu System a complete Development machine.

This Include installing apache2, mysql, phpmyadmin, php and a number of other tools and platforms required by a developer for smooth and interruption free development.

# Installation Commands

1 sudo apt-get update
2  sudo apt-get install apache2
3  sudo apt-get install mysql-server php5-mysql
4  sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt
5  sudo service apache2 restart
6  sudo apt-get install phpmyadmin
7  sudo chmod -R 777 /var/www
8 sudo service apache2 restart
9  sudo add-apt-repository ppa:webupd8team/sublime-text-3
10  sudo apt-get update
11  sudo apt-get install sublime-text-installer
12  sudo sublime-text
13  sudo sublime_text_3
14 sudo wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
15  sudo dpkg -i google-chrome-stable_current_amd64.deb
16  sudo apt-get update

# Connfigure Apache 2

17  sudo gedit /etc/apache2/apache2.conf
18  sudo gedit /etc/apache2/sites-available/000-default.conf
19  sudo a2enmod rewrite
20  sudo service apache2 restart

21  sudo vim.tiny
22  sudo alias vim-vim.tiny
23  sudo alias vim=vim.tiny
24  sudo gedit ~/.bashrc

#installing VLC

25 sudo apt-get install vlc

#installing Team Viewer

26 after downloading team viewer from its official site
      cd ~/Download
sudo dpkg -i teamviewer_10.0.46203_i386.deb
sudo apt-get -f install

#installing skype

27 Go to Software & Update -> Other Software
select first two canonical partners then run the following commands
sudo apt-get update
sudo apt-get install skype skype-bin

Cloud Technology

How to run php and phpmyadmin with Cloud9

How to run php and phpmyadmin with Cloud9

Step 1 :- Create a Account with Cloud9 at https://c9.io/

Step 2 :- Move to Dashboard and Create New Workspace

Step 3 :- Open Workspace and Start Editing

Step 4 :- Now Start Mysql with Command ( mysql-ctl start ).

Step 5 :- Install phpmyadmin with ( phpmyadmin-ctl install )

Step 6 :- Run mysql with ( mysql-ctl cli ) and find Hostname with command ( SHOW VARIABLES WHERE Variable_name = ‘hostname’; )

Step 7 :- Run your php with http://(workspace Name)-(username).c9.io/ like http://php-uname.c9.io/

Step 8 :- Run php myadmin with https://php-uname.c9.io/phpmyadmin with username and without password

Cloud Technology

Openstack Installation Guide for Red Hat Enterprise Linux, CentOs and Fedora

Openstack Installation Guide for Red Hat Enterprise Linux, CentOs and Fedora

Step – 1 :- Download Openstack Software

Download Openstack Software from :- https://docs.google.com/uc?id=0B4t6sVGZxQdsVjZpdU5NRUpoQlE&export=download  (126MB)

OR

Download Openstack Software from :- http://www.openstack.org/software/start/

Step – 2 :- Update Openstack Kernel

#yum install kernel*

Step – 3 :- Reboot System

#reboot

Step – 4 :- Install Openstack Software

#yum install openstack-packstack

Step – 5 :- Genrate Config file

#packstack –gen-answer-file=openstack.txt

Step – 6 :- Change Openstack configuration file

#vim openstack.txt

change Yes(y) to No(n) if you don’t want to install through Online (Line no. 502)

Step – 6 :- Install Openstack

#packstack –answer-file=openstack.txt

Step – 6 :- Get password for Demo

#cat /root/keystonerc_demo

Step – 6 :- Get password for Admin

#cat /root/keystonerc_admin

Cloud Technology

WHAT IS CLOUD COMPUTING ACTUALLY – OUR FUTURE

WHAT IS CLOUD COMPUTING ACTUALLY – OUR FUTURE

What is Cloud Computing ?

  • Use of Service from hardware and software resources delivered by network or over the network – Its Services
  • Hardware : servers, storage , cooling and networking
  • Software: any applications or program

Characteristics of cloud computing

  • Delegation of overhead – outsourcing
  • Modular and compartmentalized
  • Elastic – dynamic allocation
  • Resilient – Easy replacement
  • illusion of infinite supply
  • Resource Pooling
  • On-demand and User defined
  • Resources are measured and Utility computing

Comparable to Electrical utility :

  • Service – Electricity
  • Delivered by Network (power grid)
  • Delegation of responsibilities (infrastructure, production and maintenance)

History of Cloud Computing :

1950: Mainframe computer available for academia and corporation use via thin clients

2006: Amazon initiated products – AWS to provide cloud computing to external customers.

2008: Eucalyptus became the first open-source, AWS API-compatible platform for deploying private clouds.

2008: OpenNebula the first open-source software for deploying private and hybrid clouds, and for the federation of clouds.

Basic Working of Cloud :

Cloud divided into 2 different parts:

  • Front End : We are using it – End user computer and their application
  • Back End : We want to use it – Server, Clusters, processor , storage ,etc

Eg:- Gmail – Back End : Huge number of Database and Mail Server  and Front End: Our Gmail’s Beautiful Web Based GUI

Cloud Computing Advantages and Disadvantages :

Pros :

  • Less Expensive : Only pay per Usage
  • Scalable : One click to increase Resources and Hardwares
  • Flexible : Click to Change anything for any where
  • Elastic : One Key Press to Spin 100′s of Server at a time

Cons :

  • Security : Our data at other’s place
  • Data Transfer charges extra : Data Bandwidth charges by ISP
  • Migration could be difficult : One SP to other need same base support
  • Must have Internet connection : Data on a Cloud, and Cloud is Internet, so need net connection

 Cloud Computing Application for Us and Business :

  • Featured Cloud Hosting : Windows Azure , Amazon Web Services , GoDaddy.com
  • Featured Managed Hosting : Page.ly , CloudWays , WP Engine
  • Featured Storage and Backup : DropBox, SkyDrive , Google Drive, SugarSync
  • Featured Cloud Apps : HootSuite , Easy Projects , Marketo Analytics

Cloud Service Providers :

Service Providers : Who manage cloud for us like hardware, software, networking, management, backup, etc

Big B of Service Providers :

  • Amazon Web Services
  • Microsoft Azure
  • Google Apps Engine

List of Major Player in Cloud Computing :

Company NameHonor PersonDesgServices Launched
Amazon.comWerner VogelsCTOselling the spare capacity of Amazon’s massive server infrastructure
IntelJim BlakleyDirectordeveloping energy-efficient processors and solid-state hard drives for cloud systems
EnomalyReuven CohenCTOdevelops software to help companies create and manage cloud systems in their data centers
SunDave DouglasLeaderlaunch of Sun’s Open Cloud Platform
GoogleKevin GibbsLeaderlead for Google App Engine that hosts and offers services for Web-based software
IBMKristof KloecknerCTOOversees the Blue Cloud series of products
MicrosoftRay OzzieChief Archcloud-based system that unifies the software across devices, from mobile phones to television screens
CiscoJames UrquhartManagerinfluences the design of critical cloud hardware

Cloud Computing service models :

  • Primary service models recognized by International Telecommunication Union
  1. Software as-a-Service (SaaS)
  2. Infrastructure as-a-Service (IaaS)
  3. Platform as-a-Service (PaaS)

Software As-a-Service (SaaS)

  • Application software installed on cloud infrastructure and clients uses software and feel as its installed locally on clients system.
  • cloud service provider manage infrastructure and platform
  • SaaS is sometimes referred to as “on-demand software”
  • Simple Goal : No need to purchase complete year license, pay only when you use.
  • SaaS allows a business the potential to reduce IT operational costs by outsourcing hardware and software maintenance and support to the cloud provider

In the SaaS model, cloud providers install and operate application software in the cloud and cloud users access the software from cloud clients. Cloud users do not manage the cloud infrastructure and platform where the application runs. This eliminates the need to install and run the application on the cloud user’s own computers, which simplifies maintenance and support.

Drawback of SaaS : is that the users’ data are stored on the cloud provider’s server. As a result, there could be unauthorized access to the data.

Examples :

  • Google Apps
  • Apple iCloud

Infrastructure As-a-Service (IaaS)

This is very interesting, its like you have complete network infrastructure and system resources –  without having it

And you can scale it or change it, with one mouse click

  • IaaS provided Computer or any Server and other resources on the Cloud.
  • It can provide physical System or Virtual machines (using hypervisor such as KVM or Xen)
  • Other Resources such as a virtual-machine disk images, raw (block) and file-based storage, firewalls, load balancers, IP addresses, etc.
  • In IaaS model, it our duty means client, to install OS or other software on it and maintain it, Cloud Service Provider only charge for the amount of resources allocated and consumed.

Examples :

  • Amazon EC2
  • VPS – virtual private server
  • OpenStack

 Platform As-a-Service (SaaS)

Are you a programmer or tester, then this is the perfect Server for you.

Think, any where and any time, and can able to test your programmer or develop your application, even on the mobile phone also, without need to installed interpreter or compiler on your device, As your code is executed on the cloud (PaaS)

  • Cloud providers deliver a computing platform , typically including operating system, programming language execution environment, database, and web server.
  • Application developers can develop and run their software solutions on a cloud platform without the cost and complexity of buying and managing the underlying hardware and software layers.
  • Cloud SP has to manage software and hardware to manage and match your application demand.
  • The consumer also controls software deployment and configuration settings. The provider provides the networks, servers, storage, and other services.

We are programmer , and think only programming or ideas, no need to worry about resources to installed or managed.

Examples :

  • AppScale  (Google App Engine)
  • AWS Elastic Beanstalk
  • Force.com

 What we get and Review of Cloud Computing?

  1. Remotely Delivering Services : Think, you are on the way traveling, and in your pocket means from your mobile, you have your complete infrastructure, all server, networking, hard disk, OS, software – for me  !! wow !!
  2. Hiding Complexity : How networking done, how OS installed , how router , firewall, switches managed, we no need to worry about , they all managed in cloud by service providers, We only need – To Use It.
  3. Reduce Cost and OverHead : Think, you only want to run or test on small program, but for that, we have to purchase complete system, OS license, software license for life time or a year, But in Cloud , pay as much as you use , Per Time Usage.
  4. Focus on Developing core products – not managing resources. only do that – You Want.

Hadoop Technology

Why Learn Big Data and Hadoop?

Why Learn Big Data and Hadoop?

What is the Big Data problem?

Big Data is a set of unstructured and structured data that is complex in nature and is growing exponentially with each passing day. Organizations are facing a major challenge in storing and utilizing this enormous data. This problem spans across the world because of a serious dearth of skilled programmers.

“The United States alone faces a shortage of 140,000 to 190,000 people with analytical expertise and 1.5 million managers and analysts with the skills to understand and make decisions based on the analysis of big data.”

BiG Data! A Worldwide Problem?

According to Wikipedia, �Big data is a collection of data sets so large and complex that it becomes difficult to process using on-hand database management tools or traditional data processing applications.� In simpler terms, Big Data is a term given to large volumes of data that organizations store and process. However, It is becoming very difficult for companies to store, retrieve and process the ever-increasing data. If any company gets hold on managing its data well, nothing can stop it from becoming the next BIG success!

The problem lies in the use of traditional systems to store enormous data. Though these systems were a success a few years ago, with increasing amount and complexity of data, these are soon becoming obsolete. The good news is – Hadoop, which is not less than a panacea for all those companies working with BIG DATA in a variety of applications has become an integral part for storing, handling, evaluating and retrieving hundreds or even petabytes of data.

Apache Hadoop! A Solution for Big Data!

Hadoop is an open source software framework that supports data-intensive distributed applications. Hadoop is licensed under the Apache v2 license. It is therefore generally known as Apache Hadoop. Hadoop has been developed, based on a paper originally written by Google on MapReduce system and applies concepts of functional programming. Hadoop is written in the Java programming language and is the highest-level Apache project being constructed and used by a global community of contributors. Hadoop was developed by Doug Cutting and Michael J. Cafarella. And just don�t overlook the charming yellow elephant you see, which is basically named after Doug�s son�s toy elephant!

Some of the top companies using Hadoop:

The importance of Hadoop is evident from the fact that there are many global MNCs that are using Hadoop and consider it as an integral part of their functioning, such as companies like Yahoo and Facebook! On February 19, 2008, Yahoo! Inc. established the world’s largest Hadoop production application. The Yahoo! Search Webmap is a Hadoop application that runs on over 10,000 core Linux cluster and generates data that is now widely used in every Yahoo! Web search query.

Facebook, a $5.1 billion company has over 1 billion active users in 2012, according to Wikipedia. Storing and managing data of such magnitude could have been a problem, even for a company like Facebook. But thanks to Apache Hadoop! Facebook uses Hadoop to keep track of each and every profile it has on it, as well as all the data related to them like their images, posts, comments, videos, etc.

Opportunities for Hadoop Administrator!

Opportunities for You are infinite – from a Hadoop Developer, to a Hadoop Tester or a Hadoop Architect, and so on. If cracking and managing BIG Data is your passion in life, then think no more and Join course and carve a niche for yourself!

Hadoop Technology

GET HADOOP TECHNOLOGY STACK TO FIT IN YOUR ARCHITECTURE

GET HADOOP TECHNOLOGY STACK TO FIT IN YOUR ARCHITECTURE

Hadoop Core / Common Project

  • Distributed Storage : HDFS
  • Distributed Processing : MapReduce (MR1)
  • Distributed Scheduling : YARN (MR2) (its started in Hadoop v2)

How data can be accessed and processed  from Hadoop FrameWork without writing Map Reduce Job

  • PIG : http://pig.apache.org/
  • Hive : http://hive.apache.org/

How to Process Data Storage or DB in Hadoop

  • HBase : http://hbase.apache.org/
  • Cassandra : http://cassandra.apache.org/

Storage Management Services

  • HCatalog : http://incubator.apache.org/projects/hcatalog.html

RegEx and Search Tool

  • Lucene : http://lucene.apache.org/

Bulk Synchronous Parallel computing engine

  • Hama : http://hama.apache.org/

Managing MapReduce Pipelining

  • Crunch : http://crunch.apache.org/

Data Serialization to send data to another application in some format like JSON, XML

  • Avro : http://avro.apache.org/
  • Thrift : http://thrift.apache.org/

Data Intelligence

  • Drill : https://incubator.apache.org/drill/drill_overview.html
  • Mahout : http://mahout.apache.org/

Real Time Log Processing Tool

  • Flume : http://flume.apache.org/
  • Chukwa : http://chukwa.apache.org/

Data Integration to connect RDBMS to HDFS

  • Sqoop : http://sqoop.apache.org/

Distributed Service Coordinator

  • Zookeeper : http://zookeeper.apache.org/

Work Flow or Job Scheduler

  • Oozie : http://oozie.apache.org/

Centralized Service Management, monitoring and Orchestration

  • Ambari : http://ambari.apache.org/

 Centralized Security of Hadoop Project

  • Knox : http://knox.apache.org/

Eclipse IDE plugin for Development

  • HDT : http://hdt.incubator.apache.org/

Project that is 100x Times faster than MapReduce

  • Spark : http://spark.apache.org/

 To get the list of ALL apache Incubator project  : http://incubator.apache.org/projects/

Linux Support

how to install Apache,php,phpmyadmin

How To Install Apache, MySQL, PHP, Phpmyadmin on Ubuntu

Step One — Install Apache

sudo apt-get update
sudo apt-get install apache2

Step Two — Install MySQL

sudo apt-get install mysql-server php5-mysql

Step Three — Install PHP

sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt
sudo service apache2 restart

Step Four — Install phpmyadmin

sudo apt-get install phpmyadmin

You May Also Like

How To Install phpmyadmin in Ubuntu 16.04 LTS
  • April 25th, 2016

From What so ever source you upgrade your system to ubuntu 16.04 it willl remove the mcrypt from the present system if you have phpmyadmin previously installed in the system. This will create a error of “mbstring”. To rectify this and install phpmyadmin in your 16.04 ubuntu please run th following commands one by one. […]

WordPress Plugins – Email, Print, Fonts Size Plugins (All in One)
  • February 5th, 2016

Our Plugin is a remarkable Plugin which works to facile the users with various exceptional options. It provides the users with the options to Send an Email, Print a Post and Increasing and Decreasing the Font Size of a post along with the addition of appropriate buttons to the content. A user can perform a […]

Installation Guide For Django (Python)
  • January 1st, 2016

Introduction Django is one of the most popular python web framework. Although it is considered as an MVC framework but basically it is an MTC (model, template, controller) architecture . You can install Django in your Ubuntu Operating System by following the below mentioned steps – Before we start, I hope you are familiar with […]

27 Ubuntu Commands To Execute Just After Installation
  • August 2nd, 2015

Following are the 26 Ubuntu Commands To Execute Just After Installation if you are developer. This command will help you to make your Ubuntu System a complete Development machine. This Include installing apache2, mysql, phpmyadmin, php and a number of other tools and platforms required by a developer for smooth and interruption free development. # […]

How to run php and phpmyadmin with Cloud9
  • February 6th, 2015

Step 1 :- Create a Account with Cloud9 at https://c9.io/ Step 2 :- Move to Dashboard and Create New Workspace Step 3 :- Open Workspace and Start Editing Step 4 :- Now Start Mysql with Command ( mysql-ctl start ). Step 5 :- Install phpmyadmin with ( phpmyadmin-ctl install ) Step 6 :- Run mysql with ( […]

Openstack Installation Guide for Red Hat Enterprise Linux, CentOs and Fedora
  • November 30th, 2014

Step – 1 :- Download Openstack Software Download Openstack Software from :- https://docs.google.com/uc?id=0B4t6sVGZxQdsVjZpdU5NRUpoQlE&export=download  (126MB) OR Download Openstack Software from :- http://www.openstack.org/software/start/ Step – 2 :- Update Openstack Kernel #yum install kernel* Step – 3 :- Reboot System #reboot Step – 4 :- Install Openstack Software #yum install openstack-packstack Step – 5 :- Genrate Config file #packstack –gen-answer-file=openstack.txt Step – […]

keyboard_arrow_up