Page 1 of 1
วิธีเปิด - ปิด โปรแกรม PlanetOne ERP ด้วย โปรแกรม Putty
Posted: 22 Apr 2015, 13:18
by brid.Suchalee
วิธีเปิดโปรแกรม
1.ติดตั้ง putty โดยการดับเบิลคลิกที่ไอคอน
![1.png](./download/file.php?id=122&sid=d658d524a39a6abf7325e955408baac0)
- 1.png (6.03 KiB) Viewed 11019 times
2. ที่ Host Name ใส่ IP Address ของ Server หรือ dyndns จากนั้นคลิก Open
![2.png](./download/file.php?id=123&sid=d658d524a39a6abf7325e955408baac0)
- 2.png (120.85 KiB) Viewed 11019 times
3.จะพบหน้าจอ Login as :ให้พิมพ์ชื่อ admin เช่น testadmin(ชื่อย่อบริษัทตามด้วย admin) จากนั้น Enter
![3.png](./download/file.php?id=124&sid=d658d524a39a6abf7325e955408baac0)
- 3.png (8.41 KiB) Viewed 11019 times
Re: วิธีเปิด - ปิด โปรแกรม PlanetOne ERP ด้วย โปรแกรม Putty
Posted: 22 Apr 2015, 13:20
by brid.Suchalee
4.ใส่ password ของ admin เช่น test.
![4.png](./download/file.php?id=125&sid=d658d524a39a6abf7325e955408baac0)
- 4.png (12.13 KiB) Viewed 11018 times
จากนั้นจะพบกับหน้าจอ Terminal ให้ดำเนินการต่อดังนี้
1.เปิดฐานข้อมูล
1.1 พิมพ์ su – postgres แล้ว Enter
![5.png](./download/file.php?id=126&sid=d658d524a39a6abf7325e955408baac0)
- 5.png (16.46 KiB) Viewed 11018 times
1.2 Password พิมพ์ _ _ _admin. แล้ว Enter (หมายเหตุ _ _ _ คือตัวย่อบริษัท)
![6.png](./download/file.php?id=127&sid=d658d524a39a6abf7325e955408baac0)
- 6.png (18.31 KiB) Viewed 11018 times
Re: วิธีเปิด - ปิด โปรแกรม PlanetOne ERP ด้วย โปรแกรม Putty
Posted: 22 Apr 2015, 13:24
by brid.Suchalee
1.3 จากนั้นพิมพ์ ./pgsql_start & แล้ว Enter
![7.png](./download/file.php?id=128&sid=d658d524a39a6abf7325e955408baac0)
- 7.png (19.89 KiB) Viewed 11018 times
หากต้องการปิดฐานข้อมูลให้พิมพ์ ./pgsql_stop
จากนั้นพิมพ์ Ctrl +C
2.เปิด NorthStarDirectory เพื่อให้ระบบเช็คข้อมูล Client ที่ Log On
![8.png](./download/file.php?id=129&sid=d658d524a39a6abf7325e955408baac0)
- 8.png (12.35 KiB) Viewed 11018 times
2.1พิมพ์ nsd & แล้ว Enter ให้ระบบรันจนถึง Waiting for Client Connection..จากนั้นพิมพ์ Ctrl +C
![9.png](./download/file.php?id=130&sid=d658d524a39a6abf7325e955408baac0)
- 9.png (142.13 KiB) Viewed 11018 times
Re: วิธีเปิด - ปิด โปรแกรม PlanetOne ERP ด้วย โปรแกรม Putty
Posted: 22 Apr 2015, 13:27
by brid.Suchalee
3.เปิด NorthStarMaster เพื่อให้ระบบเช็คข้อมูลหลักทั้งระบบ
![10.png](./download/file.php?id=132&sid=d658d524a39a6abf7325e955408baac0)
- 10.png (22.64 KiB) Viewed 11018 times
3.1 พิมพ์ nsm & แล้ว Enter ให้ระบบรันจนถึง Waiting for Client Connection.... จากนั้นพิมพ์ Ctrl +C
![11.png](./download/file.php?id=133&sid=d658d524a39a6abf7325e955408baac0)
- 11.png (124.93 KiB) Viewed 11018 times
** หมายเหตุ **
- หากต้องการ Restart nsd และ nsm เมื่อ Log in ผ่าน putty แล้ว ให้พิมพ์คำสั่ง pkill java แล้วดำเนินการเปิดโปรแกรมเป็นลำดับต่อไป ( เปิด NorthStarDirectory ,เปิด NorthStarMaster )
- หากต้องการ Restart ให้ใช้คำสั่ง sudo reboot จากนั้น enter แล้วใส่ password รอ Server เปิดอีกครั้งจึงเข้า putty ใหม่แล้วดำเนินการเปิดฐานข้อมูลและโปรแกรมเป็นลำดับต่อไป
- หากต้องการปิดเครื่อง ให้ใช้คำสั่ง sudo shutdown -h now จากนั้น enter แล้วใส่ password