执行命令apt-get install redis-server 安装遇到的问题 1.出现apt-get被占用情况,用ps -a|grep apt ,杀死存在的apt进程 2.还不行就执行sudo fuser -vik /var/lib/dpkg/lock 3.继续安装可能会出现 Unable to start the server. Please restart MySQL and run mysql_upgrade to ensure the database is ready for us…