If it is not explicitly told in following recipe, setting up services are described for Ubuntu 20.04 server, but applications are described for Xubuntu 20.04 workstation. If you use different Ubuntu version or Linux distribution, settings as well as content, names and places of configuration files may be different!
Got it.

WordPress

Should prepare before:  Apache tīmekļa serveris  MySQL datubāze

WordPress ir emuāru sistēma, kas rakstīta PHP. Šeit ir aprakstīts, kā uzstādīt WordPress, izmantojot MySQL serveri.

Uzstādīšana

  1. Uzstāda WordPress:

    sudo apt-get install mysql-server wordpress
  2. Izveido simbolisko saiti no tīmekļa skanes mapes uz wordpress bibliotēkām:

    sudo ln -s /usr/share/wordpress /var/www/html/wordpress

    Ubuntu 12.04 versijai no mērķa mapes jāizmet html daļa

  3. Uzģenerē Wordpress konfigurāciju:

    sudo gzip -d /usr/share/doc/wordpress/examples/setup-mysql.gz
    sudo bash /usr/share/doc/wordpress/examples/setup-mysql -n wordpress -u root localhost

    Ubuntu 12.04 versijai nav jāizpilda pirmā komanda, jo faili jau ir atarhivēti, bet otrajā komandā jāizmet -u root parametrs.

  4. Pārstartē Apache:

    sudo /etc/init.d/apache2 restart
  5. Atver web lapu http://localhost/wordpress un izpilda vedņa instrukcijas

    Wordpress izmantotajam lietotājam uzģenerēs jaunu paroli, kas tiek saglabāta /etc/wordpress/config-localhost.php

Saites


  
Tags Linux Pārvaldība Uzstādīšana Serveris
Created by Valdis Vītoliņš on 2008-08-08 17:07
Last modified by Valdis Vītoliņš on 2021-04-13 14:30
 
Xwiki Powered
Creative Commons Attribution 3.0 Unported License