---
schema_version: "1"
id: 7e64f93914c560cb9ab60749e47f80b35adc11716e29158f2b349c8c1a8dc2d0
title: tsm initialize
collection: tableau
version: current
locale: th-th
portal_url: https://docs.salesforce.com/tableau/current/th-th/server/cli_initialize_tsm.md
canonical_url: https://help.tableau.com/current/server/th-th/cli_initialize_tsm.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 53bffb7fc9eb62019af6b361f625c989c0227eb5664c52b2f14d041659f6187a
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/current/server/th-th/cli_pending-changes.htm#pending-changes-apply)` ละทิ้งการเปลี่ยนแปลงที่รอดำเนินการที่คุณไม่ต้องการใช้โดยใช้ `[tsm pending-changes discard](https://help.tableau.com/current/server/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/current/server/th-th/tsm_overview.htm#Connecti)

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

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

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