Академический Документы
Профессиональный Документы
Культура Документы
Step 1. Login ke terminal (ctrl + alt + T) sebagai root dan update semua package
user@server:~$sudo i
[sudo] password for user:
root@server:~#apt-get update
root@server:~#apt-get upgrade
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MariaDB to secure it, we'll need the current
password for the root user. If you've just installed MariaDB, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.
Setting the root password ensures that nobody can log into the MariaDB
root user without the proper authorisation.
You already have a root password set, so you can safely answer 'n'.
By default, MariaDB comes with a database named 'test' that anyone can
access. This is also intended only for testing, and should be removed
before moving into a production environment.
Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.
Reload privilege tables now? [Y/n] y
... Success!
Cleaning up...
All done! If you've completed all of the above steps, your MariaDB
installation should now be secure.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
<locale>en</locale>
<!-- Network settings. By default, Openfire will bind to all network interfaces.
Alternatively, you can specify a specific network interfaces that the server
will listen on. For example, 127.0.0.1. This setting is generally only useful
on multi-homed servers. -->
<network>
<interface>192.168.153.74</interface>
</network>
</jive>
Login Openfire
Username : admin
Password : ***** (password yang sudah diinput di Administrator Account)
Create User Openfire
Users/Groups Create New User
Cara pertama :
root@server:/opt#gedit /etc/rc.local
~~Isi Scrip~~
#! /bin/ bash
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure que the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
/opt/lampp/lampp start
exit 0
root@server:/opt#reboot
Cara kedua :
root@server:/opt#gedit /etc/init.d/openfire (openfire diisi nama sesuai selera)
~~Isi Scrip~~
sudo /opt/lampp/xampp start
sudo /opt/openfire/bin/openfire start
root@server:/opt#chmod +x /etc/init.d/openfire
root@server:/opt#update-rc.d openfire default
root@server:/opt#reboot