<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-35178687</id><updated>2026-09-29T00:41:52.935+08:00</updated><category term="Linux"/><category term="Oracle"/><category term="Solaris"/><category term="武術"/><category term="shell"/><category term="A10"/><category term="CAT"/><category term="Veritas NetBackup"/><category term="中醫藥"/><category term="Apache"/><category term="Juniper"/><category term="network monitor"/><category term="古文觀今"/><category term="F5"/><category term="Jboss"/><category term="Mail"/><category term="Photos"/><category term="Postgresql"/><category term="Python"/><category term="網路雜七雜八"/><category term="Bind"/><category term="Docker"/><category term="FTP"/><category term="Network"/><category term="Nginx"/><category term="SaltStack"/><category term="小微"/><category term="Bash"/><category term="Fluentd"/><category term="MSSQL"/><category term="MySQL"/><category term="Outlook Express"/><category term="Remine"/><category term="WOW"/><category term="XenServer"/><category term="blogger"/><category term="music"/><category term="perl"/><category term="狗屁倒灶"/><category term="遊記"/><title type='text'>vincent&#39;s Blog</title><subtitle type='html'>一個無聊的網路雜工的紀錄！！</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://vincent119.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://vincent119.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Vincent</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>158</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-35178687.post-7361994769904150373</id><published>2026-01-30T15:15:00.001+08:00</published><updated>2026-01-30T15:18:03.611+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bash"/><category scheme="http://www.blogger.com/atom/ns#" term="Docker"/><title type='text'>Docker Clean Script</title><summary type="text">&amp;nbsp;#!/bin/bashecho &quot;🧹 Docker 清理腳本啟動 at $(date)&quot;# 1. 刪除已停止的容器echo &quot;🗑️ 刪除已停止容器...&quot;docker container prune -f# 2. 刪除未使用的 image（含 &amp;lt;none&amp;gt; 與沒被 container 用的）echo &quot;🖼️ 刪除未使用的 image...&quot;docker image prune -a -f# 3. 刪除未使用的 volume（⚠️ 小心資料）echo &quot;📦 刪除未使用的 volume...&quot;docker volume prune -f# 4. 刪除未使用的 networkecho &quot;🌐 刪除未使用的 network...&quot;docker network prune -f# 5. 顯示目前空間使用情況echo &quot;📊 Docker 磁碟使用情況：&quot;docker</summary><link rel='replies' type='application/atom+xml' href='http://vincent119.blogspot.com/feeds/7361994769904150373/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://vincent119.blogspot.com/2026/01/docker-clean-script.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/7361994769904150373'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/7361994769904150373'/><link rel='alternate' type='text/html' href='http://vincent119.blogspot.com/2026/01/docker-clean-script.html' title='Docker Clean Script'/><author><name>Vincent</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35178687.post-8548906778383190502</id><published>2022-04-18T15:34:00.003+08:00</published><updated>2022-04-18T16:58:15.907+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Docker"/><category scheme="http://www.blogger.com/atom/ns#" term="Fluentd"/><title type='text'>Fluentd Docker Build and push to Docker hub</title><summary type="text">Edit DockerfileFROM fluent/fluentd:v1.14-1# Use root account to use apkUSER root# below RUN includes plugin as examples elasticsearch is not required# you may customize including plugins as you wishRUN apk add --no-cache --update --virtual .build-deps \&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sudo build-base ruby-devRUN apk add --no-cache geoip geoip-dev libmaxminddb \&amp;nbsp;&amp;amp;&amp;amp; sudo gem install </summary><link rel='replies' type='application/atom+xml' href='http://vincent119.blogspot.com/feeds/8548906778383190502/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://vincent119.blogspot.com/2022/04/flunetd-docker-build-and-push-to-docker.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/8548906778383190502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/8548906778383190502'/><link rel='alternate' type='text/html' href='http://vincent119.blogspot.com/2022/04/flunetd-docker-build-and-push-to-docker.html' title='Fluentd Docker Build and push to Docker hub'/><author><name>Vincent</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35178687.post-7987163403043671211</id><published>2021-12-02T11:56:00.000+08:00</published><updated>2021-12-02T11:56:02.882+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="武術"/><title type='text'>柔身六法</title><summary type="text">1.抬臂繞環2.擺臂扭腰3.舉臂後伸4.左右撐掌5.左右蹬腿6.馬步弓捶</summary><link rel='replies' type='application/atom+xml' href='http://vincent119.blogspot.com/feeds/7987163403043671211/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://vincent119.blogspot.com/2021/12/blog-post.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/7987163403043671211'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/7987163403043671211'/><link rel='alternate' type='text/html' href='http://vincent119.blogspot.com/2021/12/blog-post.html' title='柔身六法'/><author><name>Vincent</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35178687.post-1023339158374828470</id><published>2019-11-07T10:54:00.003+08:00</published><updated>2019-11-07T10:54:46.396+08:00</updated><title type='text'>Remove www. on Nginx</title><summary type="text">




if ($host ~* www\.(.*)) {
  set $server_host_name $1;
  rewrite ^(.*)$ $scheme://$server_host_name$1 permanent; 
  #rewrite ^ $scheme://$server_host_name$1request_uri permanent; 
}

</summary><link rel='replies' type='application/atom+xml' href='http://vincent119.blogspot.com/feeds/1023339158374828470/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://vincent119.blogspot.com/2019/11/remove-www-on-nginx.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/1023339158374828470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/1023339158374828470'/><link rel='alternate' type='text/html' href='http://vincent119.blogspot.com/2019/11/remove-www-on-nginx.html' title='Remove www. on Nginx'/><author><name>Vincent</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35178687.post-2089644801697503983</id><published>2019-04-19T16:08:00.000+08:00</published><updated>2019-04-19T16:10:23.763+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>建立自簽憑證</title><summary type="text">


openssl req -newkey rsa:2048 -nodes -keyout pk.key -x509  -out pk.cert -subj &quot;/C=CN/ST=/L=SHA/O=CMC Inc./OU=MIS&quot;

</summary><link rel='replies' type='application/atom+xml' href='http://vincent119.blogspot.com/feeds/2089644801697503983/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://vincent119.blogspot.com/2019/04/blog-post.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/2089644801697503983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/2089644801697503983'/><link rel='alternate' type='text/html' href='http://vincent119.blogspot.com/2019/04/blog-post.html' title='建立自簽憑證'/><author><name>Vincent</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35178687.post-5364051789895910104</id><published>2016-12-30T11:55:00.001+08:00</published><updated>2016-12-30T11:56:52.672+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Jboss"/><category scheme="http://www.blogger.com/atom/ns#" term="network monitor"/><title type='text'>JMX Monitoring </title><summary type="text">


JAVA_OPTS=&quot;$JAVA_OPTS -Dcom.sun.management.jmxremote.port=6379&quot;
JAVA_OPTS=&quot;$JAVA_OPTS -Dcom.sun.management.jmxremote.rmi.port=6380&quot;
JAVA_OPTS=&quot;$JAVA_OPTS -Dcom.sun.management.jmxremote.authenticate=false&quot;
JAVA_OPTS=&quot;$JAVA_OPTS -Dcom.sun.management.jmxremote&quot;
JAVA_OPTS=&quot;$JAVA_OPTS -Dcom.sun.management.jmxremote.ssl=false&quot;
JAVA_OPTS=&quot;$JAVA_OPTS -Djboss.platform.mbeanserver&quot;
JAVA_OPTS=&quot;$JAVA_OPTS</summary><link rel='replies' type='application/atom+xml' href='http://vincent119.blogspot.com/feeds/5364051789895910104/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://vincent119.blogspot.com/2016/12/jmx-monitoring.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/5364051789895910104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/5364051789895910104'/><link rel='alternate' type='text/html' href='http://vincent119.blogspot.com/2016/12/jmx-monitoring.html' title='JMX Monitoring '/><author><name>Vincent</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35178687.post-6320434262681953265</id><published>2016-09-06T10:49:00.000+08:00</published><updated>2016-09-06T10:49:10.005+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Postgresql"/><title type='text'>Postgresql 大小寫有區分</title><summary type="text">



大小寫有區分，預設是小寫
不會進行轉換

CREATE TABLE test1 (
title       varchar(2),
TITLE1      varchar(2)
);


test=# \d+ test1  
                               Table &quot;public.test1&quot;
Column |         Type         | Modifiers | Storage  | Stats target | Description 
--------+----------------------+-----------+----------+--------------+-------------
title  | character varying(2) |           | extended |</summary><link rel='replies' type='application/atom+xml' href='http://vincent119.blogspot.com/feeds/6320434262681953265/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://vincent119.blogspot.com/2016/09/postgresql.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/6320434262681953265'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/6320434262681953265'/><link rel='alternate' type='text/html' href='http://vincent119.blogspot.com/2016/09/postgresql.html' title='Postgresql 大小寫有區分'/><author><name>Vincent</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35178687.post-2601133780299479393</id><published>2016-05-03T16:56:00.000+08:00</published><updated>2016-05-03T16:56:13.482+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>SSL backend error when using OpenSSL</title><summary type="text">



yum install -y wget
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   pycurl: libcurl link-time ssl backend (nss) is different from compile-time ssl backend (none/other)

Please install a package which provides this module, or
verify that the module is installed correctly.

It&#39;s possible that the above module doesn&#39;t match </summary><link rel='replies' type='application/atom+xml' href='http://vincent119.blogspot.com/feeds/2601133780299479393/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://vincent119.blogspot.com/2016/05/ssl-backend-error-when-using-openssl.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/2601133780299479393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/2601133780299479393'/><link rel='alternate' type='text/html' href='http://vincent119.blogspot.com/2016/05/ssl-backend-error-when-using-openssl.html' title='SSL backend error when using OpenSSL'/><author><name>Vincent</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35178687.post-2512904968080283445</id><published>2016-03-29T15:06:00.001+08:00</published><updated>2016-04-28T10:12:03.444+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Generating Random Password</title><summary type="text">

1.pwgen


yum --enablerepo=epel -y install pwgen



pwgen -h
Usage: pwgen [ OPTIONS ] [ pw_length ] [ num_pw ]

Options supported by pwgen:
-c or --capitalize
Include at least one capital letter in the password
-A or --no-capitalize
Don&#39;t include capital letters in the password
-n or --numerals
Include at least one number in the password
-0 or --no-numerals
Don&#39;t include numbers in the password</summary><link rel='replies' type='application/atom+xml' href='http://vincent119.blogspot.com/feeds/2512904968080283445/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://vincent119.blogspot.com/2016/03/generating-random-password.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/2512904968080283445'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/2512904968080283445'/><link rel='alternate' type='text/html' href='http://vincent119.blogspot.com/2016/03/generating-random-password.html' title='Generating Random Password'/><author><name>Vincent</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35178687.post-4419567177485060088</id><published>2016-03-29T13:25:00.001+08:00</published><updated>2016-03-29T13:25:19.266+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="A10"/><title type='text'>a10 隱藏指令</title><summary type="text">





show varlog</summary><link rel='replies' type='application/atom+xml' href='http://vincent119.blogspot.com/feeds/4419567177485060088/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://vincent119.blogspot.com/2016/03/a10.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/4419567177485060088'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/4419567177485060088'/><link rel='alternate' type='text/html' href='http://vincent119.blogspot.com/2016/03/a10.html' title='a10 隱藏指令'/><author><name>Vincent</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35178687.post-7249578091542910714</id><published>2016-03-29T13:25:00.000+08:00</published><updated>2016-03-29T13:25:06.358+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="A10"/><title type='text'>A10 boot from primary or secondary partition</title><summary type="text">


(config)#write memory (primary|secondary) partition
(config)#bootimage hd (pri|sec)
reboot






Active#sh bootimage 
(* = Default)            
Version              
-----------------------------------------------
Hard Disk primary         2.7.1-P3.76 (*)
Hard Disk secondary       2.7.1-P1.76  

</summary><link rel='replies' type='application/atom+xml' href='http://vincent119.blogspot.com/feeds/7249578091542910714/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://vincent119.blogspot.com/2016/03/a10-boot-from-primary-or-secondary.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/7249578091542910714'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/7249578091542910714'/><link rel='alternate' type='text/html' href='http://vincent119.blogspot.com/2016/03/a10-boot-from-primary-or-secondary.html' title='A10 boot from primary or secondary partition'/><author><name>Vincent</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35178687.post-7655790519164098408</id><published>2016-03-29T13:23:00.000+08:00</published><updated>2016-03-29T13:23:25.462+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>What are the file and file system size limitations </title><summary type="text">ref:&amp;nbsp;https://access.redhat.com/solutions/1532




</summary><link rel='replies' type='application/atom+xml' href='http://vincent119.blogspot.com/feeds/7655790519164098408/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://vincent119.blogspot.com/2016/03/what-are-file-and-file-system-size.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/7655790519164098408'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/7655790519164098408'/><link rel='alternate' type='text/html' href='http://vincent119.blogspot.com/2016/03/what-are-file-and-file-system-size.html' title='What are the file and file system size limitations '/><author><name>Vincent</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35178687.post-4577494777471086885</id><published>2016-03-29T13:18:00.000+08:00</published><updated>2016-03-29T13:18:11.819+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>Linux Creating a Partition Size Larger Than 2TB</title><summary type="text">



[root@nbu ~]# parted /dev/sdb
GNU Parted 2.1
Using /dev/sdb
Welcome to GNU Parted! Type &#39;help&#39; to view a list of commands.
(parted) print                                                            
Model: IFT DS 1000 Series (scsi)
Disk /dev/sdb: 4398GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start  End  Size  Type  File system  Flags
(parted) unit TB
(parted)</summary><link rel='replies' type='application/atom+xml' href='http://vincent119.blogspot.com/feeds/4577494777471086885/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://vincent119.blogspot.com/2016/03/linux-creating-partition-size-larger.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/4577494777471086885'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/4577494777471086885'/><link rel='alternate' type='text/html' href='http://vincent119.blogspot.com/2016/03/linux-creating-partition-size-larger.html' title='Linux Creating a Partition Size Larger Than 2TB'/><author><name>Vincent</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35178687.post-1117056789743961812</id><published>2016-03-24T14:02:00.000+08:00</published><updated>2016-03-29T13:18:28.539+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="A10"/><title type='text'>A10 CLI page view</title><summary type="text">





no terminal auto-size
terminal width 80
terminal length 0


</summary><link rel='replies' type='application/atom+xml' href='http://vincent119.blogspot.com/feeds/1117056789743961812/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://vincent119.blogspot.com/2016/03/a10-cli-page-view.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/1117056789743961812'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/1117056789743961812'/><link rel='alternate' type='text/html' href='http://vincent119.blogspot.com/2016/03/a10-cli-page-view.html' title='A10 CLI page view'/><author><name>Vincent</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35178687.post-2406027600420345826</id><published>2016-03-23T11:11:00.002+08:00</published><updated>2016-03-23T11:11:44.485+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Juniper"/><title type='text'>Juniper SSG image key info</title><summary type="text">
http://kb.juniper.net/InfoCenter/index?page=content&amp;amp;id=TSB16496&amp;amp;actp=search


https://www.juniper.net/techpubs/hardware/netscreen-certifications.html


http://kb.juniper.net/InfoCenter/index?page=content&amp;amp;id=TSB16495&amp;amp;actp=search</summary><link rel='replies' type='application/atom+xml' href='http://vincent119.blogspot.com/feeds/2406027600420345826/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://vincent119.blogspot.com/2016/03/juniper-ssg-image-key-info.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/2406027600420345826'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/2406027600420345826'/><link rel='alternate' type='text/html' href='http://vincent119.blogspot.com/2016/03/juniper-ssg-image-key-info.html' title='Juniper SSG image key info'/><author><name>Vincent</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35178687.post-5987500273173265599</id><published>2016-03-02T14:06:00.001+08:00</published><updated>2016-03-02T17:05:39.092+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>LVM resize lv</title><summary type="text">



# fdisk /dev/xvdc
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0xf2bf5146.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won&#39;t be recoverable.

Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

WARNING: </summary><link rel='replies' type='application/atom+xml' href='http://vincent119.blogspot.com/feeds/5987500273173265599/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://vincent119.blogspot.com/2016/03/lvm-resize-lv.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/5987500273173265599'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/5987500273173265599'/><link rel='alternate' type='text/html' href='http://vincent119.blogspot.com/2016/03/lvm-resize-lv.html' title='LVM resize lv'/><author><name>Vincent</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35178687.post-1286086783891598575</id><published>2016-02-24T10:50:00.002+08:00</published><updated>2016-02-24T10:50:11.617+08:00</updated><title type='text'>centos 6.5 upgrade python to 2.7</title><summary type="text">



## centos 6.5 upgrade python to 2.7
yum install xz.x86_64 -y
wget http://www.python.org/ftp/python/2.7.8/Python-2.7.8.tar.xz
xz -d Python-2.7.8.tar.xz
tar -xvf Python-2.7.8.tar


cd Python-2.7.8

./configure --prefix=/usr/local

make
make altinstall


vi /etc/profile

export PATH=$PATH:/opt/APP/java/bin:/opt/APP/nginx/bin:/opt/APP/Python-2.7.8/bin

cd /usr/bin
rm -rf python
ln -s /opt/APP/</summary><link rel='replies' type='application/atom+xml' href='http://vincent119.blogspot.com/feeds/1286086783891598575/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://vincent119.blogspot.com/2016/02/centos-65-upgrade-python-to-27.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/1286086783891598575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/1286086783891598575'/><link rel='alternate' type='text/html' href='http://vincent119.blogspot.com/2016/02/centos-65-upgrade-python-to-27.html' title='centos 6.5 upgrade python to 2.7'/><author><name>Vincent</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35178687.post-6344006185769168394</id><published>2015-11-11T12:25:00.002+08:00</published><updated>2015-11-11T12:25:30.265+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Python connect to oracle</title><summary type="text">









install oracle-instantclient11.2-basic-11.2.0.4.0-1.x86_64.rpm
install oracle-instantclient11.2-devel-11.2.0.4.0-1.x86_64.rpm
install cx_Oracle-5.1.1-11g-py26-1.x86_64.rpm


vi /etc/profile

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/oracle/11.2/client64/lib
export ORACLE_HOME=/usr/lib/oracle/11.2/client64

source /etc/profile


#!/usr/bin/env python
#coding=utf8

import sys
</summary><link rel='replies' type='application/atom+xml' href='http://vincent119.blogspot.com/feeds/6344006185769168394/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://vincent119.blogspot.com/2015/11/python-connect-to-oracle.html#comment-form' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/6344006185769168394'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/6344006185769168394'/><link rel='alternate' type='text/html' href='http://vincent119.blogspot.com/2015/11/python-connect-to-oracle.html' title='Python connect to oracle'/><author><name>Vincent</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35178687.post-3468403506405466368</id><published>2015-08-06T16:30:00.004+08:00</published><updated>2015-08-06T16:30:58.202+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>linux 限制一般使用者 切換至root</title><summary type="text">

groupadd adsysm

sed &amp;nbsp;-i -e &#39;1a auth required pam_wheel.so use_uid group=adsysm&#39; &amp;nbsp;/etc/pam.d/su


usermod -a -G adsysm user1
usermod -a -G adsysm user2


</summary><link rel='replies' type='application/atom+xml' href='http://vincent119.blogspot.com/feeds/3468403506405466368/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://vincent119.blogspot.com/2015/08/linux-root.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/3468403506405466368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/3468403506405466368'/><link rel='alternate' type='text/html' href='http://vincent119.blogspot.com/2015/08/linux-root.html' title='linux 限制一般使用者 切換至root'/><author><name>Vincent</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35178687.post-2982987828766239659</id><published>2015-03-31T16:02:00.002+08:00</published><updated>2015-03-31T16:02:28.394+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mail"/><title type='text'>install opendkim with postfix </title><summary type="text">

install opendkim

wget http://mirror.pnl.gov/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -ivh epel-release-6-8.noarch.rpm
yum  install opendkim



vi /etc/opendkim.conf

Mode    sv
Domain                  XYZ.com.tw
KeyFile                 /etc/postfix/XYZ.dkim.key
Selector                mail
KeyTable           /etc/opendkim/KeyTable
SigningTable       /etc/opendkim/SigningTable
</summary><link rel='replies' type='application/atom+xml' href='http://vincent119.blogspot.com/feeds/2982987828766239659/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://vincent119.blogspot.com/2015/03/install-opendkim-with-postfix.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/2982987828766239659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/2982987828766239659'/><link rel='alternate' type='text/html' href='http://vincent119.blogspot.com/2015/03/install-opendkim-with-postfix.html' title='install opendkim with postfix '/><author><name>Vincent</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35178687.post-9101405302661715386</id><published>2015-03-30T12:05:00.003+08:00</published><updated>2015-03-30T12:05:39.022+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SaltStack"/><title type='text'>Salt Module Index</title><summary type="text">
Salt Module Index</summary><link rel='replies' type='application/atom+xml' href='http://vincent119.blogspot.com/feeds/9101405302661715386/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://vincent119.blogspot.com/2015/03/salt-module-index.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/9101405302661715386'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/9101405302661715386'/><link rel='alternate' type='text/html' href='http://vincent119.blogspot.com/2015/03/salt-module-index.html' title='Salt Module Index'/><author><name>Vincent</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35178687.post-7243333434543156722</id><published>2015-03-30T12:00:00.000+08:00</published><updated>2015-03-30T12:04:20.579+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SaltStack"/><title type='text'>SaltStack execution modules</title><summary type="text">
SlatStack execution  modules
</summary><link rel='replies' type='application/atom+xml' href='http://vincent119.blogspot.com/feeds/7243333434543156722/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://vincent119.blogspot.com/2015/03/saltstack-all-modules.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/7243333434543156722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/7243333434543156722'/><link rel='alternate' type='text/html' href='http://vincent119.blogspot.com/2015/03/saltstack-all-modules.html' title='SaltStack execution modules'/><author><name>Vincent</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35178687.post-3401426799748403730</id><published>2015-01-07T17:16:00.001+08:00</published><updated>2016-03-29T13:25:31.824+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Jboss"/><title type='text'>Remove X_POWERED_BY Header in JBoss</title><summary type="text">






jboss 6+


&amp;lt;configuration&amp;gt;
&amp;lt;jsp-configuration x-powered-by=&quot;false&quot;&amp;gt;


add to standalone.xml






&amp;lt;context-param&amp;gt;
    &amp;lt;param-name&amp;gt;com.sun.faces.sendPoweredByHeader    &amp;lt;param-value&amp;gt;false&amp;lt;/context-param&amp;gt;





jboss 5

&amp;nbsp;disable or remove in web.xml

&amp;lt;!--  --&amp;gt;
&amp;lt;!-- &amp;nbsp; &amp;nbsp;X-Powered-By--&amp;gt;
&amp;lt;!-- &amp;nbsp; &amp;nbsp;Servlet 2.5; JBoss-5.0/</summary><link rel='replies' type='application/atom+xml' href='http://vincent119.blogspot.com/feeds/3401426799748403730/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://vincent119.blogspot.com/2015/01/remove-xpoweredby-header-in-jboss.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/3401426799748403730'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/3401426799748403730'/><link rel='alternate' type='text/html' href='http://vincent119.blogspot.com/2015/01/remove-xpoweredby-header-in-jboss.html' title='Remove X_POWERED_BY Header in JBoss'/><author><name>Vincent</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35178687.post-4298113723927557246</id><published>2015-01-07T16:53:00.001+08:00</published><updated>2015-01-08T15:40:17.902+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Jboss"/><title type='text'>Change SERVER header in EAP6 </title><summary type="text">




Just add the folling config to standalone.xml






&amp;lt;system-properties&amp;gt;
&amp;lt;property name=&quot;org.apache.coyote.http11.Http11Protocol.SERVER&quot; value=&quot;none&quot;&amp;gt;
&amp;lt;/system-properties&amp;gt;
</summary><link rel='replies' type='application/atom+xml' href='http://vincent119.blogspot.com/feeds/4298113723927557246/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://vincent119.blogspot.com/2015/01/change-server-header-in-eap6.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/4298113723927557246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/4298113723927557246'/><link rel='alternate' type='text/html' href='http://vincent119.blogspot.com/2015/01/change-server-header-in-eap6.html' title='Change SERVER header in EAP6 '/><author><name>Vincent</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-35178687.post-5150691039323230067</id><published>2014-11-26T15:13:00.001+08:00</published><updated>2014-11-26T15:13:30.046+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="FTP"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>CentOS 6 - FTP Server - ProFTPD over TLS/SSL </title><summary type="text">
openssl req -new -x509 -days 365 -nodes -out proftpd.cert.pem -keyout proftpd.key.pem



proftpd.conf



DebugLevel 10

UseIPv6 off

RequireValidShell &amp;nbsp; &amp;nbsp; &amp;nbsp; no

########################################
AuthUserFile &amp;nbsp; &amp;nbsp;/etc/proftpd/ftpd.passwd
########################################

##AuthGroupFile &amp;nbsp; /etc/proftpd/etc/ftpd.group
#####################################</summary><link rel='replies' type='application/atom+xml' href='http://vincent119.blogspot.com/feeds/5150691039323230067/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://vincent119.blogspot.com/2014/11/centos-6-ftp-server-proftpd-over-tlsssl.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/5150691039323230067'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35178687/posts/default/5150691039323230067'/><link rel='alternate' type='text/html' href='http://vincent119.blogspot.com/2014/11/centos-6-ftp-server-proftpd-over-tlsssl.html' title='CentOS 6 - FTP Server - ProFTPD over TLS/SSL '/><author><name>Vincent</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>