Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Militarylz Posted March 17, 2014 Posted March 17, 2014 I just recently setup my IPB boards with that setup and if enough people are interested in a blazing fast no-panel install like this: Centmin Mod (Nginx, MariaDB, PHP-FPM, CSF, APC) SSL And SPDY with POP Outlook Live Domains for e-mail and piping. I will take what documentation I did and turn it into a full fledged guide. I am an advocate of no-panel installs and management so I hope there is enough interest for me to go ahead with the guide. MilitaryLz
Aussie Cable Posted March 17, 2014 Posted March 17, 2014 Any guide is a great addition to what we already have here in this section. I think go ahead, I would be very interested in your server setup guide :thumbsup:
Makoto Posted March 17, 2014 Posted March 17, 2014 I've never personally used Centmin myself, but Centmin successfully destroyed my dreams of creating my own software to do this a long time ago. Seems to do literally everything I thought of implementing. Nginx + PHP-FPM installation with Google SPDY and Pagespeed support, and MariaDB. It even uses NSD, which very few people I know of other than myself actually use. Though I don't use CentOS (I'm a Debian user), Centmin still looks really impressive to me, better than anything I could probably do. I'll probably still write my own config file management application for the learning experience and personal use eventually, I think I might install Centmin on a VM for inspiration whenever I do :tongue: If you think people will find a guide for using Centmin useful though, go for it. I had a rather in-depth Nginx + PHP-FPM guide up here before, which I've still been meaning to post an updated version of. I often push people on here who don't need them to abandon web panels as well, but I also like to encourage people to learn how to set all of this up themselves instead of using automated installation scripts without understanding anything the script is actually doing for them.
jair101 Posted March 17, 2014 Posted March 17, 2014 I am very much interested in such guide as I am totally dissapointed in Virtualmin and I plan to move away to Centminmod in the near future.
p4guru Posted March 17, 2014 Posted March 17, 2014 I had a rather in-depth Nginx + PHP-FPM guide up here before, which I've still been meaning to post an updated version of. I often push people on here who don't need them to abandon web panels as well, but I also like to encourage people to learn how to set all of this up themselves instead of using automated installation scripts without understanding anything the script is actually doing for them. Indeed one of the dangers of automated scripts is the proper understanding of what you install and how it all comes together or even worse, forgetting what you already learnt :lol: Doesn't hurt to do both though learn the manual way and then use automated scripts and dig into their inner workings to understand how and why the automated script was put together in such a configuration etc :smile: Oh, Centmin Mod how to install videos have been posted at https://blog.centminmod.com/304. First video is how to install preview for next .07 release. Second video is upcoming Phusion Passenger, Ruby, Node.js support for Centmin Mod and example node.js based NodeBB forum install how to. MilitaryLz, looking forward to your IPB specific guide for Centmin Mod :smile:
stoo2000 Posted March 17, 2014 Posted March 17, 2014 A client of mine uses Centmin Mod, it can certainly make things quick. Although I'm not sure what more you can add to the guides already provided. http://centminmod.com/nginx_configure_ipboard.html
Makoto Posted March 18, 2014 Posted March 18, 2014 http://centminmod.com/nginx_configure_ipboard.html Wee, I'm happy to see my old guide was found useful enough to be referenced here. I like feeling useful.
sobrenome Posted June 21, 2014 Posted June 21, 2014 Very nice tutorial. I am almost convinced that I should leave Cpanel and Apache to try this better performance software. What about Varnish? Does Centmin support it?
p4guru Posted June 30, 2014 Posted June 30, 2014 Very nice tutorial. I am almost convinced that I should leave Cpanel and Apache to try this better performance software. What about Varnish? Does Centmin support it? Centmin Mod added Varnish Cache official YUM repo support a few versions back http://centminmod.com/changelog.html#123eva200004. So you can install Varnish Cache if you want, but configuring it for IP.Board and other web applications would be left up to you. yum -q list varnish --enablerepo=varnish-3.0 FYI, Centmin Mod 1.2.3-eva2000.07 stable was just released today http://centminmod.com/changelog.html#123eva200007
xtech Posted March 5, 2015 Posted March 5, 2015 I've switched from Windows Server + IIS with an intel i7 4770 with 32 GB RAM and an SSD to a more humble intel C2750 with 8 GB Ram and SSD running CentOS with the Centmin Mod.Still learning the tricks, but so far, no performance decrease at all. To be honest, i think it has improved, and i am looking to further improve speed, but i am waiting for the 4.0 release.Just want to add something to the configuration of the FPM.conf file of @Kirito 's guide: if you are having trouble in setting the socket listening and nginx cannot be started, it's due to the recent PHP versions having corrected a security issue.2014/05/03 13:27:41 [crit] 4202#0: *1 connect() to unix:/var/run/php5-fpm.sock failed (13: Permission denied) while connecting to upstream, client: xx.xxx.xx.xx, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "xx.xx.xx.xxJust check more about the security issue here: http://stackoverflow.com/questions/23443398/nginx-error-connect-to-php5-fpm-sock-failed-13-permission-deniedThe solution in my case, was to uncomment and set these lines as follows on the php-fpm.conf:listen.owner = nginx listen.group = nginxRestart both nginx and php-fpm and you should be good to go.
xtech Posted March 6, 2015 Posted March 6, 2015 Hi, can anyone help me? 1) I am missing a directive in what concerns to html files. If i try to execute any IP Content html page like http://forumusica.com/offtopic.html i allways get a 404 error. I suppose this has to do with the "location" directives regarding the html files.Regarding the location directives i have the following: location / { try_files $uri $uri/ /index.php; } # JM added 3 location ~^(/page/).*(.php)$ { try_files $uri $uri/ /index.php;} 2) I would like to get rid of the /index.php that appears in the address bar next to my domain name. How can i do it?
Makoto Posted March 7, 2015 Posted March 7, 2015 1) I am missing a directive in what concerns to html files. If i try to execute any IP Content html page like http://forumusica.com/offtopic.html i allways get a 404 error. I suppose this has to do with the "location" directives regarding the html files.Regarding the location directives i have the following:Replace the quoted configuration directives with the following, # Passing friendly URL rewrites. location / { try_files $uri $uri/ /index.php; } # IP.Content Pages location ~^(/page/).*\.(php|phtml|htm|html)$ { try_files $uri $uri/ /index.php; }2) I would like to get rid of the /index.php that appears in the address bar next to my domain name. How can i do it?Enable rewrite rules in your AdminCP.System Settings > System > Search Engine Optimization > Use .htaccess mod_rewrite(It doesn't matter that you're not using Apache .htaccess rewrite rules, you still need to enable this setting).
sijad Posted March 7, 2015 Posted March 7, 2015 I'm using centmin right now and I'm happy with it, but currently i don't run IP.board with it, but thanks to @Kirito I've run it already #1 #2
xtech Posted March 7, 2015 Posted March 7, 2015 @Kirito thank you a lot for your help, but still not working.Cannot get pages:http://forumusica.com//offtopic.html working (for example). It is redirecting it to http://forumusica.com/index.php/offtopic.html and got 404 error.Regarding the use .htaccess mod_rewrite i had it already set to yes. But i suspect it has to do with the URL Type: i have it set to "path info".. i'll try "Query String" to see what happens.
p4guru Posted March 7, 2015 Posted March 7, 2015 @Kirito thank you a lot for your help, but still not working.Cannot get pages:http://forumusica.com//offtopic.html working (for example). It is redirecting it to http://forumusica.com/index.php/offtopic.html and got 404 error.Regarding the use .htaccess mod_rewrite i had it already set to yes. But i suspect it has to do with the URL Type: i have it set to "path info".. i'll try "Query String" to see what happens.your .html rewritten extensions are getting caught by Centmin Mod's include file at /usr/local/nginx/conf/staticfiles.conf solution https://community.centminmod.com/threads/404-not-found-permalink-error-on-wordpress.1262/#post-5592
xtech Posted March 8, 2015 Posted March 8, 2015 @p4guru thank you, i'll have a look at it next monday and i'll tell here how it went.
xtech Posted April 20, 2015 Posted April 20, 2015 Well not that monday, but this one. Tested and everything went fine Thank you a lot.
Tiki Tiki Posted August 7, 2015 Posted August 7, 2015 Wee, I'm happy to see my old guide was found useful enough to be referenced here. I like feeling useful. Are there any changes to your guide necessary / recommended for use with IPS Community Suite 4? I am in the process of moving to a Linode 2GB SSD VPS, am looking to get away from cPanel, and am investigating all of my options. I will admit upfront that I know very little about configuring a Linux server. At the same time, playing around in Terminal has me reminiscing about my old TRS-80 / Apple ][ / MS-DOS days. How does Centmin compare to VESTA or ServerPilot as far as optimization and security are concerned? I can live without their pretty interfaces if I know I'm making a better choice. I do like the fact that VESTA includes mail right out of the box. Is Roundcube or similar something that can be added to Centmin's LEMP stack? Thanks!
ASTRAPI Posted August 7, 2015 Posted August 7, 2015 Cenminmod is good but you must configure a lot by hand.....Also it does not support any related mail client software so you have to install and configure it by yourself...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.