SlaveWAMPToLAMPThe amount of software in the middle is confusing, and it is easy to use with LAMP!
I have always known the advantages of Lamp, but I am not familiar with Linux at all. If I build my own environment from the beginning, it will be a long time. These days I have seen such a website as Turnkey, there is a variety of Linux services Integrated Live Cd, see the familiar Lamp to download and try out, the entire installation of the image file is only 170 MB, it can be said that it is very streamlined.
I did a test in a virtual machine. Note that when creating a system, you must define the disk as IDE. If the disk is SCSI, the system will prompt Ask for cache data faild during the startup process. After searching for it, some say it will not affect the use, but it is always uncomfortable and changed to ide.
The installation process is simple and can be used by default. This is the installed interface:
In advanced options, you can set a fixed IP address, restart, shutdown, and so on. If you need to change it, you can set it on your own.
Enter 192.168.1.1 to check if apache is normal:
The first time I used Lamp, I wondered how to put my webpage files on the server. In fact, SFTP is the only one. This is a secure file transfer method. I used WinSCP, enter the server address and the administrator username and password when Turnkey-lamp is installed on the logon page. Click Log On.
Log on to the server and you will see the entire directory on the server. By default, the root directory of the website is/var/www. You only need to put the uploaded webpage to this directory.
In addition, the server can also be remotely managed through the SS. I use Putty, and the operation after logon is the same as the local operation.
Next, we need to migrate the current SS site to the new Lamp.
Through the above description and image description, we must have seen through LAMP. Then we should study LAMP knowledge and will certainly be able to use it in the future!