{"id":20181362,"url":"https://github.com/lasbrdev/linux-projeto2-iac","last_synced_at":"2026-05-11T10:35:39.728Z","repository":{"id":151051288,"uuid":"529954408","full_name":"lasbrDev/linux-projeto2-iac","owner":"lasbrDev","description":"Bash script for server upgrade and web application deployment.","archived":false,"fork":false,"pushed_at":"2023-10-19T14:16:45.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-13T17:20:06.416Z","etag":null,"topics":["deployment","linux","linux-server","linux-server-configuration","linux-shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lasbrDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-08-28T19:05:31.000Z","updated_at":"2023-10-19T14:19:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"4212dfe2-6633-4361-a405-0cd42484324c","html_url":"https://github.com/lasbrDev/linux-projeto2-iac","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/lasbrDev%2Flinux-projeto2-iac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lasbrDev%2Flinux-projeto2-iac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lasbrDev%2Flinux-projeto2-iac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lasbrDev%2Flinux-projeto2-iac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lasbrDev","download_url":"https://codeload.github.com/lasbrDev/linux-projeto2-iac/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241616700,"owners_count":19991543,"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":["deployment","linux","linux-server","linux-server-configuration","linux-shell"],"created_at":"2024-11-14T02:35:17.245Z","updated_at":"2026-05-11T10:35:39.403Z","avatar_url":"https://github.com/lasbrDev.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Update Server and Deploy a Web Application\n\nThis is a bash script that performs a system update and deploys a web application using the Apache server.\n\n## Prerequisites\n\nMake sure you have a Linux system with root access or superuser permissions. Otherwise, you can run the commands by preceding them with `sudo`.\n\n## How to Use\n\n1. Clone the repository or create a new `deploy.sh` file on your server.\n\n2. Open the terminal and execute the script with the following command:\n\n    ```bash\n    ./deploy.sh\n\n## Steps Performed by the Script\n\n1. Update the operating system:\n\n    ```bash\n    sudo apt update\n    sudo apt upgrade -y\n\n2. Install the Apache web server:\n\n    ```bash\n    sudo apt install apache2 -y\n\n3. Install the `unzip` tool:\n\n    ```bash\n    sudo apt install unzip -y\n\n3. Download and copy the application files:\n\n    ```bash\n    cd /tmp\n    wget https://github.com/denilsonbonatti/linux-site-dio/archive/refs/heads/main.zip\n    unzip main.zip\n    cd linux-site-dio-main\n    cp -R * /var/www/html/\n\nNow, your server should be updated, and the web application will be available in `/var/www/html/`.\n\n## License\n\nThis project is licensed under the **MIT License**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flasbrdev%2Flinux-projeto2-iac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flasbrdev%2Flinux-projeto2-iac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flasbrdev%2Flinux-projeto2-iac/lists"}