Web Tutorials

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

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.

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

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.

NS1’s Free plan – up to 500 thousand queries and 50 records

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 .

NS1.com create an account

3.Sign up with NS1.com Successully .

Sign up with NS1.com Successully

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

NS1.com Dashboard

NS1.com CREATING A ZONE

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

NS1.com 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.

NS1.com add a zone

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

NS1.com enter domain

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.

NS1.com nameservers

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.

NS1.com new record

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

NS1.com Record Type

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

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’.

NS1.com Free HIGH FREQUENCY MONITORING

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

NS1.com New Monitoring Job

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.

NS1.com Your Monitoring Jobs

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).

Configure NS1.com as secondary DNS

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

NS1.com 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.

Once the zone syncs, all the records you have configured

He.net Slaving from NS1

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

He.net Slaving from NS1

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

NS1 enable Zone Transfer

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

he.net Add a new slave

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.

NS1.com Slaves for this account

Conclusion

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

1
2
3
4
5
6
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.

Read More
Free Web Hosting

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

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.

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

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.

Heroku sign account

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

Heroku Create app

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

Heroku app name

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

Heroku App Dashboard

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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 .

Heroku config Variables

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

heroku app info

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.

heroku WordPress template

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

heroku config aws

Deploy WordPress on heroku successfully .

heroku deplay successfully

You should now be able to finish WordPress setup .

Heroku-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).

Heroku-WordPress template Add-ons

WordPress on Heroku.

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.

How to Deploy WordPress on Heroku With Heroku 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).

Set up Heroku Toolbelt.,PHP,Composer,Git

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.

1
2
3
4
5
heroku login
Enter your Heroku credentials.
Email: dz@example.com
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).

1
2
3
4
5
6
7
8
9
10
11
12
13
#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:

1
2
3
4
5
git clone git@github.com: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:

1
2
3
4
5
6
7
8
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:

1
2
3
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.

Images and files on Heroku are temporarily

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.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
 {
    "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.

Read More
Web Tutorials

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

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 Free DNS services-Unlimited Domain Names,Record And DNS defense attack

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 DNS Server and DNSPod DNS Protector

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.

DNSPod DNS attack detection and defense technology

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.

dnspod create an account

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

In DNSPod Operation ,click Add domain name

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

dnspod the relevant DNS servers for your domain name

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.

How can the domain name registered in Godaddy use DNSPod

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.

dnspod How to add A record

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.

dnspod Type of line

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.

dnspod How to add CNAME record

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.

If you have many servers and you need to distribute the flow to each server

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.

How to implement load balance via DNSPod

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 .

Read More
Free Web Hosting

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

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.

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

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 Create An OpenShift account and Application

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

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

openshift signed up for free

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

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.

openshift Choose a type of application

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.

openshift Enter your application name

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

openshift 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.

openshift need to configure the necessary options

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

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

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

openshift Setup All Setting

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

openshift WordPress should greet you with success

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

openshift 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.

Openshift WordPress is composed of cartridges

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

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.

openshift 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.

openshift 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.

openshift you can set up your own domain name

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

openshift 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.

openshift Open PuTTYgen and generate an SSH-2 RSA key

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

openshift add your newly generated Key

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

openshift paste your public key

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

openshift Copy Source Code

6.Now open putty and past it there.

openshift open putty and past it there

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

openshift Auth and set Private key file for authentication

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

openshift 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.

Connect to OpenShift server with Winscp

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

openshift Private key

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.

openshift you can drag and drop your war files and do whatever you want in the servers

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 no-reply@rhcloud.com, 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.

Read More
Free Web Hosting

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

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

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-Free Web Hosting with PHP, MySQL,SFTP,No Ads

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.

SourceForge.net project web service

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.

SourceForge.net project web service host HTML content, expose Doxygen or JavaDoc

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

Set up a SourceForge 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.net Click My profile and my projects

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 will automatically create for you a project site

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.

SourceForge Custom VHOSTs

Connecting to Sourceforge.net MySQL database.

Connecting to Sourceforge.net MySQL database.

You can create Mysql database with PHPMYADMIN .

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

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

Connection Settings:

1
2
3
4
5
6
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.

SourceForge.net 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”):

1
2
3
4
5
6
7
8
9
10
11
12
13
14
Host: web.sourceforge.net
rsync -avP -e ssh site/ howsvps@web.sourceforge.net:/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.

SourceForge.net has a totally different project structure when compared with GitHub

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.

Read More
VPS Tutorials

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

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.

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

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

What is OneinStack?

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 .

1
2
3
4
5
6
7
8
9
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:

1
2
3
4
5
6
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:

1
2
3
4
5
6
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

How to install Oneinstack ?

Select Nginx or Apache to install :

1
2
3
4
5
6
7
8
9
10
11
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 Nginx or Apache to install

Select which Databases and PHP versions to  use :

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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)

Select which Databases and PHP versions to use

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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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

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

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

Once you’ve followed all those steps above including the last step

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

OneinStack default welcome page should be seen there

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

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.

the details about php

How to use OneinStack?

Add a virtual host:

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

Add a virtual host

Delete a virtual host:

1
2
cd ~/lnmp
./vhost.sh del

Backup:

1
2
3
4
5
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}

How to manage service

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.

Read More

Page 1 of 1

Login

Welcome! Login in to your account

Remember me Lost your password?

Lost Password