Install Nginx Ubuntu

[vc_row full_width=”stretch_row_content_no_spaces” options=”window_height,centered” vsc_text_scheme=”darker-overlay” vsc_parallax=”yes” css=”.vc_custom_1507675284407{padding-top: 50px !important;padding-bottom: 75px !important;}” vsc_bg_image=”4248″][vc_column 0=””][vsc-section-title align=”center” title=”Ubuntu NGINX Installation” title_color=”#ffffff” subtitle_color=”#ffffff”]Let’s go through to setup NGINX on Ubuntu[/vsc-section-title][/vc_column][/vc_row][vc_row full_width=”stretch_row_content_no_spaces” vsc_text_scheme=”darker-overlay” vsc_bg_color=”#000000″][vc_column el_align=”alignleft” css=”.vc_custom_1424436615643{padding-top: 10px !important;padding-left: 75px !important;}”][vsc-section-title align=”left” title=”DOWNLOAD NGINX FILES” title_color=”#ffffff”][/vsc-section-title][vc_column_text css=”.vc_custom_1507765855625{padding-right: 150px !important;}”]From the CLI

sudo apt-get update
sudo apt-get install nginx

[/vc_column_text][/vc_column][/vc_row][vc_row full_width=”stretch_row_content_no_spaces” vsc_text_scheme=”darker-overlay” vsc_bg_color=”#000000″][vc_column el_align=”alignright” css=”.vc_custom_1424436739791{padding-top: 25px !important;padding-right: 75px !important;}”][vsc-section-title align=”right” title=”FIND IP ADDRESS” title_color=”#ffffff” subtitle_color=”#ffffff”][/vsc-section-title][vc_column_text 0=””]Still in the CLI, paste in the following:

ip addr show | grep inet | awk '{ print $2; }' | sed 's/\/.*$//'

You will get an output that somewhat looks like this:

127.0.0.1
::1
10.0.0.4
fe80::250:56ff:feb3:46e3

With these addresses, goto your browser window and type in the address to see if you get an NGINX Welcome Screen.[/vc_column_text][/vc_column][/vc_row][vc_row full_width=”stretch_row” vsc_text_scheme=”darker-overlay” vsc_bg_color=”#0a0a0a”][vc_column][vc_empty_space][/vc_column][/vc_row][vc_row full_width=”stretch_row” vsc_text_scheme=”darker-overlay” vsc_bg_color=”#000000″][vc_column width=”4/6″][vsc-text-icon align=”right” type=”fontawesome” icon_fontawesome=”fa fa-hand-o-right” title=”CONTINUE TO PHP INSTALLATION” title_color=”#ffffff” text_color=”#ffffff” icon_color=”#ffffff”]Now that NGINX is installed, we need to install PHP and configure both of them to work together.[/vsc-text-icon][/vc_column][vc_column width=”2/6″][vsc-button text=”PHP INSTALLATION” align=”center” type=”fontawesome” icon_fontawesome=”fa fa-arrow-right” i_align=”pull-right” add_icon=”true” url=”/install-php-ubuntu” color=”#3a6da6″][/vc_column][/vc_row]

Leave a Reply

Your email address will not be published.