当前位置:网站首页>Deepin 下安装 LAMP
Deepin 下安装 LAMP
2022-07-28 09:26:00 【MountainYanYL】
最近电脑装了Linux系统 deepin 学着安装LAMP环境
ubuntu/deepin linux 下使用 apt-get 安装所需套的软件 LAMP ,yum 在deepin 下太麻烦了
1. 安装 apacache2
apt-get install apache2
配置文件:/etc/apache2/apache2.conf
service apache2 start
service apache2 stop
service apache2 restart
2. 安装 php7
sudo apt-get install php7.0
3. 安装 mysql
sudo apt-get install mysql-server mysql-client
测试:mysql -u root -p XXX
service mysql start
service mysql stop
service mysql restart
注释:安装时提示无法安装等信息,原因是没有更新源(apt-get install update)
4.安装其他模块
sudo apt-get install libapache2-mod-php7.0
sudo apt-get install php7.0-mysql
5 安装Redis
apt-get install redis-server
redis 启动 redis-server
redis 客户端 redis-cli
6 安装 git
sudo apt-get install git
PHP 还需要安装一些扩展 还没装好 后期待续 ,如有不足之处多多指教
边栏推荐
- [autosar-rte] - 3-runnable and its task mapping mapping
- 超级原始人系列盲盒即将上线,PlatoFarm赋能超多权益
- Learn a hammer.Net zero foundation reverse tutorial lesson 3 (shell and homework)
- 就这么一个简单的校验,80%的程序员却做不到,更不理解!
- NET 3行代码实现文字转语音功能
- Introduction to shardingsphere's concept of sub database and sub table (2)
- 如何使用JWT进行身份验证与授权
- Pulse style | exclusive interview with Committee -- Tencent engineer Zhang Dawei calls you to eat "crab"
- Database core system
- MySQL 8.0.30 GA
猜你喜欢
随机推荐
2.9.5 Ext JS的Object类型处理及便捷方法
Window source code analysis (IV): window deletion mechanism
Net 3 lines of code to realize the function of text to speech
数据不会说谎,Plato Farm就是元宇宙龙头
数据库高级学习笔记--存储结构
Network engineering -- ranking of Chinese universities in Soft Science
opencv安装配置测试
JS array is de duplicated, the ID is the same, and a value is added and merged
CakePHP 4.4.3 release, PHP rapid development framework
Translation recommendation | debugging bookkeeper protocol - unbounded ledger
MySQL中各类型文件详解
go语言切片Slice和数组Array对比panic runtime error index out of range问题解决
Learn a hammer.Net zero foundation reverse tutorial lesson 3 (shell and homework)
实验五:用户与用户组管理
设计一个支持百万用户的系统
时序分析41 - 时序预测 TBATS模型
The maximum recommended number of rows for MySQL is 2000W. Is it reliable?
Introduction to SD card (based on spec3.0)
Can multithreading optimize program performance?
脉冲风采|Committer 专访——腾讯工程师张大伟喊你吃“螃蟹”啦




![[Download] several tools for brute force cracking and dictionary generation are recommended](/img/c6/f4a9c566ff21a8e133a8a991108201.png)




