NS1.com Free DNS Hosting supports AXFR , Secondary DNS and free MONITORING

Choosing a reliable DNS hosting provider is critical because it can affect everything from the redundancy of your website, speed, and even security.Howsvps recommend using 2 different DNS providers (primary and secondary) to ensure your website is fully redundant.

Most of big domain registrar companies like GoDaddy, NameCheap, Name, etc. provide free DNS hosting. However, using third-party DNS servers has its own advantage. They are more reliable, redundant and mostly have several servers located around the globe.

NS1.com is a data driven DNS provider with speeds faster than many other top-tier providers,founded by a team of hardcore infrastructure geeks.Launched in 2013, NS1 has been providing DNS services to Imgur, Yelp, Max CDN, OpenX, Collective and imgIX.

 

More Free DNS Hosting you can see :

  1. DNSPOD Free DNS services-Unlimited Domain Names,Record And DNS defense attack

What’s NS1.com Free DNS Hosting?

NS1’s cloud-based Managed DNS solution delivers the capabilities and speed to improve application performance and drive your business further, faster.NS1’s Free plan – up to 500 thousand queries and 50 records,and supports AXFR and Secondary DNS.

 

How to Create a NS1.com account?

1.NS1.com :

Go to website:https://ns1.com/

2.Creating a new account with NS1 is quick and easy.Click’Free Trial ’,and Set Up Username ,Email .

 

3.Sign up with NS1.com Successully .

 

4.To begin, log in to the NS1 customer portal,you can see Dashboard ,Zones,Monitors.

 

NS1.com CREATING A ZONE

1.Navigate over to the Zones section of the NS1 portal, and click “Zones “.

 

2.There are three methods to add zone .Manual setup:Create an empty zone, add your own records .Zone file import:Import a BIND-compatible zone file .Secondary zone:Configure NS1 as secondary DNS.

 

3.Enter your domain name. If necessary,you can change :SOA TTL (seconds) ,Refresh (seconds) ,Retry (seconds) .

 

4.A new zone will be created and it will be populated with an NS record with the appropriate NS1 nameservers: dns1.p06.nsone.net,  dns2.p06.nsone.net,  dns3.p06.nsone.net,  dns4.p06.nsone.net.

 

5.New Record .Set up the basics of your record here — you can do additional configuration after creating a basic record.Enter a subdomain within the yourname .com zone. You may enter ‘*’ as the first component of the subdomain to create a wildcard record.

 

6.Record Type :A,AAAA,CNAME,DNAME,TXT…

 

7.In ‘Zones’,you can see your domains.

 

NS1.com Free HIGH FREQUENCY MONITORING

1. The NS1.com platform includes built-in, integrated monitoring that gives you control over what assets to monitor.click’Monitors’.

 

2.New Monitoring Job.You could choose Job Type ,Job Name ,Regions (Amsterdam ,Dallas ,New York ,Singapore ,San Jose),Frequency (Minimum: 60 sec).

 

3.Your Monitoring Jobs.Click a monitoring job to edit its basic settings, see more details about the current status of the monitor, and review historical data.

 

Configure NS1.com  as secondary DNS

1.You can use NS1 as a secondary DNS provider, slaved to your primary DNS server.You must configure your primary DNS server to allow AXFR queries fromxfr01.nsone.net (192.241.159.119).

 

2.You will need to manage your records on your primary server, and will only be able to deliver STATIC records.

 

3.Once the zone syncs, all the records you have configured on your primary server will appear in the zone in your NS1 account.If a zone transfer fails, the zone enters a “warning” state.

 

He.net Slaving from NS1

1.In the NS1 Portal, navigate to the zone you want to slave.

 

2.And click to enable Zone Transfer .Please allow zone transfers from slave.dns.he.net (216.218.133.2/2001:470:600::2).

 

3.In He.net ,click ‘Add a new slave’, configure your hosts to use xfr01.nsone.net (192.241.159.119) as the master.

 

4.Slaves for this account. Allow slave.dns.he.net to AXFR.Domains within this section are not editable. He.net pull the zone from NS1.com nameservers specified.

 

Conclusion

IF you are using BIND for your primary nameserver,you might add a snippet like this to your configuration file:

zone "myzone.com" IN {
    // slaved from xfr01.nsone.net
    type slave;
    file "/var/lib/bind/myzone.com.db";
    masters { 192.241.159.119; };
};

One important consideration when slaving from NS1 is that  AXFR does not support slaving any of NS1’s advanced functionality and configuration information, including ALIAS records, Filter Chain configurations, answer metadata, and other details.

Heroku Free PHP Hosting-512MB Ram,custom domains and WordPress on Heroku

Heroku is a cloud platform as a service(PAAS),and has been around since 2007.It is popular due to its support for variety of languages, including Ruby, Python, Java, Node.js, Scala and PHP. Heroku supports an ephemeral filesystem. This means that installing plugins or addons should be done and tested locally.

In this tutorial we will be hosting a WordPress blog on Heroku. It will require the same procedure as involved in setting up PHP application.Heroku will provide you with a URL of the form yourapp.herokuapp.com. You can bring your own domain name and attach it to this URL.

 

For more Free PHP Hosting,you will like:

  1. Openshift Free PHP, MySQLand phpMyAdmin Hosting-512MB RAM and 1GB disk
  2. SourceForge.net project web service-Free Web Hosting with PHP, MySQL,SFTP

How to Deploy WordPress on Heroku With Heroku-WordPress template

Sign up for a free Heroku account. Go to Website:https://www.heroku.com/,and sign up for free.

 

In the Dashboard,Click ’new’to create a new app.

 

Then Set App Name ,Runtime Selection (Your app can run in your choice of region in the Common Runtime).

 

In Personal apps ,You can set Overview ,Resources ,Deploy ,Metrics ,Activity ,Access ,Settings .

 

There are three Deployment methods to Deploy app on Heroku:Heroku Git (Use Heroku Toolbelt),GitHub (Connect to GitHub),Dropbox (Connect to Dropbox).

Deploy using Heroku Git 
Install the Heroku Toolbelt.Download and install the Heroku Toolbelt or learn more about the Heroku Command Line Interface. 
If you haven't already, log in to your Heroku account and follow the prompts to create a new SSH public key.

$ heroku login

Create a new Git repository
Initialize a git repository in a new or existing directory

$ cd my-project/
$ git init
$ heroku git:remote -a howsvps

Deploy your application
Commit your code to the repository and deploy it to Heroku using Git.

$ git add .
$ git commit -am "make it better"
$ git push heroku master
--------------------------------------------------------------------------------

Existing Git repository
For existing repositories, simply add the heroku remote

$ heroku git:remote -a howsvps 

In Setting,You can change App’s Name,Config Variables .

 

You could see app Info:Region \Stack \Framework \Git URL \Repo size \Slug size .

 

Deploy WordPress Build Pack With Heroku-WordPress template

  • 1. https://heroku.com/deploy?template=https://github.com/technomile/Heroku-WordPress
  • 2. https://heroku.com/deploy?template=https://github.com/ellefsen/wordpress-heroku-php/tree/master

Go to Heroku-WordPress and set app name.

 

Config Variables ,You should set up AWS account.Keys marked with * require a value.

 

Deploy WordPress on heroku successfully .

 

You should now be able to finish WordPress setup .

 

Heroku-WordPress template Add-ons include:ClearDB MySQL(Ignite,Free ),SendGrid(Starter,Free ),MemCachier(Developer,Free ),Papertrail(Choklad,Free ),New Relic APM(Wayne,Free).

 

WordPress on Heroku.

 

How to Deploy WordPress on Heroku With Heroku toolbelt

In this tutorial, I’ll be deploying WordPress, that we’ll deploy on Heroku using the toolbelt.

 

Set up Heroku Toolbelt.,PHP,Composer,Git

Before you continue, check that you have the prerequisites installed properly.Firstly you should install the Heroku Toolbelt,which provides you access to the Heroku Command Line Interface (CLI).

 

Heroku Toolbelt support for Mac OS X,windows,debian.On Windows, start the Command Prompt (cmd.exe) or Powershell to access the command shell.Using :heroku login to Connect to Heroku account.

heroku login
Enter your Heroku credentials.
Email: [email protected]
Password:
...

Then type each command below and make sure it displays the version you have installed(How to LNMP:How to use OneinStack to deploy LEMP/LNMP/LAMP on VPS).

#php 
php -v
PHP 7.0.5 (cli) (built: Apr 26 2016 04:39:48) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies

#composer
composer -V
Composer version 1.1-dev (135783299af0281db918c103cceb2b202ae154f2) 2016-07-27 13:14:01

#git 
git --version
git version 2.2.1

Deploy WordPress on Heroku Guide,Run the following from the terminal:

 
git clone [email protected]:bkvirendra/wordpress-heroku.git #Clone the repository as `wordpress-heroku`
cd wordpress-heroku
heroku create
heroku addons:add heroku-postgresql:dev  #add the database add-on to your app
heroku pg:promote HEROKU_POSTGRESQL_COLOR_NAME --app APP_NAME #promote the database attached to the app

Now edit the `wp-config.php` file and update the unique keys:

define('AUTH_KEY',        		 'put your unique phrase here');
define('SECURE_AUTH_KEY',  	'put your unique phrase here');
define('LOGGED_IN_KEY',    		'put your unique phrase here');
define('NONCE_KEY',        		'put your unique phrase here');
define('AUTH_SALT',        		'put your unique phrase here');
define('SECURE_AUTH_SALT', 	'put your unique phrase here');
define('LOGGED_IN_SALT',   	'put your unique phrase here');
define('NONCE_SALT',       		'put your unique phrase here');

Commit the files:

git add .
git commit -m “first wordpress commit”
git push heroku master

Conclusion

Images and files on Heroku are temporarily and deleted when your dyno is restarted.As a workaround you can subscribe to AWS storage and write a bit of code which saves media on AWS instead of Heroku when you upload the file.

 

For instance, when you upload images or install plugins it will store them in the wp-content folder, but heroku is read only, so your data will be deleted every time the server reboots.

Setup AWS – S3 to store images on heroku.

Log In from AWS services dashboard select Identity & Access Management to create a user.Click on Users then click on Create New User in input type nameofapp click create to generate special keys and save the keys keep in safe place.

 {
    "Version": "2016-07-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": "s3:*",
            "Resource": [
                "arn:aws:s3:::BUCKETNAME",
                "arn:aws:s3:::BUCKETNAME/*"
            ]
        },
        {
            "Effect": "Allow",
            "Action": "s3:ListAllMyBuckets",
            "Resource": "arn:aws:s3:::*"
        }
      ]
   } 

Going to the app/settings config vars click edit and name and insert keys. example use AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY this will be called from your wp-config.php file in your app so the variables should be named the same.

Setup Sendgrid to send emails from wordpress on heroku.

Your sengrid username password in app/settings config vars.Simply copy those sendgrid vars and navigate to Sendgrid in wordpress dashboard and paste them in the username password inputs there and save.

DNSPOD Free DNS services-Unlimited Domain Names,Record And DNS defense attack

DNSPod was founded in 2006,And devotes itself to professional research in the field of DNS for 8 years, so DNSPod own the perfect resolution system –professional, high-speed, stable and safe.

Up to now, DNSPod has 700,000 registered users, 3,000,000 domain names. And handle more than 17 billion DNS requests each day.DNSPod primary goals are DNS security and qualified DNS services.

DNSPOD allows you to add unlimited domain Names and unlimited record,And the DNS services are Real-Time Effective.This tutorial will show how to host your Domains on DNSPOD.

More web hosting you would like:

  1. Openshift Free PHP, MySQLand phpMyAdmin Hosting-512MB RAM and 1GB disk
  2. Free Vultr servers-VULTR $50 gift code for new account Linux & Windows VPS
  3. How To Install LEMP on Debian & Ubuntu (Linux, nginx, MySQL, PHP,PHPMyAdmin)

What is DNSPOD?

DNSPOD mostly proud is the DNSPod DNS Server and DNSPod DNS Protector.Over 436 servers are providing services at the same time including more than 370 gigabit- level DNS servers, 60 ten gigabit-level servers, and 10 cloud cluster nodes.

DNSPod is the top of its profession.DNS attack detection and defense technology can detect and defend against DNS attack in real-time. The capability of defense attack is able to attain 200G per second.

Start your DNSPod journey

1.Go to DNSPod Websites:https://www.dnspod.com/,And Click ‘Register’to create an account.In the registrar page, please enter your email address and passcode.

2.In DNSPod Operation ,click Add domain name to add your domains.

3.When you enter the domain control panel, the relevant DNS servers for your domain name will be shown on the dashboard.Free DNS:a.dnspod.com,b.dnspod.com,c.dnspod.com

4.How can the domain name registered in Godaddy use DNSPod?Go Godaddy domains control panel,click the domain name you want to modify, and then click the Nameservers on the top of the page.Choose Custom, and then click Add Nameservers on the down left corner.

5.Please wait for it going to effect patiently.PS, Modifying DNS server takes 72 hours at most to go into effect.

How to add A Record and CNAME Record?

1.How to add A record?In the host record field, please add sub domain name.Type of record is A.

2.Type of line.Default:It is necessary. Otherwise, only through specified line can users visit your website. Search Engine:The spider grabs the appointed server IP.

3.How to add CNAME record?In the host record field, please add sub domain name. Type of record is CNAME.The value of record is domain name directed by CNAME. Please enter domain name only.

4.DNSPOD also support for A Record,CNAME Record,MX Record,TXT Record,URL Record,SRV Record,AAAA Record(ipv6),NS Record.

How to implement load balance via DNSPod?

1.If you have many servers and you need to distribute the flow to each server, you can make use of DNSPod load balance to help you do this.

2.For example ,If you have 3 U servers and 3 Te servers, and you want to achieve the aim of distributing the flow from U visitors to U servers and the Te visitors to Telecom servers, you can set like this.

Conclusion

Using high quality DNS is so important to the redundancy of a website. Howsvps recommend using 3 different DNS providers to ensure your website is fully redundant. DNSPOD is one of Choices .

Openshift Free PHP, MySQLand phpMyAdmin Hosting-512MB RAM and 1GB disk

OpenShift is a platform-as-a-service from the open source leader, Redhat.OpenShift’s hosting platform makes it easy to run container-based web application in the cloud, and it has a free tier, which has enough power to create a WordPress site.

Openshift Hosting free account doesn’t have a time limit  and it doesn’t require a credit card to sign up.For a free account with OpenShift, you get 512MB RAM and 1GB storage. You can use your own domain name for your WP site.

You can host a WordPress website free of charge on OpenShift, an open source PaaS service by Red Hat. It’s truly free and can be set up using your own domain name. The free hosting is good enough for small or personal sites without big traffic.

More Free Web Hosting:

Create An OpenShift account and Application

1. OpenShift is just a PAAS like many others,comes with a free plan of 3 small gears.Small gears provide 512MB RAM and 1GB disk quota under the free plan.You need to get a OpenShift hosting account, which can be signed up for free.

OpenShift website:https://www.openshift.com/

2.Just go to Openshift website and register using your email, no credit card is required.

3.Log in to the online console of OpenShift.Choose Applications from the top menu.

4.Choose a type of application.Choose a web programming cartridge or kick the tires with a quickstart.

5.After clicking on QuickStart its start a new page where some essential settings for your QuickStart, Enter your application name, OpenShift will automatically register this domain name for your application. You can add your own domain name later.

6.After setup, it’s open a page where you find your credentials. Please make note of database credentials for your application.

Get Your Openshift WordPress Up

1.You’ve started a WordPress application on OpenShift ,but it’s still not completely configured.We need to configure the necessary options. Choose Applications from the top menu.

2.Click on your app’s public URL given at the top.

3.Open your Blog URL and its open WordPress Famous Five Minute Installation.

4.Setup All Setting:Site Title,Username,Password,Your E-mail.

5.Click on the ‘Install WordPress’ button. WordPress should greet you with success!Your Blog is now Ready to Show.

6.Congratulations for successfully setting up your free WordPress blog.Openshift WordPress WP admin web interface .

Openshift Mysql and PHPmyAdmin

1.Openshift WordPress is composed of cartridges – each of which exposes a service or capability to your code.

2.Click PHPmyAdmin 4.0 to add to you Openshift WordPress .

3.Go back to application page,You can see PHP 5.4 , MySQL 5.5 and PHPmyAdmin 4.0.

4.Once it’s installed, launch it, you will be asked for MySQL username/password.Managing a MySQL database with phpMyAdmin.

Attach Your URL In OpenShift WordPress Blog

1.On your app summary page, next to your URL, there’s a small link “change”. Clicking on that link will take you to a page where you can set up your own domain name.

2.Then, you need to set up a CNAME record with your DNS provider.

3.Go to WordPress Dashboard and select Settings >> General. Change WordPress Address(URL) and Site Address(URL) with your new domain.

Connect to OpenShift server with putty (ssh)

2.First download PuTTY and PuTTYgen:http://www.putty.org/.Open PuTTYgen and generate an SSH-2 RSA key with 2048 bits.

3.Then,Open OpenShift settings page to add your newly generated Key.Click on Add new key… button.

4.On next page, you paste your public key .

5.Open your WordPress Application page which was created in the previous tutorial.Copy Source Code.

6.Now open putty and past it there.

7.Go to Connection -> SSH -> Auth and set Private key file for authentication.

8.Now save putty session and connect to OpenShift application.

Connect to OpenShift server with Winscp

1.OpenShift requires rch setup for communicating with your OpenShift application but it’s difficult to step for a newbie to setup this using git. Using below steps, you can setup SFTP in the easiest way.

2.Open winscp:File protocol-sftp(select from dropdown),Hostname: your  SSH Address,Username:your username for openshift(the full email id),Password: your openshift password you use to login.

3.Private key: select the .ppk file (generate by putty key gen) for authentication.

4.After login,you can drag and drop your war files and do whatever you want in the servers directory.Everything will be live updated and deployment will be reflected live.

Conclusion

Now, you’ve a fully functional WordPress website that’s hosted for free on Openshift and you’ve full access to your gear in case you want to access anything. OpenShift suggests installing a WordPress plugin that stores all media files to a third party service such as AWS S3 or Dropbox.

By default, such emails will have a sender address like [email protected], which tends to be delivered to people’s spam folder. OpenShift suggests using third-party email services such as SendGrid (can be signed up and used for free) to handle emails.

SourceForge.net project web service-Free Web Hosting with PHP, MySQL,SFTP

SourceForge is a free and well-established open-source project repository. It currently hosts over 430,000 open-source projects.SourceForge allows you to store your project’s source code under revision control. SourceForge can provide you with a Git, Mercurial, or Subversion repository.

All open source projects may use free web hosting with PHP and MySQL.You can set up web pages to describe your project – SourceForge can host your web site for you with sourceforge.net subdomain or your own domain name.

SourceForge.net project web service support for PHP, Perl, Python, Tcl, Ruby, and shell scripts. You can upload to SF through a SFTP client. You also get the option of using Git, Subversion (SVN) and Mercurial (Hg) .

SourceForge Project web servers frequently handle more than 50M hits per day.

The project web platform has been standardized on CentOS 5.x Linux, running Apache 2.2.x.

Support for PHP (via mod_php), Perl, Python, Tcl, Ruby, and shell scripts.

Support for MySQL , DBM, and SQLite.

Project web content may be uploaded using File management service or be managed directly using our Shell service.

Each project is allocated the UNIXNAME.sourceforge.net VHOST (virtual host), which is used to serve their project web content.

Common web server features are provided, such as mod_rewrite, Server-Side Includes (SSI), HTTP Basic Auth, and custom error handler support.

In this article I will provide an overview of SourceForge.net project web service and the free web hosting features.More free web hosting read:Free Vultr servers-VULTR $50 gift code for new account Linux & Windows VPS.

 

Set up a SourceForge account

SourceForge.net project web service allows you to host HTML content, expose Doxygen or JavaDoc API documentation or create an informative and enticing entry point for your project.

 

Before you can create a project on SourceForge, you’ll need an account.

 

Visit https://sourceforge.net.Click Create,Enter your name, email address and select a user name.

How to Create a SourceForge project

Click My profile and my projects,Enter a project name and a URL,Select your initial set of tools e.g. forums, blog, wiki, tickets, and your preferred revision control tool e.g. Git or Subversion.

SourceForge will automatically create for you a project site available via a URL determined by your project name, e.g. http://sourceforge.net/projects/howsvps .

 

SourceForge Custom VHOSTs and Mysql

Project web sites may additionally be served using a domain you register. SourceForge.net will route this traffic to your project web site when configured through Custom VHOST service.

Connecting to Sourceforge.net MySQL database.

You can create Mysql database with PHPMYADMIN .

SourceForge File Transfers

In addition to using the web based File manager, SourceForge also provides access to various filesystems using the ssh protocol suite for securely managing content for your project using SCP, SFTP, and rsync.

You can log into SourceForge and upload web pages using secure FTP.

Connection Settings:

Host: web.sourceforge.net
Protocol: SFTP
Port: 22
Username: Your Login Name (User Name) 
Password: Your Login Password
Upload path: /home/project-web/youproject/howsvps 

You may perform a basic copy operation to transfer a file from your workstation to the remote server.Click on the remote server pane, and change to the desired destination directory,Click on the filename of the file and drag it from the local workstation page to the remote server pane.

Uploading Project web content using rsync.An example session might look like (where Username=”howsvps”, Project URL name=”youproject”):

Host: web.sourceforge.net
rsync -avP -e ssh site/ [email protected]:/home/project-web/youproject/htdocs/
building file list ... 
4 files to consider
./
image1.png
       73342 100%   38.69MB/s    0:00:00 (xfer#1, to-check=2/4)
image2.png
       34694 100%   33.09MB/s    0:00:00 (xfer#2, to-check=1/4)
index.php
          50 100%    4.07kB/s    0:00:00 (xfer#3, to-check=0/4)

sent 108369 bytes  received 92 bytes  5862.76 bytes/sec
total size is 108086  speedup is 1.00

Conclusion:

SourceForge.net has a totally different project structure when compared with GitHub. You can only create projects with a unique name. SF unlike others, also lets you host both static and dynamic pages, with the option of integrating a CMS too.

I know you wish to keep your budget minimal and instead of going to free one, you should opt for some of the cheapest hosting, which offers quality service at very reasonable amount.RamNode\Linode\host1plus\BandwagonHost.

How to use OneinStack to deploy LEMP/LNMP/LAMP on VPS

LEMP stack is another most setup of a server or a virtual private server (VPS) besides LAMP. LEMP (or LNMP) stands for Linux, Nginx, MySQL and PHP.It’s a web server that can server millions of visitors a day with no single blip.

In today’s post I’ll show you how to build a working CentOS/Redhat Debian and Ubuntu VPS to host websites using Nginx Or Apach including steps how to install  full LNMP stack.This guide will make use of OneinStack, a LEMP (Linux, Nginx, MariaDB MySQL & PHP-FPM) web stack installer.

Prerequisite

1.A server (VPS / Dedi) :

  1. Linode VPS Review-How to Create a Linode Server
  2. RamNode VPS Review-Cheap KVM and SSD VPS Starts at $3.50/mo

2.A knowledge on:

  1. How To Install LEMP on Debian & Ubuntu (Linux, nginx, MySQL, PHP,PHPMyAdmin)
  2. How to test VPS Speed and Performance? Install and Run UnixBench & sysbench

What is OneinStack?

This script is written using the shell, in order to quickly deploy LEMP/LAMP/LNMP/LNMPA(Linux, Nginx/Tengine/OpenResty, MySQL in a production environment/MariaDB/Percona, PHP), applicable to CentOS 5~7(including redhat), Debian 6~8, Ubuntu 12~16 of 32 and 64.

Github:https://github.com/lj2007331/lnmp

 

OneinStack Features

Many Shared Hosting users worry about complexity of setting up and managing a VPS.What OneinStack does is automating most common configuration of server for web hosting. It helps newbies to setup a working server to host their website, blog or forum easily and quickly .

Database versions (MySQL-5.7, MySQL-5.6, MySQL-5.5, MariaDB-10.1, MariaDB-10.0, MariaDB-5.5,Percona-5.7, Percona-5.6, Percona-5.5)
PHP versions (php-7, php-5.6, php-5.5, php-5.4, php-5.3)
Provide Nginx, Tengine, OpenResty
Providing a plurality of Apache version (Apache-2.4, Apache-2.2)
PHP Cache Accelerator: ZendOPcache, xcache, apcu, eAccelerator. 
PHP encryption and decryption tool: ionCube, ZendGuardLoader.
Installation Pureftpd, phpMyAdmin.Install memcached, redis .
Providing add a virtual host script, include Let's Encrypt SSL certificate
Provided under HHVM install CentOS 6,7

How to install Oneinstack ?

For CentOS/Redhat:

yum -y install wget screen   // For CentOS / Redhat
wget http://mirrors.linuxeye.com/lnmp-full.tar.gz   // Contains the source code
tar xzf lnmp-full.tar.gz
cd lnmp    
screen -S lnmp    // if network interruption, you can execute the command `screen -r lnmp` reconnect install window
./install.sh   

For Debian/Ubuntu:

apt-get -y install wget screen    
wget http://mirrors.linuxeye.com/lnmp-full.tar.gz   // Contains the source code
tar xzf lnmp-full.tar.gz
cd lnmp    
screen -S lnmp    // if network interruption, you can execute the command `screen -r lnmp` reconnect install window
./install.sh   

 

Select Nginx or Apache to install :

Do you want to install Web server? [y/n]: y.Please select Nginx server:
        1. Install Nginx
        2. Install Tengine
        3. Install OpenResty
        4. Do not install

Please select Apache server:
        1. Install Apache-2.4
        2. Install Apache-2.2
        3. Do not install
Please input a number:(Default 3 press Enter) 

Select which Databases and PHP versions to  use :

Do you want to install Database? [y/n]: y

Please select a version of the Database:
        1. Install MySQL-5.7
        2. Install MySQL-5.6
        3. Install MySQL-5.5
        4. Install MariaDB-10.1
        5. Install MariaDB-10.0
        6. Install MariaDB-5.5
        7. Install Percona-5.7
        8. Install Percona-5.6
        9. Install Percona-5.5
Please input a number:(Default 2 press Enter) 
Please input the root password of database: fydx19871227

Do you want to install PHP? [y/n]: y

Please select a version of the PHP:
        1. Install php-5.3
        2. Install php-5.4
        3. Install php-5.5
        4. Install php-5.6
        5. Install php-7
Please input a number:(Default 3 press Enter) 

Opcode cache\ImageMagick or GraphicsMagick\phpMyAdmin\redis\memcached\HHVM:

Do you want to install opcode cache of the PHP? [y/n]: y
Please select a opcode cache of the PHP:
        1. Install Zend OPcache
Please input a number:(Default 1 press Enter) 

Do you want to install ImageMagick or GraphicsMagick? [y/n]: n

Do you want to install Pure-FTPd? [y/n]: n

Do you want to install phpMyAdmin? [y/n]: y

Do you want to install redis? [y/n]: y

Do you want to install memcached? [y/n]: y

Do you want to use jemalloc or tcmalloc optimize Database and Web server? [y/n]: y
Please select jemalloc or tcmalloc:
        1. jemalloc
        2. tcmalloc
Please input a number:(Default 1 press Enter) 

Do you want to install HHVM? [y/n]: n

Once you’ve followed all those steps above including the last step, you can see it .

So fire up your browser and point it to the servers’ IP address.OneinStack default welcome page should be seen there:

Now you can manage your MySQL databases from phpMyAdmin web interface.

Navigate to  http://server-ip-address/phpinfo.php. It will display all the details about php such as version, build date and commands etc.

How to use OneinStack?

Add a virtual host:

cd ~/lnmp    // Must enter the directory execution under lnmp
./vhost.sh    // Do not sh vhost.sh or bash vhost.sh such execution

Delete a virtual host:

cd ~/lnmp
./vhost.sh del

Backup:

cd ~/lnmp
./backup_setup.sh    // Backup parameters 
./backup.sh    // Perform the backup immediately 
crontab -l    // Can be added to scheduled tasks, such as automatic backups every day 1:00 
  0 1 * * * cd ~/lnmp;./backup.sh  > /dev/null 2>&1 &

How to manage service

Nginx/Tengine/OpenResty: service nginx {start|stop|status|restart|reload|configtest}

MySQL/MariaDB/Percona: service mysqld {start|stop|restart|reload|status}

PHP: service php-fpm {start|stop|restart|reload|status}

HHVM: service supervisord {start|stop|status|restart|reload}

Apache:service httpd {start|restart|stop}

Pure-Ftpd: service pureftpd {start|stop|restart|status}

Redis: service redis-server {start|stop|status|restart|reload}

Memcached: service memcached {start|stop|status|restart|reload}

Conclusion

Finally, at this point you have installed and configured full LEMP stack properly. All you have to do is just adding some more additional Virtual Host / Server Block for each domain you want to host to that server.

How To Install LEMP on Debian & Ubuntu (Linux, nginx, MySQL, PHP,PHPMyAdmin)

The LEMP (Linux, nginx, MySQL, PHP,PHP,MyAdmin)software stack is a group of software that can be used to serve dynamic web pages and web applications.In this guide, I will walk you through installing all of these components on Debian & Ubuntu .

This tutorial series helps sysadmins set up a new web server using the LEMP stack, as well as all of the required repos to download nginx and php-fpm. It will also review how to configure php and nginx, as well as how to create a php info page.

You can read the following articles to know more about Cheap VPS Hosting and VPS Tutorials .

  1. How to test VPS Speed and Performance? Install and Run UnixBench & sysbench
  2. RamNode VPS Review-Cheap KVM and SSD VPS Starts at $3.50/mo
  3. host1plus VPS Review-Affordable & Quick VPS Hosting RAM 256 MB Only $2.00/mo

How to Install the Nginx Web Server

Nginx is a open source web server. Generally, Apache is installed on majority of the servers but Nginx tends to give better performance out of the box compared to Apache.

There are several ways to install Nginx.

1.Install Nginx from Repositories

sudo apt-get update && sudo apt-get upgrade
sudo apt-get install nginx

2.Install Nginx from a Source Distribution

sudo apt-get install libpcre3-dev build-essential libssl-dev
cd /opt/
sudo wget http://nginx.org/download/nginx-1.9.2.tar.gz
sudo tar -zxvf nginx*.tar.gz
cd /opt/nginx-*
sudo ./configure --prefix=/opt/nginx --user=nginx --group=nginx --with-http_ssl_module --with-ipv6
sudo make
sudo make install
sudo adduser --system --no-create-home --disabled-login --disabled-password --group nginx
 
#Create a script to run Nginx: /lib/systemd/system/nginx.service
[Unit]
Description=A high performance web server and a reverse proxy server
After=network.target
[Service]
Type=forking
PIDFile=/opt/nginx/logs/nginx.pid
ExecStartPre=/opt/nginx/sbin/nginx -t -q -g 'daemon on; master_process on;'
ExecStart=/opt/nginx/sbin/nginx -g 'daemon on; master_process on;'
ExecReload=/opt/nginx/sbin/nginx -g 'daemon on; master_process on;' -s reload
ExecStop=-/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /opt/nginx/logs/nginx.pid
TimeoutStopSec=5
KillMode=mixed
[Install]
WantedBy=multi-user.target

sudo chmod +x /lib/systemd/system/nginx.service
sudo systemctl start nginx

3.Configure Server Blocks

Now, we need to configure nginx.Create the server block file /etc/nginx/sites-available/howsvps.com(replace howsvps.com with your domain:)

server {
listen   80;
server_name www.example.com example.com;
access_log /var/www/html/example.com/logs/access.log;
error_log /var/www/html/example.com/logs/error.log;

location / {
    root   /var/www/html/example.com/public_html;
    index  index.html index.htm;
}
}

 

4.Create the public_html and log directories.

sudo mkdir -p /var/www/html/howsvps.com/{public_html,logs}

5.Enable the site and restart the web server.

sudo rm /etc/nginx/sites-enabled/howsvps.com
sudo /etc/init.d/nginx restart

After installation, we can verify nginx installation by opening the ip of server. It should display default nginx page.

Install and Configure PHP

PHP is a server-side scripting language designed for web development. The scripting role can also be filled with Python or Perl. We can do so by the running the following commands:

sudo apt-get install php5-fpm php5-mysql

Then open up php.ini:

sudo nano /etc/php5/fpm/php.ini
# Find the line cgi.fix_pathinfo=1 and change the 1 to 0.
cgi.fix_pathinfo=0

 

php5-fpm configuration. Open up www.conf:

sudo nano /etc/php5/fpm/pool.d/www.conf

#Find the line, listen = 127.0.0.1:9000, and change the 127.0.0.1:9000 to /var/run/php5-fpm.sock.
listen = /var/run/php5-fpm.sock
sudo service php5-fpm restart

Install and Configure MySQL Database Server

MySQL is commonly used as the database for most LEMP stacks or other LAMP stacks.Open terminal and type in these commands:

sudo apt-get install mysql-server

During the installation,You should set a root password.

 

Create a database and grant permissions.

mysql -u root -p
create database howsvps;
grant all on howsvps.* to 'howsvpsu' identified by '1234567';
quit
sudo /etc/init.d/php-fastcgi restart

OR

#to generate the directory structure
sudo mysql_install_db
sudo mysql_secure_installation

Install and Configure phpMyAdmin

PhpMyAdmin is a powerful PHP based gui for MySQL. phpMyAdmin was originally developed by Tobias Ratschiller.Installing phpMyAdmin is almost as easy as installing MySQL, just a few more steps.

Install phpMyAdmin

sudo apt-get install phpmyadmin

During the installation,You could choose the web server that will automatically configured to run PhpMyadmin .

The next prompt will ask if you would like dbconfig-common to configure a database for phpmyadmin to use. Select “Yes” to continue.

Afterward, you will be asked to select and confirm a password for a new database that will hold phpMyAdmin’s own data.

You just need to create a symbolic link from the installation files to our Nginx document root directory by typing this:

sudo ln -s /usr/share/phpmyadmin /usr/share/nginx/html

#enable the mcrypt PHP module
sudo php5enmod mcrypt
sudo service php5-fpm restart

You should now have a configured and secured PHPMyAdmin instance and MySQL database ready to use. Go to your server’s domain name or public IP address followed by /phpmyadmin, in your web browser:

Conclusion

You should now have Linux, nginx, MySQL, PHP,PHPMyAdmin configured and ready to use on your Debian & Ubuntu server. If you want to host websites on your server running NGINX ,you can use NGINX server blocks.

Server blocks are the NGINX equivalent of Apache’s virtual hosts – they let you direct incoming HTTP traffic for a domain name to a particular directory on your server.

RamNode VPS Review-Cheap KVM and SSD VPS Starts at $3.50/mo

Ramnode.com is available for the purpose to provide the affordable VPSs with the best and powerful features with the years of hosting experience.They have been in market for long time providing VPS cloud servers at affordable price tag.

Ramnode offers high speed SSD VPS with Intel Xeon CPU’s. RamNode has several data centers (Netherlands, Atlanta, New York City, Seattle and Los Angeles) and they all offer excellent uptime in my experience.

One level of RamNode VPS’s services are that they offer SSD-Cached plans. These plans give you a VPS on a server that has SSD hybrid drives.You can read the following articles to know more about Cheap VPS Hosting.

  1. Linode VPS Review-How to Create a Linode Server
  2. host1plus VPS Review-Affordable & Quick VPS Hosting RAM 256 MB Only $2.00/mo
  3. BandwagonHost VPS Review -Cheap SSD VPS 256 MB RAM Only $2.99/m

RamNode VPS Plans & Pricing

Ramnode  has got a new DC, new servers, new technology (KVM) and SSD Cached plans.Click on “View Plans” and choose your server location e.g. Seattle.

RamNode VPS  plans goes from 512 MB RAM up to 8 GB of RAM, and the price starts at $3.50/mo up to $60/mo.Choose the VPS that is best suited for you,Click “Order Now”.

VPS Setup Guide for Ramnode

Visit: http://www.ramnode.com,And go  to the Client Area,Click the “Secure Client Login” button and login.

Click “View Details”,There are options here to reboot server etc together with billing and account info.

Go to the Solus VM Control Panel,Click “Manage” button for your server.

Click “Reinstall” button,It will show you a list of possible OSs,croll to bottom of page and click the “Reinstall” button.I reinstalled the OS and updated all packages in Control Panel just like with BandwagonHost VPS.

If you’re interested in running a US based VPN, RamNode gives you the choice to enable TUN/TAP (required for OpenVPN) or PPTP in your VPS control panel.

RamNode VPS performance

As for speed, the company uses tier-1 network and I/O with RAID 10 SSD storage to provide fast speed for their users. For this test I used a single-core 512Mb Ram OpenVZ with 256Mb Swap and a 40Gb SSD-Cached disk, running Ubuntu 14.04 32-bit.

Disk I/O test.This is hard disk speed test that the server can read and write a 1GB file. Higher score is better. Result: 711 MB/s.

Bandwidth Test.The speed at which a 100MB file can be downloaded from the Speedtest.net . Higher score is better.Result: 584M/s.

Download speed test from the CacheFly CDN edge location.

UnixBench benchmark results for RamNode VPS .

Conclusion

As I said previously, if you care for disk speed and general performance and you value a great Control Panel, with nice graphics and all those neat options, RamNode VPS is a great choice.

You have the choice between really fast pure SSD plans with up to 966 MB/S disk speeds (DD) and slightly slower SSD cached plans with lot more disk space and disk speeds around 7-800 MB/s.

How to test VPS Speed and Performance? Install and Run UnixBench & sysbench

VPS hosting services eliminate many of the problems associated with shared servers including system slowdowns caused by other users on the servers.But when you purchased the VPS and want to know its performance, then you can simply perform the benchmark test yourself.

In this simple article I will tell you the magic command how to find out your server’s disk performance (I/O – write and read speed),CPU performance etc. .These two free tools allow you to conduct quick test on your server to easily find out its general info and performance.

 

There is more than one way to check the performance available on a VPS Server.If you are looking for great performance and ease of use, then you should look into Following :

  1. Linode VPS Review-How to Create a Linode Server
  2. host1plus VPS Review-Affordable & Quick VPS Hosting RAM 256 MB Only $2.00/mo
  3. BandwagonHost VPS Review -Cheap SSD VPS 256 MB RAM Only $2.99/m

How To Benchmark VPS System (CPU, File IO) With sysbench

Installing sysbench

For CentOS:

apt-get install sysbench
man sysbench

For Debian/Ubuntu:

wget http://nchc.dl.sourceforge.net/project/sysbench/sysbench/0.4.12/sysbench-0.4.12.tar.gz
tar zxvf sysbench-0.4.12.tar.gz
cd sysbench-0.4.12/
mkdir /usr/sysbench/
apt-get install automake
apt-get install libtool
./autogen.sh

 

How to Test VPS CPU Performance

The faster your CPU performs, the faster your server can process tasks. Just use the command(Note that this CPU measure is by no means comprehensive. but it does give an overall look at how CPU-bound workloads will be handled by the different VPSes.)

sysbench --test=cpu --cpu-max-prime=20000 run

File IO Benchmark

IOPS (input/output operations per second) are a metric that are commonly used to measure disk I/O performance.To measure file IO performance, we first need to create a test file that is much bigger than your RAM – 150GB is a good value:

sysbench --test=fileio --file-total-size=150G prepare

Afterwards, we can run the benchmark:

sysbench --test=fileio --file-total-size=150G --file-test-mode=rndrw --init-rng=on --max-time=300 --max-requests=0 run

How to Test VPS Disk I/O Performance

Disk performance is important.High disk IO is important to ensure your server works efficiently and your web applications do not slow down.This script is the one I see a lot in many forums and blogs.Just do the following

dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync

HDPARM

hdparm can be used to get/set the disk information, if you don’t have it, you can install by using:

sudo apt-get install hdparm
#yum install hdparm

You need to specify which hard disk partition, the first HDD is usually /dev/sda1, the second is /dev/sda2 or /dev/sdb1 etc.

hdparm -tT /dev/sda1

There is a big difference regarding to the disk performance between HDD and SD Card. Remember to remove the file by rm -f test after you finish the test.

 

Test VPS upload/download speed

We can use Matt Martz python script speedtest-cli to Test VPS upload/download speed.just do the following :

wget -O speedtest-cli https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py
chmod +x speedtest-cli
python speedtest-cli --share

Or

wget freevps.us/downloads/bench.sh -O - -o /dev/null|bash

heres an example ran from a Linode VPS

Install and Run UnxBench

UnixBench is a popular server benchmarking tool,its results depend not only on your hardware, but on your operating system, libraries, and even compiler.This tutorial will cover how to  install and run UnixBench on a VPS.

To install and run UnixBench, follow the instructions related to the Linux distribution you are using :

For CentOS:

yum install gcc gcc-c++ make libXext-devel
yum groupinstall "Development Tools"
yum install libX11-devel mesa-libGL-devel perl-Time-HiRes
wget -c http://byte-unixbench.googlecode.com/files/unixbench-5.1.3.tgz
tar xvzf unixbench-5.1.3.tgz
cd unixbench-5.1.3
make
./Run

For Debian/Ubuntu:

apt-get install libx11-dev libgl1-mesa-dev libxext-dev perl  perl-modules make
wget http://byte-unixbench.googlecode.com/files/unixbench-5.1.3.tgz
tar xvf unixbench-5.1.3.tgz
cd unixbench-5.1.3
./Run

My Conclusion

However those two tools are not the only script to perform benchmark but I consider it as the quickest and simplest available.Sysbench is one of the most common benchmarking utilities.

As for UnixBench: if it does encourage you to switch to a new system because it has a higher UnixBench Index Score, you might want to try upgrading your compiler first!

Linode VPS Review-How to Create a Linode Server

Linode is one of the best unmanaged virtual private server companies at present, which founded by Christopher Aker, launching in mid 2003.Linode offers multiple products and services for its clients.

I have been a core Linode VPS user for the past last 2 years. Currently I’m running 2 separate Linode VPS.I have to admit that using Linode proved a good decision.  Good experience alone was not a reason for this article.

This Linode review is based on my real experience with Linode and the feedbacks we received from the real customers.You can read the following articles to know more about Cheap VPS Hosting.

  1. host1plus VPS Review-Affordable & Quick VPS Hosting RAM 256 MB Only $2.00/mo
  2. BandwagonHost VPS Review -Cheap SSD VPS 256 MB RAM Only $2.99/m
  3. Vultr VPS Review-How to Build a VPS on Vultr

What is Linode Plans and Pricing ?

Linode has 9 VPS plans which range from $10/mo to $960/mo depending on the resources customers need.The cheapest Linode you can deploy is $10 a month which is almost as cheap as shared hosting!  The $10 Linode comes with 2GB RAM ,1CPU Core ,24 GB SSD Storage,2TB Transfer.

Linode has 8 geographically diverse data centers in the US, Europe, and Asia Pacific include London ,Newark,Atlanta,Dallas,Fremont,Tokyo,Singapore,Frankfurt.You  can choose the most suitable data center for the virtual servers.

Linode VPS Manager Control Panel

As Linode VPS is unmanaged, customers need to do everything like the hardware, network and virtualization. You have to take responsibility for monitoring, tuning, operating system, software, applications, and more.

The Linode Manager is their user-friendly control panel.You can see an overview of your servers performance charts in detail.  Navigation is simple and clean with the most important content in the forefront.

How to Create a Linode Server

Step 1 Create a free account and Trial Linodes .It is as simple as visiting https://www.linode.com and submitting your email address, username, and password.

 

Step 2 You will be asked to chose a geographical location.Just Select a Linode plan and data center location.Generally, it is best to chose the location closest to the majority of your users.

Step 3 Linode accept Visa, MasterCard, American Express, and Discover. And do not accept PayPal, however the PayPal credit card is branded by MasterCard and is accepted.

Step 4 The Linode Manager is a web-based control panel that allows you to manage your Linode virtual servers and services.

Linode vps Systems management

With Linode, you will get VPS (virtual private server) which comes preloaded with default Linux installation. That means that out of the box, VPS is not ready to host a website out of the box.

1.Deploying an Image.Select a Linux distribution from the Image menu.

2.Linode rescue mode is based on the Finnix recovery distribution.You can also use rescue mode for tasks other than disaster recovery, such as formatting disks to use different filesystems, copying data between disks, and downloading files.

3.Resizing Your Linode.You can move your Linode from one plan to another by using the resize feature.  Your data, configuration profiles, and IP addresses will be all be moved to the new host.

4.Linode clone.This feature enables you to clone a Linode’s configuration and data over to another Linode that is linked to your account.

5.Linode graphs  .CPU usage graphs are now availible from the Member’s site. Two graphs are displayed, one covering the last 24 hours and another covering the last 30 days.

6.Linode Manager Email Alerts.The Linode Manager allows you to configure email alerts that automatically notify you via email if certain performance thresholds are reached.

Linode VPS performance

Performance is largely related to the server’s hardware specifications.Considering Linode SSD VPS so I got a 2GB server located in Fremont CA to test.

Linode VPS  I/O Test.Just to test read/ write speed try to copy something and see the speed.

Benchmark is a piece of software or set of software which is used to assess the relative performance of a computer system.Here is Linode VPS Unix Benchmarks.

My Conclusion

Based on the above minute analyses, Linode hosting is fast, flexible, affordable, and it has remarkably good reputation in the hosting industry.Linode is a good unmanaged VPS hosting option, but it is very hard for non-technical users to hand on.