{"id":8781,"date":"2015-01-30T19:44:43","date_gmt":"2015-01-30T19:44:43","guid":{"rendered":"https:\/\/wp.okra.host\/article\/installing-wordpress\/"},"modified":"2021-03-07T14:51:54","modified_gmt":"2021-03-07T13:51:54","slug":"installing-wordpress","status":"publish","type":"ht_kb","link":"https:\/\/kb.okra.host\/de\/article\/installing-wordpress\/","title":{"rendered":"Installieren von WordPress"},"content":{"rendered":"<h2 id=\"overview\" >\u00dcbersicht<\/h2>\n<p>WordPress is a popular\u00a0content-publication software that can do everything from\u00a0run a simple four-page web site to an eCommerce shop. Even our knowledgebase is run with WordPress, a few plugins, and a theme.<\/p>\n<h2 id=\"installing-wordpress\" >Installieren von WordPress<\/h2>\n<h3 id=\"one-click-method\" >One-Click Method<\/h3>\n<p>As of May 10, 2016 one-clicks <a href=\"http:\/\/updates.apnscp.com\/2016\/05\/one-clicks-are-back\/\">have returned<\/a> to the control panel. To update within the control panel:<\/p>\n<ol>\n<li>Go to\u00a0<strong>Web<\/strong> &gt;\u00a0<strong>Web Apps<\/strong> innerhalb der <a href=\"https:\/\/kb.okra.host\/de\/control-panel\/logging-into-the-control-panel\/\">Bedienfeld<\/a><\/li>\n<li>Select the hostname from the dropdown list\n<ul>\n<li>If you would like to install WordPress in a folder within the domain, click the dropdown and select <em>Edit Subdir<\/em>. Select or create the folder.\n<\/p>\n<div id=\"attachment_1294\" style=\"width: 395px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/kb.okra.host\/wp-content\/uploads\/2015\/01\/edit-subdir-indicator.png\" rel=\"attachment wp-att-1294 lightbox-0\" data-lbwps-width=\"385\" data-lbwps-height=\"134\" data-lbwps-srcsmall=\"https:\/\/kb.okra.host\/wp-content\/uploads\/2015\/01\/edit-subdir-indicator.png\"><img decoding=\"async\" aria-describedby=\"caption-attachment-1294\" loading=\"lazy\" class=\"size-full wp-image-1294\" src=\"https:\/\/kb.okra.host\/wp-content\/uploads\/2015\/01\/edit-subdir-indicator.png\" alt=\"Edit Subdir indicator in Web &gt; Web Apps\" width=\"385\" height=\"134\" \/><\/a><\/p>\n<p id=\"caption-attachment-1294\" class=\"wp-caption-text\">Edit Subdir indicator in Web &gt; Web Apps<\/p>\n<\/div>\n<\/li>\n<\/ul>\n<\/li>\n<li>Click\u00a0<strong>Install WordPress<\/strong> unter\u00a0<span style=\"text-decoration: underline\">Actions<\/span><\/li>\n<li>WordPress will install. A verification email will be sent to the administrative address on the account confirming your login and password.\n<ul>\n<li>The\u00a0destination must be empty. If there are files present, remove them first via <strong>Dateien<\/strong> &gt; <strong>Datei-Manager<\/strong>.\n<\/p>\n<div id=\"attachment_1296\" style=\"width: 1012px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/kb.okra.host\/wp-content\/uploads\/2015\/01\/wordpress-install.png\" rel=\"attachment wp-att-1296 lightbox-1\" data-lbwps-width=\"1002\" data-lbwps-height=\"348\" data-lbwps-srcsmall=\"https:\/\/kb.okra.host\/wp-content\/uploads\/2015\/01\/wordpress-install.png\"><img decoding=\"async\" aria-describedby=\"caption-attachment-1296\" loading=\"lazy\" class=\"size-full wp-image-1296\" src=\"https:\/\/kb.okra.host\/wp-content\/uploads\/2015\/01\/wordpress-install.png\" alt=\"WordPress and other web app installation options in apnscp.\" width=\"1002\" height=\"348\" \/><\/a><\/p>\n<p id=\"caption-attachment-1296\" class=\"wp-caption-text\">WordPress and other web app installation options in apnscp.<\/p>\n<\/div>\n<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h3 id=\"manual-method\" >Manual Method<\/h3>\n<p>WordPress takes about 5 minutes to install and 3 minutes to configure. Maybe more, maybe less depending upon how easily you get sidetracked.<\/p>\n<p>There are 3 main components to setting WordPress up: (1) configuring a database to store information, (2) uploading the files, (3) changing permissions to allow write access. For speed, we recommend using a <a title=\"Accessing FTP server\" href=\"https:\/\/kb.okra.host\/de\/ftp\/accessing-ftp-server\/\">FTP-Client<\/a>\u00a0oder <a title=\"Zugriff auf das Terminal\" href=\"https:\/\/kb.okra.host\/de\/terminal\/accessing-terminal\/\">Terminal<\/a> to setup WordPress. This will cover setting up WordPress using the control panel exclusively.<\/p>\n<h3 id=\"prerequisites\" >Prerequisites<\/h3>\n<ol>\n<li>Login to the <a title=\"Anmeldung am Bedienfeld\" href=\"https:\/\/kb.okra.host\/de\/control-panel\/logging-into-the-control-panel\/\">Bedienfeld<\/a><\/li>\n<li>Create <a title=\"Eine Datenbank erstellen\" href=\"https:\/\/kb.okra.host\/de\/mysql\/creating-a-database\/\">a database<\/a> to store data via <strong>Databases<\/strong> &gt; <strong>MySQL Manager<\/strong>\n<ul>\n<li>In this example, this database will be called\u00a0<code>wordpress<\/code> with an account database prefix <code><span style=\"font-family: monospace\">ex_<\/span><\/code><\/li>\n<\/ul>\n<\/li>\n<li>Connect WordPress to a folder (<a title=\"Von wo aus werden die Inhalte der Website bereitgestellt?\" href=\"https:\/\/kb.okra.host\/de\/web-content\/where-is-site-content-served-from\/\">Dokumentenstamm<\/a>) on your account. If installing WordPress on the primary domain, skip this step, WordPress will be installed under <code>\/var\/www\/html<\/code>\n<ul>\n<li>On a new domain, visit <strong>DNS<\/strong> &gt; <strong>Addon-Domains<\/strong>\u00a0to add a new domain + document root<\/li>\n<li>As a subdomain, e.g. <em>http:\/\/blog.mydomain.com<\/em>, via\u00a0<strong>Web<\/strong> &gt;\u00a0<strong>Subdomains<\/strong> to add a new subdomain + document root<\/li>\n<li>WordPress will be installed on a subdomain called <code>blog<\/code> with a folder location\u00a0<code>\/var\/www\/wp<\/code><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h3 id=\"uploading-wordpress\" >Uploading WordPress<\/h3>\n<p>There are three methods of getting WordPress on your account ordered from fastest to slowest and additionally sorted from most to least difficult. Choose whichever works best for you!<\/p>\n<h4 id=\"option-1-downloading-from-terminal\" >Option 1: Downloading from terminal<\/h4>\n<p>This is available only for accounts <a title=\"Ist ein Terminalzugang vorhanden?\" href=\"https:\/\/kb.okra.host\/de\/terminal\/is-terminal-access-available\/\">with terminal access<\/a>.<\/p>\n<ol>\n<li>Login to the <a title=\"Zugriff auf das Terminal\" href=\"https:\/\/kb.okra.host\/de\/terminal\/accessing-terminal\/\">Terminal<\/a><\/li>\n<li>Switch to the <a title=\"Von wo aus werden die Inhalte der Website bereitgestellt?\" href=\"https:\/\/kb.okra.host\/de\/web-content\/where-is-site-content-served-from\/\">Dokumentenstamm<\/a>\n<ul>\n<li><code>cd \/var\/www\/wp<\/code><\/li>\n<\/ul>\n<\/li>\n<li>Download and extract WordPress using <a href=\"http:\/\/apnscp.com\/linux-man\/man1\/wget.1.html\">wget<\/a>\n<ul>\n<li><code>wget http:\/\/wordpress.org\/latest.zip &amp;&amp; unzip latest.zip &amp;&amp; rm -f latest.zip\u00a0<\/code><\/li>\n<\/ul>\n<\/li>\n<li>Move WordPress from <code>wordpress\/<\/code> back to <code>\/var\/www\/wp<\/code>\n<ul>\n<li><code>cd wordpress\/ &amp;&amp; mv * ..\/ &amp;&amp; cd .. &amp;&amp; rmdir\u00a0wordpress<\/code><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h4 id=\"option-2-uploading-with-ftp\" >Option 2:\u00a0Uploading with FTP<\/h4>\n<p>This is the fastest method, supported by all accounts, to get WordPress up and running:<\/p>\n<ol>\n<li>Download the current WordPress distribution,\u00a0<a href=\"https:\/\/wordpress.org\/latest.zip\">latest.zip<\/a><\/li>\n<li>Login to the <a title=\"Accessing FTP server\" href=\"https:\/\/kb.okra.host\/de\/ftp\/accessing-ftp-server\/\">FTP server<\/a><\/li>\n<li>Navigate to remote directory designated as <a title=\"Von wo aus werden die Inhalte der Website bereitgestellt?\" href=\"https:\/\/kb.okra.host\/de\/web-content\/where-is-site-content-served-from\/\">Dokumentenstamm<\/a> for WordPress<\/li>\n<li>Upload those files located inside\u00a0<code>wordpress\/<\/code> im <code>latest.zip<\/code> file to the remote directory<\/li>\n<\/ol>\n<h4 id=\"option-3-uploading-files-in-control-panel\" >Option 3: Uploading files in\u00a0control panel<\/h4>\n<p><a title=\"Accessing FTP server\" href=\"https:\/\/kb.okra.host\/de\/ftp\/accessing-ftp-server\/\">FTP<\/a> is much quicker to upload files. If you&#8217;re comfortable with\u00a0using a FTP client, use a FTP client to save some time (and a considerable number of steps).<\/p>\n<ol>\n<li>Visit <strong>Dateien<\/strong> &gt; <strong>Datei-Manager<\/strong> within the control panel<\/li>\n<li>Switch to the new folder by selecting <strong>Change Directory<\/strong> &gt;\u00a0<strong>Browse&#8230;<\/strong> unter\u00a0<span style=\"text-decoration: underline\">Current Path<\/span><\/li>\n<li>Within\u00a0<strong>Commands<\/strong> &gt;\u00a0<strong>Remote URL\u00a0<\/strong>enter\u00a0<code>http:\/\/wordpress.org\/latest.zip<\/code>\u00a0then click\u00a0<strong>Download and Extract<\/strong>\n<ul>\n<li>Delete <code>index.html<\/code>\u00a0if it exists. This is a placeholder file and will take precedence over WordPress&#8217;s <a title=\"\u00c4ndern von Indexseiten\" href=\"https:\/\/kb.okra.host\/de\/web-content\/changing-index-pages\/\">Indexdatei<\/a>, <code>index.php<\/code>. To do so, hover over the file, go to <em>Actions<\/em>, select the\u00a0<em>Delete<\/em> action<\/li>\n<li>WordPress&#8217; latest version will be downloaded to your account, then extracted in the current directory\n<\/p>\n<div id=\"attachment_604\" style=\"width: 310px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/kb.okra.host\/wp-content\/uploads\/2015\/01\/filemanager-wp-setup.png\" rel=\"lightbox-2\" data-lbwps-width=\"1006\" data-lbwps-height=\"382\" data-lbwps-srcsmall=\"https:\/\/kb.okra.host\/wp-content\/uploads\/2015\/01\/filemanager-wp-setup.png\"><img decoding=\"async\" aria-describedby=\"caption-attachment-604\" loading=\"lazy\" class=\"size-medium wp-image-604\" src=\"https:\/\/kb.okra.host\/wp-content\/uploads\/2015\/01\/filemanager-wp-setup-300x114-1.png\" alt=\"Summary of actions to do in File Manager: remove index.html, enter URL, click button.\" width=\"300\" height=\"114\" \/><\/a><\/p>\n<p id=\"caption-attachment-604\" class=\"wp-caption-text\">Summary of actions to do in File Manager: remove index.html, enter URL, click button.<\/p>\n<\/div>\n<\/li>\n<\/ul>\n<\/li>\n<li>Navigate to the newly created\u00a0<code>wordpress\/<\/code> directory to move all files\u00a0down a level<\/li>\n<li>Select all files, under\u00a0<strong>Commands<\/strong> &gt;\u00a0<strong><strong>Add Selected File(s) to Clipboard<\/strong><\/strong>\n<\/p>\n<div id=\"attachment_605\" style=\"width: 310px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/kb.okra.host\/wp-content\/uploads\/2015\/01\/wp-selected-files.png\" rel=\"lightbox-3\" data-lbwps-width=\"1006\" data-lbwps-height=\"382\" data-lbwps-srcsmall=\"https:\/\/kb.okra.host\/wp-content\/uploads\/2015\/01\/wp-selected-files.png\"><img decoding=\"async\" aria-describedby=\"caption-attachment-605\" loading=\"lazy\" class=\"size-medium wp-image-605\" src=\"https:\/\/kb.okra.host\/wp-content\/uploads\/2015\/01\/wp-selected-files-300x114-1.png\" alt=\"WordPress bulk selection files in the control panel.\" width=\"300\" height=\"114\" \/><\/a><\/p>\n<p id=\"caption-attachment-605\" class=\"wp-caption-text\">WordPress bulk selection files in the control panel. These files will be moved down a directory.<\/p>\n<\/div>\n<\/li>\n<li>Move back\u00a0up a directory by clicking\u00a0<strong>Parent Directory<\/strong><\/li>\n<li>Select all files under\u00a0<strong>Clipboard Contents<\/strong>, click\u00a0<strong><strong>Move<\/strong><\/strong>\n<\/p>\n<div id=\"attachment_606\" style=\"width: 307px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/kb.okra.host\/wp-content\/uploads\/2015\/01\/wordpress-clipboard-view.png\" rel=\"lightbox-4\" data-lbwps-width=\"694\" data-lbwps-height=\"700\" data-lbwps-srcsmall=\"https:\/\/kb.okra.host\/wp-content\/uploads\/2015\/01\/wordpress-clipboard-view.png\"><img decoding=\"async\" aria-describedby=\"caption-attachment-606\" loading=\"lazy\" class=\"size-medium wp-image-606\" src=\"https:\/\/kb.okra.host\/wp-content\/uploads\/2015\/01\/wordpress-clipboard-view-297x300-1.png\" alt=\"Managing WordPress clipboard contents to move up a directory.\" width=\"297\" height=\"300\" \/><\/a><\/p>\n<p id=\"caption-attachment-606\" class=\"wp-caption-text\">Managing WordPress clipboard contents to move up a directory.<\/p>\n<\/div>\n<\/li>\n<li>Additionally remove the now empty <code>wordpress\/<\/code> directory. Select the\u00a0directory,\u00a0<strong>Commands<\/strong> &gt;\u00a0<strong>Delete Selected Files<\/strong> + select\u00a0<strong>recursive<\/strong><\/li>\n<\/ol>\n<h3 id=\"wordpress-installation-wizard\" >WordPress installation wizard<\/h3>\n<p>Now that WordPress is up and running, we need to setup a default configuration.<\/p>\n<ol>\n<li>Visit your WordPress\u00a0web site\n<ul>\n<li>In our example, from the\u00a0<span style=\"text-decoration: underline\">Prerequisites<\/span> step, it would be <em>http:\/\/blog.mydomain.com<\/em><\/li>\n<\/ul>\n<\/li>\n<li>Plug in your database details\n<ul>\n<li><strong>Database Name<\/strong> is the database created earlier in <strong>Databases<\/strong> &gt;\u00a0<strong>MySQL Manager<\/strong>\n<ul>\n<li>In our example, this is <code>ex_wordpress<\/code><\/li>\n<\/ul>\n<\/li>\n<li><strong>User Name<\/strong> is either the username logged into the control panel to create the database or another user separately created to access the database\n<ul>\n<li>Use a separate user to keep your master database password\u00a0secret<\/li>\n<\/ul>\n<\/li>\n<li><strong>Password<\/strong> is the corresponding password\n<ul>\n<li>Need to reset your MySQL password? See KB: <a title=\"Das MySQL-Passwort zur\u00fccksetzen\" href=\"https:\/\/kb.okra.host\/de\/mysql\/resetting-mysql-password\/\">Das MySQL-Passwort zur\u00fccksetzen<\/a><\/li>\n<\/ul>\n<\/li>\n<li><strong>Database Host<\/strong> und <strong>Table Prefix<\/strong> will remain the same (<code>localhost<\/code>\/<code>wp_<\/code>)\n<\/p>\n<div id=\"attachment_607\" style=\"width: 310px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/kb.okra.host\/wp-content\/uploads\/2015\/01\/wordpress-database-settings.png\" rel=\"lightbox-5\" data-lbwps-width=\"718\" data-lbwps-height=\"466\" data-lbwps-srcsmall=\"https:\/\/kb.okra.host\/wp-content\/uploads\/2015\/01\/wordpress-database-settings.png\"><img decoding=\"async\" aria-describedby=\"caption-attachment-607\" loading=\"lazy\" class=\"size-medium wp-image-607\" src=\"https:\/\/kb.okra.host\/wp-content\/uploads\/2015\/01\/wordpress-database-settings-300x195-1.png\" alt=\"WordPress database settings following this walkthrough.\" width=\"300\" height=\"195\" \/><\/a><\/p>\n<p id=\"caption-attachment-607\" class=\"wp-caption-text\">WordPress database settings following this walkthrough.<\/p>\n<\/div>\n<\/li>\n<\/ul>\n<\/li>\n<li>WordPress needs to store this configuration file inside its application\u00a0directory. With security restrictions in place (<em>it&#8217;s for your own good!<\/em>) this file must be uploaded separately either through the terminal, FTP, or control panel.\n<ul>\n<li>Using a basic text editor like Notepad or TextEdit (see <a href=\"http:\/\/support.apple.com\/kb\/TA20406\">How to Set Up TextEdit as HTML or Plain Text Editor<\/a>) copy and paste the wp-config.php contents to a new text file<\/li>\n<li>Save this file as <code>wp-konfiguration.php<\/code><\/li>\n<li>Upload to your WordPress location, in this example it&#8217;s <code><code>\/var\/www\/wp<\/code><\/code>\n<\/p>\n<div id=\"attachment_608\" style=\"width: 310px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/kb.okra.host\/wp-content\/uploads\/2015\/01\/wp-config-enqueued-file-manager.png\" rel=\"lightbox-6\" data-lbwps-width=\"1074\" data-lbwps-height=\"215\" data-lbwps-srcsmall=\"https:\/\/kb.okra.host\/wp-content\/uploads\/2015\/01\/wp-config-enqueued-file-manager.png\"><img decoding=\"async\" aria-describedby=\"caption-attachment-608\" loading=\"lazy\" class=\"size-medium wp-image-608\" src=\"https:\/\/kb.okra.host\/wp-content\/uploads\/2015\/01\/wp-config-enqueued-file-manager-300x60.png\" alt=\"Uploading wp-config.php during installation in the File Manager.\" width=\"300\" height=\"60\" \/><\/a><\/p>\n<p id=\"caption-attachment-608\" class=\"wp-caption-text\">Uploading wp-config.php during installation in the File Manager.<\/p>\n<\/div>\n<\/li>\n<\/ul>\n<\/li>\n<li>Click\u00a0<strong>Run the install<\/strong> in WordPress&#8217; installer to complete installation\n<ul>\n<li>Select a username apart from\u00a0<code>admin<\/code><\/li>\n<li>Choose a strong password. Accounts are hacked either by outdated WordPress installs or easy password. Stay vigilant and keep your account secure.<\/li>\n<\/ul>\n<\/li>\n<li><em>Done!<\/em> Now login to your WordPress dashboard and have fun.<\/li>\n<\/ol>\n<h3 id=\"permit-write-access\" >Permit write-access<\/h3>\n<p>Write-access will allow WordPress to store files in certain locations, while preventing access\u00a0to modify\/delete\/create files elsewhere. This is a necessary precaution to help keep your account safe. See KB: <a title=\"Freigabe des Schreibzugriffs\" href=\"https:\/\/kb.okra.host\/de\/wordpress\/enabling-write-access\/\">enabling write-access<\/a>. By default, we recommend enabling write-access to only\u00a0<code>wp-content\/uploads\/<\/code>. Media files may be\u00a0uploaded through WordPress and files in these directories go through an extra security measure to\u00a0serve <i>all files\u00a0<\/i>as if they were media\u00a0files (prevents hackers from uploading malicious PHP files to these locations).<\/p>\n<h2 id=\"see-also\" >Siehe auch<\/h2>\n<ul>\n<li>KB: <a title=\"Updating WordPress\" href=\"https:\/\/kb.okra.host\/de\/wordpress\/updating-wordpress\/\">Updating WordPress<\/a><\/li>\n<li>KB: <a href=\"https:\/\/kb.okra.host\/de\/categories\/wordpress\/\">WordPress category<\/a><\/li>\n<li><a href=\"http:\/\/codex.wordpress.org\/\">WordPress Codex<\/a> (main documentation)<\/li>\n<li><a href=\"http:\/\/codex.wordpress.org\/WordPress_Lessons\">WordPress Lessons<\/a><\/li>\n<li><a href=\"https:\/\/wordpress.org\/themes\/\">WordPress Themes<\/a><\/li>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/browse\/popular\/\">WordPress Popular Plugins<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Overview WordPress is a popular\u00a0content-publication software that can do everything from\u00a0run a simple four-page web site to an eCommerce shop. Even our knowledgebase is run with WordPress, a few plugins, and a theme. Installing WordPress One-Click Method As of May 10, 2016 one-clicks have returned to the control panel. To&#8230;<\/p>","protected":false},"author":1,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[69],"ht-kb-tag":[],"class_list":["post-8781","ht_kb","type-ht_kb","status-publish","format-standard","has-post-thumbnail","hentry","ht_kb_category-wordpress"],"_links":{"self":[{"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb\/8781","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/comments?post=8781"}],"version-history":[{"count":2,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb\/8781\/revisions"}],"predecessor-version":[{"id":8789,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb\/8781\/revisions\/8789"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/media\/8783"}],"wp:attachment":[{"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/media?parent=8781"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb-category?post=8781"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb-tag?post=8781"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}