Template:Examples

FACULTY OF INFORMATION SCIENCE AND TECHNOLOGY MULTIMEDIA UNIVERSITY

TRIMESTER 1 2021/2021

Team members:

MUHAMMAD HAZRIQ HAIQAL BIN AZHAR 1181102622

MUHAMMAD SHAHMI ZIKRI BIN SAARI 1181102727

ONG ZI JIAN 1171201150

CHAN CHIA CHING 1171103752

=Intro=

A community supported Fedora Project is the one responsible on developing Fedora Linux as one of the Linux distributions. This community is sponsored primarily by a subsidiary of IBM (International Business Machines Corporations), Red Hat. Contributing towards a world of free technologies, Fedora contains difference software distributions for different task under various free and open source licenses.

For example, there is Fedora Workstation which is an easy to use operating system for desktop computers or laptop with complete set of tools for developers. Other than that, there also exist Fedora server which helps their user to control all infrastructure and services with a powerful and flexible operating system included with the latest datacenter technologies. On the other hand, Fedora also makes an official edition of Fedora IoT that provided a trusted open source platform as a strong foundation for IoT ecosystems.

Fedora Linux required for minimum of 2 GB of RAM and 20 GB of disk space for installation which is reasonable compared to other Linux distributions in order to have a fast and properly working operating system.

=FEDORA Download and installation=

1.	Install the ISO file from https://getfedora.org/en/workstation/download/

2.	Setup the VirtualBox with FEDORA as name

3.	Start FEDORA virtual machine cand choose FEDORAWorkstation—Live 34 4.	Choose install to Hard Drive

5.	Choose suitable language for the installation

6.	Choose the drive to install

7.	Begin installation of Fedora

8.	Finish installation and restart the virtual machine

9.	Remove the ISO file in the storage setting before restarting FEDORA.

10.	Add username and password.

=Creating three users on FEDORA=

1.	Create user starting with su command to access root command which is useradd to add user.

2.	Create password for user by using command passwd.

=Install and configure internet server: LAMP server=

1.	Install httpd using command sudo systemctl install -y httpd

2.	Enable and restart the http service using command sudo systemctl start -y httpd and sudo systemctl enable -y httpd.

3.	Install maria-database with command sudo dnf install -y mariadb mariadb-server.

4.	Start and enable mariadb with command sudo systemctl start mariadb and sudo systemctl enable mariadb.

5.	Set up mariadb suing command sudo mysql_secure_installation.

6.	Install php using command sudo dnf install -y php php-common php-pdo_mysql php-pdo php-gd php-mbstring.

7.	Install webmin dependencies with command sudo dnf install -y perl perl-Net-SSLeay openssl perl-IO-Tty perl-Encode-Detect

8.	Download the webmin rpm

9.	Install the webmin using command sudo rpm -U webmin-current.rpm

10.	Configure the firewall in order for webmin to work

11.	Login to webmin by using NAT ip address, https://10.0.2.15 with those details ID : root Password: 34DPP14zb@

12.	The system information should come out after we log in

13.	Creating a new user can be proceed after the login process

=Install and configure internet server: FTP server= 1.	Install vsftpd on FEDORA using command sudo dnf install vsftpd

2.	Start and enable vsftpd using command sudo systemctl startr vsftpd and sudo systemctl enable vsftpd.

3.	Configure the firewall in order to allow FTP services.

4.	Access FTP server on FEDORA using Mozilla with NAT IP

5.	Access FTP server on Windows using File Explorer with Host-only Adapter IP

6.	Upload readme.txt into FTP server using File Explorer.

7.	Check the file in FTP server on FEDORA using NAT IP

=Install and configure internet server: SSH server = 1.	Install openssh packages on FEDORA

2.	Start and enable ssh services on FEDORA

3.	Add user ad host in order add the user to know list.

4.	Remote access using putty on windows with Host-only Adapter IP

5.	Transfer file from Window to FEDORA using pscp.exe


 * On Window CMD


 * On Fedora

Before transfer:

After transfer:

=Install and configure Content Management System (CMS) = 1.	Change to superuser in order to access root command and enable installation process of httpd

2.	Install mariadb-server with command yum install mariadb mariadb—server 3.	Proceeed to install mysql using command mysql_secure_isntallation

4.	Install PHP using command yum install php

5.	Download the wordpress to server root html. In server root give command: sudo wget https://wordpress.org/latest.zip

6.	Unzip the wordpress using command unzip latest.zip

7.	Copy wordpress from directory

8.	Remove the wordpress from directory

9.	Configure firewall to enable http service

10.	Using Fedora terminal, login to MySQL server using root and create database and user for wordpress. Give ALL permission to database user to access the database.

Database: wordpress Database User : User Database Password : user123

11.	Perform the web based installation, run the web browser and point your browser at http://server-ip-address/wordpress and enter database information above to complete the installation.

12.	Access, display and capture your Wordpress default page using any web browser.

=Install and configure Wiki system (mediawiki)= 1.	Install, enable and start httpd server on fedora: a.	Sudo dnf install httpd b.	Sudo systemctl enable httdp.service c.	Sudo systemctl start httpd.service d.	Sudo systemctl status httpd.service 2.	Install, enable and start MariaDB installation: a.	Sudo dnf install mariadb-server b.	Sudo systemctl enable mariadb.server c.	Sudo systemctl start mariadb.server d.	Sudo systemctl status maridb.server 3.	Database creation: a.	Sudo mysql b.	CREATE USER ‘user’@’localhost’ IDENTIFIED BY ‘user123’; c.	GRANT ALL ON wiki.* TO ‘user’@’localhost’; 4.	Php installation: a.	Sudo dnf install php php-common b.	Sudo dnf install php-mysqlnd php-xml php-json php-gd php-mbstring c.	sudo yum -y install php-intl 5.	Firewall setup: a.	Sudo firewall-cmd –permanent –-add-service=http b.	Sudo firewall-cmd –permanent –add-service=https c.	Reload firewalld 6.	PHP enabling: a.	Sudo nano /etc/php.ini b.	Change the session.save-path location c.	Save and exit d.	Sudo nano /etc/httpd/conf/httpd.conf e.	Add the sentence as in the picture below for both part f.	Save and exit g.	Service httpd restart. To restart the httpd service

7.	Mediawiki installation: a.	Sudo wget https://releases.wikimedia.org/mediawiki/1.36/mediawiki-1.36.2.zip b.	Unzip the file using command sudo unzip mediawiki-1.36.2.zip c.	Change the name of the file using Mv mediawiki-1.36.2 mediawiki d.	Cd mediawiki e.	Check the content of the file

8.	Mediawiki on web configuration: a.	Go to web browser and enter ipaddress/mediawiki b.	Follow thru the installation guide c.	Connect the created database named wiki from MariaDB into mediawiki d.	Create a user with a new password

e.	Copy LocalSettings.php from Downloads folder into mediawiki folder using command sudo cp Localsettings.php /var/www/html/mediawiki/

9.	Mediawiki edit page demo: a.	Reload the page. Click edit button on top right b.	Edit the page c.	Click save changes