arrow_upward

Posted by: meetdilip - 12-03-2016, 09:41 AM - Forum: SEO Optimization - Replies (9)
If you are running a website, search engine is your god. You need to find ways to please it to make your website successful. Google dominates of all search engine today.

Let's say that SEO is your prayer. Then, I would pray myself,. Whether god listens to it or not. In English, do not hire idiots to do SEO for your website. They may actually kill it for good.

What is your do not do on SEO ?
Posted by: meetdilip - 12-03-2016, 09:35 AM - Forum: Software - Replies (11)
I have always thought of this. The more I knew about Mac, it felt like Ubuntu has copied a lot of names, concept, UI and UX from Mac. Or a decent terms would inspired by Mac.
Do you share the same feeling ? Could be that makers of Ubuntu tried to give people a free OS X than a free Windows.
Posted by: meetdilip - 12-03-2016, 09:31 AM - Forum: Web Design & Projects - Replies (4)
FA has generated $ 1 million crowd sourced. Now they plan to make their SVG framework open source. It is a kickstarter record in it's category.
Posted by: meetdilip - 12-03-2016, 09:24 AM - Forum: Scripting & Programming - Replies (1)
What feature would you add if you are going to make your own CMS ? I would love to build page builders and widget packs. Web Development is no longer coders only. You need not write a single code these days to build awesome websites.
What's your feature list ?
Posted by: meetdilip - 12-03-2016, 09:22 AM - Forum: Scripting & Programming - Replies (1)
Are there any good Ruby on Rails project other than Discourse ? A lot of people talk highly about Ruby on Rails, but I have not seen it applied much in many areas. Not that I have came across. If it is so good, why it is not discussed much ?
Posted by: meetdilip - 12-03-2016, 09:20 AM - Forum: General Gaming Discussion - No Replies
What is the scope of DayDream in games ? Could VR revolutionize gaming ? It already has in a few devices. DayDream VR headsets are not costly unlike other VR sets. Would be great to try one.
Posted by: meetdilip - 12-03-2016, 09:18 AM - Forum: General Gaming Discussion - Replies (3)
Are there any 3D games for Android that I can play on a tablet. I would be ok with using a 3D glass just like in a 3D movie. Would I need something more than that ?
Posted by: Neco - 12-02-2016, 03:23 PM - Forum: Tutorials - No Replies
Nginx is an opensource web server which uses epoll mechanism to serve clients as opposed to Apache which uses a thread based model which delegates the requests to an instance in the thread pool.  Nginx is being used more over Apache because of its speed. 

Installing from source is not as easy as installing it from the repository. This way you have to configure it and compile it before you can start using it. In the repository they add the version they compiled. Compiling from source is good option when you need newest version of nginx, fixing security vulnerabilities. fixing bugs and such.


Compiling from source is useful because you can add modules that are not available in regular installation.

1. Install dependencies
Code:
yum -y install gcc gcc-c++ make zlib-devel pcre-devel openssl-devel

2. Download the source code
Grab the latest version from http://nginx.org/en/download.html

Code:
wget http://nginx.org/download/nginx-1.11.6.tar.gz
tar -xzf nginx-1.11.6.tar.gz

3. Preparing the nginx source
For a full list of options you can look at  ./configure --help

Options for basic file path names
These options are the basic variables which we override to use default system paths at /etc/to ensure it works simliar when installed via rpm. The user and group option are used to run the nginx worker processes in non-privileged.
  • --user
  • --group
  • --prefix
  • --sbin-path
  • --conf-path
  • --pid-path
  • --lock-path
  • --error-log-path
  • --http-log-path
Other options
  • --with-http_gzip_static_module option enables nginx to use gzip (Before serving a file from disk to a gzip-enabled client, this module will look for a precompressed file in the same location that ends in ".gz". The purpose is to avoid compressing the same file each time it is requested.).[recommended for reducing size of information sent]
  • --with-http_stub_status_module option enables other plugins over nginx to allow us to get the status (This module provides the ability to get some status from nginx.). [recommended for getting stats]
  • --with-http_ssl_module - required if you want to run a HTTPS server. See How To Create a SSL Certificate on nginx for CentOS 6
  • --with-pcre option enables to match routes via Regular Expression Matching when defining routes. [recommended, you will find more use of this once you start adding and matching routes]
  • --with-file-aio - enables asynchronous I/O, better than the default send file option (recommended if you are allowing users to download static files)
  • --with-http_realip_module is used for getting the IP of the client when behind a load balancer. This is useful when serving content behind CloudFlare like services.
  • --without-http_scgi_module - Disable SCGI module (normally used when running CGI scripts)
  • --without-http_uwsgi_module - Disable UWSGI module (normally used when running CGI scripts)
  • --without-http_fastcgi_module - Disable FastCGI module (normally used when running CGI scripts)
Example configuration would look like:

Code:
./configure \
--user=nginx                          \
--group=nginx                         \
--prefix=/etc/nginx                   \
--sbin-path=/usr/sbin/nginx           \
--conf-path=/etc/nginx/nginx.conf     \
--pid-path=/var/run/nginx.pid         \
--lock-path=/var/run/nginx.lock       \
--error-log-path=/var/log/nginx/error.log \
--http-log-path=/var/log/nginx/access.log \
--with-http_gzip_static_module        \
--with-http_stub_status_module        \
--with-http_ssl_module                \
--with-pcre                           \
--with-file-aio                       \
--with-http_realip_module             \
--without-http_scgi_module            \
--without-http_uwsgi_module           \
--without-http_fastcgi_module

4. Compiling
Now when we have configured our nginx, it is time to build it.

Code:
make
make install


5. Run the nginx
We will create a user nginx which will run the process.
Code:
useradd -r nginx

Create a startup script

Code:
vi /etc/init.d/nginx


Paste following

Code:
#!/bin/sh
#
# nginx - this script starts and stops the nginx daemin
#
# chkconfig:   - 85 15
# description:  Nginx is an HTTP(S) server, HTTP(S) reverse \
#               proxy and IMAP/POP3 proxy server
# processname: nginx
# config:      /etc/nginx/nginx.conf
# pidfile:     /var/run/nginx.pid
# user:        nginx

# Source function library.
. /etc/rc.d/init.d/functions

# Source networking configuration.
. /etc/sysconfig/network

# Check that networking is up.
[ "$NETWORKING" = "no" ] && exit 0

nginx="/usr/sbin/nginx"
prog=$(basename $nginx)

NGINX_CONF_FILE="/etc/nginx/nginx.conf"

lockfile=/var/run/nginx.lock

start() {
   [ -x $nginx ] || exit 5
   [ -f $NGINX_CONF_FILE ] || exit 6
   echo -n $"Starting $prog: "
   daemon $nginx -c $NGINX_CONF_FILE
   retval=$?
   echo
   [ $retval -eq 0 ] && touch $lockfile
   return $retval
}

stop() {
   echo -n $"Stopping $prog: "
   killproc $prog -QUIT
   retval=$?
   echo
   [ $retval -eq 0 ] && rm -f $lockfile
   return $retval
}

restart() {
   configtest || return $?
   stop
   start
}

reload() {
   configtest || return $?
   echo -n $"Reloading $prog: "
   killproc $nginx -HUP
   RETVAL=$?
   echo
}

force_reload() {
   restart
}

configtest() {
 $nginx -t -c $NGINX_CONF_FILE
}

rh_status() {
   status $prog
}

rh_status_q() {
   rh_status >/dev/null 2>&1
}

case "$1" in
   start)
       rh_status_q && exit 0
       $1
       ;;
   stop)
       rh_status_q || exit 0
       $1
       ;;
   restart|configtest)
       $1
       ;;
   reload)
       rh_status_q || exit 7
       $1
       ;;
   force-reload)
       force_reload
       ;;
   status)
       rh_status
       ;;
   condrestart|try-restart)
       rh_status_q || exit 0
           ;;
   *)
       echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload|configtest}"
       exit 2
esac

Make the script executable:

Code:
chmod +x /etc/init.d/nginx

Set the service to start whenever the system boots:

Code:
chkconfig --add nginx
chkconfig --level 345 nginx on


Start nginx server

Code:
service nginx start

The setup is complete and nginx is running on port 80.
Posted by: Neco - 12-02-2016, 02:36 PM - Forum: Tutorials - No Replies
This is a guide how to install stack of software which will allow us to serve dynamic pages.
It includes:
  • NGINX - Web server and proxy
  • PHP FPM -  server side language processor
  • MariaDB - Database server (RDBMS)
1. Update the source lists and the software

Code:
sudo apt-get update
sudo apt-get upgrade


2. Install nginx

This will install the Webserver and proxy server nginx which is very light and uses fewer resources than apache.

Code:
sudo apt-get install nginx

3. Install PHP Processor

PHP is a server-side scripting language designed primarily for web development but also used as a general-purpose programming language.

Code:
sudo apt-get install php5-fpm php5-mysql


4. Install MariaDB
MariaDB is a community-developed fork of MySQL. They have better performance and frequent updates. 


Code:
sudo apt-get install mariadb-server mariadb-client


5. Edit nginx configuration

Open the default configuration file

Code:
sudo nano /etc/nginx/sites-available/default

Delete everything and paste the following

Code:
server {
   listen 80 default_server;
   listen [::]:80 default_server ipv6only=on;

   root /usr/share/nginx/html;
   index index.php index.html index.htm;

   server_name server_domain_name_or_IP;

   location / {
       try_files $uri $uri/ =404;
   }

   error_page 404 /404.html;
   error_page 500 502 503 504 /50x.html;
   location = /50x.html {
       root /usr/share/nginx/html;
   }

   location ~ \.php$ {
       try_files $uri =404;
       fastcgi_split_path_info ^(.+\.php)(/.+)$;
       fastcgi_pass unix:/var/run/php5-fpm.sock;
       fastcgi_index index.php;
       fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
       include fastcgi_params;
   }
}

Replace server_domain_name_or_IP with your domain name or IP and the root with root path of your website.

That would be it. Now you are ready to create your dynamic website.
Posted by: Dynamo - 12-02-2016, 11:25 AM - Forum: VPS Giveaways - Replies (9)
37 VPSs are Available



8x VPS 3
2x VPS 4
10x VPS 5
1x VPS 6
9x VPS 8
2x VPS 9 (Please mention the location from Dallas, and Chicago in your VPS Request or if you want random then don't mention it & Please include in your request which operating system you would like installed from below OS list.)
2x VPS 10
1x VPS 11
1x VPS 12
1x VPS 13

Note: We would not only view points for VPS 9 but also the VPS usage purpose too, so if you a have reasonable purpose, then only try to claim for them Smile as otherwise it would be just a waste of resource
Operating System of VPS 3 are as follows:
Spoiler Expand
CentOS 6.7 64 bit
Debian 8 64 bit
Windows 2008 R2 64bit (may not be activated)
Windows 2012 R2 64bit (may not be activated)
CentOS 7 64 bit
Ubuntu-14.04.1-LTS-64bit
Minecraft-CentOS-7-64bit
FreeBSD-10-1-64bit
Docker-64bit
Windows 7-64bit

Operating System of VPS 9 are as follows:
Spoiler Expand
CentOS 5 x86
CentOS 6 x64
CentOS 6 x86  - Clean install
CentOS 6 x86 Minimal
Centos 7 64bit Minimal
Debian 6.0 x86
Debian 7 x86 + Mumble  - Debian 7 clean with Mumble server ready.
Debian 7.0 x64  - Debian 7 x64 Clean
Debian 7.0 x64 Minimal
Debian 7.0 x86 Minimal
Debian 8.0 x64
Debian 8.0 x86_64 Minimal
Runescape OS v1  - Ubuntu 14 LXDE with NoVNC and Java pre-installed for RS
Runescape OS v1 x64  - Ubuntu 14 LXDE with NoVNC and Java pre-installed for RS
Ubuntu 12.04 x64  - 64-bit Ubuntu 12.04 clean install
Ubuntu 14.04 x64 Minimal
Ubuntu 14.04 x86  - Default, clean install
Ubuntu 14.04 x86 w/VNC  - UP-TO-DATE VERSION W/ VNC
Ubuntu 14.04 x86 w/VNC MC  - Minecraft server on desktop -- Advanced VPS plans only.
Ubuntu 15.04 x86_64 Minimal  - Ubuntu 15.04 (Vivid Vervet) -- Minimal
Ubuntu 15.04 x86_64 Non-minimal
Ubuntu 15.10 x86_64 Minimal
Ubuntu 16.04 x86_64


The winners will be decided as soon as possible and giveaway will remain open till 8th of December  (Thursday).

Please Read before Applying
  1. Read Our Forum Rules before applying.
  2. You should have meet our minimum requirements to get VPS.
  3. Read Application Format before applying. (If the application format is wrong then your Request will be rejected)
  4. You must post your VPS application in VPS Request Forum.
  5. Read TOS of VPS providers before applying.
Good Luck !

Pages (305): Jump to page 
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 2,271
» Latest member: orzpainter
» Forum threads: 3,093
» Forum posts: 34,816

Full Statistics

Online Users
There are currently 407 online users.
» 0 Member(s) | 403 Guest(s)
Bing, Google, UptimeRobot, Applebot

Latest Threads
LLHOST — VPS hosting for ...
Forum: Value VPS Providers
Last Post: LLHOST
04-30-2025, 12:10 PM
» Replies: 0
» Views: 29
Get 25% OFF all LLHOST ne...
Forum: Cheap VPS Providers
Last Post: LLHOST
04-22-2025, 11:04 AM
» Replies: 0
» Views: 124
LLHOST: VPS in the Nether...
Forum: Others
Last Post: LLHOST
04-15-2025, 07:32 PM
» Replies: 0
» Views: 194
Hello all!
Forum: Meet & Greet!
Last Post: perry
03-26-2025, 11:28 AM
» Replies: 1
» Views: 263
Buy DemoTiger Videos on c...
Forum: Others
Last Post: DewlanceHosting
03-25-2025, 02:07 PM
» Replies: 5
» Views: 3,335
VisualWebTechnologies | 7...
Forum: Others
Last Post: visualwebtechnologies
03-11-2025, 02:58 AM
» Replies: 0
» Views: 208
Post2Host.com domain on a...
Forum: Others
Last Post: Variable
03-10-2025, 04:04 PM
» Replies: 0
» Views: 169
KVM & OpenVZ Yearly VPS f...
Forum: Cheap VPS Providers
Last Post: HostNamaste
03-05-2025, 12:15 PM
» Replies: 0
» Views: 377
Create Unlimited Virtual ...
Forum: Hardware & Technology
Last Post: bestadvisor
03-01-2025, 09:47 AM
» Replies: 0
» Views: 590
VisualWeb offers cPanel H...
Forum: Others
Last Post: visualwebtechnologies
01-23-2025, 03:38 AM
» Replies: 0
» Views: 268

Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting