{"id":75,"date":"2018-10-27T18:09:46","date_gmt":"2018-10-27T16:09:46","guid":{"rendered":"https:\/\/www.rothamel.com\/?p=75"},"modified":"2018-10-27T18:11:47","modified_gmt":"2018-10-27T16:11:47","slug":"liferay-development-for-beginners-part-one-setup-your-own-instance","status":"publish","type":"post","link":"https:\/\/www.rothamel.com\/index.php\/2018\/10\/27\/liferay-development-for-beginners-part-one-setup-your-own-instance\/","title":{"rendered":"Liferay-Development for beginners &#8211; Part One \u2013 Setup your own instance"},"content":{"rendered":"<p>This little tutorial is written for users that are familiar with the following points, so they are not explained in detail:<\/p>\n<ul>\n<li>Working with linux (or any other OS of your choice), an editor like vi, etc.<\/li>\n<li>Install and configure a Mysql instance<\/li>\n<li>Creation of schema and assignment of user and rights<\/li>\n<\/ul>\n<p>Before you start with configuration and the other thrilling things of liferay you have to stress you internet connection by downloading the necessary parts for a working Liferay instance.<\/p>\n<p>The follwoing parts are at least needed for an instance. Hey can be found<\/p>\n<ul>\n<li>Liferay Community Portal (bundled with Tomcat)<br \/>\n<u><a href=\"http:\/\/sourceforge.net\/projects\/lportal\/files\/Liferay%20Portal\/\">http:\/\/sourceforge.net\/projects\/lportal\/files\/Liferay%20Portal\/<\/a><\/u><\/li>\n<li>Mysql Community Server<br \/>\n<u><a href=\"http:\/\/www.mysql.com\/downloads\/mysql\/\">http:\/\/www.mysql.com\/downloads\/mysql\/<\/a><\/u><\/li>\n<\/ul>\n<p>Now install the Mysql Community Server and follow the installation process. After installation you have to create a new database and user that will be used by Liferay.<\/p>\n<p>After the database stuff the Liferay Portal has now to be extracted to the folder of your choice. Now you have to create \/ modify the portal-ext.properties file that contains the basic configuration settings of your portal. You have to insert the following content:<\/p>\n<p>Confiture your JDBC driver<\/p>\n<pre>jdbc.default.driverClassName=com.mysql.jdbc.Driver<\/pre>\n<p>Setup the db url with your db-name. If your db is on a different host you should replace localhost by the real db host name.<\/p>\n<pre>jdbc.default.url=jdbc:mysql:\/\/localhost\/&lt;your-liferay-db&gt;?useUnicode=true&amp;characterEncoding=UTF-8&amp;useFastDateParsing=false<\/pre>\n<p>Now enter the the name of the liferay db user you have created<\/p>\n<pre>jdbc.default.username=&lt;your-lifeay-db-user&gt;<\/pre>\n<p>And enter the password you have assigned<\/p>\n<pre>jdbc.default.password=&lt;your-lifeay-db-user-password&gt;<\/pre>\n<p>The default liferay admin user is named admin, below you can also define every other name for your admin user.<\/p>\n<pre>default.admin.screen.name=admin<\/pre>\n<p>In the end enter the password of the admin user that should be initially assigned. If you later enter a different password on the control panel the new db based value overwrites the value of this properties file<\/p>\n<pre>default.admin.password=&lt;your-lifeay-initial-admin-default-password&gt;<\/pre>\n<p>The other values can be changed later when you are customizing the portal. Now go to the tomcat folder and their into the bin folder and start the tomcat server by running .\/startup.sh .<\/p>\n<p>That\u2019s all. You can now explore your new portal.<\/p>\n<p>Btw: The default root user is test@liferay.com with password test<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This little tutorial is written for users that are familiar with the following points, so they are not explained in detail: Working with linux (or any other OS of your choice), an editor like vi, etc. Install and configure a Mysql instance Creation of schema and assignment of user and rights Before you start with [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5,4],"tags":[],"class_list":["post-75","post","type-post","status-publish","format-standard","hentry","category-java","category-liferay"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9W9h9-1d","jetpack-related-posts":[{"id":77,"url":"https:\/\/www.rothamel.com\/index.php\/2018\/10\/27\/liferay-development-for-beginners-part-two-creation-of-a-development-environment\/","url_meta":{"origin":75,"position":0},"title":"Liferay-Development for beginners \u2013 Part two \u2013 Creation of a development environment","author":"Rolf Rothamel","date":"2018-10-27","format":false,"excerpt":"The development for the Liferay portal is quite nice by using a local develop environment with Eclipse, Mysql and Liferay. Therefore you should download the following components: Liferay (http:\/\/sourceforge.net\/projects\/lportal\/files\/Liferay%20Portal\/) Liferay Portal bundled with Tomcat Liferay Portal sources Liferay Portal Documentation Liferay Portal SDK Eclipse Eclipse Liferay IDE (downloadable via Eclipse\u2026","rel":"","context":"In &quot;Java&quot;","block_context":{"text":"Java","link":"https:\/\/www.rothamel.com\/index.php\/category\/java\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":29,"url":"https:\/\/www.rothamel.com\/index.php\/2018\/05\/21\/how-can-all-new-users-get-equal-page-structures\/","url_meta":{"origin":75,"position":1},"title":"Liferay: How can all new users get equal page structures","author":"Rolf Rothamel","date":"2018-05-21","format":false,"excerpt":"A little how-to for Liferay dev: 1) Define page structures for that area (public or private) you want to have equal. 2) Export them into a lar file ->do not export Groups \/ Roles otherwise you can\u2019t remove groups on your system that existed on your system when the lar\u2026","rel":"","context":"In &quot;Liferay&quot;","block_context":{"text":"Liferay","link":"https:\/\/www.rothamel.com\/index.php\/category\/liferay\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":149,"url":"https:\/\/www.rothamel.com\/index.php\/2019\/09\/06\/howto-setup-solr-eclipse-development-environment\/","url_meta":{"origin":75,"position":2},"title":"HowTo: Setup Solr + Eclipse development environment","author":"Rolf Rothamel","date":"2019-09-06","format":false,"excerpt":"Solr from sources for development with eclipse Getting sources and tools Clone solr sources for your desired branch in eclipse from githubinstall ant, install perl (for dist creation) see portable perl from strawberry perl if you don't have admin rights Setup go to your git repository of solr and to\u2026","rel":"","context":"In &quot;Allgemein&quot;","block_context":{"text":"Allgemein","link":"https:\/\/www.rothamel.com\/index.php\/category\/allgemein\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":228,"url":"https:\/\/www.rothamel.com\/index.php\/2020\/07\/17\/container-teil-2-arbeiten-mit-docker-containern\/","url_meta":{"origin":75,"position":3},"title":"Container \u2013 Part 2: Working with Docker-Containers","author":"Rolf Rothamel","date":"2020-07-17","format":false,"excerpt":"After showing the creation of an exemplary Docker container in the first part, this part of the article series now focuses on working with containers.","rel":"","context":"In &quot;Allgemein&quot;","block_context":{"text":"Allgemein","link":"https:\/\/www.rothamel.com\/index.php\/category\/allgemein\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":349,"url":"https:\/\/www.rothamel.com\/index.php\/2023\/06\/03\/neato_d3_d4_d5_d6_d7_update\/","url_meta":{"origin":75,"position":4},"title":"Neato Botvac D3 &#8211; D7 Firmware Update 4.5.3_189","author":"Rolf Rothamel","date":"2023-06-03","format":false,"excerpt":"Created 2022-11-13, updated 2023-06-03 Instructions for manually updating the firmware of Neato Botvac robots (D3, D4, D5, D6, D7). The following instructions are intended for vacuum robots D3, D4, D5, D6, D7 from the manufacturer Neato. Note in advance: The procedure is performed at your own risk without any guarantee\u2026","rel":"","context":"In &quot;Allgemein&quot;","block_context":{"text":"Allgemein","link":"https:\/\/www.rothamel.com\/index.php\/category\/allgemein\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":219,"url":"https:\/\/www.rothamel.com\/index.php\/2020\/07\/15\/docker-teil-1-tomcat-im-docker-container\/","url_meta":{"origin":75,"position":5},"title":"Container &#8211; Part 1: Tomcat im Docker-Container","author":"Rolf Rothamel","date":"2020-07-15","format":false,"excerpt":"Docker represents a pleasant possibility to create clearly defined, lightweight runtime environments (containers) and to distribute them if necessary. In the following, the creation and possible use is shown using the example of a container with Tomcat and OpenSuse.","rel":"","context":"In &quot;Allgemein&quot;","block_context":{"text":"Allgemein","link":"https:\/\/www.rothamel.com\/index.php\/category\/allgemein\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.rothamel.com\/index.php\/wp-json\/wp\/v2\/posts\/75","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rothamel.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rothamel.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rothamel.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rothamel.com\/index.php\/wp-json\/wp\/v2\/comments?post=75"}],"version-history":[{"count":2,"href":"https:\/\/www.rothamel.com\/index.php\/wp-json\/wp\/v2\/posts\/75\/revisions"}],"predecessor-version":[{"id":78,"href":"https:\/\/www.rothamel.com\/index.php\/wp-json\/wp\/v2\/posts\/75\/revisions\/78"}],"wp:attachment":[{"href":"https:\/\/www.rothamel.com\/index.php\/wp-json\/wp\/v2\/media?parent=75"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rothamel.com\/index.php\/wp-json\/wp\/v2\/categories?post=75"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rothamel.com\/index.php\/wp-json\/wp\/v2\/tags?post=75"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}