def METHOD_NAME(self):
    self.logIt("Installing", pbar=self.service_name)
    self.shutil.unpack_archive(Config.oxd_package, self.oxd_root)
    self.run(['chown', '-R', 'jetty:jetty', self.oxd_root])
    if base.snap:
        self.log_dir = os.path.join(base.snap_common, 'jans/oxd-server/log/')
    else:
        self.log_dir = '/var/log/oxd-server'
        service_file = os.path.join(self.oxd_root, 'oxd-server.service')
        if os.path.exists(service_file):
            self.run(['cp', service_file, '/lib/systemd/system'])
        else:
            self.run([Config.cmd_ln, service_file, '/etc/init.d/oxd-server'])
    if not os.path.exists(self.log_dir):
        self.run([paths.cmd_mkdir, self.log_dir])
    self.run([
            'cp', 
            os.path.join(Config.install_dir, 'static/oxd/oxd-server.default'), 
            os.path.join(Config.osDefault, 'oxd-server')
            ])
    self.log_file = os.path.join(self.log_dir, 'oxd-server.log')
    if not os.path.exists(self.log_file):
        open(self.log_file, 'w').close()
    if not base.snap:
        self.run(['chown', '-R', 'jetty:jetty', self.log_dir])
    for fn in glob.glob(os.path.join(self.oxd_root,'bin/*')):
        self.run([paths.cmd_chmod, '+x', fn])
    self.modify_config_yml()
    self.generate_keystore()
    self.enable()