Linux
- 2022-03-16 09:32:55
- Post By 高景洋
nohup python3 doopt.py > doopt.log 2>&1 &
查看全文 | 浏览次数(1654)
- 2021-11-22 23:19:59
- Post By 高景洋
firewall-cmd —zone=public —add-port=80/tcp —permanent
firewall-cmd —reload
80可以改为任意你想放行的端口
查看全文 | 浏览次数(1313)
- 2021-11-05 23:30:35
- Post By 高景洋
mac下如何修改文件格式? mac下如何查看文件格式?让我们来看看下边的命令
vim 打开相应文件,
:set fileencoding
即可显示文件编码格式
将文件编码转换为utf-8
:set fileencoding=utf-8
注意:以上命令操作,都是在终端的esc状态下
查看全文 | 浏览次数(1736)
- 2021-11-02 19:05:52
- Post By 高景洋
配置uwsgi的日志
[uwsgi]
daemonize = /var/log/uwsgi.log
vi/var/log/uwsgi.log 即可查看uwsgi日志
查看全文 | 浏览次数(1301)
- 2021-05-12 22:44:54
- Post By 高景洋
一、官方下载地址 https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html 注意:需要注册后,方可下载 下载版本:Linux x64 Compressed Archive 二、安装过程 1、创建安装目录 mkdir /usr/local/java/ 2、解压至安装目录 tar -zxvf jdk-8u291-linux-x64.tar.gz -C /usr/local/java/ 3、环境变量设置 a、打开文件 vim /etc/profile b、添加环境变量 export JAVA_HOME=/usr/local/java/jdk1.8.0_291 export JRE_HOME=${JAVA_HOME}/jre export CLASSPATH=.:${JAVA_HOME}/lib:${JRE
查看全文 | 浏览次数(1899)
- 2021-05-10 14:42:47
- Post By 高景洋
CentOS sftp 连接 报如下错误 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that a host key has just been changed.
查看全文 | 浏览次数(1683)
- 2021-04-22 16:01:39
- Post By 高景洋
centos 下 python 调用 so 文件报错。 内容如下: 发生异常: OSError dlopen(目录.so, 6): no suitable image found. Did find: 目录XXXXOOOO.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00 目录.so: stat() failed with errno=13 File "目录/tmall_sku.py", line 13, in __init__ self.lib = ctypes.cdll.LoadLibrary(DLL_PATH) File "/Users/jasongao/Downloads/淘系店铺商品采集/tmall_sku.py", line 150, in &l
查看全文 | 浏览次数(3376)
- 2021-03-26 23:46:19
- Post By 高景洋
git提交下载代码速度特别慢的原因是它的ip经常变化。 我们要如何处理呢? 1、获取github地址 https://github.com.ipaddress.com/#ipinfo 2、获取global.ssl.fastly地址 https://fastly.net.ipaddress.com/github.global.ssl.fastly.net#ipinfo 3、修改本地Host 140.82.113.3 github.com 199.232.69.194 github.global.ssl.fastly.net 4、清理本地dns缓存 (Mac 下),会提示输入密码,输入即可 sudo dscacheutil -flushcache 5、提交拉取,变得嗖嗖的~
查看全文 | 浏览次数(1597)