- 标签
- Linux
Oracle数据库创建账号,授权
1.登录Oracle用户 su - oracle 2.指定Oracle实例 export ORACLE_SID=$ORACLE_SID 3.查看监听状态 lsnrctl status
lsnrctl stop
lsnrctl start 4.登录Oracle数据库
Linux创建sftp账号
1.新建用户组 groupadd sftp 2.创建账号,禁止ssh登录服务器 useradd -m -d /data/sftp/test -s /sbin/nologin test -g sftp
echo 'passwd'|passwd test --stdin 3.创建upload目录 mk
Linux不同网段IP之间通信
服务器环境如下: host1 单网卡 eth0 10.0.0.99/24
host2 双网卡 eth0 10.0.0.100/24 eth1 192.168.60.100/24
host3 单网卡 eth0 192.168.60.101
- 2021-01-11
- 39
- 0
- 0
- 27.9℃
Ubuntu安装google-chrome
打开终端,执行以下命令 Chrome32:wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb
Chrome64:wget https://dl.google.com/linux/direct/go
- 2020-07-14
- 50
- 0
- 0
- 29.0℃
Linux新增交换分区swap
关闭交互分区 swapoff -a 创建一个交换区文件 dd if=/dev/zero of=/opt/swap bs=1024 count=20480000 将目的文件设置为swap分区文件 mkswap swap
- 2020-07-12
- 39
- 0
- 0
- 27.9℃