最新动态

今日:0  |  文章:1152
汇集全站版块最新文章
admin
小绿叶技术博客 Lv2 超级管理员

linux centos debain nginx自动 配置 https ssl 证书 软件 snapd

nginx 自动ssl证书配置 #    1. 安装ssl 证书软件yum install -y snapdapt install snapd# 1.安装snapd yum reinstall -y snapd# 重新安装 snapd,确保您的 snapd 版本是最新的systemctl enable --now snapd.socket# 安装后,需要启用管理主 snap 通信套接字的systemd单元snap install cor
/精华/置顶
自动化运维linux   3380   2022-03-06
admin
小绿叶技术博客 Lv2 超级管理员

linux 开机启动服务编写 systemd 系统服务,linux centos debian 添加 systemctl 系统进程,开机启动,管理守护进程

 #    系统服务cd  /usr/lib/systemd/system/sudo nano web_start.service# 进入目录,编辑文件写入服务, unit 服务器说明, ExecStart 启动的内容[Unit] Description=start web [Service] Type=forking ExecStart=/datadisk/eisc/server/shell/start.sh ExecReload=/bin/kil
 
linux   3248   2022-03-06
admin
小绿叶技术博客 Lv2 超级管理员

路由器 DHCP静态绑定和 arp 静态绑定 上网

1、进入路由器设置界面。登陆192.168.1.1,进入WEB界面后。在左侧菜单栏中点击“IP与MAC绑定“选项。2、然后选择“静态ARP绑定设置“,点“启用”。设置单机的MAC地址和IP地址的匹配规则,点击增加单个条目。3、填入需要绑定的MAC地址和IP地址,并勾选”绑定“项。4、如果你需要新增多个IP和MAC地址绑定,则可以通过ARP映射表导入完成。
 
网络   2148   2022-03-06
admin
小绿叶技术博客 Lv2 超级管理员

debian10 部署java业务, debian 最新版nginx 1.18

useradd -m -d /home/eisc -s /bin/bash eisc; passwd eisc# 新建一个子用户,并设置密码NR=`cat -n /etc/ssh/sshd_config | grep PermitRootLogin | grep -v "#"  | awk -F" " '{print $1}'`sed -i "$NR s/PermitRootLogin.*/PermitRootLogin no/g " /etc/ssh/sshd_config# vi 
 
linux   760   2022-03-05
admin
小绿叶技术博客 Lv2 超级管理员

debian10 安装 gitleb

apt updateapt upgradeapt install ca-certificates curl openssh-server postfixcd /tmpwget https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.shbash script.deb.shNR=`cat -n /etc/gitlab/gitlab.rb | grep external_url | grep -v "#" | a
 
linux   937   2022-03-02
admin
小绿叶技术博客 Lv2 超级管理员

配置 /etc/profile 错误导致很多系统命令无法使用

/usr/bin/vi /etc/profile  # 使用绝对路径进行打开命令source /etc/profile# 生效环境变量#------------ linux 配置jdk --------------#vi /etc/profileexport JAVA_HOME=/opt/java/jdk1.8.0_201export CLASSPATH=.:$JAVA_HOME/lib/dt.jara:$JAVA_HOME/lib/tools.jarexport PATH="$PAT
 
linux   724   2022-03-02
admin
小绿叶技术博客 Lv2 超级管理员

debian10 安装jdk mariadb nginx php-fpm

#!/bin/bash# bebian 安装nginx mariadb jdk redis# #----------- ubuntu/debian 装nginx + php -----------------#apt install -y nginx php-fpmphp -vserver {listen 80 default_server;root /www/www/web;index index.php index.html;location ~ \.php$ {   
 
linux   813   2022-02-27
admin
小绿叶技术博客 Lv2 超级管理员

小绿叶数据全自动迁移-编写中

#/bin/bash# 小绿叶技术博客全自动迁移yum install -y wget nginxwget eisc.cn/file/shell/centos-yum.sh ; sh centos-yum.shwget https://download.docker.com/linux/centos/docker-ce.repo -O /etc/yum.repos.d/docker.repoyum listyum install -y docker-ceecho "{"registry-mirrors":
 
自动化运维linux   1103   2022-02-26
admin
小绿叶技术博客 Lv2 超级管理员

debian 10 安装桌面

apt updateapt install xfce4 xfce4-goodies tightvncserver xrdpsystemctl enable xrdp.service#启动xrdp服务systemctl start xrdp    https://blog.satikey.com/p/87.html
 
shell   1625   2022-02-25
admin
小绿叶技术博客 Lv2 超级管理员

比较常见CPU的区别:Intel、ARM、AMD

1、Intel:是英特尔公司开发的中央处理器,有移动、台式、服务器三个系列。2、ARM:是英国Acorn有限公司设计的低功耗成本的第一款RISC微处理器。3、AMD:由AMD公司生产的处理器。二、技术不同1、Intel:支持超线程术,同时快速运行多个计算应用,或为采用多线程的单独软件程序提供更多性能。2、ARM:支持Jazelle技术使Java加速得到比基于软件的Jaarm处理器阶梯图 va虚拟机(JVM)高得多的性能,和同等的非Java加速核相比功耗降低80%。3、AMD:支持Alchemy 解决方案有
 
windows   2537   2022-02-23
头像

用户名:

粉丝数:

签名:

资料 关注 好友 消息