firewall-cmd --state 3、開啟、重啟、關閉、firewalld.servi ...
.啟動:redis server redis server redis.conf .登陸:redis cli redis cli p .關閉:redis cli shutdown ...
2016-05-23 11:50 0 29829 推薦指數:
firewall-cmd --state 3、開啟、重啟、關閉、firewalld.servi ...
SELinux簡介 SELinux 是Security-Enhanced Linux的簡寫,意指安全增強的linux。它不是用來防火牆設置的。但它對Linux系統的安全很有用。Linux內核(Kernel)從2.6就有了SELinux。 SELinux是內置在許多GNU / Linux發行版中 ...
一.關閉持久化 Redis是默認開啟RDB的,AOF則是默認關閉的。相當於初始安裝的Redis是持久化的。 如何關閉redis持久化?我的需求是只把redis當作緩存來用,所以持久化到硬盤對我的需求來說沒有意義。 修改redis配置文件,redis.conf 第115行左右。 1.注釋掉 ...
SELinux (Security-Enhanced Linux) in Fedora is an implementation of mandatory access control in the Linux kernel using the Linux Security Modules ...
在很多時候會出現忘記或遺失mysql root密碼的情況,我來整理一下解決方法,希望對新學linux的朋友有所幫助。 一、修改my.cnf 添加 skip-grant-tables 二、尋找mysql的bin文件/usr/bin ...
Linux 默認是開啟 ping 操作的,通過以下兩種方式可以開啟和關閉 ping 操作 。 1、修改內核參數 通過內核參數設置也有兩種方式,一種是臨時修改,一種是永久修改。 1.1 臨時設置 PING 操作 # 禁止 echo 1 >/proc/sys/net/ipv4 ...
Linux的守護進程是干什么的? 始終后台運行,獨立於任何終端,周期性的執行某種任務或等待處理特定事件。(當與終端斷開時,也可以在后台一直運行) 1.查看當前服務器的守護進程命令: 1)ps -ef :顯示所有進程消息 2)ps -aux ...
linux redis 設置密碼: 在服務器上,這里以linux服務器為例,為redis配置密碼。 1.第一種方式 (當前這種linux配置redis密碼的方法是一種臨時的,如果redis重啟之后密碼就會失效,) (1)首先進入redis,如果沒有開啟 ...