Ubuntu下xampp建站的初级安全设置
欢迎使用xampp
xampp是新手建站的绝佳利器,但正如xampp部署成功页面所说
XAMPP is meant only for development purposes. It has certain configuration settings that make it easy to develop
locally
but that areinsecure
if you want to have your installation accessible to others. If you want have your XAMPP accessible from the internet, make sure you understand the implications and you checked the FAQs to learn how to protect your site. Alternatively you can use WAMP, MAMP or LAMP which are similar packages which are more suitable for production.
在利用xampp在互联网建站前我们需要做一些基础的设置来确保网站的安全
首先我们先要找到xampp的文件安装地址
在ubuntu上,xampp默认叫LAMPP
因为是Linux + Apache + MariaDB + PHP + Perl
另外,xampp软件以前的名字也叫lampp。因为和lampp环境名称混淆了,后来xlampp软件改名为现在的xampp。lamp和xampp和lampp的区别
我的腾讯云服务器用的是ubuntu server,默认是不带ui界面的,当然可以自己安装Gnome通过腾讯云官方的VNC打开GUI的桌面,但分辨率不可调,窗口很小,很伤眼睛,所以还是推荐学习一下Terminal使用方法
(建议在腾讯云实验室里自行进行linux操作实验),正所谓“工欲善其事,必先利其器”嘛
在部署过xampp后(我还是用GUI在官网下载的ÿ