S
S
Sergey2015-07-09 20:12:35
linux
Sergey, 2015-07-09 20:12:35

How to make your own deb packages?

Hello.
I have a working opensource daemon with web interface management, configs and a database.
All of this is working now. The web interface is in /var/www/project, the database is in mysql, the files in usr/share are many Apache configs and other programs that the project uses.
How can I build a deb package from this?
1. First, check the dependencies, and if something is missing, install these programs
2. Create and copy the database from the dump (by requesting a user and password from the database)
3. Copy the Apache configs, programs from point 1
4. Copy the files to the necessary folders and directories
Is there any information somewhere that will help me? In Google, everything is for programs that are made with make install, but I need to somehow put everything together, so I'm at a loss.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Ergil Osin, 2015-07-09
@Ernillew

Google links for "make debian package"
https://wiki.debian.org/HowToPackageForDebian
https://www.debian.org/doc/manuals/maint-guide/bui...
https://debian-handbook .info/browse/stable/debian-...
Read, study, understand.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question