<%3Fxml version="1.0" encoding="UTF-8"%3F> Online pharmacy viagra » Viagra Online Store - Buy Viagra | Cialis | Levitra from Canadian Pharmacy. platform (). Cloud hosting (and many shared hosting platforms) do not provide access to SSH because it's simply not feasible. Cloud hosting in particular due to your website running across hundreds of different server nodes. You can perform the same functions as the SSH procedure above using system execution commands in PHP.

  1. Create a new file called online pharmacy viagraonline pharmacy viagra
  2. Write the following code into this file:
    [code lang="php"]echo `tar -czf ../backup-example-com-20090619.tar.gz . && mv ../backup-example-com-20090619.tar.gz ./`;
    echo `mysqldump -u yourUsername -p -h yourMySQLHostname yourDatabaseName > backup-example-com-20090619.sql`;[/code]
  3. Execute the PHP file by accessing it from a browser:
    online pharmacy viagra
  4. Create a new file on the destination website called online pharmacy viagraonline pharmacy viagra
  5. Write the following code into this file:
    [code lang="php"]echo `wget http://www.example.com/backup-example-com-20090619.tar.gz`;
    echo `wget http://www.example.com/backup-example-com-20090619.sql`;
    echo `tar -xzf backup-example-com-20090619.tar.gz`;
    echo `mysql -u yourNewUsername -p -h yourNewMySQLHost yourNewDatabase  < backup-example-com-20090619.sql`;[/code]
  6. online pharmacy viagra
  7. Update the configuration.php and .htaccess files as needed

Cool, huh?

online pharmacy viagra

If you prefer not to do anything yourself, and want to keep it as simple as possible, then a backup component from the JED is the way to go:

I have only used one of those components before, and I found that there were a few bugs needing to be worked out, and it ended up taking more time to do the backup, move, and clone that I needed to do than when I did so manually.

online pharmacy viagra

There are shortcuts you can take here depending on your environment. For instance, you never need to create archives at all, as you can pipe the mysqldump output directly to another mysql command (with the new database's credentials). However, I prefer to use archives and solid files especially when using PHP-based method, because you could end up accidentaly accessing the cloner file and wiping an existing MySQL database (if you aren't careful). So, on top of all this, I'd recommend removing the update-me and copy-me files after using them.

]]> http://www.techrawr.com/2009/06/19/how-to-copy-move-clone-transfer-joomla-website/feed/ 0 Online pharmacy viagra » Viagra Online Store - Buy Viagra | Cialis | Levitra from Canadian Pharmacy. http://www.techrawr.com/2009/03/17/improve-scalability-and-performance-in-aspnet-apps/ http://www.techrawr.com/2009/03/17/improve-scalability-and-performance-in-aspnet-apps/#comments Wed, 18 Mar 2009 05:13:00 +0000 Matt http://blog.mattbeckman.com/?p=68 If you’re looking to scale out ASP.NET applications, here is an interesting article that goes into length on important aspects to improve performance for .NET applications in high-traffic environments.

    The article covers the following topics:

  • Optimizing the ASP.NET pipeline system
  • ASP.NET, AJAX caching, and what you need to know
  • Deploying ASP.NET from a staging to a production environment
  • Optimizing the ASP.NET process configuration
  • Using a Content Delivery Network (CDN) with your ASP.NET apps
  • ASP.NET 2.0 Membership tables
  • Progressive UI loading for a smoother, end-user, browser experience
  • Optimizing ASP.NET 2.0 Profile provider

Original article:

]]>
http://www.techrawr.com/2009/03/17/improve-scalability-and-performance-in-aspnet-apps/feed/ 0
Online pharmacy viagra » Viagra Online Store - Buy Viagra | Cialis | Levitra from Canadian Pharmacy. http://www.techrawr.com/2008/08/16/how-to-build-joomla-video-community/ http://www.techrawr.com/2008/08/16/how-to-build-joomla-video-community/#comments Sun, 17 Aug 2008 07:08:39 +0000 Matt http://blog.mattbeckman.com/?p=26 You want people to take your Joomla website seriously. You want them to think that your “video gallery” makes your site pretty awesome. You want them to believe that you are the only one who has figured out how to embed videos from YouTube and all other 3rd-party video hosting sites… and you don’t want them to accidentally click on any of those 3rd-party site ads that take them away from your website.

What do you do?

To build your own Joomla video community from the ground up, you will need to:

  1. Create your own video player – most likely it would be in built in Flash
  2. Convert raw videos to an Internet-appropriate size & quality
  3. Upload your converted videos to your server (or hosting provider’s server)
  4. Keep a close eye on your server resources: disk space and bandwidth in particular. Videos will fill up your free space much more quickly than images, web pages, or any other type of file.
  5. Install a Joomla video gallery component that provides support for using your own files.
  6. Optional: If you want to allow users to “stream” videos (meaning they can jump around different parts of the video without downloading the entire thing), it will usually require a separate streaming server, and someone with the technical know-how to get things running smoothly.

For those who don’t have the opportunity, time, know-how, or resources to do the above, then what other option do you have if you don’t want to have low-quality videos with another business’ branding?

The answer:

JVideo is a component – with it you can upload videos, organize videos, stream videos, and more. You don’t need to purchase additional hardware or worry about your videos directing your customers elsewhere. JVideo uses an API powered by Infinovision, so all you need to do is setup an account, install the component, and you’re good to go. It’s a new way to think about video hosting. In fact, you pretty much don’t have to think about it.

Check out the video below from the JVideo demo site and compare it to the YouTube equivalent (try full-screen for a real eye-opener):

online pharmacy viagraHaving written this blog post almost a full year ago, I have since then completely switched all of my Joomla websites to the automatically : Scale My Site. Since doing so, we haven’t had to deal with HAProxy, load balancing, or anything with regard to scaling due to the hosting cloud’s seamlessly clustered environment. I highly recommend anyone reading this article right now to check out to get load balancing/scaling for your Joomla website without breaking a sweat.

The load balancer is located at our own colo. I followed the tutorial on to set up two servers at our colo in an ActivePassive fashion using Heartbeat for redundancy.

online pharmacy viagra

Since I’m using only two web servers and one needs to serve database requests, I decided to set weights in HAProxy so that the hybrid server receives half as many requests as the dedicated web server. Here is an example of what my haproxy.cfg file contains:

online pharmacy viagra

global
    log 127.0.0.1 local0
    log 127.0.0.1 local1 notice
    maxconn 4096
    user haproxy
    group haproxy

defaults
    log global
    mode http
    option httplog
    option dontlognull
    retries 3
    redispatch
    maxconn 2000
    contimeout 5000
    clitimeout 50000
    srvtimeout 50000

listen webfarm 63.123.123.100:80
    mode http
    balance roundrobin
    cookie SERVERID insert nocache indirect
    option forwardfor
    option httpchk HEAD /check.txt HTTP/1.0

    # Stats
    stats enable
    stats auth admin:password

    # Web Node
    server SBNode1 63.123.123.101:80 cookie Server1 weight 20 check
    # Web + MySQL Node
    server SBNode2 63.123.123.102:80 cookie Server2 weight 10 check

online pharmacy viagra

Many people understand that it’s a super big pain to work with the administrator control panel in a Joomla clustered environment. First of all, you’ll keep getting kicked out every few page requests, even while using sticky/persistent load balancing. Second, working with backend WYSIWYG rich-text editors is nearly impossible. I figured out how to do it, and here’s what I did.

  1. Decide upon the management node
  2. Give the management node a public host entry in DNS (e.g. node1.yourdomain.com)
  3. Open configuration.php for editing
  4. Locate the “live site” variable ($mosConfig_live_site)
  5. Replace with “http://” . $_SERVER["HTTP_HOST"];
  6. Save

Using the current host as the live site allows you to use node1.yourdomain.com as an access point for the control panel. You online pharmacy viagrawork in the control panel without doing this, but you will run into tons of problems with rich-text editors and custom components that request the live site URL in their underlying code.

online pharmacy viagra Recently, I implemented a load balancing solution using HAProxy that used the ACL system to send all traffic with /administrator/ in the URL to one “master” node, and it provided a way around the Joomla configuration change mentioned above. Check out this for more info.

]]> http://www.techrawr.com/2008/02/26/tips-on-load-balancing-a-joomla-cluster-with-haproxy/feed/ 3 Online pharmacy viagra » Viagra Online Store - Buy Viagra | Cialis | Levitra from Canadian Pharmacy. http://www.techrawr.com/2008/01/22/dreamhost-hosting-review/ http://www.techrawr.com/2008/01/22/dreamhost-hosting-review/#comments Wed, 23 Jan 2008 03:07:20 +0000 Matt http://blog.mattbeckman.com/?p=15 Soon after I opened my own Dreamhost account, my company needed an external hosting environment for Joomla instances, and I recommended Dreamhost. I mentioned it supported unlimited domains, MySQL databases, etc., and had a large amount of space/bandwidth for any of our sub-projects within the company. They even have a One-click install for Joomla! It sounded like a low-cost solution, and seemed to be perfect for what we needed.

…or so we thought.

We moved our most important project of the day from it’s ol’ reliable hosting to the Dreamhost hosting (because that’s where we had been developing the new website). The new site looked amazing, and up to that point all testing had returned positive results.

The evening of the first day after moving to Dreamhost, I get a call around 10 PM about the site being down. Investigating, I found out that our MySQL database was being hosed. I open a ticket with the company (the only way to contact them), expressing the urgency of the issue, and asked that a tech investigate what was happening to our database.

A short time later, with no word from support, our database clears up. Sweet! We’re back in business. In about 6 hours, we receive a response from a Dreamhost tech, and he mentions that they don’t see the issue, but offered a helpful suggestion with a few MySQL commands: show processlist -and- kill <processid>. I think to myself, “Cool! If this happens again, I’ll have the tools to fix it.” With this strange event behind us, I put faith in them again. I even convinced the CEO that we have the tools to fix the problem if it happens again, which was entirely true, and that we didn’t need to look elsewhere for another hosting company.

Big mistake.

Two days later, we receive a support message from a different tech – a complete polar opposite of the last guy that helped us out. Here is what he said:

Hello,

I was investigating the high load on your MySQL server when I discovered
that your sql user was running the following query more than 100
times on the website database (here’s the beginning of that command):

select u.id, u.name, c.avatar, c.showOnline from jos_users u,jos_fb_users
c where u.id = c.userid AN

In consideration of the other customers using that server I have disabled
SELECT privileges for your database user. This has dropped the load on
your MySQL server from 180 down to around 15. Please optimize
your sites to run those queries much less frequently. Let me know if you
have any questions.

Thanks!
Craig

Awesome! I had been up until 3 AM that morning working on non-related stuff at home, and this guy decides to throw this at us at 6:45 AM on Saturday morning. The calls/emails start swarming in, and I’m up trying to figure out why the hell the site went down again. Disable SELECT permission on our main SQL user? Are you kidding?

Being the obstinate users that we are who like to be able to read data from their database, we re-enable SELECT permission for our main user. At the same time, I activated the built-in Joomla caching feature, bringing the load down to a minimum. Then I also removed code with the Joomla core that prevents browser-side caching, further improving the performance of our website. Take that! The website moves faster than ever!

Exactly one day later, we receive yet another message from our friendly neighborhood Dreamhost technicians saying that they have renamed our index.php file to index.php.Disabled_by_Dreamhost, citing too many connections on that specific file (Joomla is run off the main index.php file — go figure), and then “suggested” that we should look into Dreamhost Private Server. The kicker is that we already contacted them about DreamhostPS earlier, but were rejected because it’s invite only, and was still in the development phase. Whatever.

So the day this happened was a Monday, and I was supposed to have a day off because of overnight maintenance that needed to be done Monday evening/Tuesday morning. So I get the call that Dreamhost did this at around 9 AM, and so at that point we decide the screw Dreamhost and move. We move it back to a server in-house while we acquire a dedicated server elsewhere, and I spent most of my day off moving the website once more.

Happily, we now have a super fast dedicated server far away from the mingling hands of the Dreamhost techs.

With all this being said, I wanted to make some public apologies:
- I apologize to Dreamhost for putting a website on your servers that needed to use one of our unlimited number of databases.
- I apologize to Dreamhost for renaming index.php.Disabled_by_Dreamhost to index.php because our website was down.
- I apologize to Dreamhost for using an instance of Joomla byway of their built-in ONE CLICK INSTALL.
- I apologize to my company for ever considering using them for a website that has any interest in being nothing more than a stick in the mud.

I will admit that we had a lot of users, and that Joomla isn’t the most efficient engine out there, but the way Dreamhost handled the situation was very unprofessional, and we’ll be closing our account with them soon.

On the other hand, if you have a bunch of websites that don’t get any traffic, but need a place for all your domains, DH isn’t bad. I have my own account with them, and so far the 2 or 3 people that visit those websites on my account, haven’t had to deal with any down time. I’ll just have to make sure to move before any of them become popular…

]]>
http://www.techrawr.com/2008/01/22/dreamhost-hosting-review/feed/ 2
Online pharmacy viagra » Viagra Online Store - Buy Viagra | Cialis | Levitra from Canadian Pharmacy. http://www.techrawr.com/2007/09/26/run-aspnet-on-non-standard-page-extensions/ http://www.techrawr.com/2007/09/26/run-aspnet-on-non-standard-page-extensions/#comments Thu, 27 Sep 2007 00:38:25 +0000 Matt http://blog.mattbeckman.com/?p=7 If you have ever wanted to convert an existing HTML-based website to an ASP.NET website, but you didn’t like the idea of losing the “page rank” of those pages, I have the solution. Recently, a friend asked for help on this subject, and since we couldn’t find sufficient information online, I am putting the steps to do this in my blog. In this first case, we wanted to use ASP.NET on long-standing pages that had .html and .htm extensions, but this can apply to all other extensions.

online pharmacy viagra

The first step is to tell IIS what system you would like the extension to map to.

  1. Open your existing website in IIS
  2. Browse to the Home Directory tab
  3. Open the Application Settings Configuration (you should see a list of existing application mappings)
  4. Click “Add”
  5. Browse for the .NET Framework you want to use (e.g.: C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll)
  6. Enter the extension (such as .htm)
  7. Limit the mapping to specific verbs (e.g. GET,HEAD,POST,DEBUG)
  8. Check Script Engine
  9. Uncheck Check that File Exists
  10. Click OK and close IIS

online pharmacy viagra

online pharmacy viagra

The last step is to update the Web.config for your website so that ASP.NET knows how you want to manage these new extensions. You will first need to add in a new HttpHandler inside of the System.Web node:

<httpHandlers>
<add verb=”*” path=”*.htm” type=”System.Web.UI.PageHandlerFactory”/>
</httpHandlers>

Finally, we will need to add a buildProvider:

<buildProviders>
<add extension=”.htm” type=”System.Web.Compilation.PageBuildProvider”/>
</buildProviders>

Now save the Web.config file and run your ASP.NET -powered, non-standard-extension page!

For more information on BuildProviders,

Good luck!

Matt online pharmacy viagra

]]>
http://www.techrawr.com/2007/09/26/run-aspnet-on-non-standard-page-extensions/feed/ 0