- Install xampp
- Download CodeIgniter (lets say ~/folder/)
- edit /opt/lampp/etc/httpd.conf
- replace line
DocumentRoot "/opt/lampp/htdocs"
withDocumentRoot "your_path"
- And change line
Directory "/opt/lampp/htdocs"
withDirectory "your_path"
- Restart apache
- Create your local ssh key using
ssh-keygen
- Copy
~/.ssh/id_rsa.pub
to digital oceanmy profile > security
- Create droplet with added ssh key
- Droplet dashboard > Access > Reset root password
- Email will come with root password
- Droplet dashboard; on right top there is "Console" to server
- Enter the root password you copied from e-mail
- Create a new password
- Local terminal;
ssh-copy-id -i id_rsa.pub YOUR_SERVER_IP
createsknown hosts
file under .ssh/ - If ssh key correct you can continue, if not;
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
Device 'SynPS/2 Synaptics TouchPad': | |
Device Enabled (190): 1 | |
Coordinate Transformation Matrix (192): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 | |
Device Accel Profile (319): 1 | |
Device Accel Constant Deceleration (320): 2.500000 | |
Device Accel Adaptive Deceleration (321): 1.000000 | |
Device Accel Velocity Scaling (322): 6.158088 | |
Synaptics Edges (323): 1574, 5370, 1407, 4443 | |
Synaptics Finger (324): 25, 30, 0 | |
Synaptics Tap Time (325): 180 |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no"> | |
<title>Hello World</title> | |
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous"> | |
</head> |
NewerOlder