我真的不會使用 momo的數位客服@@
所以每當要聯絡客服的時候還是習慣留個訊息,待客服回應
但這個網址的入口不知道在哪邊,真的不好找
所以一定要筆記一下
https://www.momoshop.com.tw/mypage/MemberCenter.jsp?func=40&mmc_source=chatbot&mmc_platform=web&mmc_campaign=membercentre&mmc_content=customerservicemail&origin=xiaoi&memid=6000013660&cid=apuad&oid=1&osm=league
最常用的功能是快速到貨,但延遲未到貨,補償 100 momo 幣
因為數位客服常常鬼打牆,不知道該怎麼使用
留意一下 email,是否超過最晚抵達時間
請選擇 momo 幣相關問題
在依下方欄位提示填入相關資訊,送出即可
聯絡人:
聯絡電話:
訂單編號:
問題簡述:
我覺得客服回應還算迅速
- Jul 08 Mon 2019 14:25
momo 購物網聯絡客服網址
- Jul 04 Thu 2019 16:57
如何啟動 Percona Percona XtraDB Cluster 第一個 node
CentOS 6 或更早版本
[root@pxc-01 ~]# /etc/init.d/mysql bootstrap-pxc
或是
[root@pxc-01 ~]# /etc/init.d/mysql start --wsrep-cluster-address="gcomm://"
CentOS 7
[root@pxc-01 ~]# systemctl start mysql@bootstrap.service
MySQL與MariaDB學習手冊
Learning MySQL and MariaDB
作者: Russell J.T. Dyer
譯者: 林班侯
出版社:歐萊禮
- Jun 28 Fri 2019 14:35
修改 Percona XtraDB Cluster 預設 root 密碼
[root@example-08 log]# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 16
Server version: 5.7.26-29-57-log
Copyright (c) 2009-2019 Percona LLC and/or its affiliates
Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
# 如果是想直接 update mysql.user 的 table 的話,會出現以下錯誤
mysql> UPDATE mysql.user SET password=PASSWORD("passw0rd") where user='root';
ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.
# 請使用 alter user 指令來變更密碼
mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY 'passw0rd';
Query OK, 0 rows affected (0.01 sec)
# 如果有修改 mysql 使用者相關權限都建議再執行以下指令
mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)
Python大數據特訓班:資料自動化收集、整理、分析、儲存與應用實戰(附近300分鐘影音教學/範例程式)
作者: 文淵閣工作室
出版社:碁峰
- Jun 28 Fri 2019 13:28
Percona XtraDB Cluster 5.7 初始 root 密碼
在 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 密碼了
大數據分析之資料庫理論與實務(SQL Server 2017版)
作者: 曾守正, 周韻寰
出版社:華泰文化
- Jun 28 Fri 2019 11:44
CentOS 7 的 ifconfig 指令
在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]}
CentOS 7.3建置、管理與伺服器架設實戰
作者: 湯秉翰
出版社:博碩
- Jun 27 Thu 2019 10:46
CentOS 7 調整時區並校正時間
# 檢查目前系統時區狀態
[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
- Jun 25 Tue 2019 11:31
How to reset linode server root password
1. 登入管理介面,選擇dashboard 頁籤 -> 把要重設密碼的機器關機
2. 切換到 rescue 頁籤,拉到最下面,填入新密碼,並點擊 Reset Root Password
3. 回到 dashboard 頁籤 -> 開機
4. 重開機後即可用新密碼登入
Effective DevOps:使用AWS快速入門
作者: Nathaniel Felsen
譯者: 錢亞宏
出版社:博碩
- Jun 06 Thu 2019 14:21
enable bind dns query log
開始寫入 log
在 shell 下以root 權限輸入 rndc querylog
# rndc querylog
接下來可以使用以下指令觀察目前的查詢log
# tail -f /var/log/messages
停止寫入 log,避免 log 檔案過大
# rndc querylog
DNS and BIND管理,第五版
作者: 蔣大偉
出版社:歐萊禮
- Jun 06 Thu 2019 10:40
第一次騎 wemo 就上手
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
共享經濟:改變全世界的新經濟方案
作者: 馬化騰, 張孝榮, 孫怡, 蔡雄山
出版社:天下文化
- Jun 03 Mon 2019 11:32
重設 pfsense admin 預設密碼
1. 進到 console 介面,選擇 5) Reboot System
2. 開機時選擇 single user mode
3. 登入 /bin/sh 後,依序輸入
umount -a
mount -a
4. /etc/rc.initial/password
確定之後,admin 密碼會回復到預設的 pfsense
5. reboot
重開機後,記得登入 web 介面修改admin密碼
- May 27 Mon 2019 11:03
解決 NetApp AutoSupport message: (OUT OF INODES) ERROR
解決 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>
- May 02 Thu 2019 14:50
修改ubuntu 系統時區
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
- Apr 29 Mon 2019 14:42
ubuntu 系統列出已安裝的套件
在 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]
Ubuntu 系統管理與架站實務(第三版)
作者: 施威銘研究室
出版社:旗標
- Apr 29 Mon 2019 14:05
修改 ubuntu 系統 hostname
修改 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
Ubuntu 系統管理與架站實務(第三版)
作者: 施威銘研究室
出版社:旗標
- Apr 25 Thu 2019 10:07
抓取alteon L4 switch OID 數據
首先找到適合的作業系統
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"
- Apr 24 Wed 2019 16:22
使用PHP 處理 STDIN 資訊
編輯測試程式
# 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
- Apr 18 Thu 2019 11:17
挑選 push bike 滑步車
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 晃個一整天
我其實比較喜歡打氣胎,所以等騎一陣子,胎紋磨的差不多後就來換打氣胎了
重點是多讓小孩去體驗看看,找到自己適合的坐騎
【RadioFlyer】防護頭盔
美式跑車流線塗裝造型
頭圍調節器讓帽體有效包覆頭部
通風孔增進空氣對流小朋友更舒適
- Apr 17 Wed 2019 10:19
[食記] 台北市南京豆漿店
- Apr 15 Mon 2019 16:03
使用 tr 指令轉換 dos / unix 換行符號
因為 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
Linux Shell 程式設計與管理實務 [第三版]
作者: 臥龍小三
出版社:博碩
- Apr 12 Fri 2019 11:31
參觀汐止 123 幼兒園
因為小孩滿兩歲後沒有托育補助了
也想讓他提早去適應團體的環境
所以最近去參觀汐址汐科站附近主打蒙特梭利教學的123 幼兒園
http://123.52school.com.tw/
主要是帶小孩去看看環境
從中觀察他是否可以接受那邊的環境
原本以為怕生的小孩會安靜好一會兒
但結果是我們想太多了,他一下子就自己玩開了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=
- Apr 10 Wed 2019 15:48
MRBS - open source 會議室預約系統
MRBS (Meeting Room Booking System) 是一套由 PHP 開發的會議室預約系統
官網:
https://mrbs.sourceforge.io/
下載位置:
https://sourceforge.net/projects/mrbs/files/
官網DEMO 圖片
目前最新的版本為 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
- Mar 28 Thu 2019 15:40
解決esxi web ui : Failed to mount NFS datastore 問題
這幾天透過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.
VMware vSphere 6.7私有雲建置實戰
作者: 顧武雄
出版社:碁峰
- Mar 19 Tue 2019 15:13
[食記] 汐止-吉美蒸籠包
住汐止一陣子了,搜尋一下汐止在地人早餐
明峰街的吉美蒸籠包總是會出現在排名
所以決定去一探究竟
果然名不虛傳,排隊人潮絡繹不絕
最後想想,外帶回家吃好了,這樣比較不會有壓力XD
結論,好吃、大器、實在
根在水返腳:汐止老街人,老街事
作者: 楊芳芷
出版社:秀威資訊
地址: 新北市汐止區明峰街170號
檢視較大的地圖
- Mar 08 Fri 2019 15:24
ubuntu 安裝 mysql server 5.7
#安裝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 , 重新登入測試
- Mar 08 Fri 2019 13:33
修改 Ubuntu Linux 系統時區
1. 在 shell 下輸入 dpkg-reconfigure tzdata
2. 依序選擇 Asia -> Taipei 即可
Ubuntu 系統管理與架站實務(第三版)
作者: 施威銘研究室
出版社:旗標
- Mar 04 Mon 2019 14:12
[食記] 九州福岡推薦必吃 - 努努雞
前陣子看了食尚玩家推薦的努努雞
於是決定去一探究竟
努努雞官網
http://www.e-yumeyume.co.jp/
今天去的是博多站的マイング MING 名品街
地址: 福岡市博多区博多駅中央街1-1 博多マイング
電話 TEL:092-412-8520
名品街裡面有各式各樣的伴手禮可以選擇
如有名的小雞蛋糕、梅支餅..等等
努努雞攤位詳細地圖請參考
http://www.ming.or.jp/floorguide/shop61.html
努努雞是一種建議吃冰的,口感微辣的炸雞翅
取雞翅中間那節對切下去油炸,所以算方便啃
如果手邊有一罐啤酒更是搭
但記住,開車不喝酒,喝酒不開車
另外還有其他的販售地點
http://www.e-yumeyume.co.jp/shoplist/
最後提醒一下,趁冰涼的時候在日本吃完,千萬不要帶肉品回國,免得傷了荷包又傷了台灣農業喔
福岡北九州地圖隨身GO
作者: 墨刻編輯部
出版社:墨刻
- Feb 22 Fri 2019 11:19
[食記] 中崙市場銅板美食- 阿弘潤餅
提供給喜歡潤餅的朋友
在中崙市場裡面的路口,有一家好吃的阿弘潤餅
原味售價 40元,另外還有其他口味可以選用
採自行投錢,找錢
每星期一、二固定在中崙市場會在中崙市場擺攤
大廚教你做台灣小吃:101道全台經典特色美食,在家複製美味上桌!
作者: 呂俊男, 蔡依迪
出版社:日日幸福
- Feb 20 Wed 2019 15:21
修改 windows 10 預設的 ntp server
- Feb 19 Tue 2019 16:40
解決 windows 10 無法連線 smb1 問題
新買的 win 10 桌機或是筆電
如果要連上只支援 SMBv1 的 NAS 或是 samba server 的時候
可能會出現以下的錯誤訊息
"因為檔案共用不安全,所以無法連線。此共用需要過時的 SMB1 通訊協定,而這個通訊協定既不安全,而且可能使您的系統容易受到攻擊
您的系統需要 SMB2 或是更高版本"
- Feb 15 Fri 2019 10:54
汐止文化里康誥坑溪櫻花步道
汐止連下幾天雨,好不容易今天稍微乾一點
來汐止文化里的櫻花步道逛逛
但看來今年太晚去了,大部分的花都已經掉的差不多了
連櫻花果實都已經長出來了
怎麼去
搭乘台鐵到汐科站,由北站出口出站,往新台五路方向步行約數百公尺
或是搭乘公車,在連新街口下車,往南港方向步行約數十公尺
檢視較大的地圖