- 博客(77)
- 收藏
- 关注
转载 mac build hadoop
https://cwiki.apache.org/confluence/display/HAWQ/Build+and+Install<!-- brew install protobuf protobuf-c Gsasl boost json-c ccache snappy libyaml libevent python cmake lcov apr iproute2mac ...
2018-07-05 21:51:00
189
转载 windows 安装sshd
https://github.com/PowerShell/Win32-OpenSSH/wiki/Install-Win32-OpenSSH转载于:https://www.cnblogs.com/anjunact/p/fs.html
2018-06-20 22:15:00
182
转载 maven spark package
<properties> <scala.version>2.11.8</scala.version> <spark.version>2.3.0</spark.version> <hadoop.version>2.7.3</hadoop.version></properties>...
2018-05-31 11:38:00
285
转载 git 相关
列出所有tagsgit ls-remote --tags进入远程tag1 git fetch --all --tags --prunegit ls-remote --heads origin //列出同时在branch中有名字的taggit branch -r2 git checkout tags/转载于:https://www.cnblogs...
2018-05-23 22:00:00
90
转载 tomcat9 remote manange
To add an instance of the Manager web applicationContextto a new host install themanager.xmlcontext configuration file in the$CATALINA_BASE/conf/[enginename]/[hostname]folder. Here is an ex...
2018-05-23 10:11:00
126
转载 mybatis error
org.apache.ibatis.executor.ExecutorException: No constructor found in给实体类加个无参构造方法转载于:https://www.cnblogs.com/anjunact/p/8984057.html
2018-05-03 10:15:00
93
转载 java ee 8 笔记
https://javaee.github.io/javaee-spec/javadocs/ javax.validation.constraints转载于:https://www.cnblogs.com/anjunact/p/8945587.html
2018-04-25 16:37:00
50
转载 maven mirror
<mirror><id>UK</id><name>UK Central</name><url>http://uk.maven.org/maven2/</url><mirrorOf>central</mirrorOf></mirror>...
2018-04-11 20:41:00
424
转载 springboot 热加载
1 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <optional>true</o...
2018-04-10 15:47:00
68
转载 mac app 已损坏
sudo spctl --master-disable转载于:https://www.cnblogs.com/anjunact/p/8697540.html
2018-04-02 21:08:00
70
转载 smb
yum -y install samba samba-clientsmbpasswd-a user1usermod-G security user1[global] unix charset = UTF-8 dos charset = CP936 workgroup = WORKGROUP security = user...
2018-03-26 20:19:00
56
转载 php 显示错误方法
php显示错误方法set_error_handler(function($errno, $errstr, $errfile, $errline){ print_r(compact('errno','errstr','errfile','errline')); debug_print_backtrace();});nginx设置php configfa...
2018-03-21 11:45:00
215
转载 laravel
curl -sS https://getcomposer.org/installer | phpmv composer.phar /usr/local/bin/composercomposer config -g repo.packagist composer https://packagist.phpcomposer.comcomposer glo...
2018-03-16 23:26:00
58
转载 利用windows 127.0.0.1:30000 代理在linux下工作
1安装 windows sshd serverhttp://www.bitvise.com/ssh-server-downloadhttp://www.freesshd.comhttps://mobassh.mobatek.net/download-home-edition.htmlhttps://www.itefix.net/copssh2在li...
2018-03-09 17:19:00
262
转载 nginx与ssh 把内网转为公网开发服务器
server { listen 80; server_name wechat.xxx.xx; location / { proxy_pass http://127.0.0.1:10000; proxy_set_header X-Real-IP $remote_addr; }}ssh wechat.xxx.xx -R 10000:127...
2018-03-09 13:11:00
114
转载 php errorlog 记录
需要将php.ini中的配置指令做如下修改:1.error_reporting=E_ALL;将会向PHP报告发生的每个错误2.display_errors=Off;不显示满足上条指令所定义规则的所有错误报告3.log_errors=On ;开...
2018-03-08 11:36:00
65
转载 dockerfile php 开发
DockerfileFROM php:5.6.30-apacheCOPY sources.list /etc/apt/sources.listRUN apt-get update -yRUN apt-get install zlib1g-dev -yRUN docker-php-ext-install pdo_mysqlRUN docker-php-ext-install zipRU...
2018-02-28 17:18:00
67
转载 ubuntu
sudo apt install language-pack-zh-hans language-pack-zh-hans-basesudo apt-get install ttf-wqy-microhei #文泉驿-微米黑sudo apt-get install ttf-wqy-zenhei #文泉驿-正黑sudo apt-get install xfonts-wqy #文泉驿...
2018-01-29 12:58:00
69
转载 k8s 1.9.1 centos7 install 离线安装
参考 http://blog.csdn.net/acxlm/article/details/79069468遇到的问题及解决:1. 直接用aliyun docker 可以用最新的, 我用的docker 17.12 #aliyunmv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backwget -...
2018-01-26 19:41:00
62
转载 kubernetes
cat <<EOF > /etc/yum.repos.d/kubernetes.repo[kubernetes]name=Kubernetesbaseurl=http://mirrors.aliyun.com/kubernetes/yum/repos/kubernetes-el7-x86_64enabled=1gpgcheck=0repo_gpgcheck=0gpgke...
2018-01-22 14:10:00
134
转载 virtualbox 网配置
1.nat2. only hostauto loiface lo inet loopbackauto enp0s3iface enp0s3 inet dhcpauto enp0s8iface enp0s8 inet staticaddress 192.168.56.12netmask 255.255.255.0#不要gateway ,用nat...
2018-01-21 09:21:00
74
转载 docker多主机pxc
//不加--attachable 下一步会报错docker network create --attachable cluster1_netdocker run -d -p 3306 --net=cluster1_net -e MYSQL_ROOT_PASSWORD=123456 -e CLUSTER_NAME=cluster1 -e XTRABACKER_PASSWORD=...
2018-01-18 21:12:00
552
转载 mysql5.7.21 主存复制
备份PlUSH TABLES WITH READ LOCK;mysqldump -u username -p --databases dbname2 dbname2 > weshop_test.sqlmysqldump -uroot -p -h192.168.56.9 --set-gtid-purged=off --databases weshop_test>we...
2018-01-16 16:49:00
102
转载 dokcer 中的jmx连接
一 连接docker中jmx注意:ports中如果不一样,连接不上;com.sun.management.jmxremote.rmi.port =com.sun.management.jmxremote.portgoodsapi:image: javavolumes:- ./goods-api.jar:/goods-api.jarports:- 19090:19090- 18080:80...
2018-01-12 14:33:00
147
转载 gradle
使用国内镜像,阿里云单个项目修改使用,build.gradle 中修改文件如下:buildscript { repositories { maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' } maven{ url 'http://maven.aliyu...
2018-01-10 21:29:00
195
转载 vscode
go get -u -v github.com/ramya-rao-a/go-outlinego get -u -v github.com/acroca/go-symbolsgo get -u -v github.com/nsf/gocodego get -u -v github.com/rogpeppe/godefgo get -u -v golang.org/x/tools/cmd/...
2018-01-02 21:55:00
68
转载 oracle study
create tablespace dbuser datafile '/u01/app/oracle/oradata/XE/dbuser.dbf' size 1024m autoextend on next 4m;create user dbuser identified by 123456grant connect,resource,dba to dbuser;sqlplus dbus...
2017-12-28 16:25:00
71
转载 golang
godoc -http=:8080http://localhost:8080/pkg/ ##time//时间格式化2006-01-02 15:04:05 不要变 必须是这个时间点, 据说是go诞生之日, 记忆方法:6-1-2-3-4-5fmt.Println(time.Now().Format("2006-01-02 15:04:05"))str_time := time.Unix(13...
2017-12-20 16:09:00
77
转载 docker
/etc/docker/daemon.json{ "registry-mirrors": ["https://docker.mirrors.ustc.edu.cn"]}swarm 在每个节点发布服务—mode global –publish mode=host,target=80,published=8080 docker service create \ --mode glo...
2017-12-06 17:48:00
89
转载 postgres
配置目录/var/lib/pgsql/10/datasudo passwd postgrespostgresql.conf将 #listen_addresses = 'localhost' 前的#号去掉,然后将后面的localhost改为*,然后将 #port = 5432 前的#去掉,最后再将 #password_encryption = on对pg_hba.conf内容进行配置,将上...
2017-12-01 09:07:00
87
转载 django
非runserver 要配置 STATIC_URL 到 STATIC_ROOT 映射from django.conf.urls.static import staticfrom django.conf import settingsurlpatterns = [ url(r'^admin/', admin.site.urls),] + static(settings.ST...
2017-11-23 17:53:00
52
转载 tomcat ssl
openssl req -newkey rsa:2048 -nodes -keyout spring5packt.key -x509 -days 3650 -out spring5packt.crtkeytool -import -alias spring5server -file spring5packt.crt -keystore spring5packt.keystore转载...
2017-11-18 10:42:00
54
转载 python3.6.2 error
pyhton3.6.2 pip install kerasTypeError:parse()gotanunexpectedkeywordargument'transport_encoding'condainstall-canacondahtml5lib转载于:https://www.cnblogs.com/anjunact/p/7730088.htm...
2017-10-25 17:29:00
67
转载 ai 概述
#机器学习监督学习supervised learning:有数据和标签非监督学习unsupervised learning:只有数据,没有标签半监督学习强化学习reinforcement learning:从经验中总结提升遗传算法 genetic algorithm 适者生存,不适者淘汰一 neural network 神经网络 属于监督学习## 卷积神经网络CNN convoluti...
2017-10-23 09:24:00
81
转载 spark 学习笔记-spark2.2.0
master:192.168.11.2 s1:192.168.11.3 s2 :192.168.11.4 共三个节点 第一步配置(三台一样) http://hadoop.apache.org/docs/r2.7.4/hadoop-project-dist/hadoop-common/ClusterSetup.html1> etc/hadoop/cor...
2017-10-13 22:26:00
57
转载 正则表达式
(thunder:\/\/[A-Za-z0-9\+\/=]*)转载于:https://www.cnblogs.com/anjunact/p/7635010.html
2017-10-07 16:24:00
88
转载 ambari local install
yum install yum-utils createrepo yum-plugin-prioritiesyum install httpd编辑/etc/yum/pluginconf.d/priorities.conf[main]enabled=1gpgcheck=0转载于:https://www.cnblogs.com/anjunact/p/7607319.html...
2017-09-28 16:33:00
70
转载 centos 7 install
1.wget -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo2 yum update kernel*3 rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rp...
2017-09-26 16:40:00
131
转载 sbt
键(key)name上的:=方法会返回一个Settinghttp://www.scala-sbt.org/1.x/docs/Plugins-Best-Practices.htmlhttp://www.scala-sbt.org/1.x/docs/Best-Practices.htmlSBT_HOME/conf/sbtconfig.txt-Dfile.encodin...
2017-09-23 17:08:00
76
转载 maven create project
mvn archetype:generate -DgroupId=cc.anjun.spring -DartifactId=spring-mongo -DarchetypeArtifactId=maven-archetype-webapp转载于:https://www.cnblogs.com/anjunact/p/7508264.html
2017-09-12 08:18:00
95
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人