知名软件达人|423DOWN.COM,更新快、专注去广告类软件输出10年、个人IP品牌软件分享站
一品威客网,数智化创意设计交易服务平台,聚集设计、开发、策划、营销等多品类千万级威客服务商,在线为中小微企业提供专业企业服务解决方案,是威客和雇主值得信赖的威客网站。
大眼仔旭网站是个人非盈利性网站,主要以分享日常工作生活办公技术资源为主,大眼仔热衷于分享互联网上一切所有美好事物,希望和您一起成长。
bulletz.io is a web-based endless 2.5D realtime multiplayer shooter.Eat food to grow your character while avoiding the bulletz of your enemies. Become the largest character in the world to become the king!
在线文本数据库通过简单易用的API接口,提供文本数据的存储与检索服务,无需注册登录,即可轻松进行文本数据管理。
Performance comparison of a wide spectrum of web application frameworks and platforms using community-contributed test implementations.
WebRTC/RTSP/RTMP/HTTP/HLS/HTTP-FLV/WebSocket-FLV/HTTP-TS/HTTP-fMP4/WebSocket-TS/WebSocket-fMP4/GB28181/SRT server and client framework based on C++11 - ZLMediaKit/ZLMediaKit
A portable and vast media library solution. Contribute to zoriya/Kyoo development by creating an account on GitHub.
网易爆米花(原网易Filmly),一款具有刮削功能的视频播放器。支持直连阿里云盘、百度网盘等,支持WebDAV、SMB协议。可聚合电影、电视剧、综艺等影视资源,自动匹配海报、评分、简介等媒体信息,自动归类合集,搭建私人个性化专享影视库。支持手机、电视、平板、电脑等多终端跨平台观影,同步影视资源及播放记录。
Vite + Vue 3 + JavaScript + Tailwind CSS + PrimeVue 是一套更轻、更实用、更“能做事”的组合。
We are building the next generation of JavaScript tooling
删除系统默认的 MariaDB:
sudo yum remove mariadb-libs
添加 MySQL 5.7 官方 Yum 源:
sudo yum install -y https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm
确保启用了 MySQL 5.7 的 repo,并禁用了 MySQL 8.0:
sudo yum-config-manager --disable mysql80-community
sudo yum-config-manager --enable mysql57-community
导入 MySQL 官方的 GPG 公钥
sudo rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
安装 MySQL 5.7:
sudo yum install -y mysql-community-server
启动 MySQL 并设置开机自启:
sudo systemctl start mysqld
sudo systemctl enable mysqld
查找初始 root 密码 :
(安装后系统会自动生成一个临时密码)
sudo grep 'temporary password' /var/log/mysqld.log
登录并修改 root 密码:
mysql -u root -p
# 输入刚才查到的临时密码
进入 MySQL 后,使用如下命令修改密码(需包含大小写、数字和特殊字符):
ALTER USER 'root'@'localhost' IDENTIFIED BY 'NewPassw0rd!';
(可选)设置允许远程连接
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'NewPassw0rd!' WITH GRANT OPTION;
FLUSH PRIVILEGES;
同时开放 3306 端口(若用 firewalld)
sudo firewall-cmd --permanent --add-port=3306/tcp
sudo firewall-cmd --reload
验证安装
mysql --version
您的程序运行命令:
/path-to-your/app --conf /path-to-your/app.conf
创建 Systemd 单元文件:
sudo vi /etc/systemd/system/your-app.service
内容如下:
[Unit]
Description=your-app service
After=network.target
[Service]
Type=simple
ExecStart=/path-to-your/app --conf /path-to-your/app.conf
WorkingDirectory=/path-to-your/
Restart=on-failure
RestartSec=5
User=root
[Install]
WantedBy=multi-user.target
重新加载 Systemd 配置
sudo systemctl daemon-reexec
sudo systemctl daemon-reload
设置开机启动并启动服务
sudo systemctl enable your-app
sudo systemctl start your-app
sudo systemctl status your-app
常用命令
启动服务 sudo systemctl start your-app
停止服务 sudo systemctl stop your-app
重启服务 sudo systemctl restart your-app
查看状态 sudo systemctl status your-app
设置开机自启 sudo systemctl enable your-app
禁用开机自启 sudo systemctl disable your-app