Created
April 27, 2015 09:37
-
-
Save notyes/19c6095250a0e8e86e53 to your computer and use it in GitHub Desktop.
Knowledge Set Up Sever Host Ubuntu
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
| Install apache php | |
| sudo apt-get install apache2 mysql-server php5 libapache2-mod-php5 php5-cli php5-cgi php5-mysql php5-curl php5-imap php5-mcrypt php5-xcache php5-xdebug git | |
| https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-14-04 | |
| For shutdown: | |
| sudo poweroff | |
| For restart: | |
| sudo reboot | |
| Install PhpMyadmin | |
| https://www.digitalocean.com/community/tutorials/how-to-set-up-ssl-certificates-with-phpmyadmin-on-an-ubuntu-12-04-vps | |
| insert string ‘ Include /etc/phpmyadmin/apache.conf ’ in : sudo vim /etc/apache2/apache2.conf | |
| How do I access shared folders on Ubuntu server from Mac OS | |
| http://goo.gl/4dYK2N | |
| VIM | |
| install ctags | |
| apt-get install exuberant-ctags | |
| https://www.digitalocean.com/community/tutorials/how-to-set-up-gitlab-as-your-very-own-private-github-clone | |
| Set Up Apache Virtual Hosts on Ubuntu | |
| https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-12-04-lts | |
| sudo service apache2 restart | |
| Change TimeZone | |
| sudo timedatectl set-timezone America/New_York | |
| Get SSH | |
| cat ~/.ssh/id_rsa.pub | |
| vim ~/.ssh/authorized_keys | |
| —————————————————— | |
| http://www.thegeekstuff.com/2008/11/3-steps-to-perform-ssh-login-without-password-using-ssh-keygen-ssh-copy-id/ | |
| ssh-copy-id -i ~/.ssh/id_rsa.pub [email protected] | |
| { } {} { ที่อยู่ของไฟล์ id_rsa.pub ของเครื่องคอม } { } | |
| —————————————————— | |
| vim ~/.ssh/config | |
| Hostname gitlab.bizidea.co.th | |
| Port 98 | |
| http://superuser.com/questions/272465/using-multiple-ssh-public-keys | |
| —————————————————— | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment