為了讓使用者可以加速下載網頁,加上台灣流量不便宜
我們可以在伺服器上做壓縮網頁的處理
如果要測試你的網站有沒有壓縮過
可以利用以下的網站

http://www.gidnetwork.com/tools/gzip-test.php

文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()

之前試用過其他的吸盤,但是效果不是很理想
餐椅也坐了幾分鐘就坐不住了
但是測試 Calibowl 吸盤碗 + 費雪小餐椅 這個組合真的可以牢牢吸住,不怕小寶貝會突然把食物打翻一地
現在已經可以陪伴大人穩定的吃完一餐
真心推薦給開始餵副食品,或是寶寶已經在自己學吃飯的爸媽

undefined
http://www.momoshop.com.tw/goods/GoodsDetail.jsp?osm=league&i_code=5163746&cid=apuad&oid=1&memid=6000013660
【Calibowl】防專利防漏防滑幼兒吸盤碗(12oz-單入附蓋)

讓用餐變得更加有趣,父母也不用在旁擔心害怕小孩把食物弄得到處都是。
針對為6個月以上正在發育學習中的嬰幼兒所設計的,可盛食物並幫助兒童學習自我進食。
無論是起司、米飯、優格、燕麥粥等都非常適合!也適用於各年齡層用來享用各種零食及沾醬使用。

使用的材料為已經由美國FDA認證之食品級聚丙烯製造。吸盤底部設計能避免碗的滑動、打翻,
所有產品皆經由美國第三方實驗室測試,證實在正常使用條件之下,消費者可安全安心使用。
除此之外,所以包裝及產品設計、製造、組裝等,都是在美國當地完成的,這也說明了對消費者的品質保證。

undefined
http://www.momoshop.com.tw/goods/GoodsDetail.jsp?osm=league&i_code=6268963&cid=apuad&oid=1&memid=6000013660
【費雪 Fisher-Price】寶寶小餐椅

1、本產品可按扣上蓋的寶寶餐椅餵食餐盤,不論您去哪裡都能保持餐盤的清潔。
2、方便摺疊易於攜帶;沒有空隙所以方便清理。
3、三段式的高度調整和三點式的揹帶設計讓媽咪更方便而寶寶更安全。

有圖有真相,
餐盤前後和座位的高低都可以調整
固定在餐椅上還挺方便的 :p

文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()


FreeBSD:
# cd /usr/ports/ftp/tftp-hpa/
# make install clean

# mkdir /tftpboot
# touch /tftpboot/預計存檔的檔名
# chmod -R 777 /tftpboot (雖然知道這樣很危險,但真的不知道怎樣才是適當的權限XD)

# vi /etc/rc.conf
tftpd_enable="YES"
tftpd_flags="-l -s /tftpboot"

# /usr/local/etc/rc.d/tftpd start


Cisco Switch:
login as: cisco
Using keyboard-interactive authentication.
Password:

lab>en
Password:
lab#copy running-config tftp
Address or name of remote host []? 192.168.1.1
Destination filename [lab-confg]?
!!
6982 bytes copied in 1.426 secs (4896 bytes/sec)
lab#
 

文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()

條件
tls 1.2 以上 , apache 2.4.17 以上

安裝 apache2.4 時記得一併安裝HTTP2 模組

安裝完上述套件,並測試可以正常瀏覽後
檢查以下幾個設定
httpd.conf:
LoadModule http2_module libexec/apache24/mod_http2.so

除了要Load mod_http2 之外,記得檢查每個vhosts 是否有 Protocols h2 http/1.1
vhost:
<VirtualHost *:443>
    SSLEngine on
    Protocols h2 http/1.1
    .....
    ....
</VirtualHost>

重啟apache
apachectl restart

線上測試網址
https://tools.keycdn.com/http2-test

如果你的網站有支援http/2  就會出現以下畫面


undefined
Learning HTTP/2: A Practical Guide for Beginners

作者: Ludin, Stephen/ Garza, Javier
原文出版社:Oreilly & Associates Inc
出版日期:2017/06/02
語言:英文
定價:1400元

文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()

apache 出現以下錯誤訊息
[error] Oops, no RSA or DSA server certificate found for 'xxx.xxx.xxx:0'?!

檢查vhost 裡面是否有
SSLEngine On
如果沒有的話,補上再試試

文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()

yum -y install wondershaper

使用語法
Usage: /sbin/wondershaper [device] clean|[upload speed in Kb/s] [download speed in Kb/s]
Example: /sbin/wondershaper eth0 20 500

例如,如果要限制上傳1024Kb/s , 下載2048Kb/s
wondershaper ens192 1024 2048

但實際測試結果,圖形有點怪,上下傳相反,數字也打折了

文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()

[root@example ~]# killall sftp
-bash: killall: command not found

[root@example ~]# yum -y install  psmisc
Loaded plugins: fastestmirror
varnishcache_varnish5/x86_64/signature                                                         |  836 B  00:00:00
varnishcache_varnish5/x86_64/signature                                                         | 1.0 kB  00:00:00 !!!
varnishcache_varnish5-source/signature                                                         |  836 B  00:00:00
varnishcache_varnish5-source/signature                                                         | 1.0 kB  00:00:00 !!!
Loading mirror speeds from cached hostfile
 * base: ftp.stu.edu.tw
 * epel: mirror01.idc.hinet.net
 * extras: ftp.stu.edu.tw
 * updates: ftp.stu.edu.tw
No package install available.
Resolving Dependencies
--> Running transaction check
---> Package psmisc.x86_64 0:22.20-15.el7 will be installed
---> Package yum.noarch 0:3.4.3-154.el7.centos will be updated
---> Package yum.noarch 0:3.4.3-154.el7.centos.1 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================
 Package                Arch                   Version                                  Repository               Size
======================================================================================================================
Installing:
 psmisc                 x86_64                 22.20-15.el7                             base                    141 k
Updating:
 yum                    noarch                 3.4.3-154.el7.centos.1                   updates                 1.2 M

Transaction Summary
======================================================================================================================
Install  1 Package
Upgrade  1 Package

Total download size: 1.4 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/2): psmisc-22.20-15.el7.x86_64.rpm                                                          | 141 kB  00:00:01
(2/2): yum-3.4.3-154.el7.centos.1.noarch.rpm                                                   | 1.2 MB  00:00:06
----------------------------------------------------------------------------------------------------------------------
Total                                                                                 224 kB/s | 1.4 MB  00:00:06
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : yum-3.4.3-154.el7.centos.1.noarch                                                                  1/3
  Installing : psmisc-22.20-15.el7.x86_64                                                                         2/3
  Cleanup    : yum-3.4.3-154.el7.centos.noarch                                                                    3/3
  Verifying  : psmisc-22.20-15.el7.x86_64                                                                         1/3
  Verifying  : yum-3.4.3-154.el7.centos.1.noarch                                                                  2/3
  Verifying  : yum-3.4.3-154.el7.centos.noarch                                                                    3/3

Installed:
  psmisc.x86_64 0:22.20-15.el7

Updated:
  yum.noarch 0:3.4.3-154.el7.centos.1

Complete!
 

文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()

檢查iptables 狀態
systemctl status firewalld

手動關閉 iptables
systemctl stop firewalld

手動啟動 iptables
systemctl start firewalld

重開機後不執行iptables
手動啟動 iptables
systemctl disable firewalld

重開機後自動執行iptables
手動啟動 iptables
systemctl enable firewalld

undefined

 

 

文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()

CentOS 網卡限速

CentOS 7 預設裝有iproute 套件
可以用其中的tc 指令來達到網卡限速的目的

還沒設定前,先看一下預設的狀態
[root@ethan-centos7 ~]# tc qdisc show dev ens192
qdisc mq 0: root
qdisc pfifo_fast 0: parent :1 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: parent :2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: parent :3 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: parent :4 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: parent :5 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: parent :6 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: parent :7 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: parent :8 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1

限制網卡 1024kbit 頻寬
[root@ethan-centos7 ~]# tc qdisc add dev ens192 root tbf rate 1024kbit latency 50ms burst 1540

再次查看狀態
[root@ethan-centos7 ~]# tc qdisc show dev ens192
qdisc tbf 8003: root refcnt 9 rate 1024Kbit burst 1539b lat 50.0ms

可以嘗試從其他地方拉一個大檔案測試
但我測試結果只有output 有限速1024k, input如果也要限速1024k 還要研究一下...orz

如果要還原剛剛的設定,只要將add 改成del 即可
[root@ethan-centos7 ~]# tc qdisc del dev ens192 root tbf rate 1024kbit latency 50ms burst 1540
[root@ethan-centos7 ~]# tc qdisc show dev ens192
qdisc mq 0: root
qdisc pfifo_fast 0: parent :1 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: parent :2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: parent :3 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: parent :4 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: parent :5 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: parent :6 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: parent :7 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: parent :8 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
 

文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()

愛心大使-張軒睿-2018愛T恤 | 一人衣愛助兒盟10周年
undefined
http://www.books.com.tw/exep/assp.php/es/fashion/activity/2018/02/lovekids/

認購愛T送原燒五折券+升級券,【早鳥優惠】3月份到店使用5折券再送松阪豬一份

文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()

如果檢查http的錯誤訊息出現
/home/website/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration

請檢查 httpd.conf
LoadModule rewrite_module libexec/apache24/mod_rewrite.so
是否有把# 拿掉

重新啟動apache 即可生效
apachectl restart
 

文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()

以下內容轉載自博客來網站,活動辦法以網站公告為主
http://www.books.com.tw/exep/assp.php/es/activity/2018/02/fet/

活動期間: 2018/2/6 ~ 2018/2/28

快用遠傳電信帳單代收結帳
首次消費就送 City Café 熱拿鐵!
活動辦法
電信帳單也能買東西?博客來結帳新選擇,活動期間內只要是第一次透過遠傳電信帳單代收在博客來網站購買全館任意商品交易成功的新用戶,即可獲得「City Café 熱拿鐵(中)」序號乙份!快來拿你的咖啡!

undefined

文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()

curl -G --data-urlencode "a=1 1 1" --data-urlencode "b=2 2 2"  https://servername/test.php

man curl

       -G, --get
              When  used,  this  option  will make all data specified with -d,
              --data, --data-binary or --data-urlencode to be used in an  HTTP
              GET  request instead of the POST request that otherwise would be
              used. The data will be appended to the URL with a '?' separator.

              If  used  in  combination with -I, the POST data will instead be
              appended to the URL with a HEAD request.

              If this option is used several times,  only  the  first  one  is
              used.  This is because undoing a GET doesn't make sense, but you
              should then instead enforce the alternative method you prefer.

       --data-urlencode <data>
              (HTTP) This posts data, similar to the other --data options with
              the exception that this performs URL-encoding. (Added in 7.18.0)

              To  be  CGI-compliant,  the <data> part should begin with a name
              followed by a separator and a content specification. The  <data>
              part can be passed to curl using one of the following syntaxes:

              content
                     This  will make curl URL-encode the content and pass that
                     on. Just be careful so that the content  doesn't  contain
                     any  =  or  @  symbols, as that will then make the syntax
                     match one of the other cases below!

              =content
                     This will make curl URL-encode the content and pass  that
                     on. The preceding = symbol is not included in the data.

              name=content
                     This  will make curl URL-encode the content part and pass
                     that on. Note that the name part is expected to  be  URL-
                     encoded already.

              @filename
                     This  will  make  curl  load  data  from  the  given file
                     (including any newlines), URL-encode that data  and  pass
                     it on in the POST.

              name@filename
                     This  will  make  curl  load  data  from  the  given file
                     (including any newlines), URL-encode that data  and  pass
                     it  on  in  the  POST.  The  name part gets an equal sign
                     appended, resulting in name=urlencoded-file-content. Note
                     that the name is expected to be URL-encoded already.
 

文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()

從varnish 4.x 以後設定檔有大幅度的改變
如果不想一行一行debug 的話,可以使用這個方便的工具
https://github.com/fgsch/varnish3to4

節錄文章的內容

Script to assist migrating a VCL file from Varnish 3 to 4.x. [1]

Suggested usage

 $ varnish3to4 -o <filename>.v4 <filename>
 $ diff -u <filename> <filename>.v4

To limit changes for Varnish 4.0:

 $ varnish3to4 -v 4.0 -o <filename>.v4 <filename>
 $ diff -u <filename> <filename>.v4

Currently understands

V3 V4
{bereq,req}.backend.healthy std.healthy({bereq.backend,req.backend_hint})
{bereq,req}.request {bereq,req}.method
bereq.* in vcl_pass and vcl_miss req.*
{beresp,obj,resp}.response {beresp,obj,resp}.reason
beresp.storage beresp.storage_hint
{client,server}.port std.port({client,server}.ip)
error code response return (synth(code, response))
obj.hits - writing to -
obj.* in vcl_synth resp.*
obj.lastuse -
remove unset
req.backend req.backend_hint
req.grace -
req.* in vcl_backend_response bereq.*
return (hash) in vcl_hash return (lookup)
return (hit_for_pass) set beresp.uncacheable = true;
return (deliver);
return (lookup) in vcl_recv return (hash)
return (pass) in vcl_pass return (fetch)
return (restart) in vcl_fetch return (retry)
std.real2integer(..) [2] std.real2integer(.., n)
std.time2integer(..) [2] std.time2integer(.., n)
std.time2real(..) [2] std.time2real(.., n.n)
synthetic .. synthetic(..)
vcl_error vcl_backend_error and vcl_synth
vcl_fetch vcl_backend_response

Limited coverage

V3 V4
purge -

Won't be implemented

V3 V4
 - vcl 4.0
 - import directors
new xx = directors.yy();
xx.add_backend(ss);
set req.backend_hint = xx.backend();

Add imports resulting from changes in V4, complete purge handling and any other changes missing from this document.

N/A for 3.0 (for documentation only)

V4.0 V4.1
return (fetch) in vcl_hit [3] return (miss)

Notes

  1. Comments in VCL are treated as code and as such references within will be rewritten.
  2. Required in 4.1 and above.
  3. Optional in 4.1. Required in 5.0 and above.
文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()

sudo yum install pygpgme yum-utils

vi /etc/yum.repos.d/varnishcache_varnish5.repo

[varnishcache_varnish5]
name=varnishcache_varnish5
baseurl=https://packagecloud.io/varnishcache/varnish5/el/7/$basearch
repo_gpgcheck=1
gpgcheck=0
enabled=1
gpgkey=https://packagecloud.io/varnishcache/varnish5/gpgkey
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300

[varnishcache_varnish5-source]
name=varnishcache_varnish5-source
baseurl=https://packagecloud.io/varnishcache/varnish5/el/7/SRPMS
repo_gpgcheck=1
gpgcheck=0
enabled=1
gpgkey=https://packagecloud.io/varnishcache/varnish5/gpgkey
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300

存檔離開

sudo yum install varnish

參考網址: https://packagecloud.io/varnishcache/varnish5/install#manual-rpm

文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()

如果要搜尋一個欄位裡面有沒有特定關鍵字
常用的sql語法是
select id from books where title like '%快快樂樂學%';

聽說有幾個替代語法效能會比較好
1. SELECT id from books where instr(title,'快快樂樂學')>0;

2. select id from books where locate ('快快樂樂學',title)>0;

3. SELECT id from books where position('快快樂樂學' IN title);

但是實際測試過,其實差不多
不知道是我的資料不適合還是機器效能也有差...orz

undefined
最新SQL語法範例字典

作者: 朝井淳  
譯者: 陳亦苓, 朱浚賢
出版社:旗標  
出版日期:2017/12/12
語言:繁體中文
定價:580元

文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()

以往如果要修改FreeBSD 除了修改 /etc/rc.conf 之外
還有一個好用的命令 sysinstall

但新版FreeBSD 已經用 bsdconfig 及 bsdinstall 取代了

文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()

varnish 是一套效能不錯的reverse proxy server 
但美中不足的,他不支援https
所以如果要讓網站同時支援https , 就必須要另外加裝其他套件來做 ssl termination 的角色
以下範例是利用nginx 來當 ssl termination


cd /etc/nginx/ssl
cat STAR_pass_tw.crt COMODORSADomainValidationSecureServerCA.crt COMODORSAAddTrustCA.crt AddTrustExternalCARoot.crt > pass.tw.bundle.crt


cd /etc/nginx/conf.d
vi pass.tw.conf
  server {
    listen 443 ssl;
    server_name pass.tw
    ssl on;
    ssl_certificate /etc/nginx/ssl/pass.tw.bundle.crt;
    ssl_certificate_key /etc/nginx/ssl/pass.tw.key;
    ssl_protocols       TLSv1 TLSv1.1 TLSv1.2;
    ssl_ciphers   HIGH:!aNULL:!MD5;

    # side note: only use TLS since SSLv2 and SSLv3 have had recent vulnerabilities
    #ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
    location / {
      proxy_pass http://127.0.0.1:80;
    }
  }


/etc/init.d/nginx restart

undefined
Nginx技術手札:網頁伺服器應用全攻略

作者: 苗澤  
出版社:上奇資訊  
出版日期:2017/02/23
語言:繁體中文
定價:580元

文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()

執行以下指令立即生效
export http_proxy="http://your-proxy-server:3128"

如果希望未來登入後都可以套用proxy
可以新增進 .bash_profile
 

文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()

$ echo 123 | mail -s test 'test@myip.pass.tw'
-bash: mail: command not found

$ which mail
/usr/bin/which: no mail in (/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbinin:/sbin)

解決方式
# yum -y install mailx

 

Dependencies Resolved

================================================================================
 Package         Arch             Version                  Repository      Size
================================================================================
Installing:
 mailx           x86_64           12.4-8.el6_6             base           235 k

Transaction Summary
================================================================================
Install       1 Package(s)
 

文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()

送博客來 e-coupon 25塊折價券
使用期限到 2017/12/31
面額: 25
單品滿100 可折抵

undefined
英語每日一滴:IG最夯,學校不教,聊天、搭訕、吐槽都有戲

作者: 阿滴(Ray Du)  
出版社:如何  
出版日期:2017/06/01
語言:繁體中文
定價:320元


FEDDKWLp
FEDDb8Pa
FEDHv8XA
FEDKjGML
FEDLE3Tj
FEDLrvqW
FEDQEEhb
FEDSVfpE
FEDSwQr3
FEDYNGFY
FEDf4uyK
FEDigDw9
FEDjYJbX
FEDmiAjf
FEDmxY9T
FEDnjjy9

文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()

新版的CentOS 網路代號不像之前的 eth0 , eth1 ....
一開始可能會不習慣,但時勢所趨,還是早點習慣的好

早期的centos / redhat 版本可以透過setup 指令來修改網路的設定
但centos 已經沒有這個指令了
除了一樣可以透過手動編輯  /etc/sysconfig/network-scripts/ifcfg-xxx 
也可以改用 nmtui ( NetworkManager TUI )設定,透過互動的設定 ip、是否啟用該網路介面、及設定主機名稱



undefined

文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()

使用期限: ~ 2017/12/31
面額: 25
滿100元可抵用

FED7LcPv
FED8q9uU
FEDAgdFN
FEDC945r
FEDCwJYu

undefined
緣來,我愛你:遇見值得被愛的自己

作者: 紫嚴導師  
出版社:PCuSER電腦人文化  
出版日期:2017/12/02
語言:繁體中文
定價:320元

helloworld 發表在 痞客邦 留言(0) 人氣()

如果要讓一個virtual 設定同時服務 http 和 https  
預設的 apache 2.2 無法直接達到這個需求

但是可以利用 include 的功能來勉強達到這個需求
大部分共用的設定寫在 pass.tw-http.inc
有關ssl 的設定另外再獨立出一個 .inc 檔案
例如
<VirtualHost *:80>
   ServerAlias test.pass.tw
   include /usr/local/etc/apache22/extra/pass.tw-http.inc
</VirtualHost>

<VirtualHost *:443>
   SSLEngine on
   ServerAlias test.pass.tw
   include /usr/local/etc/apache22/extra/pass.tw-http.inc
   include /usr/local/etc/apache22/extra/pass.tw-https.inc
</VirtualHost>

但還是要注意
1. ServerAlias 要寫在<VirtualHost> 裡面,不可以寫在include file中
1. SSLEngine on 要寫在<VirtualHost> 裡面,不可以寫在include file中

undefined
WordPress站長練功秘笈:網站客製化、佈景主題與外掛開發的16堂課

出版社:博碩  
出版日期:2017/04/28
語言:繁體中文
定價:580元

文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()

#!/bin/sh

#自動產生亂數並除以10取餘數,所以就可以得出 0~9 的亂數
echo $(($RANDOM % 10))

#也可以加一個整數,取某個區間的亂數
echo $((5+$RANDOM % 10))

undefined
Linux Shell程式設計實力養成:225個實務關鍵技巧徹底詳解(附DVD)(第二版)

作者: 酆士昌  
出版社:博碩  
出版日期:2016/07/01
語言:繁體中文
定價:490元

文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()

AH00526: Syntax error on line 539 of /usr/local/etc/apache24/httpd.conf:
Invalid command 'ProxyPass', perhaps misspelled or defined by a module not included in the server configuration

解決方式
vi /usr/local/etc/apache24/httpd.conf

以下兩行取消註解
LoadModule proxy_module libexec/apache24/mod_proxy.so
LoadModule proxy_http_module libexec/apache24/mod_proxy_http.so

重啟apache
apachectl restart

undefined
Learning HTTP/2: A Practical Guide for Beginners

作者: Ludin, Stephen/ Garza, Javier
原文出版社:Oreilly & Associates Inc
出版日期:2017/06/02
語言:英文
 

文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()

使用期限: 2017/10/25~2017/12/07

面額: 25

抵用門檻: 100

適用館別: 全館

E-Coupon代號: 
FEAuq8NS
FEAdxCgQ
FEAd6xra
FEAYAn7r
FEAVusPJ
FEAMqDHR


#工商服務
undefined
教養的秘密:無效管教Out,科學育兒 In,兒童發展專家王宏哲的新世代教養術(隨書附贈【幸福教養療癒系】便條誌)

作者: 王宏哲  
繪者: 瘋熊
出版社:時報出版  
出版日期:2017/02/21
語言:繁體中文
定價:399元

文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()

mysql> SHOW VARIABLES LIKE "%version%";
 

文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()

如果經常在修改git內容
每次的pull,  push 都輸入帳號密碼是非常煩人的
可以利用以下指令來記憶帳號密碼
git config --global credential.helper 'cache --timeout 86400' 
以上例子為 86400 秒,也就是一天

如果要永久儲存
可以輸入
git config --global credential.helper 'cache --timeout 86400' 

但會把帳號密碼明碼寫在 ~/.git-credentials
就看個人習慣


undefined

文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()



【愛‧Sharing許願活動】許下心願領25元E-Coupon

要如何許下許願參加活動呢,請看以下步驟說明喔:
Step.1 點選活動頁面上的【我要許願】,留下暱稱及願望並點選【許下願望】
→即可許下一則心願及獲得25元E-Coupon
(每人每日限領一次,每日數量有限,送完為止,發送完畢不另行通知,詳見下方活動說明)。
Step.2 進入『我的心願』頁面,選擇心願點選FB分享按鈕,邀請朋友到許願頁面投票、支持您的願望,增加愛心票數。
Step.3 活動結束後,將會公布前20名人氣心願,並贈送《 波波漫步紐約行李箱 》給許願的您(詳見活動說明)。
1.    活動期間:即日起 – 2017年12月31日
2.    活動方式:每日每一會員帳號於愛‧Sharing許願活動留下心願,即可獲得一張25元E-Coupon,每日限量,數量有限,領完為止。每一會員帳號每日限領取一張,E-Coupon發送完畢不另行通知。參加者於參加本活動同時,即視為同意接受本活動規範,博客來有權決定取消、終止、修改或暫停本活動。
3.    注意事項:E-Coupon序號發送係以會員所填之Email資料為準或登入「會員專區>優惠 / 帳戶餘額>E-Coupon專區」查詢您的序號資訊,保障您E-Coupon的使用權利。,若因填錯或其他因素無法送達,博客來不負擔無法送達之責任。

詳情請參閱博客來活動辦法

文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()

Close

您尚未登入,將以訪客身份留言。亦可以上方服務帳號登入留言

請輸入暱稱 ( 最多顯示 6 個中文字元 )

請輸入標題 ( 最多顯示 9 個中文字元 )

請輸入內容 ( 最多 140 個中文字元 )

reload

請輸入左方認證碼:

看不懂,換張圖

請輸入驗證碼