Variable | Content |
---|---|
base_dir | /var/www/mywebsite |
doc_root | /var/www |
base_url | /mywebsite |
protocol | http |
port | 8080 |
domain | example.com |
full_url | http://example.com:8080/mywebsite |
LAMP stack is a group of open source software used to get web servers up and running. The acronym stands for Linux, Apache, MySQL, and PHP. Since the virtual private server is already running Ubuntu, the linux part is taken care of. Here is how to install the rest.
If any existing lamp installation & you need to upgrade your old server, uninstall all things & backup first all databases & files.
sudo apt-get purge php5*
- Try 1: Download Any 360 Panaroma Image or take snapshot from 360 video
- Try 2: Create panaroma image and change metadata using below command:
exiftool -ProjectionType="equirectangular"-UsePanoramaViewer="True"-"PoseHeadingDegrees<$exif:GPSImgDirection"-"CroppedAreaImageWidthPixels<$ImageWidth"-"CroppedAreaImageHeightPixels<$ImageHeight"-"FullPanoWidthPixels<$ImageWidth"-"FullPanoHeightPixels<$ImageHeight"-CroppedAreaLeftPixels="0" -CroppedAreaTopPixels="0" "image_path"
exiftool -Make="RICOH" -Model="RICOH THETA S" "image_path"
You need to install exiftool in your system or change from online: http://www.thexifer.net/
Installing Ionic on Ubuntu
Hello,
nowadays I am working in a project with ionic framework. Ionic is an advanced HTML5 Hybrid Mobile App Framework. It’s an open-source front-end framework for creating beautiful mobile applications using HTML5.
Ionic apps are based on Cordova, so Cordova utilities can be used to build, deploy and test apps. Ionic focuses on the look and feel of apps and it currently uses AngularJS to build awesome looking front-ends.
Since I needed to install Ionic on ubuntu and I did it in some steps to do it, I resolve to write these steps and write this post. I hope you enjoy it.😉
You need to dig into symbolic links. Below is steps to get Java directory
Step 1:
$ whereis java
java: /usr/bin/java /etc/java /usr/share/java
That tells the command java resides in /usr/bin/java.
Dig again:
import React from 'react';
import { FormControl, FormGroup, Radio, Checkbox, Button, ControlLabel,HelpBlock } from 'react-bootstrap';
class Login extends React.Component {
constructor(props){
super(props);
this.state = {
username: '',
password: '',
- Create React Component: App.jsx
var React = require('react');
class App extends React.Component {
render() {
return (
<div>
<h1>Header</h1>
<h2>Content</h2>
This is the content!!!