Start Your Own Wiki with CentOS 6.5 & MediaWiki 1.22.5
By:"Seungjae Lee"
Published on 2014-05-01 by WONDEREVER
E-book Library:
Table of Contents Preface Overview Chapter 1. Installing CentOS Preparing a PC for your server Getting static IP What is static IP address? About CentOS 6.5 Making CentOS boot disk Download CentOS boot image Download UUI(Universal USB Installer) BIOS Setting Installing CentOS Network Connections Disabling SElinux Terminal SU command VI Editor Disable SElinux 1. Type the VI command 2. Edit selinux Chapter 2. Installing APM What is APM? Yum command 1. Install package 2. Delete package 3. Update package 4. Check package information 5. Search for packages 6. Show packages list(installed + installable) 7. Show packages installed only Installing APM packages 1. Open Terminal 2. Login as root using su command 3. Type the command below : Editing Apache settings 1. Backup Apache settings file 2. Set KeepAlive on 3. Set ServerName as 127.0.0.1 4. Set AddDefaultCharset as comments 5. Hide Apache version 6. Check the result Starting Apache 1. Start Apache web services 2. Auto-start services on boot Editing PHP settings 1. Backup PHP settings file 2. Check the default settings of /etc/php.ini 3. Set general settings 4. Hide PHP version 5. Show PHP error 6. Change error reporting level 7. Set on register_globals, magic_quotes_gpc 8. If you use variables $HTTP_SERVER_VARS, set on register_long_arrays 9. Check the result 10. Check whether PHP is working MySQL settings 1. Backup MySQL settings file 2. If the memory of server is over 2GB, constitute settings file with more optimized one 3. Set to avoid version error 4. Start MySQL database server 5. Auto-start services on boot 6. Start MySQL security settings Another way to set MySQL root password 1. Access MySQL database as root 2. Use database mysql 3. Change root password 4. Exit MySQL database 5. Check again whether you can access MySQL database server using password you changed Chapter 3. Installing SSH Clients Installing SSH 1. Check SSH 2. Set sshd as auto-start on boot 3. Start sshd Connecting your sever through PuTTY 1. Host Name(or IP address) 2. Port 3. Connection type 4. Click Open 5. login as : root 6. Type root password Uploading files through WinSCP 1. File protocol: SFTP 2. Host name 3. Port number: 22 4. User name: 5. Password: 6. Click Login Chapter 4. Installing MediaWiki About MediaWiki Ready to upload MediaWiki to your server 1. Go to MediaWiki download page 2. Download a latest version 3. Ungz the tar.gz file 4. Untar the tar file 5. Check the root folder 6. Rename /mediawiki-1.22.5. as /wiki Uploading the folder through WinSCP 1. Open WinSCP and login to your server as root account. 2. Move to target directory 3. Find the wiki folder on the panel in the left side. 4. Drag-and-drop the wiki root folder from left to right panel. 5. Upload dialog window will pop up, click OK. 6. Uploading will begin right away. Installing MediaWiki Access MediaWiki set-up page Install MediaWiki 1. Language 2. Welcome to MediaWiki! 3. Connect to database 4. Name 5. Options 6. Install 7. Complete! 8. Upload LocalSettings.php to wiki root folder Appendix A - Testing HTML The Structure of Server-Client Connection 1. Client requests 2. Server responds Create a HTML test page 1. Open Vi editor 2. Press ‘i’ to enter edit mode and typed the just one sentence 3. Press Esc key to enter command mode and type 4. Press Enter key. Access the test page 1. Open a web browser 2. In the URL input box, type the URL of the test page :
This Book was ranked 9 by Google Books for keyword mediawiki.
Thank youE-Book University
No comments:
Post a Comment