- Tuliskan baris perintah untuk firewall menggunakan IPTABLES, untuk keperluan sebuah Website.
- Tuliskan baris perintah untuk mengatur konfigurasi NAMESERVER.
- Tuliskan apa saja yang perlu dilakukan untuk mengamankan sebuah Server.
This file contains 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> | |
DocumentRoot "/home/dev/server/project/dist/" | |
ServerName vuejs.project.local | |
<Directory /home/dev/server/project/dist/> | |
Options Indexes FollowSymLinks MultiViews | |
AllowOverride all | |
Require all granted | |
Order allow,deny | |
allow from all |
This file contains 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
set number | |
colorscheme desert | |
set tabstop=4 | |
set softtabstop=4 | |
set shiftwidth=4 | |
set listchars=tab:>\ ,eol:¬ |
This file contains 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
set nocompatible | |
call pathogen#infect() | |
call vundle#rc() | |
" let Vundle manage Vundle | |
" required! | |
Bundle 'gmarik/vundle' | |
" My Bundles |
This file contains 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
# /etc/nginx/sites-available/laravel | |
server { | |
listen 80; | |
listen [::]:80 ipv6only=on; | |
root /var/www/html/laravel/public; | |
index index.php index.html index.htm; | |
server_name laravel.dev; |