#How to install nginx 1.6.0
Explore tagged Tumblr posts
php-sp · 5 years ago
Text
PressFly - Monetized Articles System
New Post has been published on https://intramate.com/php-scripts/pressfly-monetized-articles-system/
PressFly - Monetized Articles System
LIVE PREVIEWGet it now for only $59
PressFly allows your users to write articles so they and you can earn money by getting paid per article view. PressFly includes a complete system for writing articles, publications, topics, news and posts. Also, it includes referrals system, withdrawal system with the ability to add unlimited withdrawal methods, Login with social networks like Facebook, Twitter & Google, translation ready, multiple captcha integrations like reCAPTCHA v2 Checkbox/invisible and Solve Media and much more!. The inspirational websites like buzzfeed.com, thenextweb.com, makeuseof.com, techcrunch.com, cracked.com, medium.com, whatculture.com, listverse.com & sportskeeda.com
Check the how to use script videos from here.
The script works on shared, VPS and dedicated hosting plans just check if your hosting company meets the script system requirements listed here. Also, you can find a list of recommended shared hosting companies here.
Demo Account
Frontend: https://pressfly.mightyscripts.xyz/ Administration Panel: https://pressfly.mightyscripts.xyz/login Email: [email protected] – Password: password
Main Features
Paid Views
PressFly will count paid views based on the following criteria:
The article’s visitor should gain reCAPTCHA V3 score equal to or greater than the score you set from the admin settings.
The article’s visitor must wait a number of seconds based on the article long.
The article’s visitor must be unique within 24 hours.(admin can change the number of paid views per IP per 24 hours from the admin settings)
Proxy/VPN visits will be excluded from earnings.
Adblock visits will be excluded from earnings.
Visitor IP changed will be excluded from earnings.
The article’s visitor must have JavaScript enabled.
The article’s visitor must have Cookies enabled.
Publishers
Publishers and you can earn money by showing ads on the articles pages
Ability to change the CPM (Cost Per Mille, thousands) for each country
Publishers have access to a powerful dashboard
Statistics sorted by Month & Year
Auto-generated line graphs
Can edit the articles
Admin can disable earnings for all users at any time and also can disable earnings per user
Admin can set the maximuim amount of paid views per 24 hours for each unique IP address
Force Disable Adblock into the article page
PressFly comes with reCAPTCHA V3 integration so admin can set the score for which the view will be valid for earnings. You can read more about the score feature from here
Withdrawal System
Admin can add an unlimited number of withdrawal methods like PayPal, Payza, Skrill, Bitcoin, WebMoney, PayTM or any other method
Publishers can withdraw their earned profits when they reached the minimum withdrawal amount based on their withdrawal method
Admin can set the withdrawal request status to approved, pending, complete and cancelled
Referrals System
The referral program is a great way to spread the word of this great service and to earn even more money
A user can refer other users and when these users earn the main user who referred then will also earn a percentage of their earnings.
Admin has the ability to set the referral Percentage
Admin can enable/disable the referral system
Captcha System
Support for reCAPTCHA v2 Checkbox captcha
Support for reCAPTCHA v2 Invisible captcha
Support for Solve Media captcha
Enable/Disable Captcha
Enable/Disable on login form
Enable/Disable on register form
Enable/Disable on forgot password form
Enable/Disable on contact form
Social Networks Login
Login with Facebook
Login with Twitter
Login with Google
Administration Panel
Easily accessible & make users admins
View site statistics on the dashboard
Change website name & description
Change default site language and timezone
Add your website logo
Enable SSL integration
Display Cookie Notification Bar
Set allowed upload file types
Set max upload file size
Mailchimp Newsletter
Enable/Disable Account Activation by Email
Ability to add code between <head> & </head> of the frontend
Ability to add code before of the frontend
Admin can ads into various positions like:
Top header(beside the logo)
Above article content
Below article content
Homepage
Ability to change currency code
Ability to change Currency symbol
Ability to ad Facebook Page URL
Ability to ad Twitter Profile URL
Ability to ad Google URL
SMTP email support
Ability to filter users, article, tags and categories
Members System
visitors can sign up and activation e-mails will be sent out
Allow users to reset their passwords
Allow users to change their email address
Translation Ready
Easliy translate PressFly to the language of your choice.
Categories
You can add unlimited categories with the ability to edit and delete.
Tags
You can add unlimited tags with the ability to edit and delete.
Posts
You can add unlimited posts with the ability to edit and delete.
Pages
You can add unlimited pages with the ability to edit and delete.
System Requirements
Required Extensions
PHP 7.2.0 or higher
pdo_mysql extension
curl extension
intl extension
gd extension
json extension
openssl extension
mbstring extension
tokenizer extension
ctype extension
xml extension
fileinfo extension
bcmath extension
Apache web server with mod_rewrite module enabled or Nginx web server
MySQL or MariaDB
Required Functions
putenv
getenv
The above requirements are available on almost the web hosts
Change Log
Version 2.2.1 - (14 October 19) - Enhancement: Remove the interstitial page from the ads protector - Other improvements and minor bug fixes Version 2.2.0 - (14 October 19) - Enhancement: Remove the interstitial page from the ads protector - Other improvements and minor bug fixes Version 2.1.1 - (12 October 19) Ads Protector enhancements Version 2.1.0 - (12 October 19) - Enhancement: Ads Protector enhancements - Fixed: Login via social networks isn't working - Update the GeoIP countries database - Other improvements and minor bug fixes Version 2.0.0 - (11 October 19) - New: Integrate IsProxyIP.com paid service to detect VPN, TOR, hosting data centers, public proxies, web proxies & Bad Search Engine Robots. New: Ads Protector >> Protect the ads using reCAPTCHA v3 score and protect the ads from proxies/VPNs,.. using IsProxyIP.com - Added: Review the article statuses - Added: SEO meta title, description & keywords for articles, categories, tags - Added: SEO keywords option for the entire site - Added: Canonical URL - Added: Share cards for facebook and Twitter - Added: vk.com and Pinterest share buttons - Added: Instagram, VK, YouTube, Pinterest, Instagram icons to the top bar - Added: Instagram and VK to the follow us widget - Added: Display article hits - Enhancement: Prevent classifying emails as spam - Enhancement: - Add a notice to upgrade PHP to 7.2.x or higher. - Enhancement: - Update the admin dashboard UI - Fixed: TinyMCE missing language error - Fixed: Newsletter widget error - Fixed: Members can't upload images bigger than 2MB - Fixed: Author popular widget gives 505 error when added in pages other than the author page - Other improvements and minor bug fixes Version 1.6.0 - (28 July 19) - Fixed: Improve the article view page performance - Other improvements and minor bug fixes Version 1.5.0 - (23 July 19) - New: Sitemap - New: Site RSS feed and category/author/tag RSS feed - New: RTL Support for frontend & member area - Added: Available Balance/Pending Withdrawn/Total Withdrawn into the withdraw page - Added: Option to change date/time format - Added: Allow new media embed Facebook Post, Facebook Video, Instagram, Pinterest - Added: Ability to add Ads between paragraphs - Added: users can upload a profile image - Enhancement: Related articles based on article tags - Enhancement: Add missing withdraw request reasons - Enhancement: Add TinyMCE more languages - Fixed: Featured image is not changing after article update - Fixed: Adsense responsive ads not showing - Fixed: Referral earnings are not working on some installations - Fixed: Empty withdraw request data - Fixed: Tags status issue - Fixed: User biography doesn't save - Fixed: Referrals date doesn't display on the member area - Other improvements and minor bug fixes Version 1.0.5 - (29 March 19) - Fixed: Sometimes error 500 on the admin dashboard - Fixed: Sometimes error 500 on the withdraw view page - Enhancement: Editor allow style attribute for img tag - Enhancement: Add default values for widgets - Enhancement: When deleting an article also delete its statistics - Other improvements and minor bug fixes Version 1.0.4 - (27 March 19) - Fixed: Error 500 on the article page - Fixed: Admin see the old article when viewing article pending for review - Fixed: published_at data not added to the new articles - Other improvements and minor bug fixes Version 1.0.3 - (25 March 19) - Fixed: Display correct image on Facebook - Fixed: Admin can't delete users - Other improvements and minor bug fixes Version 1.0.2 - (25 March 19) - Fixed: Login IP not saved - Fixed: Warning: count(): Parameter must be an array or an object that implements Countable - Other improvements and minor bug fixes Version 1.0.1 - (24 March 19) - General improvements Version 1.0.0 - (24 March 19) - First release
Credits
https://stocksnap.io/
https://pixabay.com/
https://www.pexels.com/
Bootstrap 4
Laravel
Font Awesome
Google Fonts
LIVE PREVIEWGet it now for only $59
0 notes
bitdemy-blog · 10 years ago
Text
New Post has been published on SEOUNION
New Post has been published on http://seounion.net/tutorials/how-to-install-nginx-1-6-0-from-source-on-centos-7/
How to install nginx 1.6.0 from source on CentOS 7
In this tutorial we will learn how to install nginx from source on CentOS 7 . Nginx has ability to handle more than 10,000 simultaneous connections with nearly 2.5 Mb of memory usage. In our previous post on installing nginx from source on CentOS/RHEL , we have already mention brief intro on Nginx.
Why we prefer installation of Nginx from source code
The only reason which we found that some module can only be installed with compilation method.
Follow the given below steps to install Nginx from source on CentOS 7
The steps are also applicable to RHEL 7 version.
Note: Login as root user in Server
Details : Nginx Version = 1.6.0 stable release Operating System = CentOS 7 O.S Arch = x86_64
Install EPEL repo
We will first install EPEL repo. At the time of writing, EPEL has version 7(beta) available. Hence, we are using the same repo
We suggest you to check once on EPEL repo site i.e http://dl.fedoraproject.org/pub/epel/
Install EPEL repo with below given command
rpm -ivh http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm
Install prerequisite packages
Install prerequisite packages require for Nginx installation
yum install gc gcc gcc-c++ pcre-devel zlib-devel make wget openssl-devel libxml2-devel libxslt-devel gd-devel perl-ExtUtils-Embed GeoIP-devel gperftools gperftools-devel libatomic_ops-devel perl-ExtUtils-Embed
Download Nginx source code
Download the latest available nginx source code from Nginx website
At the time of writing, Nginx version 1.6.0 was stable release. We suggest to always go for stable latest release.
Download by using wget command
wget nginx.org/download/nginx-1.6.0.tar.gz
Create nginx user
Create nginx user with nologin shell. This user will be used by Nginx Web Server .
useradd nginx usermod -s /sbin/nologin nginx
Compiling and installing Nginx
In this section, we will compile and install nginx from its source code. First, untar or extract the downloaded Nginx source package
tar -xvzf nginx-1.6.0.tar.gz
Change to extracted directory .In our case , nginx-1.6.0 directory extracted out.
cd nginx-1.6.0
You can find many available options and about their details by using command . We suggest you to read about all these options and run below given command . (It is part of learning)
./configure --help
Now we are using available options with configure script of Nginx . We will enable some modules at the time of compiling Nginx. Note: We highly recommend you to use ./configure --help command. It helps you a lot.
We have tried to enable almost all modules. You can also remove any module by removing it from this list.
./configure --user=nginx --group=nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --with-rtsig_module --with-select_module --with-poll_module --with-file-aio --with-ipv6 --with-http_ssl_module --with-http_spdy_module --with-http_realip_module --with-http_addition_module --with-http_xslt_module --with-http_image_filter_module --with-http_geoip_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_stub_status_module --with-http_perl_module --with-mail --with-mail_ssl_module --with-cpp_test_module --with-cpu-opt=CPU --with-pcre --with-pcre-jit --with-md5-asm --with-sha1-asm --with-zlib-asm=CPU --with-libatomic --with-debug --with-ld-opt="-Wl,-E"
Now run
make && make install
Start Nginx service
After completion of compiling and installation. Now we will start nginx service by using given below command
/usr/sbin/nginx -c /etc/nginx/nginx.conf
Check status of Nginx
We can use ps command, it will show running process of Nginx
ps -ef|grep nginx
Stop Nginx
To stop nginx we will first get the PID of running nginx service by using command ps -ef|grep nginx. By using kill command we will stop the process of nginx
kill -9 PID-Of-Nginx
See the below given reference for Start/Status/Stop method for Nginx service
[root@localhost ~]# /usr/sbin/nginx -c /etc/nginx/nginx.conf [root@localhost ~]# [root@localhost ~]# ps -ef|grep nginx root 5071 1 0 07:13 ? 00:00:00 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf nginx 5072 5071 0 07:13 ? 00:00:00 nginx: worker process root 5074 1879 0 07:13 pts/0 00:00:00 grep --color=auto nginx [root@localhost ~]# [root@localhost ~]# [root@localhost ~]# kill -9 5071 5072 [root@localhost ~]#
In above section, we can see PID no. 5071 and 5072 are running . Hence we killed it by using command kill -9 5071 5072
Add iptables rule for Nginx
Because it is webserver , by default it will run on port no. 80 i.e HTTP protocol. Hence, we will permit port no. 80 to be access from all.
Temporary adding iptable rule for HTTP
iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT
Permanently adding iptable rule for HTTP
Edit the file, /etc/sysconfig/iptables by using your favorite file editor. We use vi .
vi /etc/sysconfig/iptables
Now add the below given line at INPUT section of iptables
-A INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT
See below given screenshot, check the position of iptable rule for HTTP(port 80)
Now restart the iptables service
systemctl restart iptables
Check the all applied iptables rule list by using command
iptables -nL
Access Website from web browser
Now open the webbrowser (chrome,firefox,etc) and type the IP address of your Nginx web server. In my case, our ipaddress is 192.168.56.102
See the below given screenshot, it shows the default welcome page of Nginx
0 notes