apache与mysql添加进系统服务并设置开机启动
发表于:2024-10-21 作者:千家信息网编辑
千家信息网最后更新 2024年10月21日,apache与mysql添加进系统服务并设置开机启动apache1 cp /usr/local/apache/bin/apachectl /etc/init.d/httpd2 chkconfig --
千家信息网最后更新 2024年10月21日apache与mysql添加进系统服务并设置开机启动
apache与mysql添加进系统服务并设置开机启动
apache
1 cp /usr/local/apache/bin/apachectl /etc/init.d/httpd
2 chkconfig --add httpd
出现错误service httpd does not support chkconfig
打开 vi /etc/rc.d/init.d/httpd 添加(#!/bin/sh下面)
# chkconfig: 345 85 15
# description: Activates/Deactivates Apache Web Server
345代表哪些Linux级别需要启动httpd, 启动序号是85, 关闭序号是15
3 chkconfig httpd on
mysql
1 cp /root/tools/mysql-5.1.72/support-files/mysql.server /etc/init.d/mysqld
1.1 chmod 700 /etc/init.d/mysqld
2 chkconfig --add mysqld
3 chkconfig mysqld on
由此来总结添加方法。
本文出自博客http://xiangji.blog.51cto.com,请务必保留此出处。
序号
系统
服务
代表
出处
博客
方法
由此
级别
错误
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
怎么查看虚拟主机数据库密码
互联网能源科技2019
预防网络安全方面的知识
中国网络安全调整
服务器 2c
服务器安装系统出现管理员命令
有哪些好用的法学数据库
btr汉化版支持服务器
人事管理数据库课程设计
solr数据库
数据库中如何设置表中的主键
开远大理网络技术服务
ff14全服务器状态
将手机数据库拷贝到电脑
广州市网络安全信息化委员会
开源图片服务器
短视频app软件开发平台
民政数据库建设
企业使用云服务器比例
修改网页后怎么打开数据库
中国联通网络技术研究院杨健剑
华胜天成数据库怎么样
网络安全包括信息安全吗
网络安全漫画图片大全简笔画
计算机软件开发销售预测
购买我的世界服务器
乐淘科技软件开发
单位网络安全检查信息
软件开发文档编写举例
云峰网络技术