---
schema_version: "1"
id: ae59fdac16cb5ec214983ca69ac87c3f9fad9f9700d69142d0031ba59937e1b9
title: tsm initialize
collection: tableau
version: next
locale: th-th
portal_url: https://docs.salesforce.com/tableau/next/th-th/server-linux/cli_initialize_tsm.md
canonical_url: https://help.tableau.com/v0.0/server-linux/th-th/cli_initialize_tsm.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 266ab1ef1201a9639f5646f16514fff82eb180ce3a6a0b9f0aed77f39244f9b9
description: Reference for the tsm initialize command to initialize Tableau Server after applying changes.
---
[ข้ามไปยังเนื้อหาหลัก](#main-content)

# tsm initialize

คุณสามารถใช้คำสั่ง `tsm initialize` เพื่อเริ่มต้น Tableau Server

**หมายเหตุ:** คุณต้องใช้หรือละทิ้งการเปลี่ยนแปลงที่รอดำเนินการก่อนที่จะเรียกใช้ `tsm initialize` ไม่เช่นนั้นการเริ่มต้นจะล้มเหลว ใช้การเปลี่ยนแปลงที่รอดำเนินการโดยใช้คำสั่ง `[tsm pending-changes apply](https://help.tableau.com/v0.0/server-linux/th-th/cli_pending-changes.htm#pending-changes-apply)` ละทิ้งการเปลี่ยนแปลงที่รอดำเนินการที่คุณไม่ต้องการใช้โดยใช้ `[tsm pending-changes discard](https://help.tableau.com/v0.0/server-linux/th-th/cli_pending-changes.htm#pending-changes-discard)`

### สรุป

`tsm initialize [options] [global options]`

### ตัวเลือก

\-r,--start-server

ไม่บังคับ ปล่อยให้เซิร์ฟเวอร์ทำงานหลังจากการเริ่มต้นเสร็จสิ้น

## ตัวเลือกที่ใช้ได้ทุกส่วน

\-h, --help

ไม่บังคับ

แสดงความช่วยเหลือสำหรับคำสั่ง

\-p, --password <รหัสผ่าน>

จำเป็นต้องใช้ พร้อมด้วย `-u` หรือ `--username` หากไม่มีเซสชันที่ใช้งานอยู่

ระบุรหัสผ่านสำหรับผู้ใช้ที่ระบุใน `-u` หรือ `--username`

หากรหัสผ่านมีช่องว่างหรืออักขระพิเศษ ให้ใส่เครื่องหมายคำพูด:

`--password 'my password'`

\-s, --server https://<ชื่อโฮสต์>:8850

ไม่บังคับ

ใช้ที่อยู่ที่ระบุสำหรับ Tableau Services Manager URL ต้องขึ้นต้นด้วย `https` ได้แก่พอร์ต 8850 และใช้ชื่อเซิร์ฟเวอร์ไม่ใช่ที่อยู่ IP ตัวอย่างเช่น `https://<tsm_hostname>:8850` หากไม่มีการระบุเซิร์ฟเวอร์ จะถือว่าเป็น `https://<localhost | dnsname>:8850`

\--trust-admin-controller-cert

ไม่บังคับ

ใช้การตั้งค่าสถานะนี้เพื่อเชื่อถือใบรับรองที่ลงนามเองบนตัวควบคุม TSM สำหรับข้อมูลเพิ่มเติมเกี่ยวกับความเชื่อถือของใบรับรองและการเชื่อมต่อ CLI โปรดดูที่[เชื่อมต่อไคลเอ็นต์ TSM](https://help.tableau.com/v0.0/server-linux/th-th/tsm_overview.htm#Connecti)

\-u, --username <ชื่อผู้ใช้>

จำเป็นต้องใช้หากไม่มีเซสชันใดใช้งานอยู่ ร่วมกับ `-p` หรือ `--password`

ระบุบัญชีผู้ใช้ หากคุณไม่ได้รวมตัวเลือกนี้ คำสั่งจะเรียกใช้โดยใช้ข้อมูลเข้าสู่ระบบที่คุณเข้าสู่ระบบ