helloworld

在 CentOS 安裝好 Percona XtraDB Cluster 5.7
也正常啟用 mysql server 了
systemctl start mysql
但是無法用空密碼登入了
# mysql
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

如何找到系統初始密碼?
找到 /var/log/mysqld.log
其中一行
2019-06-28T05:18:57.787444Z 1 [Note] A temporary password is generated for root@localhost: G3hshe5csL/q

沒錯,最後一個字串就是你root 密碼了

undefined
大數據分析之資料庫理論與實務(SQL Server 2017版)

作者: 曾守正, 周韻寰  
出版社:華泰文化  
 

文章標籤

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

在linux / unix 中
很習慣用 ifconfig -a 指令來檢查網路的狀態

但是在 CentOS 7 最小安裝完後
想要下這個指令
卻發現找不到了

原來是用 ip addr 這個指令來取代了
[root@example-08 ~]# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:0c:xx:xx:xx:83 brd ff:ff:ff:ff:ff:ff
    inet 192.168.80.8/24 brd 192.168.200.255 scope global noprefixroute ens192
       valid_lft forever preferred_lft forever
    inet6 fe80::xxxx:xxxx:fe30:2e83/64 scope link
       valid_lft forever preferred_lft forever

如果還是跟我一樣習慣舊指令的話
可以安裝 net-tools 套件
[root@example-08 ~]# yum install net-tools
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror01.idc.hinet.net
 * extras: mirror01.idc.hinet.net
 * updates: mirror01.idc.hinet.net
Resolving Dependencies
--> Running transaction check
---> Package net-tools.x86_64 0:2.0-0.24.20131004git.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package         Arch         Version                          Repository  Size
================================================================================
Installing:
 net-tools       x86_64       2.0-0.24.20131004git.el7         base       306 k

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

Total download size: 306 k
Installed size: 918 k
Is this ok [y/d/N]: y
Downloading packages:
net-tools-2.0-0.24.20131004git.el7.x86_64.rpm              | 306 kB   00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : net-tools-2.0-0.24.20131004git.el7.x86_64                    1/1
  Verifying  : net-tools-2.0-0.24.20131004git.el7.x86_64                    1/1

Installed:
  net-tools.x86_64 0:2.0-0.24.20131004git.el7

Complete!

ip 指令的其他用法
Usage: ip [ OPTIONS ] OBJECT { COMMAND | help }
       ip [ -force ] -batch filename
where  OBJECT := { link | address | addrlabel | route | rule | neigh | ntable |
                   tunnel | tuntap | maddress | mroute | mrule | monitor | xfrm |
                   netns | l2tp | fou | macsec | tcp_metrics | token | netconf | ila |
                   vrf }
       OPTIONS := { -V[ersion] | -s[tatistics] | -d[etails] | -r[esolve] |
                    -h[uman-readable] | -iec |
                    -f[amily] { inet | inet6 | ipx | dnet | mpls | bridge | link } |
                    -4 | -6 | -I | -D | -B | -0 |
                    -l[oops] { maximum-addr-flush-attempts } | -br[ief] |
                    -o[neline] | -t[imestamp] | -ts[hort] | -b[atch] [filename] |
                    -rc[vbuf] [size] | -n[etns] name | -a[ll] | -c[olor]}

undefined
CentOS 7.3建置、管理與伺服器架設實戰

作者: 湯秉翰  
出版社:博碩  
 

文章標籤

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

# 檢查目前系統時區狀態
[root@test01 ~]# timedatectl
      Local time: Thu 2019-06-27 10:41:44 CST
  Universal time: Thu 2019-06-27 02:41:44 UTC
        RTC time: Thu 2019-06-27 02:41:43
       Time zone: Asia/Taipei (CST, +0800)
     NTP enabled: no
NTP synchronized: no
 RTC in local TZ: no
      DST active: n/a

# 若要變更時區,首先列出所有的時區
timedatectl list-timezones

# 指定系統時區
timedatectl set-timezone Asia/Taipei

# 安裝 ntpdate
yum -y install ntp

# 校正時間
ntpdate time.stdtime.gov.tw



 

文章標籤

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

1. 登入管理介面,選擇dashboard 頁籤 -> 把要重設密碼的機器關機

2. 切換到 rescue 頁籤,拉到最下面,填入新密碼,並點擊 Reset Root Password

3. 回到 dashboard 頁籤 -> 開機

4. 重開機後即可用新密碼登入

undefined
Effective DevOps:使用AWS快速入門

作者: Nathaniel Felsen  
譯者: 錢亞宏
出版社:博碩  

文章標籤

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

開始寫入 log
在 shell 下以root 權限輸入 rndc querylog
# rndc querylog

接下來可以使用以下指令觀察目前的查詢log
# tail -f /var/log/messages

停止寫入 log,避免 log 檔案過大
# rndc querylog

undefined
DNS and BIND管理,第五版

作者: 蔣大偉  
出版社:歐萊禮

文章標籤

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

https://www.wemoscooter.com/
首先下載 app 註冊帳號
透過app 上傳雙證件
如果有填入邀請碼的話可以獲得額外的騎乘金
接下來就是等人工審核,其實滿快的,我當天就審核通過了

第一次借還車,建議好好閱讀一下操作流程
但app 介面其實都滿直覺的,相信很快就能上手
1. 找車,看看附近有沒有可以租的車,app 也會顯示剩餘電量和預估可以騎乘的里程,所以下手前請確定有足夠的電力可以到你的目的地
2. 預約,系統會幫你保留10分鐘
3. 開車廂,車廂內有兩頂安全帽,如果擔心衛生的話,車廂內也有提供頭套可以使用,切記不要把手機放到車廂內
4. 依系統提示發車
5. 騎車到目的地,因為不習慣電動車,停等紅綠燈的時候往往都以為是不是車子熄火了
6. 還車,台北市往往有些地方停車格一位難求,所以可能到了目的地,又要繞到更遠的地方找停車格orz

有人把他比做機車版的 ubike 或是 obike
但wemo 只能在限定的地點停車,某種程度不像是obike 無樁共享單車,更像是ubike 的有樁共享單車
在台北市騎ubike 低消 5元,所以在有騎乘金的誘使下,wemo 勝

我的邀請碼: NFQKZTWG

undefined
共享經濟:改變全世界的新經濟方案

作者: 馬化騰, 張孝榮, 孫怡, 蔡雄山  
出版社:天下文化

文章標籤

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

1. 進到 console 介面,選擇 5) Reboot System
重設 pfsense admin 預設密碼

2. 開機時選擇 single user mode

3. 登入 /bin/sh 後,依序輸入
umount -a 
mount -a

4. /etc/rc.initial/password
確定之後,admin 密碼會回復到預設的 pfsense
重設 pfsense admin 預設密碼

5. reboot
重開機後,記得登入 web 介面修改admin密碼
 

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

解決 NetApp AutoSupport message: (OUT OF INODES) ERROR
發生原因: 同一個volume 雖然空間夠,但檔案數量過多,inode 不足用盡,所以無法再寫入檔案

以下三種解決方式

1. 把檔案搬到其他volume 或是移除不必要的檔案

2. 新增 volume 的 maxfiles 數量
(1)登入netapp cli 介面
(2)輸入 df -i 或是 maxfiles "volume名稱"
可以看到目前volume 的使用狀況
(3)如何增加 maxfiles 
maxfiles "volume名稱" "inode數量"

example:
filer> maxfiles voltest 63753378

The new maximum number of files specified is more than twice as big as
it needs to be, based on current usage patterns.  This invocation of the
operation on the specified volume will allow disk space consumption for
files to grow up to the new limit depending on your workload. The maxfiles
setting cannot be lowered below the point of any such additional disk space
consumption and any additional disk space consumed can never be reclaimed.
Also, such consumption of additional disk space could result in less
available memory after an upgrade.


The new maximum number of files will be rounded to 63753378.

Are you sure you want to change the maximum number of files? y
finer>

3. 增加 volume 空間
undefined

文章標籤

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

timedatectl 指令可以顯示目前設定
# timedatectl
      Local time: Thu 2019-05-02 06:45:47 UTC
  Universal time: Thu 2019-05-02 06:45:47 UTC
        RTC time: Thu 2019-05-02 06:45:48
       Time zone: Etc/UTC (UTC, +0000)
 Network time on: yes
NTP synchronized: yes
 RTC in local TZ: no

修改timezone
# cd /etc

# ls -lh | grep localtime
lrwxrwxrwx 1 root root     27 May 24  2018 localtime -> /usr/share/zoneinfo/Etc/UTC

# rm localtime && ln -s /usr/share/zoneinfo/Asia/Taipei localtime

# ls -lh | grep localtime
lrwxrwxrwx 1 root root     31 May  2 14:48 localtime -> /usr/share/zoneinfo/Asia/Taipei

# timedatectl
      Local time: Thu 2019-05-02 14:48:21 CST
  Universal time: Thu 2019-05-02 06:48:21 UTC
        RTC time: Thu 2019-05-02 06:48:22
       Time zone: Asia/Taipei (CST, +0800)
 Network time on: yes
NTP synchronized: yes
 RTC in local TZ: no

undefined

文章標籤

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

在 ubuntu 系統下如果要列出已經安裝的套件
root@test3:~# apt list --installed

假設要看有 php 關鍵字的套件
root@test3:~# apt list --installed | grep php

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libapache2-mod-php7.2/bionic-updates,bionic-security,now 7.2.17-0ubuntu0.18.04.1 amd64 [installed,automatic]
php/bionic,bionic,now 1:7.2+60ubuntu1 all [installed]
php-common/bionic,bionic,now 1:60ubuntu1 all [installed,automatic]
php-curl/bionic,bionic,now 1:7.2+60ubuntu1 all [installed]
php-dev/bionic,bionic,now 1:7.2+60ubuntu1 all [installed]
php-fpm/bionic,bionic,now 1:7.2+60ubuntu1 all [installed]
php-gd/bionic,bionic,now 1:7.2+60ubuntu1 all [installed]
php-mbstring/bionic,bionic,now 1:7.2+60ubuntu1 all [installed]
php-mysql/bionic,bionic,now 1:7.2+60ubuntu1 all [installed]
php-pear/bionic-updates,bionic-updates,bionic-security,bionic-security,now 1:1.10.5+submodules+notgz-1ubuntu1.18.04.1 all [installed]
php-xml/bionic,bionic,now 1:7.2+60ubuntu1 all [installed]
php-xmlrpc/bionic,bionic,now 1:7.2+60ubuntu1 all [installed]
php-zip/bionic,bionic,now 1:7.2+60ubuntu1 all [installed]
php7.2/bionic-updates,bionic-updates,bionic-security,bionic-security,now 7.2.17-0ubuntu0.18.04.1 all [installed,automatic]
php7.2-cli/bionic-updates,bionic-security,now 7.2.17-0ubuntu0.18.04.1 amd64 [installed,automatic]
php7.2-common/bionic-updates,bionic-security,now 7.2.17-0ubuntu0.18.04.1 amd64 [installed,automatic]
php7.2-curl/bionic-updates,bionic-security,now 7.2.17-0ubuntu0.18.04.1 amd64 [installed,automatic]
php7.2-dev/bionic-updates,bionic-security,now 7.2.17-0ubuntu0.18.04.1 amd64 [installed,automatic]
php7.2-fpm/bionic-updates,bionic-security,now 7.2.17-0ubuntu0.18.04.1 amd64 [installed,automatic]
php7.2-gd/bionic-updates,bionic-security,now 7.2.17-0ubuntu0.18.04.1 amd64 [installed,automatic]
php7.2-json/bionic-updates,bionic-security,now 7.2.17-0ubuntu0.18.04.1 amd64 [installed,automatic]
php7.2-mbstring/bionic-updates,bionic-security,now 7.2.17-0ubuntu0.18.04.1 amd64 [installed,automatic]
php7.2-mysql/bionic-updates,bionic-security,now 7.2.17-0ubuntu0.18.04.1 amd64 [installed,automatic]
php7.2-opcache/bionic-updates,bionic-security,now 7.2.17-0ubuntu0.18.04.1 amd64 [installed,automatic]
php7.2-readline/bionic-updates,bionic-security,now 7.2.17-0ubuntu0.18.04.1 amd64 [installed,automatic]
php7.2-xml/bionic-updates,bionic-security,now 7.2.17-0ubuntu0.18.04.1 amd64 [installed,automatic]
php7.2-xmlrpc/bionic-updates,bionic-security,now 7.2.17-0ubuntu0.18.04.1 amd64 [installed,automatic]
php7.2-zip/bionic-updates,bionic-security,now 7.2.17-0ubuntu0.18.04.1 amd64 [installed,automatic]
pkg-php-tools/bionic,bionic,now 1.35ubuntu1 all [installed,automatic]

undefined
Ubuntu 系統管理與架站實務(第三版)

作者: 施威銘研究室
出版社:旗標

文章標籤

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

修改 ubuntu 系統的 hostname
傳統的作法是修改 /etc/hostname
重新開機後生效

另外也可以使用 hostnamectl 指令可以不用開機就可以修改主機名稱
example:
root@test3:~# hostnamectl set-hostname myubuntu

這時候已經寫入設定檔了
root@test3:~# hostnamectl
   Static hostname: myubuntu

但是在 shell 看到的提示字串仍然是修改前的主機名稱
只要重新登入登出一次就可以了

root@test3:~# hostnamectl --help
hostnamectl [OPTIONS...] COMMAND ...

Query or change system hostname.

  -h --help              Show this help
     --version           Show package version
     --no-ask-password   Do not prompt for password
  -H --host=[USER@]HOST  Operate on remote host
  -M --machine=CONTAINER Operate on local container
     --transient         Only set transient hostname
     --static            Only set static hostname
     --pretty            Only set pretty hostname

Commands:
  status                 Show current hostname settings
  set-hostname NAME      Set system hostname
  set-icon-name NAME     Set icon name for host
  set-chassis NAME       Set chassis type for host
  set-deployment NAME    Set deployment environment for host
  set-location NAME      Set location for host

undefined
Ubuntu 系統管理與架站實務(第三版)

作者: 施威銘研究室  
出版社:旗標  
 

文章標籤

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

首先找到適合的作業系統
https://support.radware.com/app/answers/answer_view/a_id/16176/~/alteon-recommended-oids-for-snmp-monitoring

以 Alteon version 30.2 為例
假設我們要抓取 Peak SSL capacity usage in CPS 及 Current SSL capacity usage in CPS

分別可以下以下指令抓取
% /usr/local/bin/snmpwalk -v 2c -c COMMUNITY IP .1.3.6.1.4.1.1872.2.5.1.2.12.3
SNMPv2-SMI::enterprises.1872.2.5.1.2.12.3.0 = STRING: "500 CPS"

% /usr/local/bin/snmpwalk -v 2c -c COMMUNITY IP .1.3.6.1.4.1.1872.2.5.1.2.12.4
SNMPv2-SMI::enterprises.1872.2.5.1.2.12.4.0 = STRING: "124 CPS"
 


undefined

文章標籤

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

編輯測試程式
# vi stdin.php
#!/usr/local/bin/php

<?php
$stdin = file ('php://stdin');
print_r ($stdin);

給予執行權限
# chmod u+x stdin.php

準備一個測試文字檔
# vi hello.txt
Hello
HelloWorld
helloworld
Hello World

測試,把文字檔cat 出來,丟給 php 程式處理
# cat hello.txt | ./stdin.php

Array
(
    [0] => Hello

    [1] => HelloWorld

    [2] => helloworld

    [3] => Hello World

)

參考資料
https://www.php.net/manual/en/features.commandline.io-streams.php

文章標籤

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

push bike 的原文是 balance bicycle (平衡車)
https://en.wikipedia.org/wiki/Balance_bicycle

台灣習慣稱呼push bike 或是 滑步車

女鵝兩歲了,就來買一台就當作是生日禮物兼兒童節禮物吧
我們前後去試騎了幾款push bike

有幾台因為椅座太高無法配合小孩身高
不然就是車款適合更小的小孩,因為女鵝年紀太尷尬,可能騎沒多久就要再換一台車

多方考量下,Strider Sport 較適合我們目前的狀況
1. 車身低,椅墊也可以調整到適合個頭小一點的初學者
2. 試騎過程中,確實可以感受到小孩比較順手
3. 車體較輕(2.9 kg),家長提的比較輕鬆 (這很重要XD)
4. 加寬置腳架,供滑行時放腳用
5. 標配 EVA 發泡胎,有好有壞
 優點是: 重量輕、無需打氣、不會爆胎
 缺點是: 易磨損、也較容易打滑

Strider 在北部有兩間直營店
分別是大直ATT 及板橋誠品,這兩個點搭乘大眾運輸都還算方便
其中ATT 還挺適合溜小孩的,如果不知道放假去哪邊,可以考慮去ATT 晃個一整天

我其實比較喜歡打氣胎,所以等騎一陣子,胎紋磨的差不多後就來換打氣胎了

重點是多讓小孩去體驗看看,找到自己適合的坐騎

undefined
【RadioFlyer】防護頭盔

美式跑車流線塗裝造型
頭圍調節器讓帽體有效包覆頭部
通風孔增進空氣對流小朋友更舒適

文章標籤

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

南京豆漿店位於八德路,京華城百貨斜對面
個人認為是一間 C/P值頗高的早餐店
雖然外表看似老舊、沒有華麗的裝潢
但食材實在、價錢平價、口味也不輸其他豆漿店

不論你是內用還是外帶
都是先在門口排隊點餐

走進店裡,滿滿的漫威海報
看來是個超級漫威迷




網友一致推崇這家店的蔥燒餅
個人試過,口感扎實飽足,沒試過建議可以嚐嚐

但小弟覺得南京豆漿店的招牌應該是他的鍋貼才對啊
搭配店家特調的醬油更是一口接一口停不下來


總之,走過路過,千萬別錯過喔
地址:105台北市松山區八德路四段193號
營業時間: 06:00 ~ 11:00

undefined

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

因為 unix 和 windows 的換行符號不一樣
unix/linux 換行符號 \n
windows 換行符號 \r\n

所以如果直接拿windows 編輯的檔案到linux 下用vi 開啟
會發現換行地方會多出 ^M 

可以利用 tr 指令來去除多餘的 ^M 符號
cat dos.txt | tr -d '\r' > unix.txt
或是
tr -d '\r' < dos.txt > unix.txt

undefined
Linux Shell 程式設計與管理實務 [第三版]

作者: 臥龍小三  
出版社:博碩  
 

文章標籤

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

因為小孩滿兩歲後沒有托育補助了
也想讓他提早去適應團體的環境

所以最近去參觀汐址汐科站附近主打蒙特梭利教學的123 幼兒園
http://123.52school.com.tw/

參觀汐止 123 幼兒園

主要是帶小孩去看看環境
從中觀察他是否可以接受那邊的環境
原本以為怕生的小孩會安靜好一會兒
但結果是我們想太多了,他一下子就自己玩開了XD

可以從全國教保資訊網查詢一些相關資訊
https://www.ece.moe.edu.tw/?page_id=2085

新北市私立汐止一二三幼兒園
電  話:    (02)26478111
詳細地址:    [221]連興街46號2樓、48號1、2樓

評鑑報告
https://ap.ece.moe.edu.tw/ecems/eva_view.aspx?tp=0&esid=NAA4ADgAMgA=

收費明細:    107學年度收費明細
https://ap.ece.moe.edu.tw/ecems/chglist.aspx?sch=MAAzADIAMgAxADAAMAAwADQAMQA=
 

文章標籤

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

MRBS (Meeting Room Booking System) 是一套由 PHP 開發的會議室預約系統
官網:
https://mrbs.sourceforge.io/
下載位置:
https://sourceforge.net/projects/mrbs/files/
官網DEMO 圖片
MRBS - open source 會議室預約系統

目前最新的版本為 1.7.3
系統需求:
- PHP 5.4.0 or above with MySQL and/or PostgreSQL support
- MySQL (5.5.3 and above) or PostgreSQL 8.2 or above.
- Any web server that is supported by PHP

解壓縮完的目錄結構為
mrbs-1.7.3/
 -> web/

mrbs-1.7.3/ 主要放mrbs 相關設定
請將 apache 的 DoucumentRoot 指向 mrbs-1.7.3/web/

MRBS 支援 DB、LDAP、pop3... 等多種的認證方式
如果要使用MySQL 作為帳號系統,請先執行 tables.my.sql
假設企業內部有現成的 LDAP 或是mail server , 建議可以整合內部的LDAP、ipop3 對於使用者來的好處是,不用再去重新申請帳號或記住多組的帳號密碼,同時也可以降低管理者的負擔

修改方式
vi web/config.inc.php
$auth["type"] = "auth type";

另外還有很多可以客製化修改的參數請參考
web/systemdefaults.inc.php

文章標籤

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

這幾天透過esx 6.5 的 web ui 要mount 一個 nfs 的 datastore
已經確定 nfs server 設定正常,但就是mount 不起來

以下各種各式各樣的錯誤噴出來
Failed to mount NFS datastore shared - The specified key, name, or identifier '/vmfs/volumes/15xxxxxx-a3xxxxxx' already exists. - dismiss
Failed to mount NFS datastore shared - Operation failed, diagnostics report: Unable to get console path for volume, shared - dismiss
Failed to mount NFS datastore shared - The specified key, name, or identifier 'shared' already exists

最後只好透過 cli 指令來新增一個 datastore

[root@esx-lab:~] esxcfg-nas -a shared -o 192.168.1.1 -s /vol/shared

df -h 查看是否 mount成功
最後重開機測試是否會自動 mount 

esxcfg-nas 參數
esxcfg-nas <options> [<label>]
-a|--add                Add a new NAS filesystem to /vmfs volumes.
                        Requires --host and --share options.
                        Use --readonly option only for readonly access.
-o|--host <host>        Set the host name or ip address for a NAS mount.
                        For version 4.1, can be a comma-separated list.
-s|--share <share>      Set the name of the NAS share on the remote system.
-y|--readonly           Add the new NAS filesystem with readonly access.
-d|--delete             Unmount and delete a filesystem.
-l|--list               List the currently mounted NAS file systems.
-v|--version <version>  Specify NFS version (3 or 4.1)
                        Required for add; optional for list.
-U|--user <user>        Set per host NFS user and password
                        Requires --version 4.1 option
-C|--user-clear         Clear per host NFS user and password
                        Requires --version 4.1 option
-L|--user-list          List per host NFS user and number of passwords
                        Requires --version 4.1 option
-r|--restore            Restore all NFS version 3 mounts from the configuration file.
                        (FOR INTERNAL USE ONLY).
-h|--help               Show this message.

undefined
VMware vSphere 6.7私有雲建置實戰

作者: 顧武雄  
出版社:碁峰  
 

文章標籤

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

住汐止一陣子了,搜尋一下汐止在地人早餐
明峰街的吉美蒸籠包總是會出現在排名
所以決定去一探究竟
果然名不虛傳,排隊人潮絡繹不絕
最後想想,外帶回家吃好了,這樣比較不會有壓力XD
結論,好吃、大器、實在









undefined
根在水返腳:汐止老街人,老街事

作者: 楊芳芷  
出版社:秀威資訊

地址: 新北市汐止區明峰街170號

檢視較大的地圖

文章標籤

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

#安裝mysql server
apt install mysql-server

#初始設定
mysql_secure_installation

#登入 mysql
mysql

select * from mysql.user;
會發現 root@localhost 的密碼是空的,pluging 的欄位是 auth_socket 而非 mysql_native_password

#修改 root 密碼
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'PPPPP';

重新檢查 select * from mysql.user;
此時的 plugin 應該是 mysql_native_password ,密碼也是剛剛加密過的字串

跳出mysql , 重新登入測試
 

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

1. 在 shell 下輸入 dpkg-reconfigure tzdata
2. 依序選擇 Asia -> Taipei 即可




undefined
Ubuntu 系統管理與架站實務(第三版)

作者: 施威銘研究室  
出版社:旗標  
 

文章標籤

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

前陣子看了食尚玩家推薦的努努雞
於是決定去一探究竟
努努雞官網
http://www.e-yumeyume.co.jp/

今天去的是博多站的マイング MING 名品街
地址: 福岡市博多区博多駅中央街1-1 博多マイング
電話    TEL:092-412-8520

名品街裡面有各式各樣的伴手禮可以選擇
如有名的小雞蛋糕、梅支餅..等等

努努雞攤位詳細地圖請參考
http://www.ming.or.jp/floorguide/shop61.html

undefined

努努雞是一種建議吃冰的,口感微辣的炸雞翅
取雞翅中間那節對切下去油炸,所以算方便啃







如果手邊有一罐啤酒更是搭
但記住,開車不喝酒,喝酒不開車

另外還有其他的販售地點
http://www.e-yumeyume.co.jp/shoplist/

最後提醒一下,趁冰涼的時候在日本吃完,千萬不要帶肉品回國,免得傷了荷包又傷了台灣農業喔



undefined
福岡北九州地圖隨身GO

作者: 墨刻編輯部  
出版社:墨刻  

文章標籤

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

提供給喜歡潤餅的朋友
在中崙市場裡面的路口,有一家好吃的阿弘潤餅
原味售價 40元,另外還有其他口味可以選用
採自行投錢,找錢
每星期一、二固定在中崙市場會在中崙市場擺攤











undefined
大廚教你做台灣小吃:101道全台經典特色美食,在家複製美味上桌!

作者: 呂俊男, 蔡依迪  
出版社:日日幸福 

文章標籤

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

1. 在控制台中找到 "設定時間和日期"

2. 選擇網際網路頁籤,並點擊變更設定

3. 在伺服器欄位中輸入你想要跟哪一台 ntp server 校時

4. 確定

undefined

文章標籤

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

新買的 win 10 桌機或是筆電
如果要連上只支援 SMBv1 的 NAS 或是 samba server 的時候
可能會出現以下的錯誤訊息
"因為檔案共用不安全,所以無法連線。此共用需要過時的 SMB1 通訊協定,而這個通訊協定既不安全,而且可能使您的系統容易受到攻擊
您的系統需要 SMB2 或是更高版本"

文章標籤

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

汐止連下幾天雨,好不容易今天稍微乾一點
來汐止文化里的櫻花步道逛逛

但看來今年太晚去了,大部分的花都已經掉的差不多了
連櫻花果實都已經長出來了

 

 

怎麼去
搭乘台鐵到汐科站,由北站出口出站,往新台五路方向步行約數百公尺
或是搭乘公車,在連新街口下車,往南港方向步行約數十公尺

檢視較大的地圖

文章標籤

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

住在汐止基隆一帶應該都能體會到每天濕濕冷冷的天氣
尤其是冬天,衣服晾在外面幾天都還是不會乾
所以決定要挑一台好用一點的除濕機
爬文下來,萬元以上的除濕機各有愛好者

比較之後決定買LG的除濕機
這款日除溼量分別有16、17、18公升可以供消費者選擇
我買的是16L , 開箱後測試一兩個小時,水箱就已經累積很多水了
真的有被驚到


會挑這款的原因
1. 首先當然是認明有一級節能標章的電器,沒有這個認證的可以先直接刪去
2. 再來變頻除溼機,現在市面上似乎只有三菱 Mitsubishi和LG 兩家
Mitsubishi 略貴,LG的C/P值還是高一點
3. LG 有附烘鞋和烘衣櫃的接頭可以使用
4. 全機3年保固;變頻壓縮機10年保固
5. wifi 功能看來是趨勢,但還沒研究過,改天再來試玩看看
6. 登入發票和保證書送1000元全家商品卡
7. 水箱滿了,單手就可以提著去倒水,這點非常好用
活動辦法詳閱官網: https://www.lg.com/tw/2019cny-event

試用心得:
除溼力跟現在的舊除溼機比較好太多了
聲音算安靜
萬向滾輪搭配手把可以輕鬆移動到每個房間

以下是 17L 的商品介紹,其實跟16L 大同小異,可以參考看看
undefined

文章標籤

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

Networking -> TCP/IP stacks -> Default TCP/IP stack -> Edit settings

文章標籤

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

安裝 pptpclient
cd /usr/ports/net/pptpclient/
make install clean 

編輯設定檔
vi /etc/ppp/ppp.conf

myvpn:
 set authname testuser  #登入帳號
 set authkey  1234    #登入密碼
 set timeout 0
 set ifaddr 0 0
 add 10.0.0.0/8 hisaddr
 add 172.16.0.0/12 hisaddr
 alias enable yes
 disable ipv6cp

建立連線
nohup pptp vpn-server-ip-or-hostname myvpn &

文章標籤

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

Close

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

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

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

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

reload

請輸入左方認證碼:

看不懂,換張圖

請輸入驗證碼