This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Unbound configuration file for Debian. | |
# | |
# See the unbound.conf(5) man page. | |
# | |
# See /usr/share/doc/unbound/examples/unbound.conf for a commented | |
# reference config file. | |
# | |
# The following line includes additional configuration files from the | |
# /etc/unbound/unbound.conf.d directory. | |
include: "/etc/unbound/unbound.conf.d/*.conf" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 0 */10 * * root wget http://www.internic.net/domain/named.cache -O /etc/unbound/root.hints |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
générer la clé privée et le certificat racine de notre autorité de certification (CA) | |
openssl req -new -x509 -extensions v3_ca -keyout cert_ca.key -out cert_ca.crt -days 3650 -newkey rsa:4096 | |
Maintenant que nous avons notre autorité, nous allons passer au certificat finalpour tout soutade.fr. Il faut commencer par créer une clé privée (2048 bits dans cet exemple) : | |
openssl genrsa -out cert2.fr.key 2048 | |
La requête de signature (sans mot de passe) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chown root:syslog /log | |
chmod 775 /log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Source : https://www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-on-ubuntu-12-04-lts-precise-pangolin-with-rvm | |
Source : https://rvm.io/rvm/install | |
1 Install RVM in Multi-User mode | |
sudo curl -sSL https://rvm.io/mpapis.asc | gpg --import - | |
sudo \curl -L https://get.rvm.io | bash -s stable | |
add the correct user(s) to the group rvm | |
logout and relogon | |
source /etc/profile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Source : http://www.redmine.org/projects/redmine/wiki/RedmineInstall | |
Source : http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_on_Ubuntu_step_by_step | |
Source : http://www.redmine.org/projects/redmine/wiki/Download | |
Source : https://www.phusionpassenger.com/library/config/apache/reference/#passengerruby | |
1 Dependance: | |
sudo apt-get install apache2 php5 mysql-server mysql-client phpmyadmin libmysqlclient-dev imagemagick libmagickwand-dev unzip git | |
after ruby installed : |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
copy BDD | |
si besoin : source /etc/profile | |
dans repertoire redmine : cd /opt/redmine/redmine | |
migration BDD : rake db:migrate RAILS_ENV=production | |
migration bdd plugins : bundle exec rake redmine:plugins:migrate RAILS_ENV=production | |
copy files (/var/lib/redmine/default/files) | |
MAJ config/database.yml configuration.yml settings.yml | |
restart apache : sudo service apache2 restart | |
remplacement caractere bdd : |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# version de java | |
java -showversion | |
# modifier la version de java ou listé les version installées | |
sudo update-alternatives --config java | |
# Install java8 | |
sudo add-apt-repository ppa:webupd8team/java | |
sudo apt-get update |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# interface eno2 | |
# vlan 100 et 251 | |
sudo ovs-vsctl add-br vswitch eno2 | |
sudo ovs-vsctl add-port vswitch eno2 | |
sudo ovs-vsctl add-br vlan100 vswitch 100 | |
sudo ovs-vsctl add-br vlan251 vswitch 251 | |
sudo ovs-vsctl set port eno2 trunks=100,251 | |
sudo ovs-vsctl show |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/RobertCNelson/netinstall/blob/master/lib/wily-preseed.cfg | |
https://www.snip2code.com/Snippet/13001/packer-io-preseed-file-for-ubuntu-server | |
https://groups.google.com/forum/#!topic/packer-tool/SWhoARVwVnM | |
http://blog.endpoint.com/2014/03/provisioning-development-environment.html | |
http://dev.man-online.org/man1/qemu-system-x86_64/ | |
https://stackoverflow.com/questions/31370750/how-do-i-find-out-the-boot-command-for-packer |
OlderNewer