My Blog List

Wednesday, March 30, 2016


How To Install XAMPP Stack On Ubuntu 15.10


About XAMPP

XAMPP is a free, open source stack that contains Apache web server, MySQL database, PHP, and Perl. The main goal of XAMPP is to build an easy to install Apache environment for developers. Unlike LAMP, and LEMP stacks, It makes the developers so easy to have all packages installed at once in a couple of minutes. XAMMP is acronym of X(Cross platform),Apache, MySQL, PHP, and Perl.
In this handy tutorial, let us see how to install XAMPP stack on Ubuntu 15.10, and its previous versions such as 15.04, 14.04, and 13.10 etc.

Install XAMPP Stack On Ubuntu 15.10 server

Download the latest version from the official download page. As of writing this article, the latest version was 5.6.14.
After downloading the XAMPP package, make it executable as shown below.
sudo chmod +x xampp-linux-x64-5.6.14-0-installer.run
Now, install XAMPP stack as shown below.
sudo ./xampp-linux-x64-5.6.14-0-installer.run
You’ll be asked to answer a couple questions. Here. I will go with defaults.
Press Y to accept the defaults.
----------------------------------------------------------------------------
Welcome to the XAMPP Setup Wizard.

----------------------------------------------------------------------------
Select the components you want to install; clear the components you do not want 
to install. Click Next when you are ready to continue.

XAMPP Core Files : Y (Cannot be edited)

XAMPP Developer Files [Y/n] :y

Is the selection above correct? [Y/n]: y

----------------------------------------------------------------------------
Installation Directory

XAMPP will be installed to /opt/lampp
Press [Enter] to continue:

----------------------------------------------------------------------------
Setup is now ready to begin installing XAMPP on your computer.

Do you want to continue? [Y/n]: y

----------------------------------------------------------------------------
Please wait while Setup installs XAMPP on your computer.

 Installing
 0% ______________ 50% ______________ 100%
 #########################################

----------------------------------------------------------------------------
Setup has finished installing XAMPP on your computer.

Starting/Stopping XAMPP Server

XAMPP will be installed in /opt/lampp directory. After installing XAMPP, you can start it using the following command.
sudo /opt/lampp/lampp start
Sample output:
Starting XAMPP for Linux 5.6.14-0...
XAMPP: Starting Apache...already running.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...ok.
Like wise, you can stop the service using command:
sudo /opt/lampp/lampp stop
Sample output:
Stopping XAMPP for Linux 5.6.14-0...
XAMPP: Stopping Apache...ok.
XAMPP: Stopping MySQL...ok.
XAMPP: Stopping ProFTPD...ok.
Now, you can launch the XAMPP dashboard by navigating to http://localhost/ or http://ip-address/ from your web browser.

Install XAMPP in Ubuntu 15.10 Desktop

Download the XAMPP stack from the official download page.
After downloading the XAMPP package, make it executable as shown below.
sudo chmod +x xampp-linux-x64-5.6.14-0-installer.run
Run the following command to start XAMPP stack installation.
sudo ./xampp-linux-x64-5.6.14-0-installer.run
Click Next.
Setup_001
Click Next.
Setup_002
Click Next.
Setup_003
Click Next.
Setup_004
Click Next.
Setup_008
XAMPP installation will start now.
Setup_009
Finally, click Finish.
Setup_010
This is how XAMPP welcome window looks like.
XAMPP 5.6.14-0_011
You can verify the list of currently running services by navigating to the Manage Servers tab next to the XAMPP welcome tab.
XAMPP 5.6.14-0_012
Now, you can launch the XAMPP dashboard either by clicking on the Go to application from XAMPP Welcome tab, Or open up your browser and navigate to http://localhost/ or http://ip-address/.

Test XAMPP

To check if everything is OK, open up your web browser, and navigate to http://ip-address/
Here it is how my XAMPP dashboard looks like.
Welcome to XAMPP dashboard

Access phpMyAdmin

phpMyAdmin is a graphical management tool for MySQL. Using this tool, you can create/delete/modify mysql databases graphically via a web browser.
To access phpMyAdmin, click on the “phpMyAdmin” link on the top right corner of the XAMPP dashboard.
You may encounter with the following error. This is because, the XAMPP/phpmyadmin page will not be accessible from the remote clients using IP address.
Access forbidden! - Google Chrome_004
To resolve this error, edit file /opt/lampp/etc/extra/httpd-xampp.conf,
sudo nano /opt/lampp/etc/extra/httpd-xampp.conf
Find the following line:
[...]
Require local
[...]
And, comment out the above line and add one more line “Require all granted” as shown below.
[...]
#Require local
Require all granted
[...]
For more details, refer the XAMPP forum.
Restart XAMPP service.
sudo /opt/lampp/lampp restart
Then, refresh the webpage. phpMyAdmin page will open now.
This is how my phpMyAdmin dashboard looks.
192.168.1.103 - localhost | phpMyAdmin 4.5.0.2 - Google Chrome_002
Likewise, you can view the phpinfo() page. The phpinfo() will also be accessed from the left pane of the XAMPP Dashboard.
phpinfo() - Google Chrome_003

Security Issues of XAMPP

XAMPP is not meant to be used in production environment. It’s only for development purpose. Don’t attempt to use XAMPP in any production environments.
The way XAMPP is configured is to be open as possible to allow the developers anything they want. For development environments this is great but in a production environment, it could be fatal.
Here a list of missing security in XAMPP:
  • The MySQL administrator (root) has no password.
  • The MySQL daemon is accessible via network.
  • ProFTPD uses the password “lampp” for user “daemon”.
  • PhpMyAdmin is accessible via network.
  • Examples are accessible via network.
To fix the above security holes, enter the following command:
sudo /opt/lampp/lampp security
You’ll be asked a couple of questions to secure the XAMPP installation. Answer the questions accordingly.
XAMPP: Quick security check...
XAMPP: Your XAMPP pages are NOT secured by a password. 
XAMPP: Do you want to set a password? [yes] 
XAMPP: Password: 
XAMPP: Password (again): 
/opt/lampp/share/xampp/checkapache: line 41: /opt/lampp/htdocs/xampp/.htaccess: No such file or directory
cp: cannot stat ‘/opt/lampp/htdocs/xampp/.htaccess’: No such file or directory
cp: cannot stat ‘/opt/lampp/htdocs/xampp/.htaccess’: No such file or directory
chmod: cannot access ‘/opt/lampp/htdocs/xampp/.htaccess’: No such file or directory
chmod: cannot access ‘/opt/lampp/htdocs/webalizer/.htaccess’: No such file or directory
chmod: cannot access ‘/opt/lampp/phpmyadmin/.htaccess’: No such file or directory
XAMPP: Password protection active. Please use 'xampp' as user name!
XAMPP: MySQL is accessable via network. 
XAMPP: Normaly that's not recommended. Do you want me to turn it off? [yes] 
XAMPP: Turned off.
XAMPP: Stopping MySQL...ok.
XAMPP: Starting MySQL...ok.
XAMPP: The MySQL/phpMyAdmin user pma has no password set!!! 
XAMPP: Do you want to set a password? [yes] 
XAMPP: Password: 
XAMPP: Password (again): 
XAMPP: Setting new MySQL pma password.
XAMPP: Setting phpMyAdmin's pma password to the new one.
XAMPP: MySQL has no root passwort set!!! 
XAMPP: Do you want to set a password? [yes] 
XAMPP: Write the password somewhere down to make sure you won't forget it!!! 
XAMPP: Password: 
XAMPP: Password (again): 
XAMPP: Setting new MySQL root password.
XAMPP: Change phpMyAdmin's authentication method.
XAMPP: The FTP password for user 'daemon' is still set to 'xampp'. 
XAMPP: Do you want to change the password? [yes] 
XAMPP: Password: 
XAMPP: Password (again): 
XAMPP: Reload ProFTPD...ok.
XAMPP: Done.
That’s it. Now your XAMPP server is secured.
Cheers!

Tuesday, March 22, 2016

HOW TO PARTITION SD CARD USING APARTED(ROOT)

 

 

 

How to increase Internal Memory of Device on Android by Partitioning SD card

 

 

Monday, March 14, 2016

Project Ara Demoed At Google I/O 2015 Live 

 Project Ara is the codename for an initiative that aims to develop an open hardware platform for creating highly modular smart phones. The platform will include a structural frame or endoskeleton that holds smart phone modules of the owner's choice, such as a display, camera or an extra battery. It would allow users to swap out malfunctioning modules or upgrade individual modules as innovations emerge, providing longer lifetime cycles for the handset, and potentially reducing electronic waste. Project Ara smart phone is scheduled to begin pilot testing in the United States in 2016 with a target bill of materials cost of $50 for a basic Grey phone.
The project was originally headed by the Advanced Technology and Projects team within Motorola Mobility while it was a subsidiary of Google. Although Google has since divested Motorola to Lenovo, it retained the Advanced Technology and Projects group—which has since worked under the direction of the Android division.
 
We will have to wait until at least 2016 to see Google's much-anticipated Project Ara modular smart phones hit shelves as the company has announced a delay.
The Project Ara team at the beginning of this year had announced it would launch the modular smart phones this year in Puerto Rico as part of its pilot program. The team however has now confirmed that its phones will not launch until 2016, alongside announcing a "pilot market re-route" to a few locations in the US instead of Puerto Rico.


 

Saturday, March 12, 2016



Top 5 upcoming Smartphones you can Buy in 2016 (Will change your Smartphone Experience)






Top 5 Future Technology Inventions 2019 - 2050

This video shows the top 5 future technological inventions and creations which are expected to be available in between 2019 to 2050 A.D.

These are the next generation inventions. The future gadgets are of new era. They are amazing than ever. Have a look at these awesome future technologies. The top five upcoming future inventions are :

5. Cicret Bracelet
4. I Watch
3. Wall-Format Display Glass
2. Smart CARD
1. Smart Newspaper






Friday, March 11, 2016

Top 10 Dance Styles

Dance is the synchronization between the body, mind and the music. The body moves in rhythm to the music being played and it can be used as an expression, exercise or social interaction. Interestingly, dances are performed by different animals to attract the opposite gender as well. Over the period of time, dance has evolved and many different types have taken form. This particular list will discuss ten of the most popular dance styles from all around the world. Dancing is no easy thing; it is a profession, a profession that is fairly hard to master. I am sure you will be familiar with some of the styles, but this list discusses some dances from different cultures that are probably new to you. Enjoy the read.

10. TAP DANCE

I am sure you know how this work. Special shoes are made for dancing the tap. What you do is that you use the sound of your shoe hitting the floor as a musical instrument. You can say that it is more like creating music with your feet and dancing to it at the same time. It is very interestingly, yet I figure it is really hard to learn. Rapid feet and leg movement is an absolute requirement. The roots of tap dance go deep into the African American dancing.

9. ADUMU


I am sure you probably never heard of this particular dance. It originated from China and happens to be a popular part of their culture. It involves swaying of the body to certain rhythms. The waist and the hip are used to drive feet in order to sync with the music. The dance has a one thousand year history in China and is usually performed in the Lantern Festival. You can see a lot of videos on YouTube concerning the dance. Yangko has changed since its inception and the one that we see now happens to come from the late 1940s.
 

8. YANGKO

 

I am sure you probably never heard of this particular dance. It originated from China and happens to be a popular part of their culture. It involves swaying of the body to certain rhythms. The waist and the hip are used to drive feet in order to sync with the music. The dance has a one thousand year history in China and is usually performed in the Lantern Festival. You can see a lot of videos on YouTube concerning the dance. Yangko has changed since its inception and the one that we see now happens to come from the late 1940s.

7. KATHAK

 

This happens to be one of the eight forms of classical dances in India. It originated in Utar Pradesh and can be traced back to the ancient people living in northern India. They were called Kathaks. After the sixteenth century, Kathak was influenced by Persian Dance. The name of the dance is derived from Sanskrit which means story. The classical dances can be compared to the ballet dances that I am sure you are familiar with. These dances are very complicated and usually have a meaning to them. Just like the name, they are supposed to tell some sort of a story.
 

 6. BHANGRA

Bhangra refers to a dance coming from the Punjabis in the sub-continent. It was performed to celebrate the harvest but that practice ended when the sub-continent was divided into Pakistan and India. It is originally developed in India and it took its current form somewhere in the 1990s. Bhangra is danced to a very specific kind of music specifically tailored for Bhangra. It is mostly very random with some very common dance moves. This form of dance has travelled to the western cultures as well because of a lot of movement from the sub-continent to the western countries.
 

5. BELLY DANCE


 This particular form of dancing originated from the Middle East, in an Arabic country. Every single part of the body is involved in this dance style but the most dominant of those parts is the hip. There are many different forms to this dance and it differs from country to country. The modern belly dance evolved in the western countries and it is popular globally. Belly dancing was popularized during the Romantic Movement that took place in the eighteenth and nineteenth centuries. The dance requires a great deal of flexibility and is not at all easy.
 

4. BALLET

 This is a performance dance and it originated in Italy during the fifteenth century. The dance developed in France and Russia and evolved from performance dance to concert dance. It is a very complicated form of dancing and is taught in different ballet schools all over the world. The dance is usually choreographed with vocal or orchestral music. It involves pointe work, flow and very precise acrobatic movements. The ballet went from romantic, to expressionist and neoclassical ballet. The word originally translates into ‘to dance’.

3. STREET DANCE


 This form of dance is formally known as vernacular dance. It involves a lot of improvisation and these dances originated outside of dance studios wherever there was space available; streets, parks, school yards and nightclubs. Break dance is also included in street dancing and it is said it originated in the New York City. Another form is Melbourne Shuffle that originated in Australia and Electro Dance which has its root in Paris, France. It involves impossible body movements as you might have seen in the movie series ‘Step Up’. It is very difficult to master.

2. IRISH DANCE

 As the name suggests, the style originated from Ireland. It is a group and is a part of a broader social activity. There are many different forms of this dance; of course I will not be getting into details. Although you should know that it was popularized in 1994 with Riverdance; you can find the clips on YouTube. It involves very fast leg and foot movements while your arms mostly stay stationary. It is very difficult to master especially the solo dances. The dance is performed with traditional Irish music.

Monday, March 7, 2016

Top 10 Most Dangerous Places on Earth

1. Kabul, Afghanistan

No amount of US intervention and troops on the ground has rescued Afghanistan and its capital Kabul, the world’s most dangerous place in our list. Bomb attacks on hotels and embassies are common place with the security forces struggling to restore some semblance of order. The Taliban are gaining ground. When the state’s writ ends 10 kilometres from Kabul today, what will happen in 2014 when the US troops fly out of the country?
 

2. Mogadishu, Somalia

Until recently, Somalia’s capital Mogadishu was undisputedly the world’s most dangerous city. The UN and embassies had pulled out in the 1990s, following the collapse of the last fully functioning government in 1991. Al Qaeda linked militants held sway over much of the city from 2007 until last August when African Union fighters pushed out al-Shabab, ending the daily grind of war.
 

3. Baghdad, Iraq

After being the world’s most dangerous place for years immediately after the US invasion, Baghdad has calmed down, just a bit. After the withdrawal of military forces from Iraq, Baghdad suffers from a very unstable political climate. Years of bombings and counter bombings have destroyed most of the city’s infrastructure. Intermittent suicide bombings, random gunfire and roadside bombs continue to wreak havoc on the hapless citizens of the city by the Tigris.
 

4. Ciudad Juarez, Mexico

Mexico is a drug haven and the city of Ciudad Juarez is its unofficial capital. Drug traffickers are notoriously violent and do pretty much whatever they want. With police mostly corrupt, Ciudad Juarez is known as one of the most violent places in the world outside of war zones.
 
 

5. Abidjan, Ivory Coast

After years of mindless violence between warring factions, security situation in Abidjan has somewhat improved, lately. The arrest of former president Laurent Gbagbo and ceding of power to duly elected President Alassane Ouattara was the turning point. However, with tension simmering below the surface, Abidjan continues to be a dangerous place.
 

6. Sana’a, Yemen

Yemen, especially its capital Sana’a, is extremely unstable following last year’s uprising against former president Ali Abdullah Saleh. With al Qaeda`s Yemeni wing and local affiliates having established presence in the region, there has been a string of assassinations of security officials. The US and its Gulf allies brokered a power transfer that replaced Saleh with his deputy, Abd-Rabbu Mansour Hadi. He launched a US-backed offensive on Islamists in the south, but situation is still far from normal.
  


7. Peshawar, Pakistan

The frontier city of Pakistan is one of the most dangerous places in the world. With warlords and tribes fighting for supremacy, the city is very unsafe, especially for foreigners. Suicide bombings and targeted attack on security forces being the norm, Peshawar is slowly sinking into the abyss.

8. Caracas, Venezuela

Venezuelan capital Caracas is a drug trafficking haven. Robbery and petty crimes are commonplace with police having very little say or will to control the situation.
 




9. Nairobi, Kenya

With al Shabaab militants threatening to launch attacks during the holy month of Ramazan, Kenya, especially Nairobi is tense. Also, incidences of street crime are very high in the city. Night time travel in the city is very unsafe with mugging and looting being a routine affair.
 

10. Cape Town, South Africa

One of the most popular tourist destinations in the world, Cape Town is also a city that is battling extremely high crime rates. Prone to mugging, it is one of the most unsafe cities at night, especially for women. The high level of crime is attributed to the disparity between socioeconomic classes.
 

Sunday, March 6, 2016



Top 10 Best Android Mobile Phones in India March 2016

Our list of the Best Android Phones in India for March 2016 with the right mix of performance and features. You can read reviews and get more information on each one of the top 10 mobile phones in India for 2016 by clicking on them individually. These Best android smartphones are tested and recommended by Digit Test Labs, testing consumer technology products since last 13 years.

1. Samsung Galaxy Note 5

The Samsung Galaxy Note 5 is the best Android mobile phone that money can buy. After years of trial and error, the S-Pen finally has great utility. The device also has state of the art hardware and a great camera.
http://cnet3.cbsistatic.com/hub/i/r/2015/08/13/0c58f810-932e-4107-8b97-101718fc5322/thumbnail/770x433/867b49374c3cc7cc12b4cfd38f244bb5/samsung-galaxy-note-5-002.jpg

2. Huawei Nexus 6P

Made by Huawei, the Nexus 6P has a very premium build. The device has aeronautical-grade aluminum and is available in 3 storage options – 32GB 64GB & 128GB. The rear camera is a 12.3MP camera with 1.55 ultra pixels and laser auto focus.
http://cdn.gsmarena.com/imgroot/news/15/10/huawei-128gb-nexus6p/inline/gsmarena_001.jpg

3.  Samsung Galaxy S6

Samsung has always had a big role to play in Android’s popularity today. With the Galaxy S6, the company has taken back its position at the helm of the best performing Android Phone list. The Exynos 7 Octa is a really good performer and Samsung has matched that with a top-of-the-line camera.
http://www.samsung.com/in/consumer-images/product/mobile-phone/2015/SM-G920IZDAINS/features/SM-G920IZDAINS-403979-2.jpg

4. OnePlus 2


Perhaps the most talked about smartphone of the year, the OnePlus 2 has overcome the well know heating issues on the Snapdragon 810. In addition, it has a really good camera and feels nice, making it a very good phone to buy.
http://drop.ndtv.com/TECH/product_database/images/7282015103936AM_635_oneplus_2_white.jpeg

5. LG Nexus 5X


If you are looking for a stock android experience and don’t want to spend a lot of money on it, then the Nexus 5X is the device for you. The Nexus 5X has a 5.2-inch 1080p IPS display. It is available in two storage variants – 16GB and 32GB. The smartphone has the Snapdragon 808 chipset, 2GB RAM and a 12.3MP rear camera.
http://neurogadget.com/wp-content/uploads/2015/10/LG-Nexus-5X1-681x383.jpg

6. Sony Xperia Z5


The Sony Xperia Z5 brings with it great design, a fingerprint sensor and a great camera. It comes in a a variety of colours too.
http://cdn.ndtv.com/tech/images/sony_xperia_z5_green.jpg

7. LG G4


LG may not have had the best year, but the G4 arguably has the best camera amongst smartphones this year. The device’s front camera is almost as good as the iPhone 6’s rear camera, if not better, and that’s saying something.
http://www.lgnewsroom.com/wp-content/uploads/2015/07/LG-G4-Beat_Range-Shot-2.jpg

8. Honor 7


The Honor 7 brings with it an aluminium build, fingerprint sensor and a great camera.
 http://drop.ndtv.com/TECH/product_database/images/76201534525PM_635_huawei_honor_7_classic_grey.jpeg

9. Moto X Style


The moto X style brings with it the signature motorola design, a good large screen display and a good camera.
 http://drop.ndtv.com/TECH/product_database/images/1092015114629AM_635_moto_x_style_black.jpeg

10. Asus Zenfone 2 (4GB RAM)


While there are many popular smartphones out there, Asus is the one that is making news almost everyday. It’s wide range of Zenfone 2 smartphone have done well and offer good value for money. The Intel processors churn out performance, while also offering respectable battery life.
http://drop.ndtv.com/TECH/product_database/images/162015110827AM_635_asus_zenfone_2.jpeg

Thursday, January 28, 2016

Be Ready to Rock the floor with ur dance...

Hiphop challenge in college fest.

Hip-hop dance refers to street dance styles primarily performed to HIP HOP or that have evolved as part of hip-hop culture. It includes a wide range of styles primarily breaking, locking, and popping which were created in the 1970s and made popular by dance crews in the United States. The television show Soul Train and the 1980s films Breakin', Beat Street, and Wild Style showcased these crews and dance styles in their early stages; therefore, giving hip-hop mainstream exposure. The dance industry responded with a commercial, studio-based version of hip-hop—sometimes called "new style"—and a hip-hop influenced style of jazz dance called "jazz-funk". Classically trained dancers developed these studio styles in order to create choreography from the hip-hop dances that were performed on the street. Because of this development, hip-hop dance is practiced in both dance studios and outdoor spaces.