Linux
DynastyTing
这个作者很懒,什么都没留下…
展开
-
nginx 支持HTTPS fdfs
先备份prefix安装路径的文件夹./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --add-module=/mnt/soft/fastdfs/fastdfs-nginx-module-master/srcmake && make install原创 2022-02-22 12:45:32 · 1467 阅读 · 0 评论 -
tar命令详细解释
yum -y install lrzsztar -zcvf plugins.tar.gz plugins-c: 建立压缩档案-x:解压-z:有gzip属性的-v:显示所有过程下面的参数-f是必须的-f: 使用档案名字,切记,这个参数是最后一个参数,后面只能接档案名。tar -cvf jpg.tar *.jpg //将目录里所有jpg文件打包成tar.jpgtar -czf jpg.tar.gz *.jpg //将目录里所有jpg文件打包成jpg.tar后,并且将其用...原创 2021-04-20 10:07:26 · 1404 阅读 · 0 评论 -
阿里云申请的新服务器系统坑YUM
配置dns vim /etc/resolv.conf 添加:nameserver 8.8.8.8nameserver 114.114.114.114nameserver 223.5.5.5 # 这两个是阿里云公网DNSnameserver 223.6.6.6修改yum为阿里云的镜像源 cd /etc/yum.repos.d 备份CentOS-Base.repo文件:mv /etc/yum.repos.d/CentOS-Base.repo /...原创 2021-03-04 01:48:33 · 332 阅读 · 1 评论 -
logstash日志到es
#日志数据输入来源input { file { type => "xinhongyu" path => "/shareDocument1/139.9.56.59/logs/xinhongyu/logs/xinhongyu_*.log" discover_interval => 5 start_position => "beginning" }}output { if [type...原创 2021-01-17 18:48:51 · 237 阅读 · 0 评论 -
ELK安装包安装
https://www.elastic.co/cn/downloads/past-releases#kibana查看历史版本页面https://artifacts.elastic.co/downloads/kibana/kibana-7.10.1-linux-aarch64.tar.gzhttps://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.10.1-linux-aarch64.tar.gzhttps://art.原创 2021-01-15 10:42:34 · 325 阅读 · 1 评论 -
华为云和非华为云 docker-compose安装
首先安装python3 自动会安装pip31.配置编译环境安装依赖工具。yum install wgetzlib*openssl openssl-devel libffi-devel -y2.获取源码获取“Python-3.8.1”源码包。cd /usr/local/srcwget https://www.python.org/ftp/python/3.8.1/Python-3.8.1.tgz3.编译和安装1)解压软件包...原创 2020-06-05 23:48:42 · 635 阅读 · 0 评论 -
pip3: No such file or directory
-bash: /opt/python36/bin/pip3: No such file or directory解决方案:输入如下命令:hash -r清除缓存后即可。原文:https://pdf-lib.org/Home/Details/8774转载 2020-06-05 17:31:35 · 1549 阅读 · 2 评论 -
Linux安装MongoDB
下载地址https://www.mongodb.com/download-center/communitycurl -O https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel70-4.0.4.tgz RHEL6.2版本:https://fastdl.mongodb.org/linux/mongodb-linux-x86...原创 2018-11-17 17:28:54 · 283 阅读 · 0 评论 -
yum卸载
查看安装的yumrpm -qa|grep yum会看到yum-metadata-parser-1.1.2-16.el6.x86_64yum-plugin-fastestmirror-1.1.30-41.el6.noarchyum-3.2.29-81.el6.centos.noarch rpm -e --nodeps yum卸载rpm -qa|...原创 2018-11-15 21:23:57 · 362 阅读 · 0 评论 -
Linux 安装python
python查看版本whereis python/usr/local/bin/python2.6 https://www.python.org/downloads/release/python-2713/Gzipped source tarball下载 wget https://www.python.org/ftp/python/2.7.9/Python-2.7.9.t...原创 2018-11-15 21:22:18 · 190 阅读 · 0 评论 -
No module named yum问题解决
参考 https://www.cnblogs.com/phpandmysql/p/7066399.html CentOS 6.8自带的是Python 2.6.6,yum中最新的也是Python 2.6.6mkdir /usr/local/src/python wget http://mirrors.163.com/centos/6/os/x86_64/Packages/pyth...原创 2018-11-15 21:20:02 · 1670 阅读 · 1 评论 -
wget 安装 和卸载 以及安装后 wget命令: command not found
yum remove wget卸载yum install wget 安装wget命令: command not found的两种解决方法安装方式两种:1、rpm 安装下载wget的RPM包:http://mirrors.163.com/centos/6.8/os/x86_64/Packages/wget-1.12-8.el6.x86_64.rpm执行rpm -ivh w...原创 2018-11-15 21:18:07 · 15114 阅读 · 0 评论