久久精品国产亚洲AV嫖农村妇女,久久久亚洲欧洲日产国码是AV,亚洲男人在线无码视频http://www.tkk7.com/doctoryang/業精于勤荒于嬉!zh-cnSun, 11 May 2025 13:05:59 GMTSun, 11 May 2025 13:05:59 GMT60 RedHat6網絡配置http://www.tkk7.com/doctoryang/archive/2016/09/07/431768.htmlDoctoryangDoctoryangWed, 07 Sep 2016 04:03:00 GMThttp://www.tkk7.com/doctoryang/archive/2016/09/07/431768.htmlhttp://www.tkk7.com/doctoryang/comments/431768.htmlhttp://www.tkk7.com/doctoryang/archive/2016/09/07/431768.html#Feedback0http://www.tkk7.com/doctoryang/comments/commentRss/431768.htmlhttp://www.tkk7.com/doctoryang/services/trackbacks/431768.html1)配置IP

編輯/etc/sysconfig/network-scripts/ifcfg-eth0(不同的網卡為ifcfg-eth?)

a)靜態IP

  1. DEVICE=eth0

  2. HWADDR=00:0C:29:F3:13:87

  3. TYPE=Ethernet

  4. UUID=24b0bad9-c606-4498-a03a-65afa7d5ce63

  5. ONBOOT=yes

  6. NM_CONTROLLED=yes

  7. BOOTPROTO=static

  8. IPADDR=192.168.1.150

  9. NETMASK=255.255.255.0

  10. NETWORK=192.168.1.150

  11. GATEWAY=192.168.1.1

  12. DNS=xxx.xxx.xxx.xxx


b)動態IP

  1. DEVICE=eth0

  2. HWADDR=00:0C:29:F3:13:87

  3. TYPE=Ethernet

  4. UUID=24b0bad9-c606-4498-a03a-65afa7d5ce63

  5. ONBOOT=yes

  6. NM_CONTROLLED=yes

  7. BOOTPROTO=dbcp



2)重啟IP服務

service network restart



Doctoryang 2016-09-07 12:03 發表評論
]]>
Microsoft軟件下載http://www.tkk7.com/doctoryang/archive/2016/09/06/431763.htmlDoctoryangDoctoryangTue, 06 Sep 2016 09:33:00 GMThttp://www.tkk7.com/doctoryang/archive/2016/09/06/431763.htmlhttp://www.tkk7.com/doctoryang/comments/431763.htmlhttp://www.tkk7.com/doctoryang/archive/2016/09/06/431763.html#Feedback0http://www.tkk7.com/doctoryang/comments/commentRss/431763.htmlhttp://www.tkk7.com/doctoryang/services/trackbacks/431763.htmlhttp://msdn.itellyou.cn/




Doctoryang 2016-09-06 17:33 發表評論
]]>
Microsoft Outlook郵件存儲路徑http://www.tkk7.com/doctoryang/archive/2016/09/06/431762.htmlDoctoryangDoctoryangTue, 06 Sep 2016 09:23:00 GMThttp://www.tkk7.com/doctoryang/archive/2016/09/06/431762.htmlhttp://www.tkk7.com/doctoryang/comments/431762.htmlhttp://www.tkk7.com/doctoryang/archive/2016/09/06/431762.html#Feedback0http://www.tkk7.com/doctoryang/comments/commentRss/431762.htmlhttp://www.tkk7.com/doctoryang/services/trackbacks/431762.html<YourUserName>Library > Group Containers /UBF8T346G9.Office

Doctoryang 2016-09-06 17:23 發表評論
]]>
啟動SSH服務http://www.tkk7.com/doctoryang/archive/2016/09/06/431761.htmlDoctoryangDoctoryangTue, 06 Sep 2016 09:15:00 GMThttp://www.tkk7.com/doctoryang/archive/2016/09/06/431761.htmlhttp://www.tkk7.com/doctoryang/comments/431761.htmlhttp://www.tkk7.com/doctoryang/archive/2016/09/06/431761.html#Feedback0http://www.tkk7.com/doctoryang/comments/commentRss/431761.htmlhttp://www.tkk7.com/doctoryang/services/trackbacks/431761.html啟動SSH服務

sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist


查看服務狀態

sudo launchctl list | grep ssh



Doctoryang 2016-09-06 17:15 發表評論
]]>
Homebrew Installhttp://www.tkk7.com/doctoryang/archive/2016/09/06/431760.htmlDoctoryangDoctoryangTue, 06 Sep 2016 09:14:00 GMThttp://www.tkk7.com/doctoryang/archive/2016/09/06/431760.htmlhttp://www.tkk7.com/doctoryang/comments/431760.htmlhttp://www.tkk7.com/doctoryang/archive/2016/09/06/431760.html#Feedback0http://www.tkk7.com/doctoryang/comments/commentRss/431760.htmlhttp://www.tkk7.com/doctoryang/services/trackbacks/431760.htmlHomebrew官網:http://brew.sh/


Install Code:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

安裝完成后查看安裝版本信息,如:


出現上面信息表上安裝成功了。


#nginx安裝

sudo brew install nginx


#nginx卸載

sudo brew uninstall nginx


#查詢nginx

sudo brew search nginx


nginx相關命令

#查看版本及配置地址

nginx -V


#查看版本

nginx -v


#指定配置文件

nginx -c filename


#幫助

nginx -h


#重新加載配置 | 重啟 | 停止 | 退出 nginx

nginx -s reload | reopen | stop | quit


#啟動nginx

sudo nginx



Doctoryang 2016-09-06 17:14 發表評論
]]>
SVN環境搭建http://www.tkk7.com/doctoryang/archive/2016/09/06/431759.htmlDoctoryangDoctoryangTue, 06 Sep 2016 09:08:00 GMThttp://www.tkk7.com/doctoryang/archive/2016/09/06/431759.htmlhttp://www.tkk7.com/doctoryang/comments/431759.htmlhttp://www.tkk7.com/doctoryang/archive/2016/09/06/431759.html#Feedback0http://www.tkk7.com/doctoryang/comments/commentRss/431759.htmlhttp://www.tkk7.com/doctoryang/services/trackbacks/431759.htmlMacOS自帶SVN客戶端和服務端,只需要簡單配置即可使用。


#創建代碼倉庫

svnadmin create /Users/yangbo/SVN/mycode


#配置訪問權限

修改mycode/conf/svnserve.conf文件,將下列配置前#和空格去掉

password-db = passwd

authz-db = authz


#配置用戶密碼

修改mycode/conf/passwd文件,在[users]下添加一行,如下:

yangbo=xxx


#配置用戶組及權限

修改mycode/conf/authz文件

[groups]下面添加組名和用戶名,多個用戶之間用逗號隔開,如:

group1=zs,ls


[/]表示SVN服務器中的所有資源

配置資源能被哪些組或者用戶訪問(組前添加@,用戶不用)如:

[/project/p1]

@group1 = rw

yangbo = rw


#啟動SVN服務

svnserve -d -r /Users/yangbo/SVN/mycode


SVN客戶端使用

#從本地導入代碼到服務器

svn import /Users/yangbo/project/p1 svn://localhost/mycode/project --username=zs --password=xx -m "初始化"


#從服務器端下載代碼到本地

svn checkout svn://localhost/mycode/project --username=zs --password=xx .


#提交代碼

先進入到代碼的目錄,然后使用svn commit -m "修改xxx"命令即可。


#更新代碼

同提交代碼一樣,進入到代碼目錄,使用svn update命令即可。

Doctoryang 2016-09-06 17:08 發表評論
]]>
Logback Confighttp://www.tkk7.com/doctoryang/archive/2016/09/06/431758.htmlDoctoryangDoctoryangTue, 06 Sep 2016 09:05:00 GMThttp://www.tkk7.com/doctoryang/archive/2016/09/06/431758.htmlhttp://www.tkk7.com/doctoryang/comments/431758.htmlhttp://www.tkk7.com/doctoryang/archive/2016/09/06/431758.html#Feedback0http://www.tkk7.com/doctoryang/comments/commentRss/431758.htmlhttp://www.tkk7.com/doctoryang/services/trackbacks/431758.htmlLogback配置每天一個日志文件,大小固定。如果超過配置的大小,則每天文件分為多個。第二天生成一個新的日志文件。


<appender name="File" class="ch.qos.logback.core.rolling.RollingFileAppender">

    <file>${logPath}/logFileName.log</file>

    <rollingPolicyclass="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">   

        <fileNamePattern>${logPath}/logFileName.%d{yyyy-MM-dd}-%i.log</fileNamePattern>

        <maxHistory>12</maxHistory>

        <timeBasedFileNamingAndTriggeringPolicy  

                                                        class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">  

            <maxFileSize>100MB</maxFileSize>

        </timeBasedFileNamingAndTriggeringPolicy>

    </rollingPolicy>

    <encoder charset="utf-8">

        <pattern>[projectName]%d{HH:mm:ss.SSS}[%thread][%-5level][%logger{150}]-%msg%n</pattern>

    </encoder>

</appender>


配置說明:


<file>:日志文件的名稱,包括全路徑。


<fileNamePattern>:日志文件每天文件名稱格式。


<maxHistory>:保留多長時間日志,單位為:月。


<maxFileSize>:每個日志文件的大小。


<pattern>:日志記錄格式。




Doctoryang 2016-09-06 17:05 發表評論
]]>
JDK5線程并發包使用整理http://www.tkk7.com/doctoryang/archive/2016/09/06/431757.htmlDoctoryangDoctoryangTue, 06 Sep 2016 09:02:00 GMThttp://www.tkk7.com/doctoryang/archive/2016/09/06/431757.htmlhttp://www.tkk7.com/doctoryang/comments/431757.htmlhttp://www.tkk7.com/doctoryang/archive/2016/09/06/431757.html#Feedback0http://www.tkk7.com/doctoryang/comments/commentRss/431757.htmlhttp://www.tkk7.com/doctoryang/services/trackbacks/431757.htmlJDK5線程并發包

1)AtomicInteger

使用原子方式更新int值


2)創建線程池

a)創建固定大小的線程池

ExecutorService threadPool = Executors.newFixedThreadPool(10);//創建一個有10個線程的線程池


b)創建緩存線程池

Executors.newCachedThreadPool();

創建一個可根據需要創建新線程的線程池,可自動調整線程的多少


c)創建單線程的線程池

Executors.newSingleThreadExecutor();

該線程池里面只有一個線程,如果死掉了也可以自動再創建一個,保證永遠有一個


d)創建一個線程池,它可安排在給定延遲后運行命令或者定期地執行

ScheduledExecutorService threadPool = Executors.newScheduledThreadPool(3);

threadPool.schedule(Runnable command,long delay,TimeUnit unit)

創建并執行在給定延遲后啟用的一次性操作


threadPool.scheduleAtFixedRate(Runnable command,long initialDelay,long period,TimeUnit unit)

創建并執行一個在給定初始延遲后首次啟用的定期操作,后續操作具有給定的周期.

也就是將在initialDelay后開始執行,然后在initialDelay+period后執行,接著在initialDelay + 2 * period后執行,依此類推


不管哪種創建方式其實都是由ThreadPoolExecutor類來實現的


3)Callable&Future

a)Future取得的結果類型和Callable返回的結果類型必須一致,這是通過泛型來實現的。

b)Callable要采用ExecutorSevice的submit方法提交,返回的future對象可以取消任務。

c)CompletionService用于提交一組Callable任務,其take方法返回已完成的一個Callable任務對應的Future對象。


4)Lock&Condition

Lock ---> synchronized

Lock lock = new ReentrantLock();

ReadWriteLock rwlock = new ReentrantReadWriteLock();


private Condition condition = lock.newCondition();

condition.await();  ---> wait()

condition.signal(); ---> notify()


5)Semaphore

final Semaphore semaphore = new Semaphore(3);


6)CyclicBarrier

7)CountDownLatch

8)Exchanger

9)ArrayBlockingQueue(阻塞隊列)

10)ConcurrentHashMap

CopyOnWriteArrayList

CopyOnWriteArraySet



Doctoryang 2016-09-06 17:02 發表評論
]]>
Apache Kafka Installhttp://www.tkk7.com/doctoryang/archive/2016/09/06/431756.htmlDoctoryangDoctoryangTue, 06 Sep 2016 09:00:00 GMThttp://www.tkk7.com/doctoryang/archive/2016/09/06/431756.htmlhttp://www.tkk7.com/doctoryang/comments/431756.htmlhttp://www.tkk7.com/doctoryang/archive/2016/09/06/431756.html#Feedback0http://www.tkk7.com/doctoryang/comments/commentRss/431756.htmlhttp://www.tkk7.com/doctoryang/services/trackbacks/431756.html

1.修改每臺服務器config/server.properties

broker.id:唯一,填數字

host.name:填寫服務器IP

zookeeper.connect=192.168.1.100:2181,192.168.1.101:2181,192.168.1.103:2181


2.啟動

先啟動zookeeper服務

bin/zkServer.sh start

再在每臺機器上執行Kafka服務

bin/kafka-server-start.sh config/server.properties


3.創建topic

bin/kafka-topics.sh —create —zookeeper localhost:2181 —replication-factor 3 —partitions 1 —topic demo_1


4.查看topic

bin/kafka-topics.sh —list —zookeeper localhost:2181


5.查看詳細信息

bin/kafka-topics.sh —describe —zookeeper 192.168.1.100:2181


6.發送消息

bin/kafka-console-producer.sh —broker-list 192.168.1.100:9092 —topic demo_1


7.接收消息

bin/kafka-console-consumer.sh —zookeeper 192.168.1.100:2181 —topic demo_1 —from-beginning




Doctoryang 2016-09-06 17:00 發表評論
]]>
JSR303http://www.tkk7.com/doctoryang/archive/2016/09/06/aaa.htmlDoctoryangDoctoryangTue, 06 Sep 2016 08:40:00 GMThttp://www.tkk7.com/doctoryang/archive/2016/09/06/aaa.htmlhttp://www.tkk7.com/doctoryang/comments/431754.htmlhttp://www.tkk7.com/doctoryang/archive/2016/09/06/aaa.html#Feedback0http://www.tkk7.com/doctoryang/comments/commentRss/431754.htmlhttp://www.tkk7.com/doctoryang/services/trackbacks/431754.html

Hibernate Validator

http://docs.jboss.org/hibernate/validator/4.2/reference/zh-CN/html_single/



Doctoryang 2016-09-06 16:40 發表評論
]]>
主站蜘蛛池模板: 波多野结衣免费在线| 亚洲视频一区在线播放| 日韩国产欧美亚洲v片 | 人妻免费一区二区三区最新| 亚洲精品国产高清嫩草影院| 一级毛片a免费播放王色电影 | 久久亚洲一区二区| 中文字幕无线码免费人妻| 亚洲人成伊人成综合网久久久 | 国产精品免费观看久久| 亚洲精品一二三区| 国产精品极品美女免费观看| 亚洲精品宾馆在线精品酒店| 国产乱子伦片免费观看中字| 韩国免费A级毛片久久| 亚洲AV无码国产在丝袜线观看| 88av免费观看| 亚洲国产精品久久久久秋霞小 | 亚洲国产精品国自产电影| 国产曰批免费视频播放免费s| 亚洲一级片在线观看| 国产三级电影免费观看| a级成人毛片免费图片| 亚洲福利一区二区精品秒拍| 午夜成人免费视频| 一区二区免费电影| 亚洲黄色网址大全| 国产精品黄页在线播放免费| 久久高潮一级毛片免费| 亚洲国产精品yw在线观看| 国产特级淫片免费看| a毛片免费全部在线播放**| 亚洲午夜久久久久久尤物| 国产免费卡一卡三卡乱码| 成全动漫视频在线观看免费高清版下载 | 杨幂最新免费特级毛片| 久久精品国产96精品亚洲| 女人毛片a级大学毛片免费| 精品无码一级毛片免费视频观看 | 人人狠狠综合久久亚洲88| 亚洲av日韩aⅴ无码色老头|