"Mac users swear by their Mac, PC users swear at their PC."
All articles
Last comments
Rafael Lanna
try sudo apt-get install -f
Yochanan
It's Cornie Icons, not Corny.
Shekin
You can install 370 version also
Vitali80
Thank you so much for your help Shekin, you're great
Archive
«    December 2016    »
MonTueWedThuFriSatSun
 1234
567891011
12131415161718
19202122232425
262728293031 
» » Installing and configuring your own VPS web server

Installing and configuring your own VPS web server

Installing and configuring your own VPS web server

In this article I will tell you how to quickly set up your own web server. In the end succeed configured the web server with the ability to visually configure the server and have access to it. You will be able to publish online as many sites as you wish. As operating system I got Ubuntu Server and VPS hosting from DigitalOcean.



Sorry for the spelling and phonetic errors in the text.
Owner and main writer of MintGuide.org is not a native English speaker.


A year ago I described how to install LAMP web server on destop PC for testing sites locally. Now consider how to make a web server on a VPS.

 

First, I will explain why I chose DigitalOcean. The thing is, in my opinion, this hosting company offers the most reasonable prices with very high quality services.

About Ubuntu server - many people choose servers running CentOS or another, but I don't see any obstacles why not to choose Ubuntu. The more that we are already familiar with home Linux Mint (based on Ubuntu). So we will be better placed to manage the server.

 

1. So first create an account on DigitalOcean, Fund balance of about 5 to 10 dollars. https://www.digitalocean.com/

After you activate your account, create a new Droplet.

Installing and configuring your own VPS web serverInstalling and configuring your own VPS web server

Enter the name of your server, select the appropriate data plan and the operating system Ubuntu 14.04And click create droplet.

(Choose a location server as close as possible to potential visitors.)

Installing and configuring your own VPS web serverInstalling and configuring your own VPS web server

On your registration email you will receive access credentials:

Droplet Name: myserver
IP Address: 178.*******
Username: root
Password: ********

2. Now that we are in the server control panel. Let's see what we can do:

Installing and configuring your own VPS web serverInstalling and configuring your own VPS web server

3. Install Putty is the best SSH client to access the server in console mode. Further, all commands in a terminal will make it through Putty.

sudo apt-get install putty

4. Enter the server's IP address and press Open. To login, type root and the password specified in the letter.

When you first log Ubuntu will ask you to change the root password. First enter the old, then 2 times new.

Update the system.

apt-get update && apt-get -y upgrade && apt-get install -y curl cron && apt-get -y autoremove && reboot

after reboot putt time zone:

 

echo "America/Los_Angeles" > /etc/timezone
dpkg-reconfigure --frontend noninteractive tzdata
 
5. Install the free Vesta control panel. http://vestacp.com
cd /tmp && curl -O http://vestacp.com/pub/vst-install.sh
bash vst-install.sh
Accept the installation and enter your e-mail address. Wait a few minutes until everything is installed.
 
 
 Installing and configuring your own VPS web serverInstalling and configuring your own VPS web server
 Installing and configuring your own VPS web serverInstalling and configuring your own VPS web server
Be sure to write down the details to access the control panel, which will appear in the end of the installation process:
 Installing and configuring your own VPS web serverInstalling and configuring your own VPS web server
 Try in your browser type the address: http://IP_the_server_address (IP address of course specify your own). You should receive the following:
 Installing and configuring your own VPS web serverInstalling and configuring your own VPS web server
If so, then everything is fine.
Now open the browser and go to the indicated end of the installation process the following address https://IP_the_server_address:8083
This is the Vesta control panel. Here you can manage users, sites, databases, email accounts, backups, scheduling jobs. In General to do all that without it would have to do in console handles.
 Installing and configuring your own VPS web serverInstalling and configuring your own VPS web server
Create a new user by pressing the button "Add account". Fill in all the data. I do not recommend to enter a very long user name — limit 5-8 characters.
Here we see that we now have two users. Go into the newly created user. To do this, click "Login as ...":
 Installing and configuring your own VPS web serverInstalling and configuring your own VPS web server
6. Now all the actions that we will do will be tied to this user. As long as we do not press the "Exit" button in the upper right corner. Be careful!
Go to the tab "WEB" and add your domain (type example.org). Of course he should already be registered. Also need to tie your domain Registrar to your server (how to do it — read specifically help on domain registrator).
If done correctly and already updated the DNS server, then your domain name http://example.org should open this page:

Installing and configuring your own VPS web server


Optionally, create databases and mail accounts.
As a result, we got an Apache Web server as the back-end, which is responsible for the execution of php code, and Nginx as a front-end that handles static content of the website, thereby reducing stress. Also the server has a MySQL server for database and mail server that you can use to send/receive email on your domain name, example name@example.org.
7. Optionally, you can install Webmin on the server
May the Force be with you,
Good Luck!!!

Related articles

Add a comment

  • bowtiesmilelaughingblushsmileyrelaxedsmirk
    heart_eyeskissing_heartkissing_closed_eyesflushedrelievedsatisfiedgrin
    winkstuck_out_tongue_winking_eyestuck_out_tongue_closed_eyesgrinningkissingstuck_out_tonguesleeping
    worriedfrowninganguishedopen_mouthgrimacingconfusedhushed
    expressionlessunamusedsweat_smilesweatdisappointed_relievedwearypensive
    disappointedconfoundedfearfulcold_sweatperseverecrysob
    joyastonishedscreamtired_faceangryragetriumph
    sleepyyummasksunglassesdizzy_faceimpsmiling_imp
    neutral_faceno_mouthinnocent
Login via
Up