Documents Product Categories Typo3 powered by Websoft9(LAMP | CentOS7.4)

Typo3 powered by Websoft9(LAMP | CentOS7.4)

Jun 28, 2024
 Typo3 Image Guide Version 8.6.1 Websoft9 TYPO3 is a pre-configured, ready to run image for running TYPO3 on Alibaba Cloud. TYPO3 is a free, feature-rich Enterprise class Open Source Web CMS based on PHP with a vast international community of developers and supporters.The TYPO3 Universe offers highly flexible, scaleable and customizable products for Web Content Management, providing the basis for websites, intranets and web & mobile applications worldwide – always with a focus on the current needs of businesses and public institutions. Typo3 Stack Components Software Version: Typo3-8.6.1 Software directory: /data/wwwroot/default/typo3 Basic software environment: Click here (http://en.websoft9.com/xdocs/php-stack-linux-image-guide/) PHP Configuration File: /usr/local/php/etc/php.ini Virtual host Configuration File directory: /usr/local/apache/conf/vhost Virtual host Configuration Command: /root/oneinstack/vhost.sh Database install directory: /usr/local/mysql Database data directory: /data/mysql Database Configuration File: /etc/my.cnfVerify the Image  After the installation of Image,please verify it Login on Alibaba Cloud console,get you Internet IP Address Open you Chrome or Firefox on your local PC,visit the http://Internet IP Address/ If verify successfully,you can enter the boot page of Websoft9 below If no response from browser,please check the Security Group settings (https://www.alibabacloud.com/help/doc-detail/25471.htm) to ensure that port 80 is been allowed Database Password This Image use MySQL for database #default user/password:root/123456MySQL User Guide: Click here (http://en.websoft9.com/xdocs/manage-  mysql%ef%bc%88lnmplamp-image-%ef%bc%89) Getting Started with Typo3 We will show you how to install Typo3: 1.Create the database required for Typo3, 2.Add a virtual host required for Typo3,(not nessesary) 3.Start to install Typo3. Step1. Create a database 1.login in MySQL: Method 1:Use following URL to open phpMyAdmin page: http://< Public net IP >/phpMyAdmin Method 2:Use SSH command to login in. mysql -uroot –p                                #enter mysql console  #default user/password:root/123456            More MySQL User Guide: Click here (http://en.websoft9.com/xdocs/manage-mysql%ef%bc%88lnmplamp- image-%ef%bc%89)   2.create a database:   MySQL [(none)]> create database mydbname; MySQL [(none)]> show databases;   3.Create a Database User and grants permissions to the User: MySQL [(none)]> grant all privileges on mydbname.* to username@''localhost'' identified by ''userpassword''; MySQL [(none)]> flush privileges;MySQL [(none)]> exit;    (http://libs.websoft9.com/Websoft9/DocsPicture/en/common/before2.png) Step2. Add a virtual host Use SSH Command to Add a virtual host: [root@iZbp1i4rjdsy216yq7lgucZ ~]# cd /root/oneinstack [root@iZbp1i4rjdsy216yq7lgucZ oneinstack]# ./vhost.sh (http://libs.websoft9.com/Websoft9/DocsPicture/en/typo3/ty00.png) Step3. Install Typo3 Open your domain name via browser: 1. Click “System loods good. Continue!”; (http://libs.websoft9.com/Websoft9/DocsPicture/en/typo3/ty02.png) 2. Fill in Database username, password and host, Click “Continue”; (http://libs.websoft9.com/Websoft9/DocsPicture/en/typo3/ty03.png) 3. Select a database name, Click “Continue”; (http://libs.websoft9.com/Websoft9/DocsPicture/en/typo3/ty04.png) 4. Set Admin user adn password, Click “Continue”; (http://libs.websoft9.com/Websoft9/DocsPicture/en/typo3/ty05.png) 5. Installation done, You can open the TYPO3 backend; (http://libs.websoft9.com/Websoft9/DocsPicture/en/typo3/ty06.png) 6. Fill in admin username and password, Click “Login”; (http://libs.websoft9.com/Websoft9/DocsPicture/en/typo3/ty07.png) 7. The TYPO3 backend: (http://libs.websoft9.com/Websoft9/DocsPicture/en/typo3/ty08.png) Use http:///  to go to your index page. The Extension Manager TYPO3 CMS has many built-in features but even more features are available via extensions. Actually the whole of TYPO3 CMS itself is made of extensions. With public extensions you can enhance existing features or add totally new ones.The Extension Manager is where you can manage available extensions or  get new ones from the TYPO3 Extension Repository (TER). It is quite a rich tool and this chapter provides only a brief overview. Moving to ADMIN TOOLS > Extensions, we get the following view: It shows the “Installed extensions”. The first action icon (1) can be used to install an uninstalled extension or vice-versa (uninstalled extensions appear grayed out). Next comes information about the extension: title, key, version and state. Finally are one or more actions icons, depending on what the extension offers. All extensions have a download action, many will have a configuration action, which can be used to access the extension’s options. Again just hover over the actions to get a help text. Installing a new extension Let’s look briefly at the extension installation process. Use the menu in the docheader to switch to the “Get extensions” view: The list which appears in this view is the full list of extensions from the TER (limited to those compatible with the TYPO3 CMS that you are using). You can update this list using the button at the top right (1). A search field is available (2). Clicking the “Import and install” action (3) will trigger the installation. Extensions may depend on other extensions, in which case all will be installed transparently. If you look for a specific version of an extension, you can click on its title (4) and access the list of all available versions. Only compatible versions are displayed. Known insecure versions will also never show up. Templates After that brief overview of pages and content elements, you might wonder how all this structure is turned into a web site, complete with page layout, CSS and JavaScript files. In TYPO3 CMS this job is achieved using templates which should be considered as a kind of configuration written in a language called TypoScript. The WEB > Template module provides an overview of the TypoScript configuration and allows to work with so-called “template records”, which is where the TypoScript configuration is actually stored. Here is a brief view of the Template module: Templating itself is covered by other tutorials: the TypoScript in 45 minutes Tutorial (https://docs.typo3.org/typo3cms/TyposcriptIn45MinutesTutorial/Index.html#start) covers the basics of TypoScript and how to related pages and content elements to an actual HTML output. the Templating Tutorial (https://docs.typo3.org/typo3cms/TemplatingTutorial/Index.html#start) guides you through the actual integration of HTML models into your TYPO3 CMS installation using TypoScript.   Facts about templates and possibilities Here is a short list of the possibilities offered by TYPO3 CMS templates: You can implement any design you like, the way you like. You can have any number of menu levels. You can have multiple sites, multiple templates. You can have pages in any number of languages. You can have multiple content areas (columns) on a page. You can integrate all kinds of external data sources through plugins written in PHP. You can add any number of web applications to run on various pages in TYPO3. You can extend pretty much anything with PHP. The List module In TYPO3 CMS all the information is stored in database records: pages, content elements, templates, users, news items, etc. For some of this information dedicated modules exist, like the Page or the Template module which we visited earlier. But these records, as well as all others that don’t have such a dedicated module, can be created and edited using the WEB > List module. Using the List module effectively The clipboard Advanced clipboard usage Mass editing Backup To restore a TYPO3 CMS project you need to have a backup of at least the following data directories:fileadmin  typo3conf uploads You do not need a backup of the “typo3temp/” directory, due to the fact that all files are re-generated automatically if they do not exist. Also a backup of the TYPO3 source code is not needed (unless changes were made to the source code, which is not recommended). You can always download the TYPO3 source packages from the TYPO3 website, even for older versions of TYPO3. In addition to the data directories listed above, a backup of the database is required. For MySQL the command line tool “mysqldump” (or “mysqldump.exe” for Microsoft Windows) is a good way to export the content of the database to a file without any manual interaction (e.g. as an automated, scheduled system task). Once a backup has been created, it should be verified that it is complete and can be restored successfully. A good test is to restore a backup of a TYPO3 project to a different server and then check the site for any errors or missing data. In a perfect world, these restore checks should be tested frequently to ensure that the concept works and continues working over a time period. The worst case would be that you rely on your backup concept and when you need to restore a backup you notice that the concept has not worked for months. Manual Backup 1. Download the entire Typo3 file in you root dictionary by FTP or other tools 2. Visit http://< Internet IP Address >/phpMyAdmin,login in to the phpMyAdmin Panel3. Select you database,then Export  4. Click “go” button,then download the SQL backup file Upgrade When a new version of TYPO3 is released, you should follow the guideline in this chapter in order to do an upgrade. Also follow any additional upgrade information carefully. You might e.g. want to skim the included ChangeLog to see if any features affect the way your site works. (Look for lines prepended with “!!!” – those are the really important ones!) Basically these are the steps to be done to update your TYPO3 site: Backup (https://docs.typo3.org/typo3cms/InstallationGuide/Upgrade/Backup/Index.html) Reference Index (https://docs.typo3.org/typo3cms/InstallationGuide/Upgrade/UpdateReferenceIndex/Index. Install the new Source (https://docs.typo3.org/typo3cms/InstallationGuide/Upgrade/InstallTheNewSource/Index.htm Convert global Extensions (https://docs.typo3.org/typo3cms/InstallationGuide/Upgrade/ConvertGlobalExtensions/Inde Use the upgrade wizard (https://docs.typo3.org/typo3cms/InstallationGuide/Upgrade/UseTheUpgradeWizard/Index.hRun the Database Analyzer  (https://docs.typo3.org/typo3cms/InstallationGuide/Upgrade/RunTheDatabaseAnalyzer/Inde Clear Caches and User Settings (https://docs.typo3.org/typo3cms/InstallationGuide/Upgrade/ClearCachesAndUserSettings/ Remove temporary cache files (https://docs.typo3.org/typo3cms/InstallationGuide/Upgrade/RemoveTemporaryCacheFiles/ Check the ChangeLog and NEWS.md (https://docs.typo3.org/typo3cms/InstallationGuide/Upgrade/ChangelogAndNewsmd/Index Update Extensions (https://docs.typo3.org/typo3cms/InstallationGuide/Upgrade/UpdateExtensions/Index.html) Update Translations (https://docs.typo3.org/typo3cms/InstallationGuide/Upgrade/UpdateTranslations/Index.htm How to access phpMyAdmin? Websoft9 Typo3 Image have installed the phpMyadmin phpMyAdmin install directory: /data/wwwroot/default/phpMyAdmin Linux Following is the step for access phpMyadmin 1. Open Chrome or Firefox on your local PC 2. visit the http://Internet IP Address/phpMyAdmin,you can enter the login page 3. select you language,Username:root,Password:123456 4. Click the button “Go” Windows Following is the step for access phpMyadmin1. User Remote Desktop Connection of Window to connect to you ECS  2. Install a Chrome or Firefox browser on you ECS 3. Open Chrome or Firefox on your ECS 4. visit the http://Internet IP Address/phpMyAdmin,you can enter the login page 5. select you language,Username:root,Password:123456 6. Click the button “Go” How to using Human readable URLs? By default TYPO3 CMS identifies the page which should be delivered by the “?id” parameter. Just enter http://www.your-site.example.org/index.php? id=33 to get the “Overview” page of the Introduction Package. This is convenient but not good for visitors nor for proper referencing. Human-readable URLs are provided by extension “realurl” (others exist). Thus the above-mentioned URL becomes http://www.your- site.example.org/content-examples/overview/. This should work out of the box with the Introduction Package. If it does not you may want to deactivate human-readable URLs. The simplest way to achieve this is to go to the ADMIN TOOLS > Extensions module and deactivate extension “realurl”. How to change backend language? The TYPO3 CMS backend is available in many languages. These translations are bundled into packages which need to be fetched from the community translation server (https://translation.typo3.org/ (https://translation.typo3.org/)). Once installed backend users can choose which language to use. Loading translation packages happens in the ADMIN TOOLS > Languages module. Click on the “+” icon to activate a new language. A download button appears to the right. Click on it to get the translations. In the docheader is a download icon which will fetch packages for all activated languages. It is recommended to update regularly to benefit from completed or improved translations. To change the language of the backend, move to the User Settings module, which is accessed by clicking on your user name in the top bar. Choose “Language” at the bottom, then hit the “Save” button in the docheader. The backend should update itself automatically but you may want to reload the page in the browser. Your backend should now be in Basque.As you can see, if a translation is incomplete, the backend will fall back to  English. A default language can also be set when creating a new backend user. note:Changing a user’s default language will not change the backend language if that user has already logged in at least once, as the language is kept in the user preferences. Such users will need to update their language themselves. How to add a pre-configured site? You have an empty installation by default. If you want a pre-configured site, there are distributions on the web which can be installed via the Extension Manager. How to modify the allowed limit for upload? Modify the  /usr/local/php/etc/php.ini file to increase the allowed size for uploads: ; Maximum size of POST data that PHP will accept. post_max_size = 16M ; Maximum allowed size for uploaded files. upload_max_filesize = 16M then,restart the apache # service httpd restart   How to change the permissions of filesytem? When install new extension from back-end it will not successful,may be the permissions of file and folder is not appropriate,you should change it Web site root permissions to follow: file 644, folder 755 ,Permissions Users and groups www If there is a file permissions problem, execute the following three commands: chown -R www.www /data/wwwroot/default/typo3 find /data/wwwroot/default/typo3 -type d -exec chmod 755 {} \; find /data/wwwroot/default/typo3 -type f -exec chmod 644 {} \; How to modify PHP settings?The PHP configuration file allows you to configure the modules enabled,  the email settings or the size of the upload files. It is located at /usr/local/php/etc/php.ini. There are some PHP settings that need to be sufficient for typo3 to install. The values for PHP.ini below are suggested values only. memory_limit – Minimum: 64M Recommended: 128M or better upload_max_filesize – Minimum: 20M post_max_size – Minimum: 20M max_execution_time: At Least 120 Recommended: 300 After modifying the PHP configuration file, restart both Apache and PHP- FPM for the changes to take effect: # service httpd restart   How to change the max_execution_time? If you receive the message “Maximum execution time of 30 seconds exceeded”.You may also like to extend the max_execution_time for PHP and you can modify it by two methods below Method one: edit your  /usr/local/php/etc/php.ini ; Maximum execution time of each script, in seconds ; http://php.net/max-execution-time ; Note: This directive is hardcoded to 0 for the CLI SAPI max_execution_time = 90 ; Maximum amount of time each script may spend parsing request data. It ; idea to limit this time on productions servers in order to eliminate ; long running scripts. Method two: edit your .htaccess: php_value max_execution_time 90 Typo3 Help Links Get more information https://typo3.org (https://typo3.org/) is the main project website. It provides up to date official news, information about events, access to downloading the products and extensions. https://wiki.typo3.org (https://wiki.typo3.org/) is a collaborative wiki, providing access to all kind of information around the TYPO3 ecosphere. https://docs.typo3.org/ (https://docs.typo3.org/): TYPO3 is one of the most thoroughly documented OpenSource products around, with manuals covering basic tutorials, TypoScript, administration, development, core structure, etc. You should make the time to locate the various documents, and read those that apply to the work you want to do. Websoft9
To view the full page, please visit: Typo3 powered by Websoft9(LAMP | CentOS7.4) Product Userguide

Typo3 powered by Websoft9(LAMP | CentOS7.4)

Websoft9 TYPO3 is a pre-configured, ready to run image for running TYPO3 on Alibaba Cloud.
Buy now