Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Hello can help me? how to setup different VPS Server?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Hello can help me? how to setup different VPS Server?

Hi all I'm Shahril and new at LET , I need help about tutorial to create this type of server ( in vps ) i really want to learn

1) 1 vps the web server ( where apache + nginx installed together )

2) 1 vps for database ( MySql )

3) 1 or 2 VPS (for Name Server) i read Article and Blog that better have 2 name server in different server is that true or false?

at this moment i know how to install the:

  • Apache (but not nginx still don't know how to install with Apache)

  • MySQL

  • Bind

But how can i make this all server have connection for etc other? ( as we all know the vps server will have own dedicate ip )

And for this Configuration, if im using any control panel like Cpanel , Plesk ( i currently have live website using Plesk ) or Directadmin can i apply this? ( mean if im using Plesk, the database / web server / DNS server in different VPS and IP's?

OR is that better using None Control Panel? ( I'm not expert, if no control panel the hard part for me is to manage the MySQL database and no knowledge to create manual any database using SSH ( if the have any script that i can create the MySQL and have the PhpMyAdmin in web base ( View ) without any Hosting Control Panel maybe that can really help me )

Any help is very much appreciated

Sorry for my low English

Comments

  • drserverdrserver Member, Host Rep

    Hi,
    Few answers for you

    Choose which one web server software you wish to run. Standard WWW services are running on port 80. You can't run booth apache and nginx on same port... Choose which one you wish to install.

    For a 2nd mysql server you need to enable listening for connections on external interface. By default mysql server listen only on 127.0.0.1 and that interface is not accessible via internet. That is one line change in my.cfg and it is easy to do it.
    http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:Ch34:_Basic_MySQL_Configuration#.UpRdzcTWRps

    Mysql server and apache server does not to be connected in any way. Script that you are serving on apache will query database on your remote mysql server. Note that you are missing php5 with apache or nginx

    Bind servers will resolve your domain name, and they don't need to be connected to any of servers mentioned above, as they only do resolving. Here is little tutorial for you
    http://ubuntuforums.org/showthread.php?t=236093

    I suppose that you will run webhosting so you are missing ftp server and mailserver.

    Best way to start if you are not experienced is to get high end VPS or cheap dedicated server, install cpanel on it and you will have turnkey solution. https://www.buycpanel.com/

    If you are doing this for learning only, and dont wish to run production server you can try Zpanel, it is free. http://www.zpanelcp.com/

    If you have any other questions, feel free to ask

    Thanked by 1hico
  • Hello drserver thanks for the explanation

    Choose which one web server software you wish to run. Standard WWW services are running on port 80. You can't run booth Apache and Nginx on same port... Choose which one you wish to install.

    • is that will give a problem? because what i have read Apache and Nginx can work together? something like the proxy one? but I'm still confused with that.

    For a 2nd mysql server you need to enable listening for connections on external interface. By default mysql server listen only on 127.0.0.1 and that interface is not accessible via internet. That is one line change in my.cfg and it is easy to do it.

    -http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:Ch34:_Basic_MySQL_Configuration#.UpRjJ9JmiSp ( the url is no tutorial for mysql? ) . I will google more about the my.cfg info

    Mysql server and apache server does not to be connected in any way. Script that you are serving on apache will query database on your remote mysql server. Note that you are missing php5 with apache or nginx

    • that what i don't understand so how can the script will be running soon? ( example if i install and setup the mysql to wordpress? )
    • yes i forgot to include the PHP5 ( is that i need to install in same server where i install the apache + nignx? )

    Bind servers will resolve your domain name, and they don't need to be connected to any of servers mentioned above, as they only do resolving. Here is little tutorial for you http://ubuntuforums.org/showthread.php?t=236093

    • will read and diy this tutorial but can this be apply same with the centos server?

    I suppose that you will run webhosting so you are missing ftp server and mailserver.

    • yes i want to host my personal and business website , and the ftp and mail server is that i need to create etc in different VPS server as well?

    I'm doing this to learn to managed and wish to running the production server

    Thanks

  • @exp82 said:
    Hi all I'm Shahril and new at LET , I need help about tutorial to create this type of server ( in vps ) i really want to learn

    1) 1 vps the web server ( where apache + nginx installed together )

    2) 1 vps for database ( MySql )

    3) 1 or 2 VPS (for Name Server) i read Article and Blog that better have 2 name server in different server is that true or false?

    at this moment i know how to install the:

    • Apache (but not nginx still don't know how to install with Apache)

    • MySQL

    • Bind

    But how can i make this all server have connection for etc other? ( as we all know the vps server will have own dedicate ip )

    And for this Configuration, if im using any control panel like Cpanel , Plesk ( i currently have live website using Plesk ) or Directadmin can i apply this? ( mean if im using Plesk, the database / web server / DNS server in different VPS and IP's?

    OR is that better using None Control Panel? ( I'm not expert, if no control panel the hard part for me is to manage the MySQL database and no knowledge to create manual any database using SSH ( if the have any script that i can create the MySQL and have the PhpMyAdmin in web base ( View ) without any Hosting Control Panel maybe that can really help me )

    Any help is very much appreciated

    Sorry for my low English

    What you're asking for implies a cluster setup with remote mysql. You usually don't need it unless you are running a busy and famous website. Also the cost of running 3 or more vps boxes is significantly more and is not required when you can do everything with a single vps. You just need to install virtualmin if you are looking for a free control panel and it'll setup everything for you including apache, mysql, php, bind, ftp and mailserver. Also it's easy migrating sites from cpanel/plesk to virtualmin.

  • drserverdrserver Member, Host Rep

    for a 2 sites personal server, feel free to try zpanel. It is all in one package, with everything set up. It is easy to learn from it.

    http://www.zpanelcp.com/

  • @Atomic7 said:
    What you're asking for implies a cluster setup with remote mysql. You usually don't need it unless you are running a busy and famous website. Also the cost of running 3 or more vps boxes is significantly more and is not required when you can do everything with a single vps. You just need to install virtualmin if you are looking for a free control panel and it'll setup everything for you including apache, mysql, php, bind, ftp and mailserver. Also it's easy migrating sites from cpanel/plesk to virtualmin.

    Hi thanks for the info , anyway i have try virtualmin and its confused me , anyway i'm asking because want to learn this configuration , yes hope the project i will running will get lots of traffic ( i'm hired the developer to create a custom eCommerce site allowed seller and buyer to make any deal at my site with a lots of sub domain involve ( etc seller will have them own sub domain for them store . and will launch in this 1st Jan 2014 ) , it's easy to get someone to do this but i will go no where if doing this ( i love to learn and really like server )

    sorry for my bad english

  • @drserver said:
    for a 2 sites personal server, feel free to try zpanel. It is all in one package, with everything set up. It is easy to learn from it.

    http://www.zpanelcp.com/

    hi thanks but this will not help me to learn what i need , like webmin and virtualmin i also already try this zpanel

  • painfreepcpainfreepc Member
    edited November 2013

    VestaCP will install Nginx frontend web server and Apache application web server

    So you say you don't wish to use a panel, a hosting control panel is a tool, just use it when you need it.

    for a server panel i use: Ajenti for server administration
    http://ajenti.org/

    includes dozens of pre-made plugins that let you configure both your OS and server software. List of supported software includes Apache, BIND9, Cron, CTDB, DHCPD, NFSD, Iptables, Munin, MySQL, Netatalk, NGINX, PostgreSQL, Samba, lm-sensors, Squid 3, Supervisor. Fast and responsive interface, low memory footprint and handy tools like file manager, terminal and code editor - everything a happy sysadmin needs.

    for a hosting panel i use: VestaCP for hosting administration
    http://vestacp.com/ and http://stevetan.me/post/ubuntu-13-04-vestacp-setup

    This will install Following

    software on your system:

    - Nginx frontend web server

    - Apache application web server

    - Bind DNS server

    - Exim mail server

    - Dovecot IMAP and POP3 server

    - MySQL database server

    - Vsftpd FTP server.

    Thanked by 1hico
Sign In or Register to comment.