在CentOS中開啟daytime服務

2021-06-07 20:41:08 字數 598 閱讀 9946

[root@localhost ~]# cd /etc/xinetd.d/

[root@localhost xinetd.d]# ls

chargen-dgram   discard-dgram   eklogin       krb5-telnet    time-dgram

chargen-stream  discard-stream  ekrb5-telnet  kshell         time-stream

daytime-dgram   echo-dgram      gssftp        rsync

daytime-stream  echo-stream     klogin        tcpmux-server

[root@localhost xinetd.d]# vim daytime-stream 

[root@localhost xinetd.d]# vim daytime-dgram 

[root@localhost xinetd.d]# /etc/init.d/xinetd restart

將daytime-dgram和daytime-stream中的disable由yes改為no, 重啟服務就ok了

在centos 下,php 開啟pathinfo

1 檢視是否開啟了 curl 和pathinfo函式 在 根目錄下,寫test.php echo phpinfo img img 2 如果pathinfo 的local value 和 master value 為0的話,那麼開啟方法如下 1 shell 連上伺服器,查詢 php.ini 檔案 fi...

在centos 下開啟MySQL遠端訪問

在預設情況下mysql是不允許遠端訪問的.現在需要新增乙個可以具有原創訪問的mysql賬號 需要進入mysql命令列下 grant all privileges on to remote identified by 遠端登入的明文密碼 with grant option 執行如下語句生效 flush...

刪除 「在Visual Studio中開啟」

在安裝vs15 visual studio 2017 之後,會在右鍵選單下出現 在visual studio中開啟 的功能項,刪除的辦法如下 windows registry editor version 5.00 hkey classes root directory background she...