{"id":15490294,"url":"https://github.com/virtubox/ubuntu-plesk-onyx","last_synced_at":"2025-04-10T18:44:14.980Z","repository":{"id":132823834,"uuid":"114361939","full_name":"VirtuBox/ubuntu-plesk-onyx","owner":"VirtuBox","description":"Plesk Onyx custom configuration on Ubuntu 16.04 LTS","archived":false,"fork":false,"pushed_at":"2018-07-09T13:13:36.000Z","size":34,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-19T09:17:18.529Z","etag":null,"topics":["configuration-files","mariadb","plesk","plesk-nginx","ubuntu1604"],"latest_commit_sha":null,"homepage":"https://virtubox.net","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VirtuBox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-15T11:09:06.000Z","updated_at":"2022-12-28T19:12:03.000Z","dependencies_parsed_at":"2023-07-04T17:45:12.841Z","dependency_job_id":null,"html_url":"https://github.com/VirtuBox/ubuntu-plesk-onyx","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VirtuBox%2Fubuntu-plesk-onyx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VirtuBox%2Fubuntu-plesk-onyx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VirtuBox%2Fubuntu-plesk-onyx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VirtuBox%2Fubuntu-plesk-onyx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VirtuBox","download_url":"https://codeload.github.com/VirtuBox/ubuntu-plesk-onyx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248271921,"owners_count":21075800,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["configuration-files","mariadb","plesk","plesk-nginx","ubuntu1604"],"created_at":"2024-10-02T07:20:25.281Z","updated_at":"2025-04-10T18:44:14.956Z","avatar_url":"https://github.com/VirtuBox.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Plesk Onyx custom setup on Ubuntu 16.04 LTS\n\n**System update and packages cleanup**\n\n```\napt-get update \u0026\u0026 apt-get upgrade -y \u0026\u0026 apt-get autoremove -y \u0026\u0026 apt-get clean\n```\n\n**Install useful packages**\n```\nsudo apt install haveged curl git unzip zip htop -y\n```\n\n**Tweak Kernel sysctl configuration**\n```\nwget -O /etc/sysctl.conf https://raw.githubusercontent.com/VirtuBox/ubuntu-nginx-web-server/master/etc/sysctl.conf\nsysctl -p\necho never \u003e /sys/kernel/mm/transparent_hugepage/enabled\nwget -O /etc/security/limits.conf https://raw.githubusercontent.com/VirtuBox/ubuntu-nginx-web-server/master/etc/security/limits.conf\n```\n\n**Install netdata monitoring**\n```\nbash \u003c(curl -Ss https://my-netdata.io/kickstart.sh) all\n\n# save 40-60% of netdata memory\necho 1 \u003e/sys/kernel/mm/ksm/run\necho 1000 \u003e/sys/kernel/mm/ksm/sleep_millisecs\n\n# disable email notifications\nwget -O /etc/netdata/health_alarm_notify.conf https://raw.githubusercontent.com/VirtuBox/ubuntu-nginx-web-server/master/etc/netdata/health_alarm_notify.conf\nservice netdata restart\n```\n\n**Install MariaDB 10.1** (do not set any root password)\n```\ncurl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup |\nsudo bash -s -- --mariadb-server-version=10.1 --skip-maxscale\n\nsudo apt update\nsudo apt install mariadb-server\n```\n\n**Install the lastest Plesk Onyx release**\n```\n### stable\nsh \u003c(curl https://autoinstall.plesk.com/plesk-installer || wget -O - https://autoinstall.plesk.com/plesk-installer)\n\n### preview\nsh \u003c(curl https://autoinstall.plesk.com/plesk-installer || wget -O - https://autoinstall.plesk.com/plesk-installer) --all-versions\n```\n\n**Enable vps_optimized mode**\n```\nplesk bin vps_optimized --turn-on\n```\n\n**Enable pci_compliance configuration**\n```\nplesk sbin pci_compliance_resolver --enable all\n```\n\n**Compile the last Nginx release with plesk-nginx bash script**\n```\nbash \u003c(wget -O - https://raw.githubusercontent.com/VirtuBox/plesk-nginx/master/plesk-nginx.sh)\n```\n\n**Set Panel.ini custom configuration**\n```\nwget https://raw.githubusercontent.com/VirtuBox/ubuntu-plesk-onyx/master/usr/local/psa/admin/conf/panel.ini -O /usr/local/psa/admin/conf/panel.ini\n```\n\n**Set custom php.ini configuration**\n```\n# plesk-php56-fpm\nwget -O /opt/plesk/php/5.6/etc/php.ini https://raw.githubusercontent.com/VirtuBox/ubuntu-plesk-onyx/master/opt/plesk/php/5.6/etc/php.ini\n\n# plesk-php70-fpm\nwget -O /opt/plesk/php/7.0/etc/php.ini https://raw.githubusercontent.com/VirtuBox/ubuntu-plesk-onyx/master/opt/plesk/php/7.0/etc/php.ini\n\n# plesk-php71-fpm\nwget -O /opt/plesk/php/7.1/etc/php.ini https://raw.githubusercontent.com/VirtuBox/ubuntu-plesk-onyx/master/opt/plesk/php/7.1/etc/php.ini\n\n# plesk-php72-fpm\nwget -O /opt/plesk/php/7.2/etc/php.ini https://raw.githubusercontent.com/VirtuBox/ubuntu-plesk-onyx/master/opt/plesk/php/7.2/etc/php.ini\n\n# apply new configuration \nplesk bin php_handler --reread\n```\n\n**Set custom nginx configuration**\n```\n# nginx.conf \nwget -O /etc/nginx/nginx.conf https://raw.githubusercontent.com/VirtuBox/ubuntu-plesk-onyx/master/etc/nginx/nginx.conf\n\n# SSL/TLS strict configuration (TLSv1.2 \u0026 TLSv1.3)\nwget -O /etc/nginx/conf.d/ssl.conf https://raw.githubusercontent.com/VirtuBox/ubuntu-plesk-onyx/master/etc/nginx/conf.d/ssl.conf\n\n# SSL/TLS Intermediate configuration (TLSv1.0 TLSv1.1 TLSv1.2 \u0026 TLSv1.3)\nwget -O /etc/nginx/conf.d/ssl.conf https://raw.githubusercontent.com/VirtuBox/ubuntu-plesk-onyx/master/etc/nginx/conf.d/ssl-intermediate.conf\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirtubox%2Fubuntu-plesk-onyx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvirtubox%2Fubuntu-plesk-onyx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirtubox%2Fubuntu-plesk-onyx/lists"}