PIXNET Logo登入

片刻、瞬間、不知所云...

跳到主文

生命中的點點滴滴,化成一個個字,不知道在說些甚麼...

部落格全站分類:生活綜合

  • 相簿
  • 部落格
  • 留言
  • 名片
  • 7月 26 週二 202214:52
  • ubuntu 20.04基礎安裝與設定

圖片

參考文獻:
https://blog.xuite.net/yh96301/blog/242333268
https://tw511.com/a/01/885.html
 

1. rufus做開機USB stick。資料分割配置要選GPT格式。

2. 進BIOS使用UEFI USB開機。

3. 設定網路卡。

4. 語言選中文。 用英文介面安裝,速度快又穩。不要一開始就選中文。

(繼續閱讀...)
文章標籤

貓熊麗麗 發表在 痞客邦 留言(0) 人氣(258)

  • 個人分類:工作記錄
▲top
  • 6月 16 週三 202123:18
  • 練習-外站圖表插入

https://public.tableau.com/views/9-_16238324831150/sheet3?:language=zh-TW&:increment_view_count=no&:embed_code_version=3&:loadOrderID=0&:display_count=n&:origin=viz_share_link

全北區與各分店重量與包數比較

 

(繼續閱讀...)
文章標籤

貓熊麗麗 發表在 痞客邦 留言(0) 人氣(12)

  • 個人分類:快樂工作
▲top
  • 3月 10 週三 202115:05
  • Win10中更換Samba帳號

擷取.JPG

參考資料:
https://www.ichiayi.com/tech/winxp_samba
https://freetoad.pixnet.net/blog/post/23509679
http://arbitrarytsai.blogspot.com/2019/10/fix.html

 

在Win10上也適用。

1. 在windows端進入cmd mode。

2. 列出這台pc目前所有的連線,即使是已經中斷的也會列出來。

(繼續閱讀...)
文章標籤

貓熊麗麗 發表在 痞客邦 留言(2) 人氣(2,166)

  • 個人分類:工作記錄
▲top
  • 3月 10 週三 202114:07
  • ubuntu 安裝Samba

安裝Samba:

參考文獻:
https://magiclen.org/ubuntu-server-samba/
https://tsaiyuyan.github.io/2019/04/09/ubuntu-she-ding-samba-fen-xiang-dang-an/
https://www.itread01.com/content/1550441893.html

 

# apt-get install samba  <<<光是安裝好,在console上設定成分享,就可以用了。但這樣做好的samba只有第一個使用者可以開分享,其他使用者不行。所以要繼續進行後續設定。

# smbpasswd -a steventsai   <<<這個使用者要先在OS上建好。
New SMB password:
Retype new SMB password:
Added user steventsai.
# smbpasswd -e steventsai <<<要啟用。
Enabled user steventsai.

(繼續閱讀...)
文章標籤

貓熊麗麗 發表在 痞客邦 留言(0) 人氣(51)

  • 個人分類:工作記錄
▲top
  • 2月 08 週一 202115:47
  • Ubuntu 20.04 安裝MySQL 8.0.24

參考文獻:https://www.mdeditor.tw/pl/pw03/zh-tw

# sudo apt-get update

# apt-get install mysql-server, mysql-client, libmysqlclient-dev(C語言相關庫)

安裝Mysql Secure

# sudo mysql_secure_installation

(繼續閱讀...)
文章標籤

貓熊麗麗 發表在 痞客邦 留言(0) 人氣(69)

  • 個人分類:工作記錄
▲top
  • 2月 03 週三 202117:02
  • ubuntu(linux) 目錄繼承父系權限

參考文獻:http://www.unixlinux.online/unixlinux/linuxjc/linuxjc/201702/35313.html

實際用法:使用setfacl和getfacl指令

# getfacl sf <<<查詢目錄的ACL
# file: sf
# owner: steventsai
# group: rddata
user::rwx
group::rwx
group:rddata:rwx
mask::rwx
other::r-x
default:user::rwx
default:group::rwx
default:group:rddata:rwx
default:mask::rwx
default:other::r-x

設定使用者權限:

# setfacl -R -m u:ytliu:rwx sf   <<<-R表示這個目錄以下的所有檔案目錄一起設。u: 表示設定使用者。

(繼續閱讀...)
文章標籤

貓熊麗麗 發表在 痞客邦 留言(0) 人氣(261)

  • 個人分類:工作記錄
▲top
  • 1月 25 週一 202111:03
  • Event ID 10016 錯誤

參考資料:https://cput5800.blogspot.com/2017/03/ms-sql-clsid.html

圖片

Server 2016發生錯誤訊息如上:

解決方式:

開啟元件服務>>>電腦>>>我的電腦>>>DCOM設定>>>Microsoft SQL Server Integration Services 13.0

(繼續閱讀...)
文章標籤

貓熊麗麗 發表在 痞客邦 留言(0) 人氣(132)

  • 個人分類:工作記錄
▲top
  • 1月 11 週一 202117:54
  • ubuntu 20.04隱藏關機功能

圖片

參考文獻:https://vivaldi.club/d/11869

# vi /etc/polkit-1/localauthority/50-local.d/restrict-login-powermgmt.pkla

[Disable lightdm PowerMgmt]
Identity=unix-user:*
Action=org.freedesktop.login1.reboot;org.freedesktop.login1.reboot-multiple-sessions;org.freedesktop.login1.power-off;org.freedesktop.login1.power-off-multiple-sessions;org.freedesktop.login1.suspend;org.freedesktop.login1.suspend-multiple-sessions;org.freedesktop.login1.hibernate;org.freedesktop.login1.hibernate-multiple-sessions
ResultAny=no
ResultInactive=no
ResultActive=no

:x

再用gui介面登入後就會發現沒有poweroff的按鈕了。

(繼續閱讀...)
文章標籤

貓熊麗麗 發表在 痞客邦 留言(0) 人氣(77)

  • 個人分類:工作記錄
▲top
  • 1月 11 週一 202109:57
  • ubuntu 安裝MatLab R2020b

參考資料:https://linuxconfig.org/how-to-install-matlab-on-ubuntu-20-04-focal-fossa-linux

需在GUI介面下進行安裝。

1. download matlab 到ubuntu下。要記得選對版本,要用linux版本。
/home/user/Downloads/matlab_R2020b_glnza64.zip
圖片

2. 新增解開的目錄,將剛剛下載的檔案解開:
# mkdir /home/user/Downloads/matlab
# unzip -q matlab_R2020b_glnza64.zip -d matlab

3. 新增要安裝的地方:
# mkdir -p /usr/local/MATLAB/R2020b/

(繼續閱讀...)
文章標籤

貓熊麗麗 發表在 痞客邦 留言(0) 人氣(276)

  • 個人分類:工作記錄
▲top
  • 1月 08 週五 202110:41
  • ubuntu adduser+home

# adduser stduser
Adding user `stduser' ...
Adding new group `stduser' (1004) ...
Adding new user `stduser' (1004) with group `stduser' ...
Creating home directory `/home/stduser' ...
Copying files from `/etc/skel' ...
New password:
Retype new password:
passwd: password updated successfully
Changing the user information for stduser
Enter the new value, or press ENTER for the default
        Full Name []: Standard User Template
        Room Number []:
        Work Phone []:
        Home Phone []:
        Other []:
Is the information correct? [Y/n] y

然後到console上以新帳號登入機器,系統會自己建X-windows的環境:/home/user/Desktop等等等。

因為要使用某些CAD,所以要複製環境變數過來:

# cp /home/olduser/.bashrc /home/newuser/.bashrc
# source .bashrc  <<<啟用環境變數。
# cp /home/olduser/Desktop/anaconda-navigator.desktop /home/newuser/.local/share/application/*.desktop
就會生出anaconda的link。

↑這個作法是每個user要個別設置喔。

(繼續閱讀...)
文章標籤

貓熊麗麗 發表在 痞客邦 留言(0) 人氣(36)

  • 個人分類:工作記錄
▲top
12...86»

個人頭像

貓熊麗麗
暱稱:
貓熊麗麗
分類:
生活綜合
好友:
累積中
地區:

近期文章

    文章分類

    toggle 到處亂逛(國內) (2)
    • 國內旅遊 (37)
    • 新竹地區 (23)
    toggle 隨便亂跑(國外) (18)
    • 104日本沖繩行 (8)
    • 106妙高滑雪 (1)
    • 國外旅遊 (1)
    • 103大陸新疆行(北疆) (12)
    • 103日本東京行 (2)
    • 102日本神戶奈良行 (4)
    • 102新加坡之旅 (3)
    • 101尼泊爾之旅(團) (11)
    • 100曼谷清邁遊 (23)
    • 100黃山歸鄉行(團) (6)
    • 99北京歸線 (3)
    • 99曼谷行 (11)
    • 98吳哥窟(團) (10)
    • 97香港蘆山行 (15)
    • 97日本北海道道東行 (7)
    • 96土耳其之旅(團) (13)
    • 92日本京都奈良行 (8)
    • 美國 (6)
    toggle 腦內深處 (4)
    • 讀書心得 (43)
    • 電影感想 (24)
    • 文藝心靈 (36)
    • 無聲吶喊 (21)
    toggle 零零碎碎 (8)
    • 家有寶貝 (5)
    • 迷你小花園 (19)
    • 工作記錄 (87)
    • 廚房實驗室 (49)
    • 大銀小銀轉轉樂 (6)
    • 踩地雷遊戲 (104)
    • 快樂工作 (38)
    • 生活有感 (136)
    • 隨手亂拍 (80)
    • 未分類文章 (1)

    文章搜尋

    囉哩叭唆

    參觀人氣

    • 本日人氣:
    • 累積人氣: