VoIP: (05.02.09) Hướng dẫn khởi động các Service liên quan đến FusionPBX v4.4 trên CentOS 7 (64bit)

By , 0 View

Mục tiêu thực hành:
- Khởi động các Services liên quan đến FreeSwitch trên CentOS 7.

Các bước triển khai:
Khởi động các Services liên quan đến FreeSwitch trên CentOS 7.
- Khởi động và kiểm tra trạng thái FreeSwitch v1.6.
systemctl start freeswitch.service
systemctl enable freeswitch.service
systemctl restart freeswitch.service

[root@localhost tmp]# systemctl status freeswitch.service
● freeswitch.service - freeswitch
   Loaded: loaded (/etc/systemd/system/freeswitch.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2021-05-04 13:55:37 +07; 36min ago
  Process: 992 ExecStart=/usr/bin/freeswitch -u freeswitch -g freeswitch -ncwait $DAEMON_OPTS (code=exited, status=0/SUCCESS)
  Process: 976 ExecStartPre=/bin/chown -R freeswitch:daemon /usr/local/freeswitch (code=exited, status=0/SUCCESS)
 Main PID: 996 (freeswitch)
   CGroup: /system.slice/freeswitch.service
           └─996 /usr/bin/freeswitch -u freeswitch -g freeswitch -ncwait -nonat

May 04 13:55:35 localhost.localdomain systemd[1]: Starting freeswitch...
May 04 13:55:35 localhost.localdomain freeswitch[992]: 996 Backgrounding.
May 04 13:55:37 localhost.localdomain freeswitch[992]: FreeSWITCH[992] Waiting for background process pid:996 to be ready.....
May 04 13:55:37 localhost.localdomain freeswitch[992]: FreeSWITCH[992] System Ready pid:996
May 04 13:55:37 localhost.localdomain systemd[1]: Started freeswitch.
[root@localhost tmp]# 

- Khởi động dịch vụ Apache Web Server và kiểm tra phiên bản PHP Version hiện đang được sử dụng trên CentOS 7 bằng cách truy cập tới đường dẫn http://192.168.100.122/info.php
[root@localhost ~]# systemctl start httpd
[root@localhost ~]# sudo systemctl status httpd

- Start/Restart/Enable PostgreSQL.
systemctl enable postgresql-9.6.service
systemctl start postgresql-9.6.service
systemctl restart postgresql-9.6 
systemctl status postgresql-9.6 

[root@localhost ~]# cd /tmp
[root@localhost tmp]# sudo -u postgres psql
psql (9.6.21)
Type "help" for help.

postgres=# postgres=#\q
[root@localhost tmp]# 

- Kiểm tra trạng thái SELinux đang được disabled.
[root@localhost tmp]# sestatus
SELinux status:                 disabled
[root@localhost tmp]# 

- Tắt Firewall trên CentOS 7.
[root@localhost tmp]# systemctl stop firewalld

- Kiểm tra thời gian hiện tại trên CentOS 7.
[root@localhost tmp]# timedatectl status
      Local time: Tue 2021-05-04 14:29:23 +07
  Universal time: Tue 2021-05-04 07:29:23 UTC
        RTC time: Tue 2021-05-04 07:29:23
       Time zone: Asia/Ho_Chi_Minh (+07, +0700)
     NTP enabled: yes
NTP synchronized: yes
 RTC in local TZ: no
      DST active: n/a
[root@localhost tmp]# 

Mọi thắc mắc các bạn vui lòng liên hệ với mình thông qua kênh Zalo (Jade Bùi) 076.877.2021.

You Might Also Like

0 comments