A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property CI_URI::$config is deprecated
Filename: core/URI.php
Line Number: 101
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property CI_Router::$uri is deprecated
Filename: core/Router.php
Line Number: 127
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$benchmark is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$hooks is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$config is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$log is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$utf8 is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$uri is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$exceptions is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$router is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$output is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$security is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$input is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$lang is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$load is deprecated
Filename: core/Controller.php
Line Number: 78
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$db is deprecated
Filename: core/Loader.php
Line Number: 396
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property CI_DB_mysqli_driver::$failover is deprecated
Filename: database/DB_driver.php
Line Number: 371
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Return type of CI_Session_database_driver::open($save_path, $name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_database_driver.php
Line Number: 129
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Return type of CI_Session_database_driver::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_database_driver.php
Line Number: 280
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Return type of CI_Session_database_driver::read($session_id) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_database_driver.php
Line Number: 151
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Return type of CI_Session_database_driver::write($session_id, $session_data) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_database_driver.php
Line Number: 208
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Return type of CI_Session_database_driver::destroy($session_id) should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_database_driver.php
Line Number: 297
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Return type of CI_Session_database_driver::gc($maxlifetime) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_database_driver.php
Line Number: 335
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: session_set_cookie_params(): Session cookie parameters cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 289
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 304
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 314
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 315
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 316
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 317
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 375
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: session_set_save_handler(): Session save handler cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 110
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: session_start(): Session cannot be started after headers have already been sent
Filename: Session/Session.php
Line Number: 143
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$session is deprecated
Filename: core/Loader.php
Line Number: 1283
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$mylibrary is deprecated
Filename: core/Loader.php
Line Number: 1283
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$pagination is deprecated
Filename: core/Loader.php
Line Number: 1283
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$table is deprecated
Filename: core/Loader.php
Line Number: 1283
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$form_validation is deprecated
Filename: core/Loader.php
Line Number: 1283
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$template is deprecated
Filename: core/Loader.php
Line Number: 1283
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$agent is deprecated
Filename: core/Loader.php
Line Number: 1283
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$email is deprecated
Filename: core/Loader.php
Line Number: 1283
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
Membuat Zone dan Mengaktifkan Service ataupun Port di Firewalld CentOS 7
Membuat Zone dan Mengaktifkan Service ataupun Port di Firewalld CentOS 7
Login pada sistem CentOS.
Membuat zone baru pada firewalld, di sini saya buat zone dengan nama baitcode .
firewall-cmd --new-zone=baitcode --permanent
Setelah membuat zone baru lakukan perintah reload firewalld.
Baca Lainnya :
firewall-cmd --reload
Set zone yang dibuat tadi menjadi default di firewalld.
firewall-cmd --set-default-zone=baitcode
Reload kembali firewalld dan lakukan service restart pada firewalld.
firewall-cmd --reload systemctl restart firewalld
Untuk kebutuhan web server pada umumnya ada beberapa layanan dan port yang harus diaktifkan agar sistem bisa berjalan dengan baik diantaranya service http/https untuk apache2, port 10000/tcp untuk web panel webmin, port 3306/tcp untuk mariadb dan port 22/tcp untuk ssh.
Mengaktifkan layanan http/https untuk apache2
firewall-cmd --zone=baitcode --add-service=http --permanent firewall-cmd --zone=baitcode --add-service=https --permanent
Mengaktifkan port 10000/tcp, 3306/tcp dan 22/tcp (Webmin, MariaDB dan ssh)
firewall-cmd --zone=baitcode --add-port=10000/tcp --permanent firewall-cmd --zone=baitcode --add-port=3306/tcp --permanent firewall-cmd --zone=baitcode --add-port=22/tcp --permanent
Reload kembali firewalld dan laukan service restart pada firewalld.
firewall-cmd --reload systemctl restart firewalld
Sekian artikel tentang Membuat Zone dan Mengaktifkan Service ataupun Port di FIrewalld CentOS 7 semoga bisa bermanfaat untuk pembaca semuanya.
30 Nov 2022
SIM Team Follow
Team Sistem Informasi Manajemen (SIM) Universitas Islam Kadiri (UNISKA) Kediri.