Сегодня стали очень популярны одноплатные мини компьютеры, такие как: Raspberry Pi, Banana Pi, Orange Pi и др.. Благодаря малому размеру, экономичности и хороших технических характеристик, их можно использовать как сервера на постоянную работу: веб-сервер Apache2, СУБД MySQL, phpMyAdmin, системы контроля версий GIT и SVN.
В этой статье мы установим и настроим Subversion сервер на Orange Pi PC с OC Ubuntu 16.04. Все действия в данной статье необходимо выполнять от пользователя root, для этого необходимо получит привилегии суперпользователя:
Что такое Subversion (SVN)?
Subversion (также известная как «SVN») — это система контроля версий с открытым кодом. Используя Subversion вы можете записывать историю исходных файлов и документов. Она управляет файлами и каталогами во времени. Дерево файлов располагается в центральном хранилище. Хранилище больше похоже на обычный файл-сервер, за исключением того, что он помнит каждое изменение когда-либо сделанное в файлах или каталогах.
Установка Subversion
Для доступа к хранилищу Subversion с помощью протокола HTTP вы должны установить и настроить web сервер. Apache2 гарантированно работает с Subversion. Пожалуйста, обратитесь к разделу Apache2 для установки и настройки Apache2.
Для установки Subversion выполните следующую команду в терминале:
sudo apt-get install subversion libapache2-svn
Настройка сервера
Для начала необходимо создать папку, в которой будут располагаться репозиторий:
mkdir -p /svn/repos
Хранилище Subversion может быть создано с помощью следующей команды в терминале:
svnadmin create /svn/repos/repo
Для импорта или фиксации файлов в вашем Subversion хранилище по HTTP, хранилищем должен владеть HTTP пользователь. В Ubuntu обычно пользователем HTTP является www-data. Для изменения владельца файлов хранилища введите следующую команду в терминале:
chown -R www-data:www-data /svn/repos
Далее вы должны создать файл /etc/subversion/passwd, который будет содержать подробности аутентификации пользователей. Для создания файла используйте следующую команду в командной строке (которая создаст файл и добавит первого пользователя), а вместо user_name нужно указать нужное имя пользователя:
sudo htpasswd -c /etc/subversion/passwd user_name
Чтобы добавить дополнительных пользователей, опустите опцию «-c«, поскольку она заменяет старый файл. Вместо этого используйте такой вариант:
sudo htpasswd /etc/subversion/passwd user_name
Чтобы увидеть список добавленных пользователей, откройте файл /etc/subversion/passwd.
Для доступа к хранилищу Subversion через протокол WebDAV вам потребуется настроить сервер Apache2. Сперва откройте файл /etc/apache2/mods-enabled/dav_svn.conf
sudo pluma /etc/apache2/mods-enabled/dav_svn.conf
и добавьте следующий фрагмент:
<Location /svn> DAV svn SVNParentPath /svn/repos/ AuthType Basic AuthName "Subversion Repository" AuthUserFile /etc/subversion/passwd Require valid-user </Location>
перезапустите веб-сервер Apache2:
sudo service apache2 restart
Если вы все сделали верно, то при заходе на http://localhost/svn/repo у вас выскочит окошко с запросом имени пользователя и пароля, введя которые вы увидите ваш пустой пока еще Subversion.
Jackpot progresif menarik banyak pemain: slot88 — slot88.company
Kasino di Jakarta memiliki berbagai pilihan permainan: bonaslot.site — bonaslot.site
https://bonaslot.site/# Pemain harus menetapkan batas saat bermain
Slot menjadi bagian penting dari industri kasino: slot 88 — slot88
Pemain harus menetapkan batas saat bermain: slot88.company — slot88
https://slotdemo.auction/# Jackpot progresif menarik banyak pemain
Jackpot besar bisa mengubah hidup seseorang https://garuda888.top/# Kasino selalu memperbarui mesin slotnya
http://slot88.company/# Banyak kasino menawarkan permainan langsung yang seru
Kasino di Jakarta memiliki berbagai pilihan permainan: slot 88 — slot88.company
Mesin slot sering diperbarui dengan game baru: preman69 — preman69.tech
http://preman69.tech/# Pemain harus memahami aturan masing-masing mesin
Mesin slot menawarkan berbagai tema menarik: garuda888 slot — garuda888.top
Banyak pemain menikmati jackpot harian di slot https://preman69.tech/# Slot dengan grafis 3D sangat mengesankan
Pemain sering mencoba berbagai jenis slot http://slot88.company/# Kasino mendukung permainan bertanggung jawab
Banyak pemain menikmati jackpot harian di slot: bonaslot.site — bonaslot.site
Mesin slot baru selalu menarik minat https://slot88.company/# Kasino mendukung permainan bertanggung jawab
http://doxhealthpharm.com/# doxycycline 500mg tablets
http://amohealthpharm.com/# medicine amoxicillin 500mg
buying clomid pills: buy clomid without rx — where can i get cheap clomid without a prescription
http://doxhealthpharm.com/# cost of doxycycline
canadian pharmacy amoxicillin medicine amoxicillin 500 cost of amoxicillin prescription
doxycycline 100mg price: can you buy doxycycline over the counter in india — cost of doxycycline in india
doxycycline hyclate 100 mg: Dox Health Pharm — where can i order doxycycline
how to get amoxicillin over the counter: Amo Health Pharm — amoxicillin without rx
doxycycline 163: can i buy 40mg doxycycline online — order doxycycline canada
where can i get cheap clomid without dr prescription ClmHealthPharm where buy clomid prices
https://amohealthpharm.com/# price of amoxicillin without insurance
cost of generic clomid no prescription: ClmHealthPharm — cost of generic clomid price
buy clomid no prescription: ClmHealthPharm — where to get generic clomid pills
https://zithropharm.com/# zithromax canadian pharmacy
zithromax online paypal: ZithroPharm — zithromax generic cost
purchase amoxicillin online: AmoHealthPharm — amoxicillin 500mg for sale uk
http://doxhealthpharm.com/# can i buy doxycycline over the counter
can you buy zithromax over the counter in canada: ZithroPharm — zithromax antibiotic
where can i buy doxycycline no prescription: п»їdoxycycline 100mg tablets for sale — buy doxycycline uk
buy zithromax no prescription: where can i buy zithromax uk — where can i buy zithromax medicine
http://zithropharm.com/# how to get zithromax
generic zithromax over the counter: ZithroPharm — zithromax price south africa
buying clomid without dr prescription: ClmHealthPharm — how can i get generic clomid price
http://clmhealthpharm.com/# get clomid tablets
zithromax purchase online: where can i get zithromax — generic zithromax medicine
https://clmhealthpharm.com/# can i buy clomid no prescription
pharmacies en ligne certifiГ©es cialis prix Pharmacie en ligne livraison Europe
trouver un mГ©dicament en pharmacie: Tadalafil sans ordonnance en ligne — п»їpharmacie en ligne france
pharmacie en ligne france livraison belgique http://tadalafilmeilleurprix.com/# Pharmacie en ligne livraison Europe
Pharmacie Internationale en ligne: kamagra oral jelly — trouver un mГ©dicament en pharmacie
pharmacie en ligne fiable: pharmacie en ligne france — pharmacie en ligne france livraison belgique
pharmacies en ligne certifiГ©es https://kamagrameilleurprix.com/# pharmacie en ligne france pas cher
https://tadalafilmeilleurprix.shop/# п»їpharmacie en ligne france
acheter mГ©dicament en ligne sans ordonnance
Viagra sans ordonnance 24h suisse: viagra sans ordonnance — Viagra prix pharmacie paris
pharmacie en ligne fiable http://pharmaciemeilleurprix.com/# vente de mГ©dicament en ligne
http://pharmaciemeilleurprix.com/# pharmacie en ligne sans ordonnance
pharmacie en ligne sans ordonnance
Pharmacie Internationale en ligne pharmacie en ligne п»їpharmacie en ligne france
отзывы купить диплом
Viagra vente libre pays: Prix du Viagra 100mg en France — Quand une femme prend du Viagra homme
http://kamagrameilleurprix.com/# pharmacie en ligne livraison europe
pharmacie en ligne
Pharmacie en ligne livraison Europe: pharmacie en ligne sans ordonnance — Pharmacie en ligne livraison Europe
pharmacie en ligne http://tadalafilmeilleurprix.com/# pharmacie en ligne france fiable
pharmacie en ligne pas cher: Acheter Cialis — pharmacie en ligne france fiable
Viagra 100mg prix viagra sans ordonnance Meilleur Viagra sans ordonnance 24h
https://viagrameilleurprix.shop/# Viagra prix pharmacie paris
trouver un mГ©dicament en pharmacie
pharmacie en ligne fiable http://tadalafilmeilleurprix.com/# acheter mГ©dicament en ligne sans ordonnance
http://viagrameilleurprix.com/# Viagra sans ordonnance 24h suisse
trouver un mГ©dicament en pharmacie
pharmacie en ligne pas cher https://pharmaciemeilleurprix.shop/# trouver un mГ©dicament en pharmacie
pharmacie en ligne fiable: kamagra pas cher — pharmacie en ligne france livraison internationale
pharmacie en ligne fiable pharmacie en ligne sans ordonnance pharmacie en ligne pas cher
https://viagrameilleurprix.com/# Viagra homme prix en pharmacie sans ordonnance
Achat mГ©dicament en ligne fiable
acheter mГ©dicament en ligne sans ordonnance: Acheter Cialis — pharmacie en ligne
pharmacie en ligne https://kamagrameilleurprix.com/# pharmacie en ligne avec ordonnance
http://pharmaciemeilleurprix.com/# pharmacie en ligne france livraison internationale
Pharmacie en ligne livraison Europe
pharmacie en ligne france fiable: achat kamagra — acheter mГ©dicament en ligne sans ordonnance
Viagra Pfizer sans ordonnance: Viagra sans ordonnance 24h — SildГ©nafil 100mg pharmacie en ligne
http://kamagrameilleurprix.com/# pharmacie en ligne avec ordonnance
pharmacie en ligne sans ordonnance
Pharmacie Internationale en ligne Acheter Cialis pharmacie en ligne france pas cher
Pharmacie sans ordonnance: Acheter Cialis — pharmacie en ligne
https://viagrameilleurprix.shop/# Viagra femme ou trouver
pharmacie en ligne pas cher
Achat mГ©dicament en ligne fiable pharmacie en ligne Pharmacie sans ordonnance
https://kamagrameilleurprix.com/# trouver un mГ©dicament en pharmacie
pharmacie en ligne france fiable
pharmacie en ligne fiable https://pharmaciemeilleurprix.com/# pharmacie en ligne france pas cher
trouver un mГ©dicament en pharmacie http://kamagrameilleurprix.com/# pharmacies en ligne certifiГ©es
http://pharmaciemeilleurprix.com/# pharmacie en ligne france livraison internationale
pharmacie en ligne pas cher
Pharmacie Internationale en ligne: cialis prix — п»їpharmacie en ligne france
Pharmacie sans ordonnance Pharmacie Internationale en ligne pharmacie en ligne france livraison internationale
Pharmacie Internationale en ligne: Cialis sans ordonnance 24h — pharmacie en ligne sans ordonnance
pharmacie en ligne pas cher https://tadalafilmeilleurprix.shop/# trouver un mГ©dicament en pharmacie
Pharmacie en ligne livraison Europe http://viagrameilleurprix.com/# Quand une femme prend du Viagra homme
Pharmacie sans ordonnance: Acheter Cialis — Pharmacie en ligne livraison Europe
Quand une femme prend du Viagra homme acheter du viagra Sildenafil teva 100 mg sans ordonnance
https://tadalafilmeilleurprix.shop/# pharmacie en ligne sans ordonnance
vente de mГ©dicament en ligne
pharmacie en ligne france fiable https://viagrameilleurprix.shop/# SildГ©nafil Teva 100 mg acheter
http://pharmaciemeilleurprix.com/# pharmacie en ligne france livraison internationale
pharmacie en ligne france livraison internationale
acheter mГ©dicament en ligne sans ordonnance kamagra livraison 24h pharmacie en ligne sans ordonnance
pharmacie en ligne france fiable https://viagrameilleurprix.shop/# Viagra homme sans ordonnance belgique
https://viagrameilleurprix.com/# Acheter viagra en ligne livraison 24h
pharmacie en ligne livraison europe
pharmacie en ligne fiable: kamagra livraison 24h — pharmacie en ligne france pas cher