Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - rcschaff

Pages: 1 ... 40 41 [42] 43 44 ... 57
616
CWP API / Re: CWP API - Error SSL with IP or FQDN
« on: April 28, 2020, 08:38:38 AM »
Make sure /usr/local/cwpsrv/conf.d/api.conf   exists
Make sure /usr/local/cwpsrv/conf/cwpsrv.conf contains the line include /usr/local/cwpsrv/conf.d/*.conf;

617
Seriously, does no one know how to search the forum.

http://forum.centos-webpanel.com/index.php?topic=8783.msg30569#msg30569

618
CentOS 7 Problems / Re: configure server vps centos7 for RTMP protocol
« on: April 28, 2020, 03:56:05 AM »
Step 3
Code: [Select]
sudo ln -s /usr/lib64/nginxrtmp/modules /etc/nginxrtmp/modules
nano /usr/lib/systemd/system/nginxrtmp.service
Code: [Select]
[Unit]
Description=nginxrtmp - high performance web server
Documentation=https://nginx.org/en/docs/
After=network-online.target remote-fs.target nss-lookup.target
Wants=network-online.target
[Service]
Type=forking
PIDFile=/var/run/nginxrtmp.pid
ExecStartPre=/usr/sbin/nginxrtmp -t -c /etc/nginxrtmp/nginx.conf
ExecStart=/usr/sbin/nginxrtmp -c /etc/nginxrtmp/nginx.conf
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill -s TERM $MAINPID
[Install]
WantedBy=multi-user.target

systemctl enable nginxrtmp

cd /etc/nginxrtmp/
rm nginx.conf
nano nginx.conf
Code: [Select]
#user  nobody;
worker_processes  1;

#error_log  logs/error.log;
#error_log  logs/error.log  notice;
#error_log  logs/error.log  info;

#pid        logs/nginx.pid;


events {
    worker_connections  1024;
}

rtmp {
    server {
        listen 1935; # Standard port
        chunk_size 8192;
        # Application configuration
        application origin_ffmpeg_1 {
            live on;
            record off;
            meta copy;
            exec ffmpeg -i rtmp://localhost:1935/origin_ffmpeg_1/$name <parameters/libs/modules> rtmp://localhost:1935/live_ffmpeg_1/$name_1;
        }
        application live_ffmpeg_1 {
            live on;
            record off;
        }
    }
}

systemctl start nginxrtmp


Now you should be able to follow the rest of the directions.  Please note in step 8, that nginx.conf is in /etc/nginxrtmp

619
CentOS 7 Problems / Re: configure server vps centos7 for RTMP protocol
« on: April 28, 2020, 03:43:19 AM »
Here's a solution for you.  Your installing NGINX, but seperate from the httpd nginx.  (You'll notice cwpsrv is actually nginx).

Steps 1 & 2
Code: [Select]
sudo yum -y groupinstall 'Development Tools'
sudo yum -y install epel-release
sudo yum install openssl-devel
sudo yum install -y pcre-devel

wget https://nginx.org/download/nginx-1.18.0.tar.gz
tar -xzvf nginx-1.18.0.tar.gz


Code: [Select]
./configure --prefix=/etc/nginxrtmp --sbin-path=/usr/sbin/nginxrtmp --modules-path=/usr/lib64/nginxrtmp/modules --conf-path=/etc/nginxrtmp/nginx.conf --error-log-path=/var/log/nginxrtmp/error.log --pid-path=/var/run/nginxrtmp.pid --lock-path=/var/run/nginxrtmp.lock --user=nginx --group=nginx --build=CentOS --builddir=nginx-1.18.0 --http-log-path=/var/log/nginxrtmp/access.log --http-client-body-temp-path=/var/cache/nginxrtmp/client_temp --http-proxy-temp-path=/var/cache/nginxrtmp/proxy_temp --http-fastcgi-temp-path=/var/cache/nginxrtmp/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginxrtmp/uwsgi_temp --http-scgi-temp-path=/var/cache/nginxrtmp/scgi_temp --with-select_module --with-poll_module --with-threads --with-file-aio --with-http_ssl_module --with-http_v2_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_auth_request_module --with-http_random_index_module --with-http_secure_link_module --with-http_degradation_module --with-http_slice_module --with-http_stub_status_module --with-mail=dynamic --with-mail_ssl_module --with-stream=dynamic --with-stream_ssl_module --with-stream_realip_module --with-stream_ssl_preread_module --with-compat --add-module=../nginx-rtmp-module --with-debug


620
CentOS 7 Problems / Re: Why CWP is generating tmpfs ?
« on: April 28, 2020, 02:59:39 AM »

621
E-Mail / Re: Gmail Marks Emails As Spam
« on: April 28, 2020, 02:55:59 AM »
Seeing as your not blacklisted, your best option would be to have people mark your email as "Not Spam", and hope you get some reputation with the almight GMasters.

622
CWP API / Re: CWP API - Error SSL with IP or FQDN
« on: April 28, 2020, 02:18:15 AM »
systemctl status cwp-phpfpm

probably not running

systemctl enable cwp-phpfpm
systemctl start cwp-phpfpm

623
Let's Encrypt goes by the "Authoritative Nameservers" for any Domain/Subdomain.  So it's actually checking domain.com's NS's for the key.

The workaround, is to redirect the NS Authoritative domains.  In your example, in domain.com's NameServers, add the following

staging 600 in NS (Your Servers Nameserver1 here)
staging 600 in NS (Your Servers Nameserver2 here)

now when LE looks up staging.domain.com, domain.com's NS say:  whoops staging's NS is ..., look there.

This will also include ALL subdomains for staging.domain.com, so client.staging client2.staging etc will all use your servers Nameservers

 

624
Installation / Re: Is my server worthy?
« on: April 28, 2020, 02:08:21 AM »
Proper configuration is everything.  I've made VPS's with 2GB or ram do 500 customers at a time.  Best way would be to set it up, and stress test it before going live.

625
CentOS 7 Problems / Re: Problem send email pro CWP
« on: April 28, 2020, 02:03:23 AM »
1)  Can you send email to other services (Not Gmail)

2)  Check out firewall, and make sure TCP_OUT includes 25 as well as TCP_IN

3)  Check your ip using MXToolbox for Blacklists

626
Updates / Re: Broken ioncube and https
« on: April 28, 2020, 01:57:11 AM »
not recommended, but check out /etc/cron.daily

628
New Modules / [Module] CWP_IceCast
« on: April 27, 2020, 01:12:52 AM »
And IceCast Module for CWP.  Much like Shoutcast.   Please note this is in Alpha Stage.
https://github.com/rcschaff82/cwp_icecast


629
CentOS 7 Problems / Re: configure server vps centos7 for RTMP protocol
« on: April 26, 2020, 08:48:43 PM »
The issue you're going to have, is the nginx. You can recompile it, but there's no guarantee it won't be overwritten.

630
i'd suggest removing backups from /backup (Or wherever you store them)

 du -d 1 -h /

should tell you where all of your space is being taken up

Pages: 1 ... 40 41 [42] 43 44 ... 57