archive-com.com » COM » 2 » 2BITS.COM

Total: 372

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • Hosting | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    lab and proceeded to test it to see if we can replicate the issues Tags Drupal Planet Performance Drupal Performance Hosting Linode LAMP Contents Articles Read more about Improve Your Drupal Site Performance While Reducing Your Hosting Costs 5 comments Add new comment Is your Drupal or WordPress site slow Is it suffering from server resources shortages Is it experiencing outages Contact us for Drupal and WordPress Performance Optimization and

    Original URL path: http://2bits.com/tags/hosting (2016-05-02)
    Open archived version from archive


  • Linode | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    lab and proceeded to test it to see if we can replicate the issues Tags Drupal Planet Performance Drupal Performance Hosting Linode LAMP Contents Articles Read more about Improve Your Drupal Site Performance While Reducing Your Hosting Costs 5 comments Add new comment Is your Drupal or WordPress site slow Is it suffering from server resources shortages Is it experiencing outages Contact us for Drupal and WordPress Performance Optimization and

    Original URL path: http://2bits.com/tags/linode (2016-05-02)
    Open archived version from archive

  • LAMP | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    lab and proceeded to test it to see if we can replicate the issues Tags Drupal Planet Performance Drupal Performance Hosting Linode LAMP Contents Articles Read more about Improve Your Drupal Site Performance While Reducing Your Hosting Costs 5 comments Add new comment Is your Drupal or WordPress site slow Is it suffering from server resources shortages Is it experiencing outages Contact us for Drupal and WordPress Performance Optimization and

    Original URL path: http://2bits.com/tags/lamp (2016-05-02)
    Open archived version from archive

  • Using Drush for a Seven Day Daily Backup scheme for Drupal sites | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    to stdout LOG TS date H M S echo LOG TS DAY OF WEEK date a BACKUP FILE DIR BACKUP backup DAY OF WEEK tgz log msg Backing up files and database to BACKUP FILE drush live archive dump destination BACKUP FILE preserve symlinks overwrite RC if RC 0 then log msg Backup completed successfully else log msg Backup exited with return code RC fi Make the script executable chmod 755 usr local bin daily backup sh Scheduling the daily backup Now add the script to cron so as to run daily for example at 2 30 am 30 2 usr local bin daily backup sh After a few days you should see backups in the directory kept for 7 days ls home backup backup Fri tgz backup Thu tgz It is also a good idea to copy the backup files to another server ideally not in the same datacenter as the live site At least do this weekly using an addition to the script using scp or rsync Contents Articles Tags Drupal Planet Drupal Backup Drush Add new comment Comments drush vs shell script mysqldump Submitted by Arjan not verified on Tue 2014 05 27 14 31 I ve found that with a sizable database e g from about 1GB a shell script using mysqldump works better than drush in terms of server load where drush at some point even caused 503 service unavailable Presumably because of the overhead from PHP For me a shell script mysqldump works fine for now and doesn t require another package though I ll keep mydumper in mind for the future reply Webmin Submitted by giorgio79 not verified on Wed 2014 05 28 04 18 I use the free Webmin open source like Drupal Webmin replaces sysadmins just like Drupal replaces CMSes Webmin has excellent backup capabilities reply Scripts vs Webmin Submitted by Khalid on Thu 2014 05 29 08 45 Yeah Webmin is helpful But scripts work everywhere and don t require more components that need updating etc reply Multiple locations Submitted by giorgio79 not verified on Wed 2014 05 28 04 15 you should have multiple backup copies at multiple time points AND multiple locations reply Mentioned Submitted by Khalid on Wed 2014 05 28 09 32 That is mentioned at the very end of the article reply One liner Submitted by Håvard Pedersen not verified on Wed 2014 05 28 05 36 Or you could just pop usr bin env php var aegir drush drush php live archive dump destination home backup backup date a preserve symlinks overwrite straight into your crontab Crontab error logging should take care of your logging needs reply No logging and syntax error Submitted by Khalid on Thu 2014 05 29 08 57 Cron does not like back tick substitution Your one liner will return this error Syntax error EOF in backquote substitution So it does not work as is You can force it to work by escaping the character by preceding it with a

    Original URL path: http://2bits.com/articles/using-drush-seven-day-daily-backup-scheme-drupal-sites.html (2016-05-02)
    Open archived version from archive

  • Backup | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    takes some time Hours or days For this reason you should have multiple backup copies at multiple time points The most convenient scheme is to have a 7 day sliding backup that is you have one backup snapshot for each day of the week with today s backup overwriting the backup from 8 days ago Tags Drupal Planet Drupal Backup Drush Contents Articles Read more about Using Drush for a Seven Day Daily Backup scheme for Drupal sites 11 comments Add new comment Fast Parallel MySQL Backups and Imports with Mydumper We recently did a Drupal Performance Assessment project for a very large site with a massive database The database takes over 174GB and houses a total of over 707 million rows Exporting and importing a database of that size is challenging in many ways Tags Drupal Planet Drupal MySQL Backup Mydumper Myloader Contents Articles Read more about Fast Parallel MySQL Backups and Imports with Mydumper 5 comments Add new comment Is your Drupal or WordPress site slow Is it suffering from server resources shortages Is it experiencing outages Contact us for Drupal and WordPress Performance Optimization and Tuning Consulting Contents Services Clients Testimonials News FAQ Payments Site Map Navigation

    Original URL path: http://2bits.com/tags/backup (2016-05-02)
    Open archived version from archive

  • Configuring Apache Solr 3.6 for Drupal on Ubuntu 14.04, with password authentication | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    05 22 12 51 There is a good vagrant ansible setup which I use to get a nice stack going with solr It s called VLAD stands for The Vagrant LAMP Ansible Drupal development box and it s here http www hashbangcode com blog vlad vagrant lamp ansible drupal development box and here https bitbucket org philipnorton42 vlad I never took the time to see how it all gets installed but it s really easy to fire up new VMs on a whim Cheers Jeff reply Hi I am gettting the Submitted by Visitor not verified on Fri 2014 08 01 07 40 Hi I am gettting the following error etc init d jetty 16 etc default jetty 0 0 0 0 not found reply Started working but now no longer Submitted by Ryan not verified on Wed 2014 08 27 02 57 When I initially ran through this tutorial it work perfectly But now for some reasons I m getting a 404 error when accessing solr drupal HTTP ERROR 404 Problem accessing solr lgp Reason Not Found Powered by Jetty solr I uninstalled everything and went through the tutorial again but cannot get it working again I can still access the admin pages but not the cores Any Ideas RJ reply I got a HTTP ERROR Submitted by Gekko not verified on Tue 2015 06 02 08 57 I got a HTTP ERROR 500 Problem accessing solr index jsp Reason JSP support not configured Powered by Jetty on url http x x x x 8983 solr admin stats jsp anyone know what the error might be reply Try this Submitted by Khalid on Tue 2015 06 02 09 23 Try to go to http x x x x 8983 solr without anything after it and see if you can navigate from there to other stuff If that does not work then you missed a step or did something differently reply I get the same error Submitted by Tom M not verified on Fri 2015 09 18 08 45 I followed the same instruction above on an Ubuntu 14 04 Trusty server and got the same error var log jetty out log main INFO org mortbay log NO JSP Support for did not find org apache jasper servlet JspServlet main INFO org mortbay log NO JSP Support for solr did not find org apache jasper servlet JspServlet Could this have to do with etc solr conf solrconfig xml or is the JSP support simply disabled for Jetty 6 x SOLR 3 6 2 reply Is your Drupal or WordPress site slow Is it suffering from server resources shortages Is it experiencing outages Contact us for Drupal and WordPress Performance Optimization and Tuning Consulting Contents Services Clients Testimonials News FAQ Payments Site Map Navigation Payment Recent content Do you use any of our Drupal modules Did you find our Drupal WordPress and LAMP performance articles informative Follow us on Twitter 2bits for tips and tricks on Drupal and WordPress Performance Contact

    Original URL path: http://2bits.com/articles/configuring-apache-solr-36-drupal-ubuntu-1404-password-authentication.html (2016-05-02)
    Open archived version from archive

  • Configuring Apache Solr 4.x for Drupal, with password authentication | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    a reload since restart stops and starts the daemon while reload just reloads the modified configuration I implemented your changes as you said except that the do start and do stop functions needed to replace the exit by a return reply Nice Submitted by jiv e not verified on Mon 2014 06 02 15 05 Thanks for the correction reply Not able to login Submitted by Abe not verified on Sun 2014 06 22 19 13 Thank you so much for your tutorial It took me weeks trying to get solr and jetty working for drupal and your tutorial was the one that got me so much close One issue is remaining for me and I would appreciate someone help me get this token care of I am having a login issue it keep telling me password incorrec even though I am using the credentials I put in realme properties here is what I have in Jetty xml Call name addBean Arg New id DeploymentManager class org eclipse jetty deploy DeploymentManager Set name contexts Ref id Contexts Set Call name setContextAttribute Arg org eclipse jetty server webapp ContainerIncludeJarPattern Arg Arg servlet api jar Arg Call Add a customize step to the deployment lifecycle uncomment and replace DebugBinding with your extended AppLifeCycle Binding class Call name insertLifeCycleNode Arg deployed Arg Arg starting Arg Arg customise Arg Call Call name addLifeCycleBinding Arg New class org eclipse jetty deploy bindings DebugBinding Arg customise Arg New Arg Call New Arg Call Securing Solr Call name addBean Arg New class org eclipse jetty security HashLoginService Set name name Solr Set Set name config SystemProperty name jetty home default etc realm properties Set Set name refreshInterval 0 Set New Arg Call End Securing Solr here is what I have in webdefault xml security constraint web resource collection web resource name Disable TRACE web resource name url pattern url pattern http method TRACE http method web resource collection auth constraint security constraint Securing Solr security constraint web resource collection web resource name Solr web resource name url pattern url pattern web resource collection auth constraint role name search role role name auth constraint security constraint login config auth method BASIC auth method realm name Solr realm name login config End Securing Solr reply Figured out the login issue Submitted by Abe not verified on Sun 2014 06 29 00 26 I was using search role as a username But turned out I should be using the credentials on realme properties like so this is the username this is the password search role Thank you for this great tutorial This is the only tutorial that actually helped from hundreds out there in internet reply Clarified Submitted by Khalid on Sun 2014 06 29 14 07 Thanks for reporting back I tried to clarify this part a bit better reply I was looking for a blog Submitted by Dennis Wert not verified on Thu 2014 07 10 00 24 I was looking for a blog which talks how to configure Apache Solr 4 x for Drupal Thanks for this information I am truly helped reply opt solr example etc realm properties Submitted by Visitor not verified on Thu 2014 08 07 20 15 Hi for some reason I do not have the file opt solr example etc realm properties I do have a solr example solr collection1 core properties containing only name but no realm properties anywhere Should I just create this file and insert the authentication code or does this mean something is wrong reply You should create realm properties Submitted by Khalid on Thu 2014 08 07 20 42 You should create the realm properties file I updated the article to clarify that part reply I ve followed these Submitted by Ryan not verified on Wed 2014 08 27 18 14 I ve followed these instructions to a T a couple of times and am getting the following error HTTP ERROR 404 Problem accessing solr drupal Reason Not Found Powered by Jetty Any ideas how to troubleshoot this reply Host name Submitted by Khalid on Wed 2014 08 27 19 36 Which host name or IP address did you use for the solr path Make sure it is the host name or IP address where Solr is installed I tried these instructions several times on a pristine Ubuntu virtual machine and they do work Check the logs to see what the problem s are reply Hey Thanks for replying I Submitted by Ryan not verified on Thu 2014 08 28 00 48 Hey Thanks for replying I have solr installed in a fresh debian wheezy lxc guest on an ubuntu 14 04 host I am using iptables to forward port 8983 to the lxc container I can get to the solr admin page no problem http mydomain com 8983 solr admin Is there something I need to do to get the hostname recognised reply Add it to the hosts file Submitted by Khalid on Thu 2014 08 28 09 28 The sure way is to add the IP address and host name to the hosts file of the machine that will access it Or you can use the IP address directly reply Now you need Solr to start Submitted by Jason not verified on Tue 2014 09 02 20 48 Now you need Solr to start automatically when the server is rebooted To do this download the attached file and copy it to etc init d Where is the attached file reply Very bottom of the article Submitted by Khalid on Tue 2014 09 02 21 29 At the very bottom of the article under Attachment reply I added the authentication but search is not working Submitted by Visitor not verified on Thu 2014 11 06 05 57 Hi I did as per the above steps and everything works the admin page asks me for username and password and i do full indexing But when i search from my php application i get an error Fatal error

    Original URL path: http://2bits.com/articles/configuring-apache-solr-4x-drupal-password-authentication.html (2016-05-02)
    Open archived version from archive

  • Authentication | 2bits.com, Inc. - Drupal Performance Tuning and Optimization, Managed Hosting and Consulting
    Apache Solr 4 x That article detailed a lot of manual steps involving downloading extracting setting permissions creating a startup script etc Tags Drupal Planet Drupal Apache Solr Authentication Password Solr Jetty Tomcat Contents Articles Read more about Configuring Apache Solr 3 6 for Drupal on Ubuntu 14 04 with password authentication 6 comments Add new comment Configuring Apache Solr 4 x for Drupal with password authentication Most of high traffic or complex Drupal sites use Apache Solr as the search engine It is much faster and more scaleable than Drupal s search module In this article we describe one way of many for having a working Apache Solr installation for use with Drupal 7 x on Ubunutu Server 12 04 LTS The technique described should work with Ubunut 14 04 LTS as well Tags Drupal Planet Drupal Apache Apache Solr Authentication Password Solr Jetty Tomcat Contents Articles Read more about Configuring Apache Solr 4 x for Drupal with password authentication 17 comments Add new comment Is your Drupal or WordPress site slow Is it suffering from server resources shortages Is it experiencing outages Contact us for Drupal and WordPress Performance Optimization and Tuning Consulting Contents Services Clients Testimonials News

    Original URL path: http://2bits.com/tags/authentication (2016-05-02)
    Open archived version from archive



  •