- 博客(19)
- 资源 (2)
- 收藏
- 关注

原创 Docker容器构建最小JDK基础镜像及中文乱码和时区问题解决
一、准备基础镜像使用的是alpine-glibc,因为java依赖glibc 下载jre,下载地址是https://www.java.com/en/download/manual.jsp, 上传jre-8u231-linux-x64.tar.gz至服务器二、制作jre1、解压jre tar -zxvfjre-8u231-linux-x64.tar.gz2、进入目录...
2019-11-07 17:16:29
2954
1
原创 OkHttpUtils支持https和http
package com.hhit.hhmc.util;import java.io.File;import java.io.FileOutputStream;import java.io.IOException;import java.io.InputStream;import java.net.FileNameMap;import java.net.URLConnection;import java.security.SecureRandom;import java.security.c
2021-10-20 15:42:03
607
原创 ubuntu16中安装MySQL5.7.29
一、解压tartar -xvf mysql-server_5.7.29-1ubuntu16.04_amd64.deb-bundle.tar -C mysql二、安装第一个包(安装顺序不可更改)dpkg -i mysql-common_5.7.29-1ubuntu16.04_amd64.deb三、安装第二个包 1.首先安装libaio1_0.3.109-4_amd64.deb...
2020-04-10 09:36:58
866
原创 ubuntu nginx安装
第一种方式1、安装nginxsudo apt-get install nginx2、nginx路径nginx的默认安装路径在/usr/local/nginx下nginx的默认配置在/etc/nginx下3、修改配置文件nginx.conf,注释掉红色部分include /etc/nginx/conf.d/*.conf;#include /etc/nginx/sites...
2019-11-07 14:01:25
404
原创 fastdfs管理工具go-fastdfs-web 安装
go-fastdfs-web 监控工具安装一、安装到官方下载页面下载所需的版本(带jre或者不到jre)下载地址:https://github.com/perfree/go-fastdfs-web/releases二、目录结构三、权限设置给goFastDfsWeb.sh设置执行权限chmod +x goFastDfsWeb.sh四、运行(start启动...
2019-09-18 11:22:08
7742
1
原创 通过docker安装gofastdfs
一、查找镜像docker search go-fastdfs二、拉取镜像docker pull sjqzhang/go-fastdfs三、创建必要的数据文件目录mkdir -p /home/gofastdfs_data四、根据镜像文件创建容器docker run --name fastdfs -t -p 8080:8080 -v /home/gofastdfs_data:/data -e...
2019-09-18 10:55:25
1577
2
原创 Version 1.7.0_80 of the JVM is not suitable for this product.Version: 1.8 or greater is required.
Eclipse启动失败,设置eclipse启动jdk有2种方法第一种:直接安装eclipse对应的jdk版本,并设置环境变量第二种:修改eclipse配置文件eclipse.ini在plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar下面加入以下内容-vmF:\soft\Java\jdk1.8
2017-08-25 14:40:42
26818
7
原创 500 OOPS: vsftpd: refusing to run with writable root inside chroot ()
1.当我们限定了用户不能跳出其主目录之后,使用该用户登录FTP时往往会遇到这个错误:500 OOPS: vsftpd: refusing to run with writable root inside chroot () 2.这个问题发生在最新的这是由于下面的更新造成的: Linux学习,http:// linux.it.net.cn- Add
2017-04-19 08:53:04
497
原创 linux ftp 开机自动启动
1.显示vsftpd 在linux任何工作等级下都没有自启动[root@242 ~]# chkconfig --list|grep vsftpdvsftpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off2.设置vsftpd自启动[root@242 ~]# chkconfig vsf
2017-04-01 09:19:20
9520
原创 linux centOS6 nexus 开启自动启动
sudo ln -s /opt/nexus-2.6.4/nexus-2.6.4-02/bin/nexus /etc/init.d/nexus使用 service nexus status/start/stop 查看nexus服务状态、启动服务、停止服务等使用 chkconfig nexus on/off 设置nexus服务开机自启动或者开机不启动
2017-04-01 09:08:41
6699
原创 CentOS 7 firewall防火墙命令
一、开启服务 # systemctl start firewalld.service二、关闭防火墙# systemctl stop firewalld.service三、开机自动启动# systemctl enable firewalld.service四、关闭开机制动启动# systemctl
2016-12-02 10:26:17
528
原创 CentOS 7 开放端口
一、查询端口号:firewall-cmd --query-port=8080/tcp查询端口号8020 是否开启!二、开永久端口号:firewall-cmd --add-port=8080/tcp --permanent这里把8020替换为需要开的端口号, --permanent是指永久的意思。三、如何执行一行命令开多个端
2016-12-02 09:16:14
1138
原创 centos7解决中文乱码问题
[root@241 home]# more /etc/locale.conf LANG=en_US.UTF-8[root@localhost ~]# cp /etc/locale.conf /etc/locale.conf_bak[root@241 home]# vim /etc/locale.confLANG="zh_CN.GB18030"LANGU
2016-11-23 13:45:09
5061
原创 CentOS7 Subversion安装
准备1.subversion官网 http://subversion.apache.org/download/ 下载tar.gz的安装包2.还需要到 http://apr.apache.org/download.cgi 下载subversion必须的apr和apr-util的tar.gz的包,subversion安装这2个包是必须的Apr安装1解压
2016-11-18 15:35:08
625
原创 linux Redis的安装与部署
一、Redis的安装1、首先上官网下载Redis 压缩包,地址:http://redis.io/download,并上传到linux上2、解压安装包[root@241 opt]# tar -xzvf redis-3.2.4.tar.gz 3、执行make 对Redis解压后文件进行编译[root@241 opt]# cd redis-3.2.4/src/
2016-11-10 08:34:50
323
转载 解决vsftpd 读取目录列表失败的问题
使用第三方FTP软件filezilla进行登陆,出现如下错误:状态: 正在连接 192.168.1.6:21...状态: 连接建立,等待欢迎消息...响应: 220 (vsFTPd 2.2.2)命令: USER ftp响应: 331 Please specify the password.命令: PASS ***响应:
2016-10-24 13:04:11
20131
原创 Linux配置防火墙,开启端口
vi /etc/sysconfig/iptables -A INPUT -m state –state NEW -m tcp -p tcp –dport 80 -j ACCEPT(允许80端口通过防火墙) -A INPUT -m state –state NEW -m tcp -p tcp –dport 3306 -j ACCEPT(允许3306端口通过防火墙) #特别
2016-10-24 13:02:07
861
转载 Linux CentOS配置VSFTP服务器
1 安装VSFTP[root@localhost ~]# yum -y install vsftpd2 配置vsftpd.conf文件[root@localhost ~]# vi /etc/vsftpd/vsftpd.conf# Example config file /etc/vsftpd/vsftpd.conf # # The default c
2016-10-24 12:08:57
319
原创 Gson工具类
package com.enation.framework.util;import java.util.ArrayList;import java.util.Arrays;import java.util.List;import java.util.Map;import com.google.gson.Gson;import com.google.gson.
2016-10-09 11:05:05
489
locale-archive
2019-11-11
GOJS1.7 破解 去水印
2017-09-14
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人