Category: Server
Ubuntu Install Multiple XAMPP
The default directory install on /opt/lampp if you install xampp php7.4 and xampp php 8.2 you can install on directory default. But after success extract file, you rename folder lampp to lampp7.4 and lampp8.2. How i to use lampp? you rename again the folder target xampp $ cd /opt$ sudo mv lampp7.4 lampp$ sudo /opt/lampp/lampp…
Ubuntu Server 20.04 – Unable to lock the administration directory (/var/lib/dpkg/)
error log from apt command check proses apt with command ps -A | grep apt If you can see the proses and next step kill
MacOS Catalina + Apache2
Install: Put you project here /usr/local/var/wwwEdit file httpd.conf in /usr/local/etc/httpd/httpd.conf
Ubuntu – Find Large File or Directory
Large File Large Directory
Freeradius – Error binding to port for 127.0.0.1 port 18120
After your running freeradius -X and found the error Detail Error: Error is Failed binding to auth address 127.0.0.1 port 18120 bound to server inner-tunnel: Address already in use Troubleshoot: OR freeradius -X is debugging mode, if you freeradius running before your run this command. Please stop the service freeradius and run command.
Freeradius – Failed to link to module ‘rlm_rest’
Detail errors: Error is Failed to link to module ‘rlm_rest’: /usr/lib/freeradius/rlm_rest.so: cannot open shared object file: No such file or directory Fixing: $ sudo apt install freeradius-rest Run command again $ sudo systemctl start freeradius Reff: https://freeradius-users.freeradius.narkive.com/Vy4RAvZV/rlm-rest-error
Create SSH Login With Password
Create SSH Key $ apt install -y sshpass Create file shell, sample loginServer.shsshpass -p YOUR_PASSWORD ssh ‘user@domain.com’ $ sudo chmod +x loginServer.sh $ ./loginServer.sh
Github Ssh Key on Linux
Environment: Ubuntu 20.04 To create ssh-key github, you can see this link Generating a new SSH key and adding it to the ssh-agent You follow step until Adding your SSH key to the ssh-agent And next Adding a new SSH key to your GitHub account If you done create and add ssh-key on github and…
Sftp Command Download From Server
Run command