Chủ Nhật, 29 tháng 10, 2017

Auto news on Youtube Oct 30 2017

In this video , i'm going to show you

How to update PHP version on Ipage

At first Login your Ipage account

Scroll down and go to the Additional Tools Tab

Now click CGI and Scripted Language Support Button

This is the CGI and Scripted Language Support Page

Now click PHP Scripting Button

You can choose any version like 5.6, 7.0 or 7.1

Click Dropdown Menu and Select PHP version

Hit the SET button

Already updated PHP version 7.0

Now you can edit php.ini for increase upload file size, post max size, memory limit, input vars etc

Thanks a lot for watching the video. Please subscribe my channel.

For more infomation >> How to update or change PHP version on Ipage - Increase PHP Memory Limit On Ipage - Upload File Size - Duration: 3:43.

-------------------------------------------

How to Install Linux Nginx, MySQL, PHP (LEMP Stack )In Ubuntu 17 - Duration: 14:45.

Hey guy!

What's going on over there?

This is Kimsea from basicblogtalk.com.

Welcome to the video tutorial.

I hope this your second time so I need to say see you again here.

In this video, I'm going to show you how to install LEMP stack--linux, nginx, MYSQL, and

PHP.

I will use Ubuntu 17.

If you come with the other version of Ubuntu such as version 16, it would be working well

in tutorial.

So, no worry about it if you are using version 16.

Okay guys!

I'm not talking much about that so lets start in deep into the tutorial.

In order to follow this tutorial, you need to at least do the initial setup of your server

such as create the none root user and setup privileges.

and... setup basic firewall.

But in this case, we're not going to go with firewall, but at least you know how to setup

the basic firewall.

you know how to secure your server and connect your server with ssh.

So, I hope you do.

If you don't how to do that, please look down there to the description as I leave the link

to the tutorial over there.

So, hope you enjoy it.

Okay guys! now start connect the server with ssh.

I have saved my connection over here.

I just hit open connection.

And because this is the first time login.

I just setup and restore it from the snapshot so it is the first look login.

Just yes to confirm the risk.

And... start with a... kimseasok--the none root user.

And I give the ssh phrases password.

And if you don't how to create ssh keys for your server, you can watch the previous tutorial.

Look down there in the description.

Hope I'm typing correctly.

Again.

Okay.

This is the first time I log into my server.

As you can see, I have 67 packages need to be update and 41 updates are security updates.

So, I might need to start with a sudo...

sudo apt-get dist-upgrade hope I'm not typing it wrong.

just hit enter.

I just - y to auto-confirm It ask me the... sudo user--the super user's

password So, I just give what it wants

What the hell is going wrong?

sudo apt-get this upgrade.

yeah... it definitely wrong over here.

upgrade.

Okay. hope it's correct.

And it might take a few minutes so I will back after the upgrade process finishes.

Okay.

Guys!

I finished the upgrade process so the step I'm gonna here is I start with command list.

As you know, If I try to type the commands directly on the record time, I don't think

that our tutorial will go smoothly.

So, to save your time as well as to save my time, I need to prepare that command list

as usually we did.

So...

I just start again with sudo apt-get update to update the core environments.

And the next step I'm gonna do here is to install nginx web server.

But lets me show you here.

If I access to the server's ip.

Yeah.

It's not working either I access with domain url.

It should be here.

lets me copy it here.

I cannot lets me type it.

even if I access with the domain url, it's still not working because we not ready install

web server in order to host our website files.

So, it's supposed not to be working so lets me start with install nginx web server.

I just start with sudo apt-get install nginx I hit enter

I type yes and hit enter If you don't want to confirm yes, you need

to add -y fir auto-install Okay.

Once I install nginx.

Lets me refresh this.

And as you see, it's working over here.

Lets me refresh this one again.

Hopefully, it's working Oh.

Yeah.

That's working because It not point to my server ip.

Yeah.

It points to the wrong ip.

So, do that latter when we install WordPress.

So, I close this.

Okay.

Now I ready install nginx web server so now I can access to my server using the ip address.

And... it show this page.

So, the next step I'm gonna do is to install mysql server

And some guys called it mysql so you can call it whatever you want.

So in this case I called it mysql I just hit enter.

And y to confirm the installation It prompt me for the password for the root

user So I give what it wants

I just confirm the password Okay.

After I install mysql server on my server, I need to secure mysql installation.

mysql installation So I start with sudo mysql secure installation

just hit enter It prompt you the password of the root user

of mysql sever.

In this case, I just give it what it wants And... it asks you about the validate password

plugin So would you like to use it?

In this case, I just type yes and hit enter There are three options for you

0 for low security 1 for medium

2 for strong In this case, I will go with 2--the strong

password validation And hit enter

And as you can on this line, the estimated strength of the password is 100.

It means that my password is completely strong so I just hit enter to ignore the change

And... it asks me to remove anonymous user.

In this case, just yes And disable root login remotely

just yes.

It's a idea to do that remove test database

just yes And reload database previllage

Just yes Okay.

We now finish the mysql server installation so the next step we're gonna is to install

php on our server So...

I just copy the line.

We start with sudo apt-get install php-fpm and php-mysql

Guys!

It's a little bit different from Apache server --from the LAMP stack since we php-fpm.

You can learn more about fpm.

It stands for...

I don't know what is that I just forget it.

It just tell nginx to work with php So I just hit enter

And yes to confirm the installation

And the next step after you installed php, you need to php.ini

lets set a bit tricky work to make php more secure by change this line

Just copy it from here And I hit control w on my keyborad.

On the terminal, I right click on to past the line and hit enter

And here is the line And just delete the comment

the line is provides the real path for php translate for CGI

So it means that we're not going to allow php to execute everything it found.

It's not recommend for security So you just delete the line and change value

from 1 to 0 And control x, and y, and enter to finish

editing And after that, you need to restart fpm

Just restart it I start with sudo systemctrl restart php-fpm

Okay.

Here we go So now we ready finish install php, and the

next step is to configure nginx to use php So in this case, you will need to edit on

the default host file on the site available.

How can I pronounce that?

Sites available So I start with sudo nano

etc/nginx/sites-available/default just hit enter

we need to scroll down there And if you prefer to use ssl, you just uncomment

this 2 lines But in this case, I'm not going to it.

So lets scroll down there You need to tell nginx to load php.

No to load index.php first So just add index.php on the index search

On the server, just delete the underscore and past your server ip in there.

So I just copy my server ip from here Just right click over here

And...

Yeah.

this one is okay.

Okay.

I need to delete this line.

Just delete the hashtags sign I don't know how to pronounce that, by the

way.

Okay.

This line and also this line all of those.

Also this line And except this

But this ... And lets me make it clean

So I just delete this line also And also this line

And I make a comment over here Yeah.

That..

That's nice And I need to denied the htaccess file for

security reason So I just delete the comment over here

Also here It's supposed to be all.

Okay.

I just control x Y and hit enter

And then I need to test nginx.

Make sure it's working Okay.

The test is successful and we finish the configuration for nginx.

So now lets restart the nginx service hit enter

Okay.

So...

Guys.

Thanks for watching this video.

I'll finish this video from here.

The next video I will come with how to install wordpress on nginx.

Hope you subscribe for upcoming video.

And also, combine this 2 videos into a full tutorial.

And...

It would be great if you watch a long tutorial, but if on the short tutorial of the video,

just find the link down there for the upcoming tutorial.

Guys.

Thanks for watching.

And I have nothing to say now.

Just don't forget to hit thump up.

Share the video to your friends, your girlfriend, your not girlfriend.

And just do whatever as usually watch the tutorial.

Just hit and share it. and if you have question, complaint, or suggestion

about the tutorial, lets me know in the comment bellow.

And I will try respond to you as soon as possible.

Okay, guys! see you in next video bye.

Không có nhận xét nào:

Đăng nhận xét