# minio

docker run -p 9000:9000 --name minio1 \
  -e "MINIO_ACCESS_KEY=AKIAIOSFODNN7EXAMPLE" \
  -e "MINIO_SECRET_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY" \
  -v /mnt/data:/data \
  -v /mnt/config:/root/.minio \
  minio/minio server /data
goofys --debug_fuse -f --endpoint https://netapps.storage.s3.com:8080/ --region us-east-1  tempBucket temp/goofys/mnt

goofys --debug_fuse -f --endpoint http://162.3.111.182:9000/ xqb-20171211 /opt/xqb-20171213/
[root@centos7vm2 ~]# cat ~/.aws/credentials
[default]
aws_access_key_id = AKIAIOSFODNN7EXAMPLE
aws_secret_access_key = wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
ping baidu.com
passwd
reboot
ls
yum update 
cd /etc/sysconfig/network-scripts/
ls
cp ifcfg-eth0 ifcfg-eth0.bak1
vim ifcfg-eth0
vi ifcfg-eth0
ls
uname -sr
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh https://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
yum --disablerepo="*" --enablerepo="elrepo-kernel" list available
yum --enablerepo=elrepo-kernel install kernel-lt
vi /etc/default/grub
grub2-mkconfig -o /boot/grub2/grub.cfg
reboot
ping baidu.com
vi /etc/resolv.conf 
service network restart
ip add
ping 114.114.114.114
reboot
yum autoremove kernel
uname -a
rpm -qa | grep kernel
yum remove kernel-tools-libs.x86_64 kernel-tools.x86_64
yum --disablerepo=\* --enablerepo=elrepo-kernel install -y kernel-ml-tools.x86_64
yum remove kernel-tools-libs.x86_64 kernel-tools.x86_64
rpm -qa | grep kernel
yum remove kernel-tools-libs.x86_64 kernel-tools.x86_64
yum remove kernel-ml-tools-libs-4.19.1-1.el7.elrepo.x86_64
rpm -qa | grep kernel
yum --disablerepo=\* --enablerepo=elrepo-kernel install -y kernel-lt-tools.x86_64
rpm -qa | grep kernel
reboot
ls
ll
cd /
ls
ll
l
uname -sr
systemctl restart network
ls
s
yum install net-tool
yum install net-tools
ls
reboot
ls
getenforce
/usr/sbin/sestatus -v
vi /etc/selinux/config
rpm -qa | grep ssh 
cat v
cat /etc/ssh/sshd_config
vi /etc/ssh/sshd_config
/etc/rc.d/init.d/sshd restart
systemctl restart sshd
reboot
ls
ifconfig
ls
cd /
s
ls
shutdown -h now
ls
vi /etc/sysconfig/network-scripts/ifcfg-eth0
vim /etc/hostname 
vi /etc/hostname 
reboot
ls
yum update
ls
top
ls
cd /
s
ls
ll
ping baiud.com
ls
cd /
ls
s
ls
ps
ifconfig
ip add
ls
cd opt
ls
wget https://download.oracle.com/otn-pub/java/jdk/8u191-b12/2787e4a523244c269598db4e85c51e0c/jdk-8u191-linux-x64.tar.gz?AuthParam=1541643104_3953c8992e5c1c3ac65d7e6d5a86eebf
yum install wget -y
wget https://download.oracle.com/otn-pub/java/jdk/8u191-b12/2787e4a523244c269598db4e85c51e0c/jdk-8u191-linux-x64.tar.gz?AuthParam=1541643104_3953c8992e5c1c3ac65d7e6d5a86eebf
ls
tar -zxvf jdk8.tar.xz
ls
mv jdk1.8.0_191/ jdk8
ls
vi /etc/profile
source /etc/profile
javac
java -version
javac
ls
cd /
ls
free
lsblk
free -h
javac
ls
cd /
ls
lsblk
ip add
virsh start centos7vm1
exit
exit
ls
cd /
ls
pwd
ls
centos7vm1
ls
docke rps
docker ps
ls
if
ifconfig
ip add
df -h
free -h
exit
uname -sr
yum --disablerepo="*" --enablerepo="elrepo-kernel" list available
yum update
uname -r
ls
cd /
ls
cd /
lsc
ping baidu.com
curl http://www.baidu.com
curl https://www.baidu.com
curl  href=http://v.baidu.com name=tj_trvideo
shutdown -h now
ls
cd /
ls
cd /
ls
ping baidu.com
hostname
free -h
df -h
lsblk
ls
shutdown -h now
ls
cd nacos8848/
ls
cd logs/
ls
tail -f  naming-raft.log
shutdown now
ls
wget https://github.com/alibaba/nacos/releases/download/0.7.0/nacos-server-0.7.0.tar.gz
ls
rm  -rf nacos-server-0.7.0.tar.gz 
ls
cd nacos8848/
ls
rm -rf data/
ls
rm -rf logs/
ls
cd conf/
ls
ip addr
ip addr show
vim cluster.conf
ls
vi cluster.conf
ls
cd ..
ls
cd bin/
ls
sh startup.sh
sh shutdown.
ls
sh shutdown.sh
ls
cd ..
ls
cd bin/
ls
cd ..
ls
cd conf/
ls
vi application.properties
ls
cd ..
ls
cd bin/
ls
sh startup.
sh startup.sh
ls
cd ..
ls
cd logs/
ls
tail -f naming-raft.log
ls
systemctl stop firewalld.service
shutdown now
ls
cd nacos8848/
ls
cd bin/
ls
sh startup.sh
systemctl stop firewalld.service
sh shutdown.sh
sh startup.sh
ls
cd /da
cd /data
ls
cd /
ls
cd ~
ls
mkdir minio1
ls
mkdir minio1data
ls
cd minio1
ls
wget
wget https://github.com/kahing/goofys/releases/download/v0.19.0/goofys
ls
cat ~/.aws/credentials
yum install fuse-utils
yum -y install automake fuse fuse-devel gcc-c++ git libcurl-devel libxml2-devel make openssl-devel
pip install awscli
python --version
pip --version
which python
cd //usr/bin/python
cd /usr/bin/python
cd /usr/bin/
pip
ls
yun install python-pip
cd
yum install python-pip
pip --version
python --version
yum update Python
ls
mkdir phthon
ls
cd phthon/
ls
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
ls
sudo python get-pip.py
pip --version
pip install awscli
cat ~ / .aws / credentials 
cat ~/.aws/credentials
aws configure
cat ~ / .aws / credentials 
cat ~/.aws/credentials
goofys --debug_fuse -f --endpoint http://162.3.111.182:9000/ test ~/minio1data/test/
cd ~/minio1
ls
goofys --debug_fuse -f --endpoint http://162.3.111.182:9000/ test ~/minio1data/test/
./goofys --debug_fuse -f --endpoint http://162.3.111.182:9000/ test ~/minio1data/test/
chmod 775 goofys 
./goofys --debug_fuse -f --endpoint http://162.3.111.182:9000/ test ~/minio1data/test/
./goofys --debug_fuse -f --endpoint http://192.168.3.106:19000/ test ~/minio1data/test/
./goofys --debug_fuse -f --endpoint http://192.168.3.106:19000/ test ~/minio1data/test
ls
cd ..
ls
cd minio1data/
l
rm -rf aaa.txt 
ls
rm -rf abc.txt 
ls
./goofys --debug_fuse -f --endpoint http://192.168.3.106:19000/ test:abc ~/minio1data/test/
cd .
cd ..
cd minio1
ls
 ./goofys --debug_fuse -f --endpoint http://192.168.3.106:19000/ test:abc ~/minio1data/test/
lll
 ./goofys --debug_fuse -f --endpoint http://192.168.3.106:19000/ abc:12 ~/minio1data/test/
 ./goofys fuse -f --endpoint http://192.168.3.106:19000/ abc:12 ~/minio1data/test/
 ./goofys  -f --endpoint http://192.168.3.106:19000/ abc:12 ~/minio1data/test/
ls
ls
cd minio1data/
ls
cd test/
ls
cd /
ls
cd 
ls
cd minio1data/
ls
cd test/
rm -rf {1...999}
ls
lll
ll
l
ll -a
cd
ll -a
cd .cache/
ls
cd ..
ls
cd .aws/
ls
cd config 
ls
cat config 
ls
cat credentials 
aws configure
ls
cat credentials teset
cd ..
ls
cd .aws
ls
cat config 
cat config test
aws configure abc
aws configure list
ls
cd 
ls
cd minio1
ls
mc mb abc/12/
mc mb test/abc/12/
ls
ls
ll
l
ls
ls -a
cd /~
ls
cd minio1data/
ls
touch abc.txt
ls
mkdir test
ls
cd test/
ls
mkdir ad
ks
ls
cd ..
ls
dd if=/dev/zero of=aaa.txt bs=1000M count=1
ls
ll
rm -rf aaa.txt 
ls
dd if=/dev/zero of=aaa.txt bs=500M count=1
ll
cp aaa.txt test/
cd test/
ls
mv aaa.txt ad/
ls
mkdir 1
mkdir 2
mkdir 3
mkdir 4
mkdir 5
mkdir {0..99}
ls
mkdir {100..199}
ls
cd ad
ll
ls
mkdir {200..299}
ls
rm -rf {1..100}
ls
rm -rf 0
ls
cd ~/minio1
ls
wget c
wget https://dl.minio.io/client/mc/release/linux-amd64/mc
chmod +x mc
./mc --help
./mc config
cat .mc/config.json
cat /root/.mc/config.json
vim /root/.mc/config.json
vi  /root/.mc/config.json
ls
./mc ls
./mc ls test
./mc ls test/teset
./mc ls test/test
./mc ls test test
./mc ls 
./mc ls test 
./mc ls test/test
vi  /root/.mc/config.json
./mc ls test/test
./mc ls test
./mc rm test/test/0
./mc rm test/test/:abc:abc:cd:EirApp2.zip
./mc ls test/tset/abc
./mc mb test/tset/abc
./mc mb test/test/abc
./mc mb test/abc
./mc mb test/test/abc
./mc mb test/test/aa
./mc mb test/test/aa/
./mc policy
./mc policy ls
./mc policy list
./mc test policy list
./mc  policy test/test
./mc  policy  list test/test
./mc  --json ls test
mc rm --recursive --force test/test/a
mc rm --recursive --force test/test/b
mc rm --recursive --force test/test/0
mc rm --recursive --force test/test/1
mc rm --recursive --force test/test/2
mc rm --recursive --force test/test/3
mc rm --recursive --force test/test/4
mc rm --recursive --force test/test/5
mc rm --recursive --force test/test/6
mc rm --recursive --force test/test/7
mc rm --recursive --force test/test/8
mc rm --recursive --force test/test/9
ls
./mc share list
./mc share list upload
./mc share list download
./mc share list test
./mc share list test/abc
./mc share list ./mc ls test
./mc ls test
./mc ls test/abc
./mc share list test/abc
./mc share list upload
./mc share list download
./mc share list download test
./mc share list download test/abc
./mc share list download 
./mc share list 
mc share list download
./mc share list 
./mc share list upload
./mc share list download
./mc test share list download
./mc share list download test/abc
mc share list download test/abc
mc list
mc list test
mc list test/test
mc ls test/test
mc ls test
mc ls test/abc
mc share -h
mc share list
mc share list upload
mc share list download
ls
mc share list download
mc share download --expire 1m test/abc/mmexport1454723061104.jpg
mc share list download
ls
mc share list download
mc share download --expire 1m test/abc/mmexport1454723061104.jpg
mc share download --expire 1m test/abc/mmexport1454723075818.jpg
mc share list download
ll
cd ..
 ll
cd minio1data/
l
ll
cdte
cd test/
ls
cd ..
ls
cd test/
ls
cd ..
ls
cd test/
ls
cd ..
ls
cd test/
ls
cd ..
ls
cd test/
ls
touch adf.txt
ls
ll
ls
ll
ls
mkdir adf
ls
ll
rm -rf qq_pic_merged_1489138807856.jpg
ls
ll
cd ..
ls
cd test/
ls
cd ..
ls
cd /dev/
ls
cd 
ls
cd minio1
ls
cd ..
ls
cd minio1data/
ls
cd test/
ls
ll
touche adf
ls
touch sd
ls
ll
rm -rf sd
ls
ll
cp mmexport1454723075818.jpg ./..
ls
cd ..
ls
rm -rf mmexport1454723075818.jpg 
ls
cd test/
ls
ll
rm -rf adf
ls
rm -rf adf.txt 
ls
l
ls
cd ..
ls
cd te
cd test/
ls
cd ..
ls
cd test/
ls
cd ..
ls
cd tes
cd ..
ls
cd minio1
ls
./goofys -h
ls
./goofys  -f --endpoint http://192.168.3.106:19000/ abc ~/minio1data/abc/
cd minio1data/
ls
cd test/
ls
d
ld
ls
cp mmexport1454723075818 ./..
ls
cp mmexport1454723061104.jpg ./..
ls
cd ..
ls
cd test/
ls
rm -rf mmexport14547230*
ls
rm rf 源码、资料、课件.rar 
rm -rf 源码、资料、课件.rar 
ls
cd ..
ls
mkdir abc
ls
cd abc/
ls
cd 12
ls
cd ..
ls
ll
cd
ls
ls -a
.aws/
ls
cd .aws/
ls
pwd
cat credentials 
[root@centos7vm2 ~]# ls -all
total 32
dr-xr-x---. 11 root root  249 Jan 12 12:05 .
dr-xr-xr-x. 17 root root  224 May 11  2018 ..
drwxr-xr-x   2 root root   39 Jan 12 11:32 .aws
-rw-------.  1 root root 9210 Jan 14 00:15 .bash_history
-rw-r--r--.  1 root root   18 Dec 29  2013 .bash_logout
-rw-r--r--.  1 root root  176 Dec 29  2013 .bash_profile
-rw-r--r--.  1 root root  176 Dec 29  2013 .bashrc
drwx------   3 root root   17 Jan 12 11:28 .cache
-rw-r--r--.  1 root root  100 Dec 29  2013 .cshrc
drwx------   5 root root   66 Jan 12 12:11 .mc
drwxr-xr-x   3 root root   41 Jan 12 16:07 minio1
drwxr-xr-x   4 root root   29 Jan 12 16:32 minio1data
drwxr-xr-x   9 root root  142 Dec 31 19:11 nacos8848
drwxr-xr-x   2 root root   40 Nov  8  2018 .oracle_jre_usage
drwxr-xr-x   2 root root   24 Jan 12 11:27 phthon
drwxr-----.  3 root root   19 Nov  8  2018 .pki
-rw-r--r--.  1 root root  129 Dec 29  2013 .tcshrc
Last Updated: 10/2/2019, 1:09:58 AM