styxmx 发表于 2018-1-11 16:07:32

gitlab 创建SSH Keys 报500错

# mkdir /swapfile  
# cd
/swapfile  
#
dd if=/dev/zero of=swap bs=1024 count=2000000  
2000000+0 records in
  
2000000+0 records out
  
2048000000 bytes (2.0 GB) copied, 36.5222 s, 56.1 MB/s
  
# mkswap -fswap

  
Setting up swapspace version 1,>  
no label, UUID=fd976699-b7e4-471f-82fb-8d784793d82f
  
# swapon swap
  
swapon: /swapfile/swap: insecure permissions 0644, 0600 suggested.
  
# free -h
  
total      used      free      sharedbuff/cache   available
  
Mem:         1.8G      1.5G         62M         14M      263M      159M
  
Swap:          1.9G          0B      1.9G
页: [1]
查看完整版本: gitlab 创建SSH Keys 报500错