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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure("2") do |config| | |
# The most common configuration options are documented and commented below. | |
# For a complete reference, please see the online documentation at |
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
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: confluent-zookepper | |
# Required-Start: $remote_fs | |
# Required-Stop: $remote_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: a distributed commit log. | |
# Description: Apache Kafka is publish-subscribe messaging rethought | |
# as a distributed commit 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
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: kafka | |
# Required-Start: $remote_fs | |
# Required-Stop: $remote_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: a distributed commit log. | |
# Description: Apache Kafka is publish-subscribe messaging rethought | |
# as a distributed commit 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
<VirtualHost *:80> | |
ServerName www.domain.com.localhost | |
ServerAlias domain.com.localhost | |
ServerAdmin webmaster@localhost | |
DocumentRoot /home/user/www/project/web | |
<Directory /home/user/www/project/web/> | |
Options Indexes FollowSymLinks MultiViews | |
AllowOverride None | |
Order allow,deny |
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
sudo chmod -R +a '_www allow read,write,delete,add_file,add_subdirectory,file_inherit,directory_inherit' <dir> |
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
# Installing A self-signed certificate on Apache/Linux | |
## Install Mod SSL | |
--- | |
You have to be sure that Apache and Mod SSL are installed on the server. You can install both with one command: | |
yum install mod_ssl | |
## New Directory | |
--- | |
Create a new directory where we will store the server key and certificate |
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
This should give you an overview of the kernel related packages that rpm is aware off: | |
Code: | |
rpm -qa | grep kernel | |
You can remove them using: | |
Code: | |
rpm -e kernel_package_name |
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
[jpackage-6.0-generic] | |
name=JPackage 6.0, for generic | |
#baseurl=MIRROR/6.0/generic/free/ | |
mirrorlist=http://www.jpackage.org/mirrorlist.php?dist=generic&type=free&release=6.0 | |
gpgcheck=0 | |
enabled=0 | |
#[jpackage-generic-updates] | |
#name=JPackage (free), generic | |
#mirrorlist=http://www.jpackage.org/mirrorlist.php?dist=generic&type=free&release=6.0-updates |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |