Python   2024-04-03 20:56   94   0  
如今使用supervisor管理python程序已经屡见不鲜了,而conda虚拟环境也在python开发中占据了主导地位,因此,在运行python程序时,例如flask,经常需要切换到某个虚拟环境中然后再运行,这里说明一下,如何在supervisor中激活python虚拟环境:
系统   2024-04-03 20:55   89   0  
OpenGL
系统   2024-03-27 11:02   68   0  
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
系统   2024-02-02 16:53   143   0  
要在Git中生成SSH密钥,可以按照以下步骤进行操作: 1、打开命令行工具(如Terminal或Command Prompt)。 输入以下命令来生成新的SSH密钥对:
系统   2024-02-02 16:48   110   0  
sshd_config
系统   2024-01-22 14:56   110   0  
supervisorctl restart all supervisorctl update
系统   2024-01-06 11:44   98   0  
git remote set-url命令修改remote URL git remote set-url 传递两个参数 remote name。例如,origin或者upstream new remote url。例如,git@github.com:USERNAME/OTHERREPOSITORY.git
系统   2023-12-24 21:13   133   0  
(CRON) INFO (Syslog will be used instead of sendmail.) (CRON) INFO (RANDOM_DELAY will be scaled with factor 0% if used.) (CRON) INFO (running with inotify support) (CRON) INFO (@reboot jobs will be run at computer's startup.)
系统   2023-12-07 22:58   146   0  
php配置文件中找到expose_php默认是expose_php=On,修改为expose_php=Off,重启php-fpm,返回信息中就不再有php及版本信息。下图的红框信息就会被隐藏。
1