Write a bash script for Ubuntu
It is necessary to write a bash script for Ubuntu 22.04 that should run on a clean OS and perform the following tasks without user involvement:
Initial conditions: the user uploads text files with data on domains, mailboxes, and IPs to /root:
- domains.txt - a list of domain names that need to be registered on the server, as well as the IP for each domain.
- mailbox.txt - a list of mailboxes that need to be created for each domain.
- mailpass.txt - the password for the created mailboxes (one common password for all).
- site.zip - an archive whose contents need to be unpacked into the root of each domain.
Task of the script:
- Register the domains on the server with their IPs. Unpack the zip archive into the root of each domain.
- The domains should work through the regular HTTP protocol. SSL is not needed. Install Apache and PHP version 5.6.
- Create the necessary mailboxes from the mailbox.txt list on behalf of each domain with the password from mailpass.txt.
- Generate private and public DKIM keys for each domain (for this task, there is already a separate bash script example that generates keys and creates private and public keys in separate txt files for each domain). You can use this ready-made bash, integrate it into a single bash script, or write it separately.
- Install and configure a mail SMTP server based on Exim (or any other) that can send mail.
- Install a mail client to access any mailbox (for example, Roundcube, or any other that allows browser access through authorization to check incoming mail).
- Install MySQL database server 10.3.
Nginx proxy server is NOT needed! It should work through the .htaccess file.
P.S> There is already a separate bash script for creating and making necessary records in DNS for working with DNSmanager from ISPsystem. No operations with DNS need to be written.
Final result of the execution: each domain opens in the browser via http and displays the contents of the unpacked zip archive. It is possible to log in to the mail client at a separate address and check the contents of the selected mailbox. The ability to send mail on behalf of any mailbox when connecting to SMTP through an external mail program.
IMPORTANT: after launching, the script must run automatically without further user involvement. That is, there should not be any dialogs like "Do you want this - click here." That is, if the installation of some module is performed, it happens automatically without additional user intervention.
Work through "safe" and only with the direct performer without intermediaries (companies, teams, etc.)
Please indicate the budget and deadlines in your proposals immediately.
Client's review of cooperation with Mihaylo P.
Write a bash script for UbuntuThe project was completed on time and according to the specifications. I highly recommend for collaboration.
Freelancer's review of cooperation with New Consult
Write a bash script for UbuntuAdequate client with an adequate task!!
Only respect!!!
Current freelance projects in the category PHP
Create a WordPress plugin for a survey (quiz)
225 USD
A WordPress plugin needs to be developed that will be able to - store a bank of questions, all in the same format - a question and 4 answers, 1 correct - display 12 questions in random order, track the timing - collect user data - show the final result with the option to share… PHP, Web Programming ∙ 15 minutes back ∙ 3 proposals |
Modules for a website on Laravel
90 USD
Delivery and payment module for the site https://novabook.top/ (Botble CMS / Laravel) Add convenient delivery and payment methods (including installment plans) in the checkout, similar in style and convenience to the mirson ua site.Delivery (mandatory) Nova Poshta Branch… Javascript and Typescript, PHP ∙ 12 hours 25 minutes back ∙ 18 proposals |
Integration needed: KeyCRM → Cash Register KashalotIt is necessary to set up integration between KeyCRM and the Cash Register Kahalot. When placing an order in KeyCRM, the data must be automatically transmitted to Kahalot: • order information • products, nomenclature • prices • quantity More details in private. Content Management Systems, PHP ∙ 2 days 11 hours back ∙ 28 proposals |
Development of 2 SEO-oriented websites for selling spare parts (ATVs and special equipment)Development of Two Specialized Websites for Selling Spare PartsGeneral Information It is necessary to develop two specialized websites: Spare parts for ATVs, UTVs, SSVs, and other similar equipment. Spare parts for special equipment. Existing company website:… PHP, Web Programming ∙ 4 days 18 hours back ∙ 77 proposals |
Development of a WordPress website
23 USD
We are looking for a contractor to develop a custom website on WordPress for a jewelry store. The first stage will be a consultation. Content Management Systems, PHP ∙ 7 days 10 hours back ∙ 76 proposals |