PROC FAR
MOV AX, 5050h
MOV DS, AX
MOV SI, 0250h
MOV CX, 100
MOV DX, 000h
CLD
L1:LODSB
IMUL AL
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
<?php | |
define('DB_NAME', 'test'); | |
define('DB_USER', 'quan'); | |
define('DB_PASSWORD', '123456'); | |
define('DB_HOST', 'localhost'); | |
define('WP_CONTENT_DIR', '/usr/share/wordpress/wp-content'); | |
?> |
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
Alias /blog /usr/share/wordpress | |
<Directory /usr/share/wordpress> | |
Options FollowSymLinks | |
AllowOverride Limit Options FileInfo | |
DirectoryIndex index.php | |
Order allow,deny | |
Allow from all | |
</Directory> | |
<Directory /usr/share/wordpress/wp-content> | |
Options FollowSymLinks |
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
deploy the config file: | |
file.managed: | |
- name: /etc/wordpress/config-192.168.122.212.php | |
- source: salt://config-192.168.122.212.php | |
- mode: 644 | |
restart mysql: | |
module.run: | |
- name: service.restart | |
- m_name: mysql |
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
deploy the wordpress.conf file: | |
file.managed: | |
- name: /etc/apache2/sites-available/wordpress.conf | |
- source: salt://wordpress.conf | |
- mode: 644 | |
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
install LAMP: | |
pkg.installed: | |
- pkgs: | |
- apache2 | |
- wordpress | |
- php | |
- libapache2-mod-php | |
- mysql-server | |
- php-mysql |
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
install pptpd: | |
pkg.installed: | |
- name: pptpd | |
deploy the pptpd.conf file: | |
file.managed: | |
- name: /etc/pptpd.conf | |
- source: salt://pptpd.conf | |
- mode: 644 |
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
create my_new_directory: | |
file.directory: | |
- name: /mnt/sharedfolder | |
- user: nobody | |
- group: nogroup | |
- mode: 777 | |
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
install NFS: | |
pkg.installed: | |
- pkgs: | |
- nfs-kernel-common |
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
install NFS: | |
pkg.installed: | |
- pkgs: | |
- nfs-kernel-server |
NewerOlder