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
| .gitignore --> all files will ignore by git to push it through your repo |
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
| Method 1 | |
| users: This command print the user names of users currently logged in to the current host without showing any much information about source, login time or any other relevant detail | |
| # users | |
| deepak ruchi aman rahul ramandeep | |
| Method 2 | |
| last: This command searches back through the file /var/log/wtmp (or the file designated by the -f flag) and displays a list of all users logged in (and out) since that file was created. Names of users and tty's can be given, in which case last will show only those entries matching the arguments. |
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
| git config receive.denyCurrentBranch ignore | |
| ##after the update | |
| git checkout -f | |
| Resources: | |
| http://stackoverflow.com/questions/2816369/git-push-error-remote-rejected-master-master-branch-is-currently-checked |
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
| useradd <username> -> not asking for password, no home directory just only add new user | |
| adduser <username> -> asking for password, will create home directory and asking lots of information about the user. |
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
| wget https://files.phpmyadmin.net/phpMyAdmin/4.6.6/phpMyAdmin-4.6.6-all-languages.tar.gz | |
| tar xvf phpMyAdmin-4.6.4-all-languages.tar.gz | |
| mv phpMyAdmin-4.6.6-all-languages /usr/share/phpmyadmin | |
| apt-get install php7.0-mcrypt php7.0-mbstring php7.0-gettext php7.0-mysqli nginx php7.0 -y | |
| sudo phpenmod mcrypt | |
| sudo phpenmod mbstring | |
| systemctl restart php7.0-fpm | |
| ln -s /usr/share/phpmyadmin /usr/share/nginx/html | |
| cp /usr/share/phpmyadmin/config.sample.inc.php /usr/share/phpmyadmin/config.inc.php |
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
| http://www.cacert.org/index.php?id=3 |
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://community.spiceworks.com/topic/1630590-migrate-from-elastix-2-5-to-4 | |
| Backup the extensions | |
| PBX>Batch of Extensions>Download the current extensions in CSV format | |
| System Recordings Import/Export | |
| https://community.spiceworks.com/how_to/23140-maintaining-elastix-system-recordings |
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
| http://www.johncleary.net/2013/06/guide-to-install-vsftp-on-ubuntu-server-on-windows-azure/ | |
| http://askubuntu.com/questions/555660/create-a-vsftpd-server-with-anonymous-access |
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://support.symantec.com/en_US/article.TECH91715.html | |
| http://www.instructables.com/id/3-Ways-to-Enable-Administrator-Account-in-Windows-/?ALLSTEPS | |
| https://support.symantec.com/en_US/article.TECH201873.html |
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
| ## Configure eth0 | |
| # | |
| # vi /etc/sysconfig/network-scripts/ifcfg-eth0 | |
| DEVICE="eth0" | |
| NM_CONTROLLED="yes" | |
| ONBOOT=yes | |
| HWADDR=A4:BA:DB:37:F1:04 | |
| TYPE=Ethernet | |
| BOOTPROTO=static |