阿里云linux服务器搭建流程
ifconfig -a -- 查看本机ip信息
数据拷贝:
scp -r [email protected]:/home/admin/my-git .
select registerId from registration_code_info
where ( channel='b9') into outfile "/var/lib/mysql-files/b9.txt"
安装vsftp上传软件
首先自己增加一个新用户
adduser tmp_3452
passwd tmp_3452
apt-get install vsftpd
useradd -d /home/my-git/ -s /usr/sbin/nologin admin
passwd admin
将配置文件中”anonymous_enable=YES “改为 “anonymous_enable=NO”
取消如下配置前的注释符号:
local_enable=YES
write_enable=YES
chroot_local_user=YES
保存修改,按ESC键,输入:wq
查看端口占用情况:
netstat -anp |grep
数据查询
SELECT * FROM purchase_statistical_info WHERE purchaseTime LIKE '2018-05-30%';