Skip to content

Instantly share code, notes, and snippets.

@lalamax3d
Last active January 25, 2021 18:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lalamax3d/cbc84ae8e2c90ff9d3993ac7b2910241 to your computer and use it in GitHub Desktop.
Save lalamax3d/cbc84ae8e2c90ff9d3993ac7b2910241 to your computer and use it in GitHub Desktop.
general stuff related to vestacp or basic linux commands

ssh machine access and onward notes (centos or ubuntu etc)

CHECK / SET MACHINE NAME

hostname hostnamectl status

CHECK USAGE ETC

free -m | free -g vmstat -r top -o %CPU -d 10 -i

INSTALL VESTACP (almost default, remi yes, disk quota no, softaculus no, dns named etc

bash vst-install.sh --nginx yes --apache yes --phpfpm no --named yes --remi yes --vsftpd yes --proftpd no --iptables yes --fail2ban yes --quota no --exim yes --dovecot yes --spamassassin yes --clamav yes --softaculous no --mysql yes --postgresql no

INSTALL ETC STUFF

sudo apt-get install p7zip-full

TO CHANGE PHPMYADMIN DEFAULT LOCATION

/usr/local/vesta/web/add/db/index.php /usr/local/vesta/web/templates/admin/list_db.html /usr/local/vesta/web/templates/user/list_db.html

TO CHANGE PHP LIMIT SIZE ETC

sudo nano /etc/php/7.0/apache2/php.ini upload_max_filesize sudo service apache2 restart

TO CHANGE PHP LIMIT GUI

server>apache>config :D

FOR IMMIDIATE FILE MANAGER

nano /usr/local/vesta/conf/vesta.conf FILEMANAGER_KEY='ILOVEREO' now enable in webui

FOR PERMANENT SOLUTION (PYDIO)

http://www.servermom.org/install-pydio-file-manager-vesta/1907/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment