วิธีเปิด - ปิด โปรแกรม PlanetOne ERP ด้วย โปรแกรม Putty

Post Reply
brid.Suchalee
Posts: 56
Joined: 29 Mar 2013, 13:47

วิธีเปิด - ปิด โปรแกรม PlanetOne ERP ด้วย โปรแกรม Putty

Post by brid.Suchalee »

วิธีเปิดโปรแกรม
1.ติดตั้ง putty โดยการดับเบิลคลิกที่ไอคอน
1.png
1.png (6.03 KiB) Viewed 10988 times
2. ที่ Host Name ใส่ IP Address ของ Server หรือ dyndns จากนั้นคลิก Open
2.png
2.png (120.85 KiB) Viewed 10988 times
3.จะพบหน้าจอ Login as :ให้พิมพ์ชื่อ admin เช่น testadmin(ชื่อย่อบริษัทตามด้วย admin) จากนั้น Enter
3.png
3.png (8.41 KiB) Viewed 10988 times
brid.Suchalee
Posts: 56
Joined: 29 Mar 2013, 13:47

Re: วิธีเปิด - ปิด โปรแกรม PlanetOne ERP ด้วย โปรแกรม Putty

Post by brid.Suchalee »

4.ใส่ password ของ admin เช่น test.
4.png
4.png (12.13 KiB) Viewed 10987 times
จากนั้นจะพบกับหน้าจอ Terminal ให้ดำเนินการต่อดังนี้
1.เปิดฐานข้อมูล
1.1 พิมพ์ su – postgres แล้ว Enter
5.png
5.png (16.46 KiB) Viewed 10987 times
1.2 Password พิมพ์ _ _ _admin. แล้ว Enter (หมายเหตุ _ _ _ คือตัวย่อบริษัท)
6.png
6.png (18.31 KiB) Viewed 10987 times
brid.Suchalee
Posts: 56
Joined: 29 Mar 2013, 13:47

Re: วิธีเปิด - ปิด โปรแกรม PlanetOne ERP ด้วย โปรแกรม Putty

Post by brid.Suchalee »

1.3 จากนั้นพิมพ์ ./pgsql_start & แล้ว Enter
7.png
7.png (19.89 KiB) Viewed 10987 times
หากต้องการปิดฐานข้อมูลให้พิมพ์ ./pgsql_stop
จากนั้นพิมพ์ Ctrl +C
2.เปิด NorthStarDirectory เพื่อให้ระบบเช็คข้อมูล Client ที่ Log On
8.png
8.png (12.35 KiB) Viewed 10987 times
2.1พิมพ์ nsd & แล้ว Enter ให้ระบบรันจนถึง Waiting for Client Connection..จากนั้นพิมพ์ Ctrl +C
9.png
9.png (142.13 KiB) Viewed 10987 times
brid.Suchalee
Posts: 56
Joined: 29 Mar 2013, 13:47

Re: วิธีเปิด - ปิด โปรแกรม PlanetOne ERP ด้วย โปรแกรม Putty

Post by brid.Suchalee »

3.เปิด NorthStarMaster เพื่อให้ระบบเช็คข้อมูลหลักทั้งระบบ
10.png
10.png (22.64 KiB) Viewed 10987 times
3.1 พิมพ์ nsm & แล้ว Enter ให้ระบบรันจนถึง Waiting for Client Connection.... จากนั้นพิมพ์ Ctrl +C
11.png
11.png (124.93 KiB) Viewed 10987 times
** หมายเหตุ **
- หากต้องการ Restart nsd และ nsm เมื่อ Log in ผ่าน putty แล้ว ให้พิมพ์คำสั่ง pkill java แล้วดำเนินการเปิดโปรแกรมเป็นลำดับต่อไป ( เปิด NorthStarDirectory ,เปิด NorthStarMaster )
- หากต้องการ Restart ให้ใช้คำสั่ง sudo reboot จากนั้น enter แล้วใส่ password รอ Server เปิดอีกครั้งจึงเข้า putty ใหม่แล้วดำเนินการเปิดฐานข้อมูลและโปรแกรมเป็นลำดับต่อไป
- หากต้องการปิดเครื่อง ให้ใช้คำสั่ง sudo shutdown -h now จากนั้น enter แล้วใส่ password
Post Reply

Return to “หัวข้อทั่วไป”