[РЕШЕНО]Создание локального репазитория pfsen
-
Товарищи. не могу всегда иметь доступ в интернет, а если доступ есть то скорость очень низкая, 15-20 Кб. Хочу поставить локальный репазиторий, но не знаю откуда качать все пакеты pfsense, подскажи пожалуйста
-
Дык в репозиторий тоже надо будет качать. Если не секрет - зачем все пакеты то?
-
Дык в репозиторий тоже надо будет качать. Если не секрет - зачем все пакеты то?
Я часто ставлю эксперименты на виртуальной машине, и порой непредсказуемо, нужны пакеты а бац их нет, только в репозите. Вот и сижу, кукую, жду когда инет появиться.
-
Дык в репозиторий тоже надо будет качать. Если не секрет - зачем все пакеты то?
Я часто ставлю эксперименты на виртуальной машине, и порой непредсказуемо, нужны пакеты а бац их нет, только в репозите. Вот и сижу, кукую, жду когда инет появиться.
Решение найдено, спасибо за помощь, всем каму интиресно, помогу.
Hi,
I am trying to write a package for clamav and havp. I have setup a test repository locally and trying to understand the manifest and package xml formats. Rather than just ask the questions, I will document what I understand and ask what I do not know, In the process making a crude documentation of package system. I will wikify it once I get enough information. Pl correct any errors
pfSense Packaging System
The basic idea behind pfSense packaging system is to install the normal FreeBSD packages, but keep the configuration inside the pfSense xml. This is achieved by creating the config file of application from scratch from xml duing installation and when it is changed in web interface. pfSense provides infrastructure to create the web interface and to store it in it's xml config. The package writer is expected to convert the data from xml to the native format of the application.
Creating a Local Repository.
To test local packages you need to create a local repository of packages. The local repository can be any web server accessible from wan interface with 2 main subdirectories. They are packages and pfSense. packages contain the main package manifest file pkg_config.xml. This also has config subdirectory for package specefic configuration files. The pfSense directory has xmlrpc code. Get the xmlrpc code from http://www.pfsense.com/xmlrpc.tgz and untar it in the directory. To change the default repository directory from pfsense.com to your webserver, edit the /etc/inc/globals.inc and change xmlrpcbaseurl to your repository. Now click the System -> Packages from the pfsense web interface and you should see packages from your local repository. You are set to go now.
-
Предлагаю оформить пост с пошаговой инструкцией и поместить ссылку в прикрепленном FAQ .
-
Предлагаю оформить пост с пошаговой инструкцией и поместить ссылку в прикрепленном FAQ .
Да, так и сделаю, репазиторий я уже содал, литинг всех действий оформлю как полагается и выложу в этой теме, на текущее время [: -gt: unexpected operator вот такая вот проблема, как решу вопрос займусь инструкцией. :)
-
Недавно возникла необходимость по этой теме. Оказалось довольно просто - http://ru.doc.pfsense.org/index.php/%D0%9A%D0%B0%D0%BA_%D1%81%D0%BE%D0%B7%D0%B4%D0%B0%D1%82%D1%8C_%D0%BB%D0%BE%D0%BA%D0%B0%D0%BB%D1%8C%D0%BD%D1%8B%D0%B9_%D1%80%D0%B5%D0%BF%D0%BE%D0%B7%D0%B8%D1%82%D0%BE%D1%80%D0%B8%D0%B9_%D0%BF%D0%B0%D0%BA%D0%B5%D1%82%D0%BE%D0%B2
PS: корявенький линк, ну а кому сейчас легко?