Jump to content

Search the Community

Showing results for tags 'VPS'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community Help and Support
    • PrestaShop Download
    • PrestaShop Addons
  • News and Announcements
    • PrestaShop news and releases
    • PrestaShop Beta
    • PrestaShop Blogs
    • PrestaShop Meetups
  • International community (English)
    • General topics
    • PrestaShop Merchants
    • PrestaShop Developers
    • Taxes, Translations & Laws
    • Community Modules and Themes
  • Forum francophone
    • Discussion générale
    • Aide et support communautaire
    • PrestaShop pour les marchands
    • PrestaShop pour les développeurs
    • Adaptation aux lois Québécoises
    • Modules et thèmes gratuits
    • Modules et thèmes payants
  • Foro en Español
    • Discusión general
    • Soporte de la comunidad y ayuda
    • Comerciantes PrestaShop
    • Desarrolladores PrestaShop
    • Módulos y plantillas gratuitas
  • Forum italiano
    • Forum generale
    • Aiuto e supporto della Community
    • Commercianti PrestaShop
    • Sviluppatori PrestaShop
    • Aspetti legali sull'eCommerce
    • Moduli e template gratuiti
  • Deutsches Forum
    • Generelle Fragen
    • Support und Hilfe aus der Community
    • e-Commerce/Versand-Handel mit Prestashop
    • Prestashop-Entwickler
    • Anpassung an deutsches Recht
    • Kostenlose Module und Templates
    • Generelle Fragen Copy
  • Nederlandstalig forum
    • Algemeen
    • Hulp en ondersteuning, van en voor de community
    • PrestaShop-winkeliers
    • PrestaShop-ontwikkelaars
    • Het aanpassen van PrestaShop
    • Gratis modules en templates
  • Fórum em Português
    • Fórum Geral
    • Ajuda e Suporte da Comunidade
    • Lojistas que utilizam o PrestaShop
    • Desenvolvedores PrestaShop
    • Legislação específica
    • Módulos e temas gratuitos
  • Polskie forum
    • Forum ogólne
    • Wsparcie i pomoc użytkowników
    • Oferty twórców PrestaShop
    • Deweloperzy PrestaShop
    • Darmowe Moduły i Szablony
  • Dansk forum
    • Generelt forum
    • Hjælp og support fra fællesskabet
    • PrestaShop for købmænd
    • PrestaShop for udviklere
    • Love og regler
    • Gratis moduler og temaer
  • České fórum
    • Instalasi, Konfigurasi dan upgrade
    • Obecná diskuze
    • Bezplatné moduly a šablony
    • PrestaShop vývojáři
    • PrestaShop obchodníci
  • Bahasa Indonesia
    • Diskusi Umum
    • Podpora a pomoc komunity
    • Laporan Bug
    • Jasa, Promosi & Lowongan Kerja
  • Svenskt forum
    • Allmän diskussion
    • Installation, konfigurering och uppdatering
  • Forumul românesc
    • Discuţii generale
    • Instalare, configurare şi upgrade
  • Pусский язык
    • Обсуждение скрипта
    • Установка, Настройка, Обновление
    • Прием багов
  • Slovenské fórum
    • Všeobecná diskusia
    • Podpora a pomoc komunity
    • PrestaShop obchodníci
    • PrestaShop vývojári
    • Bezplatné moduly a šablóny
  • Türkçe Topluluğu
    • Genel Konular
    • Topluluk desteği ve yardım
    • PrestaShop Tüccarları
    • Prestashop Geliştiricileri
    • Ücretsiz Modül ve Temalar
  • Diễn đàn tiếng Việt
    • Thảo luận chung
    • Hỗ trợ từ cộng đồng
    • Dành cho chủ doanh nghiệp / cửa hàng
    • Dành cho lập trình viên
  • PrestaShop Communities
    • اللغه العربيه [Arabic]
    • Ελληνικά [Greek]
    • עִבְרִית [Hebrew]
    • 中文
    • Magyar [Hungarian]
    • 日本語 [Japanese]
    • Lietuviškai [Lithuanian]
    • انجمن فارسی [Persian]
    • ไทย [Thai]
    • Malaysia [Malaysian]
    • Eesti [Estonian]
    • Slovenščina [Slovenian]
    • Српски [Serbian]
  • IP. Board Forum
    • IP. Board Forum Questions and Issues
  • Archive
    • Zapłać Moduły i Szablony [ARCHIVE]
    • Moduly, upravy a dizajn [ARCHIVE]
    • Phát triển và các mô-đun [ARCHIVE]
    • Yazılım, Modül ve Tema [ARCHIVE]
    • Модули, Шаблоны [ARCHIVE]
    • Module şi teme [ARCHIVE]
    • Pengembangan dan Modul [ARCHIVE]
    • Moduler och teman [ARCHIVE]
    • Ecommerce x PrestaShop [ARCHIVE BOARD]
    • Vývoj a moduly [ARCHIVE]
    • Kostenpflichtige Module, Templates [ARCHIVE]
    • Módulos y temas pagos [ARCHIVE]
    • Módulos e temas pagos [ARCHIVE]
    • Servizi commerciali [ARCHIVE]
    • Forum - Feedback Contributor
    • PrestaShop Cloud

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


  1. Bonjour, je voudrais optimiser ma boutique prestashop creme-tahara.fr j'ai installer un plugin de cache (jpresta) j'ai installé un CDN je suis sur un VPS formule 2 de chez lws avec isp config j'ai optimisé la taille des images, configurer cloudfare et prestahsop Mais je pense que on peux encore optimiser Les plugin DB ou des index au noveau DB etc que pourrais-je ajouter pour améliorer le TTFB et la rapidité du site ? merci ! merci
  2. Hej za jakiś czas będę musiał podjąć decyzję czy zostawać na VPS w OVH czy przejść na coś innego. Myślę czy przejść na VPS zarządzany czy może na hosting. I tak wogóle na jaki? Jestem w trakcie kończenia budowy sklepu na Prestashop 1.7 i przeniesienia się ze sky-shop. Parametry sklepu: Produkty: 8000 - 9000 Aktualnie brak powiązań ale w przyszłości będą ruch na poziomie 60000 odsłon i rośnie Moduł importu działający co 3 godz przez cron wymagany ionCube
  3. Hi, I have been having a lot of problems with file ownership and permissions with my test site (ps1.7.4), unable to update, not having access to folder contents on file manager and theme elements now missing from my site. My hosting have tried a few things (one having file ownership set as nobody) but they say the ownership should be set as the cpanel login name. Reading many similar posts on here some say it should be set as user 'yourdomainwiithoutwww', not as root or username. Does this include the .com etc?? i.e for www.prestashop.com should be 'prestashop.com' or 'prestashop'?? Others have said that prestashop files should set running the command chown -R www-data:www-data (Then the username can be added as a member of www-data group, by the command sudo adduser user www-data, user can be replaced with your username) but other people say this is incorrect and you should install suPHP on the server (SuExec). I can't find any information on the official documentation site but need to figure out whats correct for my VPS. I appreciate any help
  4. Hola, que tal? Estamos teniendo un problema con la configuración del Presta, tenemos la version 1.6.1.1. Hace poco migramos a un vps desde un hosting compartido. Seguimos todas las instrucciones de migración de la ayuda, sin embargo se tuvieron que hacer algunos retoques en la configuración. Hasta ahí veníamos relativamente "bien", lo que sucede es que cada vez que se reinicia el vps porque se cayo o por X razón, las configuraciones del presta se salen y tenemos que levantar el backup del día anterior, perdiendo básicamente todo lo del día. Lo mas raro es que no siempre se pierden las mismas configuraciones, lo que tienen en común "las perdidas" es que no se pueden crear nuevos productos, modificar viejos, no se pueden actualizar estados de pedidos, los clientes hacen el pedido, pero el pedido no se genera (aunque si nos llega el pago), no se visualizan los filtros en el front (por mas que están activos), y lo que nos sucedió hoy que es nuevo, desapareció literalmente la caracteristica "colores"....se esfumo como si nunca la hubiéramos creado. Por favor si tienen idea de que puede estar pasando, agradeceríamos la ayuda.
  5. Pacchetto configurare un nuovo server/vps per prestashop - configurazione server/vps con Centos 7 - installazione di un pannello di controllo per il vs. dominio e spazio web - poter scegliere in fase di installazione Apache, Apache + Nginx (come reverse proxy) o solo Nginx + Php-Fpm (molto performante) - installazione di php 7 con Opcache e memcached - installazione MariaDb (replica di Mysql ma con netti miglioramenti di velocità del database) - impostazione delle direttive Nginx per poter utilizzare Prestashop (valido solo nel caso scegliete di installare il server con Nginx+Php-Fpm) - Impostazione ed ottimizzazione Csf per ip rules e firewall (sicurezza del server) Il pacchetto è valido anche per altri cms. Per info e preventivi non esitate a contattarmi.
  6. Hello, I have moved my 1.4x shop to a new VPS server ready for a new 1.7x shop that I am currently building. Since migration of the servers (shared to VPS) no orders can be created in the front or back office. I feel this is a server setting/mode as apparently all data and files were transferred successfully. (I can create new products/customers but no new orders) Modules such as paypal accept the payment but no order in BO is created, cheque and bank transfer just return ‘Order creation failed’. Turning on errors and debug doesn’t show anything. I have tried a new database with a backup imported but still get the error. Tried the default theme but no different. As it stands I cant take any online orders and it is going to be a couple of weeks before I get the 1.7.4 shop ready for production!! Any help or suggestions would be gratefully received, as I’m loosing orders and frustrating visitors. I have run Tools::dieObject($order); but I dont understand the result, please let me know if its useful.
  7. Hello, I have a problem I recently moved from my small domain to a Goddady VPS, before I changed everything worked perfectly with the emails. But since I moved I've had complaints that the emails with the sold accounts take a long time to arrive, I've checked them and some arrive immediately, others take 10 minutes and others take hours. I've hired this one: https://gyazo.com/17b0c2f419c1a1c96ad66c757488aa0d.png Has anyone had the same problem or does anyone know how to fix it? the prestashop version is: 1.6.19 I don't know if I should see it but the module that handles code delivery is Key Manager Thank you very much. PS:If I can't find a solution that is recommended by VPS that is good and that doesn't cause any problems with the sending of mail, since my site sends a lot of sales.
  8. Bonjour, Depuis hier j'ai lancé la procédure pour passer ma boutique avec le protocole SSL et j'ai de nombreux bugs. J'ai du lire une bonne vingtaine de topics relatifs aux erreurs que je rencontre et appliquer les différentes préconisations, mais pour la plupart sans succès (j'ai passé plusieurs sites au SSL sur des mutualisés sans problème, mais la sur le VPS je sèche). - Je n'arrivais plus à me connecter au BO (une fois validé je revenais à chaque fois sur la page de connexion), j'ai suivi ce topic: https://www.prestashop.com/forums/topic/588164-ovh-ssl-connexion-impossible-à-ladmin/ Problème résolu il y a quelques instants (depuis hier je me connectais à la boutique directement en passant par l'adresse IP). - Lorsque j'active le SSL (sans avoir modifié le .htaccess), il est possible de naviguer sur le plupart des pages en https sauf lorsque je clique sur "mon compte" j'ai une page d'erreur avec le message ERR_TOO_MANY_REDIRECTS. - Dès que je le modifie le .htaccess et que je rajoute la directive ci-dessous pour forcer le https: RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.mega-fete.fr/boutique/$1 [R,L] Ce sont toutes les pages du site qui sont en erreur avec également ERR_TOO_MANY_REDIRECTS. En suivant les conseils sur la plupart des topics que j'ai lu rien ne change. J'ai vidé les caches et smarty, désactivé les url simplifiées, la redirection vers l'url canonique, supprimé les cookies des navigateurs etc mais sans succès. - Chose bizarre, dans le BO pour activer le SSL en passant par l'adresse IP je peux le faire, en passant par le nom de domaine lorsque je clique sur "Cliquez ici pour utiliser le protocole HTTPS avant d'activer le mode SSL." ça charge mais la phrase reste là et je n'ai pas le choix oui ou non. Quelqu'un aurait une idée où je pourrais regarder ou une autre piste à explorer ? Merci d'avance pour votre aide. Informations serveur Version de Prestashop: 1.4.4.1 Informations sur votre serveur: Linux #1 SMP Tue Dec 15 21:19:08 UTC 2015 x86_64 Version du logiciel serveur: Apache Version de PHP: 5.3.3 Version de MySQL: 5.1.73 Site: www.mega-fete.fr
  9. Hi, I transfered my previously working PS 1.7.2.0 from shared hosting to VPS. I downloaded all the files, ziped them and unziped on VPS, changed the parameters.php to connect to new database, so basically it is an exact copy of the PS on previous hosting... Nearly everything works, I can place orders, all the modules seem to work fine, but some things in backoffice does not. I get error 500 and on debug there is an silent error in AdminController.php on line 439, I found this file in root/classes/controller but I do not know what is wrong there or I have no clue where to look next. I get this error on modules list, when changing order status, on product list in BO, propably on more places, but I did not try everything, although the same error appears in debug for all the mentioned cases. I have a Cloud VPS on CentOS 7 with Plesk 17.5, PHP 7.0.28 with default settings, I just set more memory (1024M) execution time (360) max input (60) post max size (64) and upload filesize (32). I checked with the Prestashop manual and I could not find anything that would point me to any misconfiguration, but I am not an expert... Did anybody have the same issue, do you know what to do or what might be wrong? I would be really grateful. Thank you very much
  10. Hello! I will try PrestaShop for first time :-) and I need to ask your advice. Do you suggest to install it at a shared hosting and start testing...? and if needed I will migrate it to a new VPS server later... or I have to install it a new VPS server directly? Thanks!
  11. Witam Chciałbym zainstalować Prestashop na serwerze VPS, pliki wrzucone, odpalam stronę i komunikat taki jak na screen shocie. Prosił bym o pomoc, co z tym zrobić. Pozdrawiam
  12. Witam, Mam pytanie odnośnie oferty nazwa.pl a dokładnie VPSów NVMe Speed Biznes za 29 netto na miesiąc. Powiem szczerze, że po rozmowie z jednym użytkownikiem który mi je podrzucił na PW ich oferta wygląda całkiem ciekawie w tej kolejnej opcji Speed Biznes (nie tej pierwszej). W zestawie jest 2x 3,3 GHZ, 12 GB RAM i 50 GB dysku NVMe który jest ponoć szybszy od SSD co jest dla mnie szalenie ważne. Tutaj link do pełnej oferty (żaden ref czy coś) https://www.nazwa.pl/vps/ Aktualnie posiadam 30 GB SSD 3x 2,4 Ghz 4 GB RAM na webh ale ostatnio było kilka zwiech i 502 więc chciałbym nawet testowo sprawdzić coś innego. Pytam o opinię, ponieważ lata temu miałem hosting (co prawda współdzielony) na nazwie i jakość usług oraz uptime pozostawiał wiele do życzenia. Nie wiem czy to się zmieniło czy nie. Kontom z nikłą aktywnością podziękuje za opinię. ​
  13. ¡Buenos días! Como muchos tenemos/tenéis servicios contratados con OVH os aviso antes de que os volváis locos que hay una caída generalizada de hosting, VPS y servidores. Por el momento están afectados: - Roubaix - Strasbourg Por el momento no tienen hora ni tiempo de finalización.
  14. Utilizo a versão 1.6.1.1 do Prestashop em uma hospedagem compartilhada. Coloquei ele em uma VPS e quando fui acessar retornou o erro 500. O que poderia ser?
  15. Hi everyone, Can anyone please help me; I did transfer my second website from a sharing hosting onto VPS, I was doing everything exactly the same as with the previous transfer of my other website, but unfortunately now getting this message; Fatal error: Call to undefined function mcrypt_encrypt() in /var/www/vhosts/topshelves.co.uk/httpdocs/classes/Rijndael.php on line 46 Any help will be much appreciated. Thanks, Topshelves
  16. Postanowiłem uruchomić serwer VPS SSD z preinstalowanym Prestashopem, wszystko sobie poprzenosiłem i nie mogę podpiąć domeny na serwer VPS (albo raczej nie wiem jak to do końca zrobić). Domena też jest zarejestrowana w Ovh. W managerze VPS na Ovh w sekcji DNS Secondary ustawiłem domenę którą chce przekierować na adres sdns2.ovh.net potem już w sekcji domeny zmieniłem dnsy na 1) adres IP serwera vps i 2) secondary sdns2.ovh.net. Obecnie po wpisaniu nazwy domeny przekierowywuję się ona na adres VPSa vpsXXXXXX.ovh.net. Czy mógłby mi ktoś poradzić co mam dalej zrobić - doczytałem coś o bindzie ale nie wiem jak to ugryźć bo mam słabe doświadczenie z linuxem. Zalogowałem się na serwer przez ssh ale nie wiedze żeby bind był wogóle zainstalowany. Nie mam żadnego panelu co pewnie ułatwiło by podpięcie domeny a nie chciałbym rezygnować z VPSa po kilku dniach…
  17. Bom dia, eu já troquei de host umas 3 vezes, eu já pesquisei aqui no fórum e no google sobre o serviço mais indicado para o prestashop, mais só vejo pessoas falando de empresas sem ser BR, gostaria de saber qual empresa aqui no brasil e melhor pra poder trabalhar com o prestashop, e também qual tipo de serviço. Cloud sites, host normal, VPS, Dedicado. minha loja nem foi colocada online direito e já troquei 3 vezes por instabilidade e etc. estou olhando agora a Locaweb e Hostigator
  18. witam, nie znam się kompletnie na serwerach VPS, zastanawiam się nad przeniesieniem sklepu ze współdzielonego serwera na VPS, który będzie lepszy? Hetzner ma serwerownie w Niemczech, IQ w Gdańsku 1. https://www.hetzner.de/de/hosting/produkte_vserver/cx40 2. Root 2 https://www.iq.pl/oferta/serwery-vps/root/ z góry dzięki i pozdrawiam
  19. Hi, I'm using 1.4.11 and have my own vps (ubuntu 12.04) + Apache 2.2 I'm trying to setup the media servers in BO but with no luck. I even followed this tutorial and did not worked http://blog.dh42.com...-media-servers/ Does anyone know how to setup step by step? I created a subdomain like static1.site.com and made the root path to img/ folder. Is this how it should be setup? My site doesn't load the images if I activate Media Servers I'm trying to speed up my site. Thanks.
  20. In preparation to "go live" I recently upgraded from a shared service account to a dedicated VPS. I mistakenly thought that when they migrated my site they would migrate the setup that I was using on the Shared server to ensure no loss of functionality/compatibility however I have had nothing but trouble since I made the switch. It's a good thing since I believe that if you don't have hell you don't learn but this is ridiculous. My provider said this is an application issue and they won't assist me with troubleshooting it. Current Config: Server information: Linux #1 SMP Mon Feb 17 21:00:14 MSK 2014 x86_64 Server software version: Apache PHP version: 5.4.27 Memory limit: 384M Max execution time: 50000 Database information MySQL version: 5.6.16 MySQL engine: InnoDB Tables prefix: ps_ Store information PrestaShop version: 1.5.6.2 Shop URL: https://capvapor.com/ Current theme in use: default Here is the story so you have some background: I didn't realize there was an issue until my Products' short descriptions started complaining about being too long. I was adding attributes to Products and hit the save button and it kept happening to each Product so I went to look and that's when I saw multiple  characters between the period and the start of the next sentence. I am showing my age but I always double space even though it isn't required because I like the way it looks. It inserts the  character between the spaces every time I change anything associated with the product. When I started looking for the cause I noticed that there were different Collation settings in MySQL and Character settings even a few MyISAM tables peppered through the database. I loaded my first Prestashop site using the Softalicious tool. It is on a cPanel/WHM CentOS/Redhat Linux box. My unix is rusty but I used to manage several Informix SQL Sun boxes for SWB Wireless (if that doesn't tell you my age nothing will). So I can trudge through most things but for the life of me this MySQL configuration is eating my lunch... Since I first noticed the problem I have searched everywhere to find and implement a fix to this issue without success. Here is a list of items that I have found and changed in the attempt to get this resolved. Entered: This has a strong peppermint flavor with a menthol kick that really pops in your mouth. It has a super throat hit and reminds me of the great new chewing gum flavors out there. It really is amazing! Displays/Commits: This has a strong peppermint flavor with a menthol kick that really pops in your mouth.  It has a super throat hit and reminds me of the great new chewing gum flavors out there.  It really is amazing! 1) Set the my.cnf file to the following trying to get the defaults set to utf8: [mysqld] max_connections = 100 query_cache_size = 32M query_cache_limit=1M skip-external-locking key_buffer_size = 32M max_allowed_packet = 8M table_open_cache = 64M sort_buffer_size = 256K join_buffer_size = 1M net_buffer_length = 8K read_buffer_size = 1024K read_rnd_buffer_size = 1M myisam_sort_buffer_size = 16M innodb_file_per_table tmp_table_size = 32M max_heap_table_size = 32M thread_cache_size = 50 table_open_cache=500 table_definition_cache=500 open_files_limit=26520 wait_timeout = 30 connect_timeout = 1 low_priority_updates=1 concurrent_insert=2 character-set-server = utf8 collation-server = utf8_unicode_ci init_connect = 'SET NAMES utf8' character-set-client-handshake = FALSE # This setting ensures that aio limits are not exceeded # (default is 65536, each instance of mysql takes 2661 with this enabled) innodb_use_native_aio = 0 #open_files_limit=32768 Here are my prestashop db results of: show variables like "%character%";show variables like "%collation%"; Variable_name Value collation_connection utf8mb4_general_ci collation_database utf8_unicode_ci collation_server utf8_unicode_ci Anyone that has fixed this that can point me in the right direction would be very appreciated! I am attaching some current files that are from MySQL and the modules installed. If you need anything else please let me know. Thanks in advance! J Stepp capvapdb_mysql.txt mysql-variables.txt show-installed.txt
  21. Hello, I've been running successful prestashop 1.6.0 store since March of this year using tsohost as a server but it has grown so much that we're thinking about better offer or even VPS. We have about 300 unique visits and 10 high value orders daily, growing very fast. Linux VPS £70 is what we definitely can afford. Can you please recommend any host for us? We'd like to increase loading speed of our site, so we have better SEO score. Also, we recently received information from PayPal that we have to be compliant with PCI DSS. Can somebody please explain how to do this? We process credit card payments online through our site. Is this third party service or part of hosting service? I was looking for some benchmark but couldn't find any. Will appreciate any answer. Kind regards
  22. boa tarde, já passei por varias empresas de hospedagem br e nunca tive sucesso. vi muito se falar da OVH, eu andei olhando os planos deles e to pensando em contratar o OpenStack KVM 99.99% SLA 4 vCores 2,4 Ghz min / 3,1 GHz max 8 GB RAM 100 GB High Availability NVMe (Ceph) $33.49 /month VPS Cloud, seria esse mesmo o ideal ? em distribuição qual escolher ? vi que tem prestashop, o que seria ?
  23. Après mon tuto pour debian 7 et apache, je vous propose un tout nouveau tutoriel pour créer votre propre serveur VPS mais sous Nginx cette fois ci. Pourquoi nginx ? Car il est dit que nginx est de 3 à 4 fois plus reactif qu'apache, (mais aussi bien plus complexe à mettre en oeuvre). Avec mon serveur de test, ma latence de départ (le fameux wait) est passée de 1 seconde à 0,2 seconde. un exploit ! Quand à la version de debian, comme la version 8 est prête et qu'elle fonctionne avec les dernières versions de PHP, autant l'utiliser ici. Histoire d'accelerer encore plus l'ensemble on va utiliser PHP-FPM. Le principe reste le même : En suivant ligne par ligne le tutoriel, vous devez être capable de posséder et de préparer votre propre serveur dédié sans pratiquement de connaissance linux, et ainsi oublier les fameux "pour avoir un serveur dédié, tu dois impérativement payer un prestataire qui le fera.. ". Cela permet de respecter le fameux principe de prestashop : profiter d'un maximum de gratuité pour que les débutant puissent créer leurs magasins. Mais attention, si vous avez eu du mal avec la version apache, vous allez en avoir encore plus avec ginx. Par contre si vous persévérez et que vous terminez correctement votre serveur, vous allez adorer ! EDIT : Changement du tutoriel. Je me rends compte que mon tuto Nginx donnait un serveur ultra rapide et optimisé mais d'une difficulté telle à mettre en place que ce n'était plus ouvert à tout le monde, ce qui n'est pas mon objectif de départ. On change tout et on passe à une installation hyper simplifiée et générique. Merci à rose pour les lignes de commandes simplifiées NOTE : Nginx ne sait pas lire les fichiers htaccess ! Si vous avez un htaccess spécifique, vous devrez le faire retraduire en directives nginx. Des utilitaires existent pour ça. Certaines bibliothèques ne sont pas compatibles nginx. Attention de bien choisir votre configuration prestashop, au cas ou.. Allez c'est parti : 1 / On installe en une fois Nginx, mysql, la bibliothèque graphique gd, mcrypt et php-fpm : apt-get install nginx php5-fpm php5-cli php5-gd php5-mcrypt php5-mysql mysql-server mysql-client 2 / On crée la base de donnée de prestashop en ligne de commande (remplacer les mots en minuscule par les votres): CREATE DATABASE nomdelabaseprestashop CHARACTER SET utf8 COLLATE utf8_general_ci;GRANT ALL PRIVILEGES ON nomdelabaseprestashop.* TO utilisateurbase@localhost IDENTIFIED BY 'motdepassedelabase'; 3 / si vous démarrez de zéro avec un prestashop tout propre = on télécharge prestashop dans le répertoire par défaut : cd /var/www/default/public_html/wget http://www.prestashop.com/download/prestashop_numerodeversiondésirée.zipunzip prestashop_numerodeversiondésirée.zipmv prestashop/* .rm prestashop_numerodeversiondésirée.ziprmdir prestashop/ 4 / on changes les droits de propriétaire du dossier : chown -R www-data: /var/www/default/public_html/ 5 / On crée le fichier de config du site : nano /etc/nginx/sites-available/nomdudomaine.com et on copie ceci dedans : server { server_name nomdudomaine.com; listen 80; root /var/www/default/public_html; index index.php; rewrite ^/api/?(.*)$ /webservice/dispatcher.php?url=$1 last; rewrite ^/([0-9])(-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*.jpg$ /img/p/$1/$1$2.jpg last; rewrite ^/([0-9])([0-9])(-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*.jpg$ /img/p/$1/$2/$1$2$3.jpg last; rewrite ^/([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*.jpg$ /img/p/$1/$2/$3/$1$2$3$4.jpg last; rewrite ^/([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*.jpg$ /img/p/$1/$2/$3/$4/$1$2$3$4$5.jpg last; rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*.jpg$ /img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6.jpg last; rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7.jpg last; rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8.jpg last; rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9.jpg last; rewrite ^/c/([0-9]+)(-[_a-zA-Z0-9-]*)/[_a-zA-Z0-9-]*.jpg$ /img/c/$1$2.jpg last; rewrite ^/c/([a-zA-Z-]+)/[a-zA-Z0-9-]+.jpg$ /img/c/$1.jpg last; rewrite ^/([0-9]+)(-[_a-zA-Z0-9-]*)/[_a-zA-Z0-9-]*.jpg$ /img/c/$1$2.jpg last; try_files $uri $uri/ /index.php?$args; location ~* \.(jpg|jpeg|gif|css|png|js|ico|html)$ { access_log off; expires max; } location ~ \.php { fastcgi_index index.php; fastcgi_split_path_info ^(.+\.php)(.*)$; include /etc/nginx/fastcgi_params; fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; [spam-filter] 6 / on crée le lien pour activer le domaine : ln -s /etc/nginx/sites-available/nomdudomaine.com /etc/nginx/sites-enabled/nomdudomaine.comet on redémarre : /etc/init.d/nginx restart 7 / Basculez les DNS Chez OVh, connectez-vous à votre compte et changez les DNS de votre domaine avec ceux de votre serveur. (24h de délai si vous n’avez pas changez le TTL au préalable) VOUS AVEZ FINI ! Si vous avez déjà un site existant, Il ne vous reste plus qu’a transférer votre site via FTP et d’importer votre base de données en ligne de commande SQL. Toutefois, pour une question pratique et pour éviter les bug avec nginx, une installation vierge de prestashop est nettement recommandée
  24. Hi All, I've had multiple problems with using a shared server with a maximum of 128mb. I can install the default theme, and it runs with no issues. But when I install a new theme it creates memory problems / blank page loads. Should I just upgrade to VPS? Can I reduce the memory usage? (I have deleted all stats modules + others not in use) Would deleting the default theme help at all? If anyone has any advice or suggestions they would be greatly appreciated. Cheers, Matt.
  25. Sauvegarde sur serveur FTP distant Prérequis ​Un serveur FTP avec des identifiants les droits d'écriture Un serveur Web contenant votre site et un accés ssh à celui-ci Vos identifiants de connexion à votre BDD pour réaliser un DUMP de celle-ci Environ le double d'espace disponible sur le serveur Web pour crée l'archive Il faut un client FTP sur le serveur de préférence : ncftp ainsi que tar Script Il faut crée votre script backup.sh dans le dossier /home/, à l'aide de la commande nano /home/backup.sh en SSH sur votre serveur. Une fois dans la fenêtre d'édition il suffit de copier/coller le code suivant en modifiant les parties en gras par vos propres paramètres. #!/bin/bash PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ## Configuration # Répertoire a sauvegarder REPERTOIRES="REPERTOIRE A SAUVEGARDER ex :/var/www/" # Parametre FTP FTP_SERVEUR="IP SERVEUR FTP" FTP_UTILISATEUR="FTP USER" FTP_PASSWORD="FTP PASS" FTP_REPERTOIRE="CHEMIN SUR VOTRE FTP ex :/Volume_1/Backup/" # Parametre BDD BDD_USER="USER BDD" ## Parametrage des applications # backup REPERTOIRE_BACKUP="/tmp/backup/" BACKUP="backup.tar.gz" BACKUP_BDD="backup.sql.gz" # tar TAR_OPTIONS="--exclude=$REPERTOIRE_BACKUP --exclude=/dev --exclude=/proc --exclude=/sys" # date DATE=$(date +"%Y-%m-%d") ## Creation de la sauvegarde mkdir -p ${REPERTOIRE_BACKUP} mkdir -p /var/backup/ mysqldump -u ${BDD_USER} -p'MOT DE PASSE BDD' --all-databases | gzip -9 > ${REPERTOIRE_BACKUP}/${BACKUP_BDD} tar ${TAR_OPTIONS} -zcvf ${REPERTOIRE_BACKUP}/${BACKUP} $REPERTOIRES ## Envoi de la sauvegarde ncftp -u"$FTP_UTILISATEUR" -p"$FTP_PASSWORD" $FTP_SERVEUR <<EOF mkdir $FTP_REPERTOIRE mkdir $FTP_REPERTOIRE/$DATE cd $FTP_REPERTOIRE/$DATE lcd $REPERTOIRE_BACKUP mput * quit EOF # Suppression fichier backup rm -rf $REPERTOIRE_BACKUP Création d'une tache CRON Toujours en SSH, lancer la commande crontab -e et ajouter une ligne de ce type : 0 0 * * 2 USER sh /home/backup.sh (explication 0 0 signifie à 00h00 et 2 le deuxième jour de la semaine , root l'utilisateur qui lance le script et ensuite le chemin vers notre script) Voila j’espère que ce tuto sera utile à certain d'entre vous. Nous pouvons surement l’améliorer !! Car il reste très basique. P.s. : Désolé pour les fautes.
×
×
  • Create New...