mirror of
https://github.com/myvesta/vesta
synced 2025-07-05 20:41:53 -07:00
Update v-commander
This commit is contained in:
parent
cecb7cf56a
commit
6800013edb
1 changed files with 2 additions and 2 deletions
|
@ -425,8 +425,8 @@ do
|
|||
memory=$(grep 'MemTotal' /proc/meminfo |tr ' ' '\n' |grep [0-9])
|
||||
apt-get update
|
||||
apt-get -y install memcached
|
||||
apt-get install $(systemctl --full --type service --all | grep "php...-fpm" | sed 's#●##g' | awk '{print $1}' | cut -c1-6 | xargs -n 1 printf "%s-memcache ")
|
||||
apt-get install $(systemctl --full --type service --all | grep "php...-fpm" | sed 's#●##g' | awk '{print $1}' | cut -c1-6 | xargs -n 1 printf "%s-memcached ")
|
||||
apt-get -y install $(systemctl --full --type service --all | grep "php...-fpm" | sed 's#●##g' | awk '{print $1}' | cut -c1-6 | xargs -n 1 printf "%s-memcache ")
|
||||
apt-get -y install $(systemctl --full --type service --all | grep "php...-fpm" | sed 's#●##g' | awk '{print $1}' | cut -c1-6 | xargs -n 1 printf "%s-memcached ")
|
||||
if [ $memory -lt 15000000 ]; then
|
||||
sed -i "s/-m 64/-m 256/" /etc/memcached.conf
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue