原创 linux安全配置

vi /etc/ssh/sshd_config PermitRootLogin no

原创 system

kernel查看  rpm -qa | grep kernel查看當前使用內核 uname -r刪除 yum remove kernel-core-grub2查看當前引導系統cat  /etc/grub2.cfg自動查找未引導系統並安裝 g

原创 oracle SQL語句

1.表空間 創建 create tablespace abc datafile ‘/u01/app/oracle/oradata/TestDB11/catalog.dbf’ 自定義數據文件位置及名字 size 100M e

原创 linux shell 筆記

echo 不加引號和使用單引號都是原樣輸出,不加引號時分號被認爲是命令結束,單引號中無法輸出單引號 echo -n #不換行輸出 echo -e "1\t2" #使用轉義字符時-e參數 ech

原创 linux系統命令

cut -d: -f1 /etc/passwd //查看用戶cat /etc/group //查看組 #用戶操作passwd -l

原创 mysql常用操作

**1.初次啓動** #mysql mysql> update mysql.user set authentication_string='newpass',plugin='mysql_native_password ' where

原创 listener.ora

ORACLE_HOME/network/admin/ Status : Failure -Test failed: Listener refused the connection with the following error:ORA-1

原创 listener.ora

ORACLE_HOME/network/admin/ Status : Failure -Test failed: Listener refused the connection with the following error:ORA-1

原创 oracle SQL語句

1.表空間 創建 create tablespace abc datafile ‘/u01/app/oracle/oradata/TestDB11/catalog.dbf’ 自定義數據文件位置及名字 size 100M e

原创 oracle 11g

vi .bashrc export ORACLE_BASE=/u01/app/oracleexport ORACLE_HOME=$ORACLE_BASE/product/11.2.0/xeexport ORACLE_SID=XEexport

原创 system

fedorakernel查看  rpm -qa | grep kernel查看當前使用內核 uname -r刪除 yum remove kernel-core-grub2查看當前引導系統cat  /etc/grub2.cfg自動查找未引導系

原创 linux文件系統命令

df -h //查看文件系統fdisk -l //查看磁盤

原创 linux shell 筆記

echo 不加引號和使用單引號都是原樣輸出,不加引號時分號被認爲是命令結束,單引號中無法輸出單引號 echo -n #不換行輸出 echo -e "1\t2" #使用轉義字符時-e參數 ech

原创 linux grub 安裝 mint , manjaro,xubuntu

manjaro vim /boot/grub/custom.cfg menuentry "Manjaro" {set isofile="/manjaro-xfce-17.1.7-stable-x86_64.iso"set dri="free

原创 oracle

1.啓動與關閉$ su oracle$ lsnrctl start$ sqlplus / as sysdba startup [nomount/mount] //啓動open狀