Website build - Linux virtual system - set time - root password changes - station

First try, if not, then not published.

 

Download weaving dreams:

 

The amount, this is not the first down.

 

Linux is Apache + MySQL + PHP routines, to download it, do not put the map, put direct command, I have a virtual machine may not be so smooth.

Do not know your root password, it is embarrassing, remember to reset before.

Operation is this: sudo passwd to modify account password

just to modify input su root password

 

 You can log in.

Into the root directory, the new app (software) folder, the new download folder.

Download the file download put inside, put the app compiled below.

Set a time problem spots:

 

download;

 

 wget http://us.mirrors.quenda.co/apache//httpd/httpd-2.4.41.tar.gz

 

However, to do so, also install something else, you do not need to do this, just go Tell me what network it has installed tell you how:

 

sudo apt install apache2
sudo service apache2 start

Then apache2ctl start

When prompted, type: systemctl status apache2, get an ip, browser then enter the ip:

 

 

 

 in conclusion:

1. Go to the site http://httpd.apache.org/docs/2.4/install.html, follow the prompts to install apache according to their own system:

  I was Ubuntu, so

  sudo apt install apache2
  sudo service apache2 start

2. The start prompt, type

  systemctl status apache2

  Get IP, and then enter the browser ip, access the web page.

Then use Windows logon, or not found, take a look at what a firewall is not required to set.

 Yesterday's undef.cn can log in normally on the virtual machine:

 

 That this site is accessible outside the network, but now can not access this virtual machine.

VM read is / var / www / html inside pages.

It should not be resolved?

170.0.01 is a local machine, so how would I want my pages into the same network as IIS up inside of it?

Then do not quote, and found some H00558: apache2: Could not reliably determine the server's fully qualified domain name,

No use, re-find it.

 

 Open official website, then slowly.

 

 MySQL database error, then type

sudo apt install libapache2-mod-auth-mysql

Operation (given above is because this version of the source Ubuntu deleted).

 

After net operating generals are completed, type systemctl status apache2 inquiry, not being given the

 

 But how things ah, my Windows system or Linux system can not access the site.

Try it binding domain, to resolve the domain name:

Or not.

Ip virtual domain can not bind it, to how to deal with it, next time look and see, and so figured out, and then rearrange.

 

the above,

 

Guess you like

Origin www.cnblogs.com/abysw/p/11690515.html