-
In your client machine: create a new private/public key using
ssh-keygen
command, tt will create both keys in your.ssh
folder. Or use puttygen: -
click generate
-
save the private key
-
copy the public key from the text box (don't save the public key from puttygen). you can reopen the private key and see its public-key later
-
In the server copy the public key text into
.ssh/authorized_keys
file -
configure putty to use your created private key in connection->ssh->auth Or use:
ssh -i privatekeypath user@server.com
This is the format of /etc/crontab:
# .---------------- minute (0 - 59)
# | .------------- hour (0 - 23)
# | | .---------- day of month (1 - 31)
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
sudo apt-get install mysql-server
sudo apt-get install phpmyadmin
Add this if it is not working in localhost/phpmyadmin
sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/sites-enabled/001-phpmyadmin && sudo service apache2 restart
- open shell
sudo mysql -u root -p
- display information:
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
UPDATE Alternative solution by @pdcmoreira: | |
I found a VERY SIMPLE way to make it work without touching any file in the accepted answer! | |
Install and run this file: https://www.virtualbox.org/attachment/ticket/14040/VBox-Win10-fix-14040.exe (leave it running in the background) Go to the C:\Program Files\Oracle\VirtualBox folder, right click on VirtualBox.exe, go to compatibility, check the "Run in compatibility mode" checkbox and choose Windows 7. Click OK to close the window. Repeat step 2. for VBoxManage.exe and VBoxHeadless.exe Run cmd and do homestead up. There you go! It should work! | |
After all is done and working, close the program opened in step 1. | |
Source: https://laracasts.com/discuss/channels/general-discussion/windows-10-vagrant-virtualbox-homestead/?page=5 |
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
# Append this code to the .bashrc file | |
function parse_git_branch () { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
RED="\[\033[0;31m\]" | |
YELLOW="\[\033[0;33m\]" | |
GREEN="\[\033[0;32m\]" | |
NO_COLOR="\[\033[0m\]" | |
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
/* | |
Theme Name: TwentyThirteen Child | |
Description: My modification of TwentyThirteen | |
Author: Alvaro Bolaños Rodriguez | |
Version: 1.0 | |
License: The MIT License (MIT) | |
License URI: http://opensource.org/licenses/MIT | |
Template: twentythirteen | |
*/ |
NewerOlder