Ana içeriğe geç

XWiki

Kurulum

  • Sistemi güncelleştirelim
apt-get update -y
  • Screen kuruyoruz
apt install wget screen
  • Java indirelim
apt install openjdk-8-jre-headless
screen -U -S xwiki
  • xwiki indiriliyor
wget http://download.forge.ow2.org/xwiki/xwiki-enterprise-installer-generic-8.1-standard.jar
  • İndirdiğimiz dosyayı çalıştıralım
java -jar xwiki-enterprise-installer-generic-8.1-standard.jar
  • Çıktı:
Nov 1, 2020 1:18:43 AM INFO: Logging initialized at level 'INFO'
Nov 1, 2020 1:18:43 AM INFO: Commandline arguments: 
Nov 1, 2020 1:18:44 AM INFO: Detected platform: debian_linux,version=5.4.65-1-pve,arch=x64,symbolicName=null,javaVersion=1.8.0_272
Welcome to the installation of XWiki Enterprise 8.1!
The homepage is at: http://xwiki.org/

Press 1 to continue, 2 to quit, 3 to redisplay
  • 1 yazıp enter'e basın
Please read the following information: 

 XWiki Enterprise - Readme                                                                        


 XWiki Enterprise Overview                                                                        
XWiki Enterprise is a second generation Wiki engine, features professional features like       
 Wiki, Blog, Comments, User Rights, LDAP Authentication, PDF Export, and a lot more.              
XWiki Enterprise also includes an advanced form and scripting engine which makes it an ideal   
 development environment for constructing data-based intranet applications. It has powerful       
 extensibility features, supports scripting, extensions and is based on a highly modular          
 architecture. The scripting engine allows to access a powerful API for accessing the XWiki       
 repository in read and write mode.                                                               
XWiki Enterprise is used by major companies around the world and has strong                    
 Support for a professional usage of XWiki.                                                       
 Pointers                                                                                         
Here are some pointers to get you started with XWiki once you have finished installing it:     

The documentation can be found on the XWiki.org web site                                        
If you notice any issue please file a an issue in our issue tracker                             
If you wish to talk to XWiki users or developers please use our                                 
 Mailing lists & Forum                                                                            
You can also access XWiki's                                                                     
 source code                                                                                      
If you need commercial support please visit the                                                 
 Support page                                                                                     



Press 1 to continue, 2 to quit, 3 to redisplay
  • 1 yazıp enter'e basın
See the NOTICE file distributed with this work for additional information regarding copyright ownership.
This is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this software; if not, write to the Free
Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA, or see the FSF site: http://www.fsf.org.

Press 1 to accept, 2 to reject, 3 to redisplay
  • 1 yazıp enter'e basın
Select the installation path: [/usr/local/XWiki Enterprise 8.1]
  • Direk enter'e basın
The directory already exists! Are you sure you want to install here and possibly overwrite existing files?

Press 1 to continue, 2 to quit, 3 to redisplay
  • 1 yazıp enter'e basın
[x] Pack 'Core' required
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
[x] Include optional pack 'Default Wiki'
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Enter Y for Yes, N for No:
  • Y yazıp enter'e basın
Done!

Press 1 to continue, 2 to quit, 3 to redisplay
  • 1 yazıp enter'e basın
[ Starting to unpack ]
[ Processing package: Core (1/2) ]
[ Processing package: Default Wiki (2/2) ]
[ Unpacking finished ]
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Create shortcuts in the Start-Menu
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Enter Y for Yes, N for No:
  • Y yazıp enter'e basın
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Create additional shortcuts on the desktop
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Enter Y for Yes, N for No:
  • Y yazıp enter'e basın
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
create shortcut for: all users
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Enter Y for Yes, N for No:
  • Y yazıp enter'e basın
Nov 1, 2020 1:24:10 AM WARNING: Shortcut 'Go to my wiki' has URL but type ('Application') is not 'Link'
Nov 1, 2020 1:24:10 AM WARNING: Shortcut 'Go to my wiki' has URL but type ('Application') is not 'Link'
Nov 1, 2020 1:24:10 AM WARNING: Shortcut 'Documentation' has URL but type ('Application') is not 'Link'
Nov 1, 2020 1:24:10 AM WARNING: Shortcut 'Documentation' has URL but type ('Application') is not 'Link'
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Generate an automatic installation script
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Enter Y for Yes, N for No:
  • Y yazıp enter'e basın
Select the installation script (path must be absolute)[/usr/local/XWiki Enterprise 8.1/auto-install.xml]
  • Direk enter'e basın
Installation was successful
application installed on /usr/local/XWiki Enterprise 8.1
[ Writing the uninstaller data ... ]
[ Console installation done ]
  • İlgili dizine gidelim
cd /usr/local/XWiki\ Enterprise\ 8.1/
  • xwiki'yi çalıştıralım
bash start_xwiki.sh
  • Çıktı:
Installation was successful
application installed on /usr/local/XWiki Enterprise 8.1
[ Writing the uninstaller data ... ]
[ Console installation done ]
[email protected]:/usr/local/XWiki Enterprise 8.1# cd /usr/local/XWiki\ Enterprise\ 8.1/
[email protected]:/usr/local/XWiki Enterprise 8.1# bash start_xwiki.sh
Starting Jetty on port 8080, please wait...
2020-11-01 01:26:53.054:INFO::main: Logging initialized @457ms
2020-11-01 01:26:53.317:INFO:oejs.Server:main: jetty-9.2.13.v20150730
2020-11-01 01:26:53.366:INFO:oejs.AbstractNCSARequestLog:main: Opened /usr/local/XWiki Enterprise 8.1/data/logs/2020_11_01.request.log
2020-11-01 01:26:53.369:INFO:oejdp.ScanningAppProvider:main: Deployment monitor [file:/usr/local/XWiki%20Enterprise%208.1/jetty/contexts/] at interval 0
2020-11-01 01:27:04,430 [main] INFO  o.x.s.s.i.EmbeddedSolrInstance - Starting embedded Solr server... 
2020-11-01 01:27:04,439 [main] INFO  o.x.s.s.i.EmbeddedSolrInstance - Using Solr home directory: [data/solr] 
2020-11-01 01:27:08,882 [main] INFO  o.x.s.s.i.EmbeddedSolrInstance - Started embedded Solr server. 
2020-11-01 01:27:11.420:INFO:oejsh.ContextHandler:main: Started [email protected]{/xwiki,file:/usr/local/XWiki%20Enterprise%208.1/webapps/xwiki/,AVAILABLE}{/xwiki}
2020-11-01 01:27:11.459:INFO:oejsh.ContextHandler:main: Started [email protected]{/,file:/usr/local/XWiki%20Enterprise%208.1/webapps/root/,AVAILABLE}{/root}
2020-11-01 01:27:11.474:INFO:oejs.ServerConnector:main: Started [email protected]{HTTP/1.1}{0.0.0.0:8080}
2020-11-01 01:27:11.474:INFO:oejs.Server:main: Started @18877ms
2020-11-01 01:27:11.474:INFO:oxtjl.NotifyListener:main: ----------------------------------
2020-11-01 01:27:11.476:INFO:oxtjl.NotifyListener:main: Server started, you can now open http://XWiki.sarikaya.local:8080/ in your browser to access your wiki.
2020-11-01 01:27:11.477:INFO:oxtjl.NotifyListener:main: ----------------------------------
  • En son Server started yazısını gördükten sonra ctrl+c ile çıkabilirsiniz.
  • Tekrar web arayüzün başlatılması için aşağıdaki komutu girebilirsiniz
bash start_xwiki.sh -p 8080
  • Web arayüz başlatıldıktan sonra aşağıdaki gibi tarayıcıya giriş yapın
  • ifconfig ile IP adresini öğrenebilirsin
http://ServerIP or Hostname:8080/ 

xwiki

  • Sağ taraftan Log-in butonuna tıklayarak giriş yapabilirsiniz

xwiki

  • Varsayılan giriş bilgileri Admin ve admin dir

xwiki

  • Yapılandırma ve giriş başarılı.

xwiki