首先你需要有一个阿里云账号,首次注册可免费领取试用服务器,然后进行服务器系统选择,如图
这里我们选择使用Centos5.8,并且自定义服务器密码 !更换完毕后服务器状态显示启动中
等待服务器系统安装完毕,显示“运行中”我们再登录SSH
成功登录SSH,我们首先更换系统yum,执行以下命令
[root@iZ2vc3f10hauee9qqv93n2Z ~]# rm -rf /etc/yum.repos.d/*
[root@iZ2vc3f10hauee9qqv93n2Z ~]# wget -O /etc/yum.repos.d/CentOS-Base.repo ftp://028.f3322.net/CentOS5-Base.repo
--2023-06-22 10:25:30-- ftp://028.f3322.net/CentOS5-Base.repo
=> `/etc/yum.repos.d/CentOS-Base.repo'
正在解析主机 028.f3322.net... 119.7.250.80
Connecting to 028.f3322.net|119.7.250.80|:21... 已连接。
正在以 anonymous 登录 ... 登录成功!
==> SYST ... 完成。 ==> PWD ... 完成。
==> TYPE I ... 完成。 ==> 不需要 CWD。
==> SIZE CentOS5-Base.repo ... 341
==> PASV ... 完成。 ==> RETR CentOS5-Base.repo ... 完成。
长度:341
100%[=======================================================================================================================================================================>] 341 --.-K/s in 0s
2023-06-22 10:25:31 (54.2 MB/s) - `/etc/yum.repos.d/CentOS-Base.repo' saved [341]
[root@iZ2vc3f10hauee9qqv93n2Z ~]# yum clean all
Loaded plugins: security
Cleaning up Everything
[root@iZ2vc3f10hauee9qqv93n2Z ~]# yum makecache
Loaded plugins: security
base | 1.3 kB 00:00
base/filelists | 3.7 MB 00:00
base/other | 13 MB 00:04
base/group | 1.1 MB 00:00
base/primary | 1.3 MB 00:00
base 3663/3663
base 3663/3663
base 3663/3663
Metadata Cache Created
[root@iZ2vc3f10hauee9qqv93n2Z ~]#
然后我们上传安装包以及安装脚本,并且给脚本执行权限
[root@iZ2vc3f10hauee9qqv93n2Z ~]# chmod +x install.sh
[root@iZ2vc3f10hauee9qqv93n2Z ~]# ll
总计 34344
-rwxr-xr-x 1 root root 1744 06-22 10:30 install.sh
-rw-r--r-- 1 root root 35122299 06-22 10:28 zm-G729-C2023.tar
[root@iZ2vc3f10hauee9qqv93n2Z ~]# sh install.sh
执行以上命令即可等待脚本自动安装,安装过程全自动,无需手动
安装完毕后执行 netstat -nlp 查看是否安装成功
然后我们打开浏览器登录试试
这里的默认账号密码都是 admin,登录后根据KEY获取注册授权,注册后即可正常使用了
可以对接标准SIP协议的软交换,至此已经安装完毕!
祝您好运连连!