- 默认端口被占用后,如何修改Apache2 端口
写bug如流水
环境安装ubuntuapache
你可以通过以下步骤修改Apache2的默认端口(80端口):1.修改Apache2配置文件首先,你需要编辑Apache2的端口配置文件:sudonano/etc/apache2/ports.conf在文件中,你会看到类似以下的内容:Listen80将80修改为你想要的其他端口号(例如8080):Listen8080保存并退出编辑器。2.修改虚拟主机配置文件你还需要编辑Apache2虚拟主机的配置文
- Apache2 虚拟目录配置&修改默认网页
HAPPYers
虚拟目录配置修改默认的配置文件/etc/apache2/sites-available/000-default.conf在VirtualHost中间添加:Alias/data1"/data1/"Options+Indexes+FollowSymlinksAllowOverrideAllRequireallgranted注意上面第一行/data1千万不要写成/data1/否则使用http://loc
- ubuntu安装 Apache 服务器 实现局域网浏览器访问文件
云樱梦海
安装sudoapt-getinstallapache2修改配置sudovim/etc/apache2/sites-available/000-default.confsudovi/etc/apache2/apache2.conf重启sudo/etc/init.d/apache2restart允许外部访问Apache端口sudoufwallow|deny[service]打开或关闭某个端口,例如:s
- 开源协议有哪些坑?来,比较一下~
FIN技术铺
聊聊源码开源协议
在开源软件的世界里,协议扮演着至关重要的角色,它们定义了软件的使用、修改、分发以及商业化等关键条款。不同的开源协议,如GPL、MIT、BSD、Apache2.0等,各有其独特之处,适用于不同的项目和场景。笔者尝试从功能、性能、易用性、安全性以及对商业友好的程度五个维度,对近十种主流的开源软件协议进行深入对比,旨在帮助开发者更好地理解这些协议,并为项目选择合适的开源许可。一、开源协议概述开源协议,又
- 如何在Ubuntu 16.04上使用Let‘s Encrypt保护Apache2
JKooll
sharecodeubuntulet'sencryptapachehttps
原文:https://zhaoshuquan.com/posts/如何在ubuntu-16.04上使用lets-encrypt保护apache2/介绍本教程将向您展示如何在运行Apache作为Web服务器的Ubuntu16.04服务器上设置Let’sEncrypt的TLS/SSL证书。Web服务器中使用SSL证书来加密服务器和客户端之间的流量,为访问应用程序的用户提供额外的安全性。让我们的加密提供
- apache2.4 tomcat6 集群 AJP 配置方法
whqcfp
JAVA
环境:Apache2.4(192.168.1.15:1102)安装路径:E:\Platform\Apache24节点1Tomcat6(192.168.1.15:8080ajp:8010)节点2Tomcat6(192.168.1.15:8081ajp:8011)安装Apache服务,安装成Windows服务。CMD命令行方法:"E:\Platform\Apache24\bin\httpd.exe"-
- AJP与HTTP比较和分析
frank_good
前言测试技术研究ajphttp
系统环境:OS:Ubuntu10.10(2G)ServletContainer:tomcat-tomcat-7.0.23(最大内存:default256MmaxThreads:500)Webserver:apache2.2(maxClient:250)设置apache最大连接数Java代码在/usr/local/etc/apache22/httpd.conf中加载MPM配置(去掉前面的注释):#S
- Apache2.4+Tomcat9.0配置反向代理
德盖尔芒特
javaapachetomcatapachetomcat
https://www.cnblogs.com/-brl/p/7463875.html先来了解一下什么是反向代理?当一个代理服务器能够代理外部网络上的主机,访问内部网络时,这种代理服务的方式称为反向代理服务所谓的反向代理就是你访问的目标不是直接访问的,中间是有一个代理给你转发的。那么它的作用是什么?比如我们现在要访问的站点端口是8080并不是默认的80,而又不想手动在后面输入自己特定的端口8080
- 如何在Ubuntu上安装Apache Http服务器
cyan20115
有两种方法可以在Ubuntu上安装ApacheHttp服务器:使用apt命令自动安装。配置和构建源代码,然后手动安装。1.自动安装1.使用“apt-cachesearch”命令搜索Apache软件包apt-cachesearchapache2.获得Apache软件包名称“apache2”,发出“apt-get”安装命令。您需要“sudo”特权才能进行此安装。sudoapt-getinstallap
- Apache搭建Windows代理服务器
hylaking
NetworkWindows知识&技巧Apache代理服务器
Apache搭建代理服务器作者:zbuger博客:https://blog.csdn.net/zbuger/article/details/51648048Apache版本2.2众所周知Apache是目前最优秀的HTTP服务器。实际上它不仅能当作服务器使用,也能够被用来架设代理服务器。本文就如何使用Apache架设HTTP代理服务器进行说明。本文将基于Win32版的Apache2.0.47进行说明
- OpenStack云计算平台实战
港南四大炮亡
openstack云计算
项目一任务一了解云计算目前主流的开源云计算平台如下:OpenStack。OpenStack是一个提供IAAS开源解决方案的全球性项目,由Rackspace公司和NASA共同创办,采用了Apache2.0许可证,可以随意使用。OpenStack并不要求使用专门的硬件和软件,可以在虚拟系统或裸机系统中运行。它支持多种虚拟机管理器(KVM和XenServer)和容器技术。OpenStack适应不同的用户
- 基于Docker搭建hdfs分布式实验环境
dejiedoor
hadoop大数据docker
理论知识DockerDocker是一个开源的应用容器引擎,基于Go语言并遵从Apache2.0协议开源。Docker可以让开发者打包他们的应用以及依赖包到一个轻量级、可移植的容器中,然后发布到任何流行的Linux机器上,也可以实现虚拟化。容器是完全使用沙箱机制,相互之间不会有任何接口,容器性能开销极低。Docker能够将应用程序与基础架构分开,从而可以快速交付软件。借助Docker,开发者可以与管
- 视野 | OpenSearch,云厂商的新选择?
RadonDB
数据库搜索引擎elasticsearch
王奇顾问软件工程师目前从事PaaS中间件服务(Redis/MongoDB/ELK等)开发工作,对NoSQL数据库有深入的研究以及丰富的二次开发经验,热衷对NoSQL数据库领域内的最新技术动态的学习,能够把握行业技术发展趋势。|最流行的全文搜索引擎Elasticsearch是一款广泛使用的开源分布式全文搜索引擎,源于ApacheLucene[1],许可证为Apache2.0。由于出色的搜索引擎、高扩
- Elasticsearch 与 OpenSearch:开源搜索技术的演进与选择
铭毅天下
elasticsearch开源大数据搜索引擎全文检索
在2010年以Apache2.0开源协议发布后,Elasticsearch迅速成为全球最受欢迎的企业搜索引擎。Elasticsearch常与Logstash和Kibana一起部署,这一组合被称为ElasitcStack,用于启用日志分析用例,包括应用可观察性、安全日志分析和理解用户行为。2015年,亚马逊利用这一开源协议推出了AmazonElasticsearchService(AmazonES)
- Web 基础——Apache
愿许浪尽天涯
WebWeb基础——Apache运维linuxApache三种工作模式Apache优化
Web基础——Apache一、Web简介1.域名2.域名解析3.Web基础概念4.HTTP协议分析1)HTTP请求报文和响应报文5.HTTP状态码6.Apache特点1)三种工作模式PreforkWorkerEvent二、部署Apache网站服务1.编译安装Apache2.安装后优化调整3.使用浏览器访问验证4.配置多个网页5.调整工作模式1)查看工作模式2)Prefork工作模式3)Worker
- 阿里云ecs服务器-部署网站基础(ubuntu20+apache2+mysql+php+phpmyadmin)
Miracle Fan
服务器mysqlphp
云服务器网站的简单使用云服务器搭建网站1.云服务器2.安装包升级3.apache的配置4.mysql的配置5.安装php6.安装phpmyadmin:1.云服务器端口开放:21,FTP服务所开放的端口,用于上传、下载文件。22,SSH端口,用于通过命令行模式远程连接Linux服务器或vps。80,用于HTTP服务提供访问功能。443,用于HTTPS服务提供访问功能。3306,MySQL数据库对外提
- Ubuntu20.04 阿里云服务器网站搭建 Apache2+PHP+MySQL
XIE心英雄
服务器新手尝试MySQL服务器mysql阿里云linuxubuntu
Ubuntu20.04阿里云服务器网站搭建__02__MySQL初步任务MySQL_8.x安装与测试第一步:下载MySQL的服务器版本第二步:初始化配置第三步:配置远程链接(1)给root用户开通远程链接权限(2)更改配置项,允许MySQL进行远程链接(3)以下的步骤和以上的(1)步骤重合,如果(1)不奏效,可以看看这个第四步:在你的云服务器上开放MySQL端口第五步:验证远程链接(1)直接使用命
- 【Ubuntu20.04 阿里云服务器网站搭建 Apache2+PHP+MySQL】
XIE心英雄
学习历程报告服务器后端服务器阿里云linuxubuntuapache
Ubuntu20.04阿里云服务器网站搭建__01__Apache2+PHP+MySQL初步任务Apache2安装与测试第一步:安装Apache2第二步:查看/修改监听端口(默认是80端口)第三步:根据以上修改的端口,在阿里云服务器的安全组中给对应端口号访问权限第四步:启动Apache2第五步:网页测试参考链接初步任务最开始的部分这里暂时省略掉,关于阿里云服务器如何购买以及初步配置等步骤这里不详细
- Ubuntu 下 Apache2 使用二级域名反向代理 Jupyter Lab,并配置 SSL
谖瓞
对Apache2不是很熟悉,配置的时候走了不少弯路,特此记录。前置条件本文所有操作是在Ubuntu16.04LTS和Apache2环境下,以root权限进行执行的。JupyterLab服务默认运行在8888端口。SSL证书使用了由阿里云签发的免费证书。配置主域名SSL证书注意这一节配置的主域名的SSL证书,若只需配置二级域名,则跳过这一节编辑文件/etc/apache2/sites-availab
- 服务器解析漏洞及任意文件下载
Passion-优
服务器运维
1.服务器文件解析漏洞文件解析漏洞,是指Web容器(Apache、nginx、iis等)在解析文件时出现了漏洞,以其他格式执行出脚本格式的效果。从而,黑客可以利用该漏洞实现非法文件的解析。(1)Apachelinux系统中的apache的php配置文件在/etc/apache2/mods-available这个目录下1.多后缀解析漏洞ApacheHTTPD支持一个文件拥有多个后缀,并为不同后缀执行
- 新版UI界面影视小程序亲测无问题带详细搭建教程
ms3_ishenglu
微信小程序微信开源小程序
新版UI界面影视小程序亲测无问题带详细搭建教程环境php7.0—fileinfo–redis–sg11mysql5.5apache2.4添加站点php7.0—-创建ftp—-上传后端文件《后端文件修改,/maccms/wxapi/config/dbs.php–修改当前数据库》—-设置ssl—-打开数据库安装cms安装好后管理数据库《删除采集导入的重名文件添加新的》—-后台api接口视频开启注意:采
- CVE-2021-42013 漏洞复现
Jay 17
CVE复现CVE-2021-42013漏洞复现PHPWeb安全CVE网络安全
CVE-2021-42013漏洞版本:Apache2.4.50Apache版本2.4.50是对CVE-2021-(版本2.4.49)的修复,但是修复不完整导致可以绕过,从而产生了CVE-2021-42013(版本2.4.50)。这时修复了对.%2e的检测。在处理外部HTTP请求时,会调用ap_process_request_internal函数对url路径进行处理,在该函数中,首先会调用ap_no
- 使用namecheap证书进行配置htmls安全访问
cn華少
1、开启SSL模块$a2enmodssl2、启用SSL站点$a2ensitedefault-ssl3、加入监听端口$sudovim/etc/apache2/ports.conf编辑Apache端口配置,加入443端口(HTTPS采用的443端口传输数据)Listen4434、配置虚拟主机编辑default-ssl文件,加入证书对应的主机头。$sudovim/etc/apache2/sites-en
- Linux中Apache2fail,apache2 启动失败,出现下列错误,请问怎么解决,谢谢
weixin_39838829
该楼层疑似违规已被系统折叠隐藏此楼查看此楼apache2.service-TheApacheHTTPServerLoaded:loaded(/lib/systemd/system/apache2.service;enabled;vendorpreset:Drop-In:/lib/systemd/system/apache2.service.d└─apache2-systemd.confActive
- apache启动报错
weixin_33755649
网络
早上7点多起来的时候,接到报警,发现主站后台的apache挂了,上去启动了下,没起来;查看错误日志发现有如下显示[root@houtaicmslogs]#tail-ferror_log[WedMar2107:20:072012][warn]pidfile/usr/local/apache2.2.20/logs/httpd.pidoverwritten--Uncleanshutdownofprevi
- kali系统搭建BlueLotus_XSSReceiver-master
fengtianlei159
安全web安全php
1.访问GitHub-trysec/BlueLotus_XSSReceiver:XSS平台CTF工具Web安全工具下载BlueLotus_XSSReceiver-master2.我的kali系统已安装apache2、php环境,/etc/init.d/apache2start打开apaache,查看端口号8080。3.,访问192.168.1.134:8080/BlueLotus_XSSRecei
- Docker安装及介绍
Withered@
云原生docker
一、Docker的介绍1.1、什么是DockerDocker是一个开源的应用容器引擎,基于Go语言并遵从Apache2.0协议开源。Docker可以让开发者打包他们的应用以及依赖包到一个轻量级、可移植的容器中,然后发布到任何流行的Linux机器上,也可以实现虚拟化。容器是完全使用沙箱机制,相互之间不会有任何接口(类似iPhone的app),更重要的是容器性能开销极低。1.2、Docker的优点Do
- Requests库的基本使用
小董不太懂
什么是Requests库?Requests是用python语言基于urllib编写的,采用的是Apache2Licensed开源协议的HTTP库如果你看过上篇文章关于urllib库的使用,你会发现,其实urllib还是非常不方便的,而Requests它会比urllib更加方便,可以节约我们大量的工作。(用了requests之后,你基本都不愿意用urllib了)一句话,requests是python
- Kotlin手记(一):基础大杂烩
木大白易
Kotlinkotlin开发语言android
Kotlin简介2011年7月,JetBrains推出Kotlin项目,这是一个面向JVM的新语言2012年2月,JetBrains以Apache2许可证开源此项目。2016年2月15日,Kotlinv1.0发布,这被认为是第一个官方稳定版本。在GoogleI/O2017中,Google宣布在Android上为Kotlin提供最佳支持,取代java成为官方开发语言。函数和变量kotlin中的函数和
- Docker部署nextcloud及其使用方法
CodeAlan
dockernextclouddocker容器
Docker部署Nextcloud及其使用方法Docker安装Docker是一个开源的应用容器引擎,基于Go语言并遵从Apache2.0协议开源。Docker可以让开发者打包他们的应用以及依赖包到一个轻量级、可移植的容器中,然后发布到任何流行的Linux机器上,也可以实现虚拟化。容器是完全使用沙箱机制,相互之间不会有任何接口(类似iPhone的app),更重要的是容器性能开销极低。Docker的应
- JAVA中的Enum
周凡杨
javaenum枚举
Enum是计算机编程语言中的一种数据类型---枚举类型。 在实际问题中,有些变量的取值被限定在一个有限的范围内。 例如,一个星期内只有七天 我们通常这样实现上面的定义:
public String monday;
public String tuesday;
public String wensday;
public String thursday
- 赶集网mysql开发36条军规
Bill_chen
mysql业务架构设计mysql调优mysql性能优化
(一)核心军规 (1)不在数据库做运算 cpu计算务必移至业务层; (2)控制单表数据量 int型不超过1000w,含char则不超过500w; 合理分表; 限制单库表数量在300以内; (3)控制列数量 字段少而精,字段数建议在20以内
- Shell test命令
daizj
shell字符串test数字文件比较
Shell test命令
Shell中的 test 命令用于检查某个条件是否成立,它可以进行数值、字符和文件三个方面的测试。 数值测试 参数 说明 -eq 等于则为真 -ne 不等于则为真 -gt 大于则为真 -ge 大于等于则为真 -lt 小于则为真 -le 小于等于则为真
实例演示:
num1=100
num2=100if test $[num1]
- XFire框架实现WebService(二)
周凡杨
javawebservice
有了XFire框架实现WebService(一),就可以继续开发WebService的简单应用。
Webservice的服务端(WEB工程):
两个java bean类:
Course.java
package cn.com.bean;
public class Course {
private
- 重绘之画图板
朱辉辉33
画图板
上次博客讲的五子棋重绘比较简单,因为只要在重写系统重绘方法paint()时加入棋盘和棋子的绘制。这次我想说说画图板的重绘。
画图板重绘难在需要重绘的类型很多,比如说里面有矩形,园,直线之类的,所以我们要想办法将里面的图形加入一个队列中,这样在重绘时就
- Java的IO流
西蜀石兰
java
刚学Java的IO流时,被各种inputStream流弄的很迷糊,看老罗视频时说想象成插在文件上的一根管道,当初听时觉得自己很明白,可到自己用时,有不知道怎么代码了。。。
每当遇到这种问题时,我习惯性的从头开始理逻辑,会问自己一些很简单的问题,把这些简单的问题想明白了,再看代码时才不会迷糊。
IO流作用是什么?
答:实现对文件的读写,这里的文件是广义的;
Java如何实现程序到文件
- No matching PlatformTransactionManager bean found for qualifier 'add' - neither
林鹤霄
java.lang.IllegalStateException: No matching PlatformTransactionManager bean found for qualifier 'add' - neither qualifier match nor bean name match!
网上找了好多的资料没能解决,后来发现:项目中使用的是xml配置的方式配置事务,但是
- Row size too large (> 8126). Changing some columns to TEXT or BLOB
aigo
column
原文:http://stackoverflow.com/questions/15585602/change-limit-for-mysql-row-size-too-large
异常信息:
Row size too large (> 8126). Changing some columns to TEXT or BLOB or using ROW_FORMAT=DYNAM
- JS 格式化时间
alxw4616
JavaScript
/**
* 格式化时间 2013/6/13 by 半仙
[email protected]
* 需要 pad 函数
* 接收可用的时间值.
* 返回替换时间占位符后的字符串
*
* 时间占位符:年 Y 月 M 日 D 小时 h 分 m 秒 s 重复次数表示占位数
* 如 YYYY 4占4位 YY 占2位<p></p>
* MM DD hh mm
- 队列中数据的移除问题
百合不是茶
队列移除
队列的移除一般都是使用的remov();都可以移除的,但是在昨天做线程移除的时候出现了点问题,没有将遍历出来的全部移除, 代码如下;
//
package com.Thread0715.com;
import java.util.ArrayList;
public class Threa
- Runnable接口使用实例
bijian1013
javathreadRunnablejava多线程
Runnable接口
a. 该接口只有一个方法:public void run();
b. 实现该接口的类必须覆盖该run方法
c. 实现了Runnable接口的类并不具有任何天
- oracle里的extend详解
bijian1013
oracle数据库extend
扩展已知的数组空间,例:
DECLARE
TYPE CourseList IS TABLE OF VARCHAR2(10);
courses CourseList;
BEGIN
-- 初始化数组元素,大小为3
courses := CourseList('Biol 4412 ', 'Psyc 3112 ', 'Anth 3001 ');
--
- 【httpclient】httpclient发送表单POST请求
bit1129
httpclient
浏览器Form Post请求
浏览器可以通过提交表单的方式向服务器发起POST请求,这种形式的POST请求不同于一般的POST请求
1. 一般的POST请求,将请求数据放置于请求体中,服务器端以二进制流的方式读取数据,HttpServletRequest.getInputStream()。这种方式的请求可以处理任意数据形式的POST请求,比如请求数据是字符串或者是二进制数据
2. Form
- 【Hive十三】Hive读写Avro格式的数据
bit1129
hive
1. 原始数据
hive> select * from word;
OK
1 MSN
10 QQ
100 Gtalk
1000 Skype
2. 创建avro格式的数据表
hive> CREATE TABLE avro_table(age INT, name STRING)STORE
- nginx+lua+redis自动识别封解禁频繁访问IP
ronin47
在站点遇到攻击且无明显攻击特征,造成站点访问慢,nginx不断返回502等错误时,可利用nginx+lua+redis实现在指定的时间段 内,若单IP的请求量达到指定的数量后对该IP进行封禁,nginx返回403禁止访问。利用redis的expire命令设置封禁IP的过期时间达到在 指定的封禁时间后实行自动解封的目的。
一、安装环境:
CentOS x64 release 6.4(Fin
- java-二叉树的遍历-先序、中序、后序(递归和非递归)、层次遍历
bylijinnan
java
import java.util.LinkedList;
import java.util.List;
import java.util.Stack;
public class BinTreeTraverse {
//private int[] array={ 1, 2, 3, 4, 5, 6, 7, 8, 9 };
private int[] array={ 10,6,
- Spring源码学习-XML 配置方式的IoC容器启动过程分析
bylijinnan
javaspringIOC
以FileSystemXmlApplicationContext为例,把Spring IoC容器的初始化流程走一遍:
ApplicationContext context = new FileSystemXmlApplicationContext
("C:/Users/ZARA/workspace/HelloSpring/src/Beans.xml&q
- [科研与项目]民营企业请慎重参与军事科技工程
comsci
企业
军事科研工程和项目 并非要用最先进,最时髦的技术,而是要做到“万无一失”
而民营科技企业在搞科技创新工程的时候,往往考虑的是技术的先进性,而对先进技术带来的风险考虑得不够,在今天提倡军民融合发展的大环境下,这种“万无一失”和“时髦性”的矛盾会日益凸显。。。。。。所以请大家在参与任何重大的军事和政府项目之前,对
- spring 定时器-两种方式
cuityang
springquartz定时器
方式一:
间隔一定时间 运行
<bean id="updateSessionIdTask" class="com.yang.iprms.common.UpdateSessionTask" autowire="byName" />
<bean id="updateSessionIdSchedule
- 简述一下关于BroadView站点的相关设计
damoqiongqiu
view
终于弄上线了,累趴,戳这里http://www.broadview.com.cn
简述一下相关的技术点
前端:jQuery+BootStrap3.2+HandleBars,全站Ajax(貌似对SEO的影响很大啊!怎么破?),用Grunt对全部JS做了压缩处理,对部分JS和CSS做了合并(模块间存在很多依赖,全部合并比较繁琐,待完善)。
后端:U
- 运维 PHP问题汇总
dcj3sjt126com
windows2003
1、Dede(织梦)发表文章时,内容自动添加关键字显示空白页
解决方法:
后台>系统>系统基本参数>核心设置>关键字替换(是/否),这里选择“是”。
后台>系统>系统基本参数>其他选项>自动提取关键字,这里选择“是”。
2、解决PHP168超级管理员上传图片提示你的空间不足
网站是用PHP168做的,反映使用管理员在后台无法
- mac 下 安装php扩展 - mcrypt
dcj3sjt126com
PHP
MCrypt是一个功能强大的加密算法扩展库,它包括有22种算法,phpMyAdmin依赖这个PHP扩展,具体如下:
下载并解压libmcrypt-2.5.8.tar.gz。
在终端执行如下命令: tar zxvf libmcrypt-2.5.8.tar.gz cd libmcrypt-2.5.8/ ./configure --disable-posix-threads --
- MongoDB更新文档 [四]
eksliang
mongodbMongodb更新文档
MongoDB更新文档
转载请出自出处:http://eksliang.iteye.com/blog/2174104
MongoDB对文档的CURD,前面的博客简单介绍了,但是对文档更新篇幅比较大,所以这里单独拿出来。
语法结构如下:
db.collection.update( criteria, objNew, upsert, multi)
参数含义 参数  
- Linux下的解压,移除,复制,查看tomcat命令
y806839048
tomcat
重复myeclipse生成webservice有问题删除以前的,干净
1、先切换到:cd usr/local/tomcat5/logs
2、tail -f catalina.out
3、这样运行时就可以实时查看运行日志了
Ctrl+c 是退出tail命令。
有问题不明的先注掉
cp /opt/tomcat-6.0.44/webapps/g
- Spring之使用事务缘由(3-XML实现)
ihuning
spring
用事务通知声明式地管理事务
事务管理是一种横切关注点。为了在 Spring 2.x 中启用声明式事务管理,可以通过 tx Schema 中定义的 <tx:advice> 元素声明事务通知,为此必须事先将这个 Schema 定义添加到 <beans> 根元素中去。声明了事务通知后,就需要将它与切入点关联起来。由于事务通知是在 <aop:
- GCD使用经验与技巧浅谈
啸笑天
GC
前言
GCD(Grand Central Dispatch)可以说是Mac、iOS开发中的一大“利器”,本文就总结一些有关使用GCD的经验与技巧。
dispatch_once_t必须是全局或static变量
这一条算是“老生常谈”了,但我认为还是有必要强调一次,毕竟非全局或非static的dispatch_once_t变量在使用时会导致非常不好排查的bug,正确的如下: 1
- linux(Ubuntu)下常用命令备忘录1
macroli
linux工作ubuntu
在使用下面的命令是可以通过--help来获取更多的信息1,查询当前目录文件列表:ls
ls命令默认状态下将按首字母升序列出你当前文件夹下面的所有内容,但这样直接运行所得到的信息也是比较少的,通常它可以结合以下这些参数运行以查询更多的信息:
ls / 显示/.下的所有文件和目录
ls -l 给出文件或者文件夹的详细信息
ls -a 显示所有文件,包括隐藏文
- nodejs同步操作mysql
qiaolevip
学习永无止境每天进步一点点mysqlnodejs
// db-util.js
var mysql = require('mysql');
var pool = mysql.createPool({
connectionLimit : 10,
host: 'localhost',
user: 'root',
password: '',
database: 'test',
port: 3306
});
- 一起学Hive系列文章
superlxw1234
hiveHive入门
[一起学Hive]系列文章 目录贴,入门Hive,持续更新中。
[一起学Hive]之一—Hive概述,Hive是什么
[一起学Hive]之二—Hive函数大全-完整版
[一起学Hive]之三—Hive中的数据库(Database)和表(Table)
[一起学Hive]之四-Hive的安装配置
[一起学Hive]之五-Hive的视图和分区
[一起学Hive
- Spring开发利器:Spring Tool Suite 3.7.0 发布
wiselyman
spring
Spring Tool Suite(简称STS)是基于Eclipse,专门针对Spring开发者提供大量的便捷功能的优秀开发工具。
在3.7.0版本主要做了如下的更新:
将eclipse版本更新至Eclipse Mars 4.5 GA
Spring Boot(JavaEE开发的颠覆者集大成者,推荐大家学习)的配置语言YAML编辑器的支持(包含自动提示,