Showing posts with label web hosting. Show all posts
Showing posts with label web hosting. Show all posts

How to install Tonido private cloud server on Ubuntu Linux

 

Tonido is a free application that allows you to access files on your computer from a web browser, from your handheld or any DLNA capable device. The Tonido server enables you to sync files between different devices and to share them securely with your friends so you have a private and secure Cloud.


Tonido is available for all major operting systems incl. Linux, Mac and Windows, there are also apps available for Android, Iphone and Blackberry. Tonido can also be used to backup files from your phone on your desktop. Please note that Tonido is not open source software, but there is a free versions available that I will cover in this tutorial.
This tutorial is about installing Tonido server on Ubuntu Linux.

Tonido installation
The following installation instructions are for a 64 bit system, for 32 bit systems I request you to visit here.

Dual boot : Windows8 and Debian mint

if you want to dual-boot Windows 8 and Linux Mint Debian Edition 2 on a computer with UEFI firmware, this steps given in this tutorial will work also.
Getting From Here To There: To successfully set up a dual-boot system with Windows 7 and Linux Mint Debian 2, you’ll need to have access to a Windows 7 computer. After that, enough space has to be recovered from the C drive to use for installing LMDE 2. Then you’ll download an installation image of LMDE 2, transfer it to a USB stick and then install it alongside Windows 7 on the target hard disk.
To install LMDE 2, the following partitions have to be created:
  • Root partition – mounted at /
  • Home partition – mounted at /home
  • Swap partition
If you’re new to disk partitioning in Linux, take a moment to read Beginners to disks and disk partitions in Linux before embarking on this fun adventure.

SSH in simple five steps

SSH (Secure SHELL) is an open source and most trusted network protocol that is used to login into remote servers for execution of commands and programs. It is also used to transfer files from one computer to another computer over the network using secure copy (SCP) Protocol.
In this article we will show you how to setup password-less login on RHEL/CentOS 7.x/6.x/5.x and Fedorausing ssh keys to connect to remote Linux servers without entering password. Using Password-less login with SSH keys will increase the trust between two Linuxservers for easy file synchronization or transfer.
SSH Passwordless Login
Setup SSH Passwordless Login

NginX as Reverse proxy : Multiple applications on single domain

Usually when you install a Web Application you assign its own domain for it, but there are a handful times when you want to install two or even more applications under the same domain. For example, let’s say you have a Wordpress blog, and you want to use ZenPhoto for your photo album, and just to complicate it a little more you want to have a forum managed by Discourse. Sure you can just use Wordpress plugins to make Wordpress manage all of these, or use Drupal or any other thing, but for this example let’s suppose you want to do it this way.

Way2SMS PHP integration

Way2SMS PHP Integration 


Way2Sms is free SMS provider in India as well as abroad, It is best in class service provider. We need SMS verification like OTP (One Time Password ), Notification and information for our website/applications. I also have same requirement for my web application where I need to send OTP for user authentication. I search a lot for free services but  now days, everyone busy to make money so There is no free service for SMS Gateway than I found a way to right a script in PHP which communicate with way2sms and send a message. Hope so it is also work for you.

Requirement : 
PHP 5.5 + 
support for PHP curl
valid way2sms account.
create cookie.txt and temporary.txt in same directory.

HAProxy (High Availability Proxy)

HAProxy(High Availability Proxy) is an open source load balancer which can load balance any TCP service. It is particularly suited for HTTP load balancing as it supports session persistence and layer 7 processing.





HA Proxy Setup  :

I was working with Apache Webserver from very long but when I jumped into the world of NodeJS I started loving websockets. Soon I was planning to integrate my PHP applications with NodeJS. I was happy to use both, till I was not running both the applications on default web service port 80. But when I tried to configure Apache virtual hosting for proxying my request to NodeJS server port, it was not allowing my websocket communication to happen. I tried alot of modules but didn’t got success. And after alot of googling I found something which helped me to achieve what I need. Once I configured HAProxy on my system I was able to serve both applications, PHP and NodeJS through port 80 just by virtual hosting of HAProxy.