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
| Installation Steps | |
| PART 1: INSTALLING & CONFIGURING APACHE, MYSQL, & PHP ON WINDOWS (WAMP) | |
| ---------------------------------------------------------------------------------- | |
| 1. Download WampServer from http://www.wampserver.com/en/ & install. | |
| C:\wamp is a good location. Do not run WampServer yet. | |
| 2. Configure MySQL. The default MySQL configuration file is very limiting. Choose one | |
| of the model config files that best suits your system and copy & paste it to "wampserver.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
| yum install recordmydesktop gtk-recordmydesktop |
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
| It shows what you can do to make a user use SFTP only and disallow SSH usage for that user. All you have to do is change the user's login shell to /usr/lib/openssh/sftp-server ,e.g.: | |
| usermod -s /usr/lib/openssh/sftp-server username | |
| /usr/lib/openssh/sftp-server must be listed in /etc/shells as a valid login shell, so if it isn't already listed, please add it to /etc/shells as follows: | |
| echo '/usr/lib/openssh/sftp-server' >> /etc/shells | |
| ************************************************************************************************************************ | |
| or |
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
| Multi-language | |
| Language icons | |
| Translation Management | |
| translation table |
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
| MySQL errors | |
| ------------- | |
| ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ | |
| start mysql deamon | |
| phpMyAdmin | |
| ---------- | |
| Forbidden | |
| You donEdit the /etc/httpd/conf.d/phpmyadmin.conf and uncomment the line deny from all. |
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
| tar | |
| --- | |
| tar -zxvf {file.tar.gz} | |
| another distenation | |
| tar -zxvf tarball.tar.gz -C <directory> | |
| or move to ur destination and use: | |
| tar -zxvf {path to file.tar.gz} |
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
| <?php | |
| /** | |
| * PHP script to convert Image Assist Tag into HTML tags. | |
| * | |
| * Drupal 6-to-7 conversion | |
| * | |
| * This script must be run on D7 database (after the update from D6 to D7). | |
| * http://drupal.org/node/841568 | |
| */ |
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/bash | |
| # This script creates virtual hosts and prepares your mysql DB and drupal directory. | |
| # you should put it under /usr/local/bin/ | |
| # and run it with sudo newsite | |
| # Set the path to your localhost | |
| www=/var/www | |
| echo "Enter directory name under $www" | |
| read sn |
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
| FROM debian:stable | |
| EXPOSE 8080 | |
| RUN apt-get -y update && apt-get -y upgrade && apt-get -y install unzip wget openjdk-7-jdk | |
| RUN wget -q http://download.jetbrains.com/upsource/upsource-1.0.12551.zip && unzip upsource-1.0.12551.zip | |
| RUN cd Upsource && ./bin/upsource.sh start |
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
| #!/usr/bin/env bash | |
| #Check Files in list from file exist or doesn't exist in directory. | |
| if [ $# -eq 0 ] || [ $# -eq 1 ] | |
| then | |
| echo "You must pass the path to file with the list and the path to directory to check files. \nsh check-file-exist-from-list.sh path/to/file path/to/directory" | |
| exit 1 | |
| fi | |
| while read -r file; do |