Ubuntu Server下XAMPP建站的初级安全设置

本文介绍了在Ubuntu Server环境下使用XAMPP建站时进行的基本安全设置,包括修改默认账户密码、隐藏Apache版本信息、禁止目录索引以及进行PHP安全配置,确保服务器在公网上的安全性。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

欢迎使用xampp

xampp是新手建站的绝佳利器,但正如xampp部署成功页面所说

XAMPP is meant only for development purposes. It has certain configuration settings that make it easy to develop locally but that are insecure 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 serv

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值