首先一路默认安装完后先切换源
/etc/apt/sources.list
一般我用两个源 一个阿里源 一个中科源 这些都可以网上百度的到
#中科大的源 deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib deb http://mirrors.ustc.edu.cn/kali kali-rolling main contrib non-free deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main contrib non-free deb http://mirrors.ustc.edu.cn/kali-security kali-current/updates main contrib non-free deb-src http://mirrors.ustc.edu.cn/kali-security kali-current/updates main contrib non-free #阿里云源 deb http://mirrors.aliyun.com/kali sana main non-free contrib deb http://mirrors.aliyun.com/kali-security/ sana/updates main contrib non-free deb-src http://mirrors.aliyun.com/kali-security/ sana/updates main contrib non-free
切换完源之后就是更新kali的源和一些配置的更新
apt-get update && apt-get upgrade && apt-get dist-upgrade
然后就是安装pinyi这个组件这个命令也是网上可以百度的到的
apt-get install ibus && apt-get install ibus-pinyin
这时候最好重启一下linux 重新配置
后面就是装vmtools工具,当然我是已经安装好了的
打开桌面的光盘
mkdir /vmtools
apt-cache search linux-headers
apt-cache search linux-image
apt-get install install linux-headers-4.15.0-kali3-all
apt-get install linux-image-4.15.0-kali3-amd64
cp VMwareTools-10.2.5-8068393.tar.gz /vmtools
cd /vmtools
tar -zxvf VMwareTools-10.2.5-8068393.tar.gz
cd VMwareTools-10.2.5-8068393.tar.gz
chmod vmware-install.pl 755
./vmware-insatll.pl
一路yes即可
后面是安装redis
tar -zxvf [email protected]:~/桌面/redis-4.0.9/src# cp redis-cli redis-server /redisredis-4.0.9.tar.gz
cd redis-4.0.9
ls
make
cd src
ls
adlist.c endianconv.o pqsort.o server.c
adlist.h evict.c pubsub.c server.h
adlist.o evict.o pubsub.o server.o
ae.c expire.c quicklist.c setproctitle.c
ae_epoll.c expire.o quicklist.h setproctitle.o
ae_evport.c fmacros.h quicklist.o sha1.c
ae.h geo.c rand.c sha1.h
ae_kqueue.c geo.h rand.h sha1.o
ae.o geohash.c rand.o siphash.c
ae_select.c geohash.h rax.c siphash.o
anet.c geohash_helper.c rax.h slowlog.c
anet.h geohash_helper.h rax_malloc.h slowlog.h
anet.o geohash_helper.o rax.o slowlog.o
aof.c geohash.o rdb.c solarisfixes.h
aof.o geo.o rdb.h sort.c
asciilogo.h help.h rdb.o sort.o
atomicvar.h hyperloglog.c redisassert.h sparkline.c
bio.c hyperloglog.o redis-benchmark sparkline.h
bio.h intset.c redis-benchmark.c sparkline.o
bio.o intset.h redis-benchmark.o syncio.c
bitops.c intset.o redis-check-aof syncio.o
bitops.o latency.c redis-check-aof.c testhelp.h
blocked.c latency.h redis-check-aof.o t_hash.c
blocked.o latency.o redis-check-rdb t_hash.o
childinfo.c lazyfree.c redis-check-rdb.c t_list.c
childinfo.o lazyfree.o redis-check-rdb.o t_list.o
cluster.c lzf_c.c redis-cli t_set.c
cluster.h lzf_c.o redis-cli.c t_set.o
cluster.o lzf_d.c redis-cli.o t_string.c
config.c lzf_d.o redismodule.h t_string.o
config.h lzf.h redis-sentinel t_zset.c
config.o lzfP.h redis-server t_zset.o
crc16.c Makefile redis-trib.rb util.c
crc16.o memtest.c release.c util.h
crc64.c memtest.o release.h util.o
crc64.h mkreleasehdr.sh release.o valgrind.sup
crc64.o module.c replication.c version.h
db.c module.o replication.o ziplist.c
db.o modules rio.c ziplist.h
debug.c multi.c rio.h ziplist.o
debugmacro.h multi.o rio.o zipmap.c
debug.o networking.c scripting.c zipmap.h
defrag.c networking.o scripting.o zipmap.o
defrag.o notify.c sdsalloc.h zmalloc.c
dict.c notify.o sds.c zmalloc.h
dict.h object.c sds.h zmalloc.o
dict.o object.o sds.o
endianconv.c pqsort.c sentinel.c
endianconv.h pqsort.h sentinel.o
cp redis-cli redis-server /redis
cp ../
cp redis.conf /redis
./redis-server
_._
_.-``__ ''-._
_.-`` `. `_. ''-._ Redis 4.0.9 (00000000/0) 64 bit
.-`` .-```. ```\/ _.,_ ''-._
( ' , .-` | `, ) Running in standalone mode
|`-._`-...-` __...-.``-._|'` _.-'| Port: 6379
| `-._ `._ / _.-' | PID: 2711
`-._ `-._ `-./ _.-' _.-'
|`-._`-._ `-.__.-' _.-'_.-'|
| `-._`-._ _.-'_.-' | http://redis.io
`-._ `-._`-.__.-'_.-' _.-'
|`-._`-._ `-.__.-' _.-'_.-'|
| `-._`-._ _.-'_.-' |
`-._ `-._`-.__.-'_.-' _.-'
`-._ `-.__.-' _.-'
`-._ _.-'
`-.__.-'
出现这个说明前面安装成功
vim redis.conf
set nu
--137
daemonize yes
#启用后台启动
./redis-server redis.conf
[email protected]:/redis# ps -A | grep redis
3009 ? 00:00:00 redis-server