15 sudo su postgres 16 sudo a2enmod rewrite 17 chown -R www-data:www-data /var/www/html 18 sudo chown -R $USER:www-data storage 19 sudo chown -R $USER:www-data bootstrap/cache 20 chmod -R 775 storage 21 chmod -R 775 bootstrap/cache 22 php artisan migrate 23 sudo su postgres 24 php artisan migrate 25 sudo su postgres 26 apt install php8.2-pgsql 27 /etc/init.d/apache2 restart 28 php -m 29 sudo apachectl start 30 sudo apachectl restart 31 php -m 32 reebot now 33 reboot 34 cd .. 35 php -m 36 cd var/www/html/ 37 php artisan migrate 38 sudo apachectl restart 39 /etc/init.d/apache2 restart 40 php artisan migrate 41 /etc/init.d/apache2 restart 42 php artisan migrate 43 reboot 44 cd .. 45 cd /var/www/ 46 ls 47 cd html/ 48 php artisan migrate 49 php artisan migrate 50 php artisan migrate[A 51 sudo apt-get install php-pgsql 52 /etc/init.d/apache2 restart 53 php artisan migrate 54 /etc/init.d/apache2 restart 55 php artisan migrate 56 php -v 57 apt install php7.4-pgsql 58 /etc/init.d/apache2 restart 59 php artisan migrate 60 sudo nano /etc/apache2/sites-available/000-default.conf 61 /etc/init.d/apache2 restart 62 ifconfig 63 ifconfig 64 sudo su postgres[A 65 /etc/init.d/apache2 restart 66 /etc/init.d/apache2 restart 67 /etc/init.d/apache2 restart 68 php artisen serve 69 php -v 70 php -m 71 ifconfig 72 /etc/init.d/apache2 restart 73 /etc/init.d/apache2 restart 74 /etc/init.d/apache2 restart 75 sudo su postgres 76 /etc/init.d/apache2 restart 77 /etc/init.d/apache2 restart 78 php artisan route:cache 79 php artisan route:cache 80 reboot 81 cd .. 82 /etc/init.d/apache2 restart 83 /etc/init.d/apache2 restart 84 /etc/init.d/apache2 restart 85 cd var/www/html/ 86 php artisan route:cache 87 php artisan view:cache 88 php artisan route:cache 89 sudo su postgres 90 apt install gnupg gnupg2 91 echo "deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$(lsb_release -cs) pgadmin4 main"| sudo tee /etc/apt/sources.list.d/pgadmin4.list 92 curl https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo apt-key add 93 sudo apt update 94 apt install pgadmin4-web 95 /usr/pgadmin4/bin/setup-web.sh 96 exit 97 cd .. 98 php -m 99 apt install php7.4-mysql 100 /etc/init.d/apache2 restart 101 /etc/init.d/apache2 restart 102 apt-get install php-mysql 103 /etc/init.d/apache2 restart 104 sudo su postgres 105 /etc/init.d/apache2 restart 106 sudo su postgres 107 cd var/www/html/ 108 php artisan migrate 109 php artisan migrate:fresh 110 cd .. 111 cd var/www/html/ 112 php artisan route:cache 113 php artisan view:cache 114 php artisan key:generate 115 reboot 116 cd .. 117 cd .. 118 cd var/www/ht 119 cd var/ 120 cd www/html/ 121 php artisan key:generate 122 sudo su postgres 123 sudo systemctl restart postgresql 124 sudo systemctl restart postgresql 125 cclr 126 cls 127 clr 128 cd .. 129 php --info | grep error 130 ls 131 rm - r html/ 132 rm -r html/ 133 mkdir html 134 ls 135 display_errors 136 php --info | grep error 137 cd html/ 138 unzip api-saluvi.zip 139 ls 140 composer install 141 composer install --ignore-platform-reqs 142 php artisan key:generate 143 php artisan migrate 144 php artisan migrate 145 php artisan migrate 146 chown -R www-data:www-data /var/www/html 147 sudo chown -R $USER:www-data storage\ 148 sudo chown -R $USER:www-data storage 149 sudo chown -R $USER:www-data bootstrap/cache 150 sudo chown -R $USER:www-data bootstrap/cache 151 chmod -R 775 storage 152 chmod -R 775 bootstrap/cache 153 php artisan storage:link 154 php artisan optimize:clear 155 sudo systemctl reload apache2 156 php artisan route:cache 157 php artisan view:cache 158 ufw 159 cd .. 160 sudo iptables -L -v -n 161 ifcondig 162 ifconfig 163 ifconfig 164 exit 165 ping 191.101.0.163 166 cd .. 167 cd .. 168 sudo apt update && sudo apt upgrade -y 169 sudo apt install python3 python3-venv python3-pip -y 170 sudo apt update --fix-missing 171 sudo apt install -f 172 python -v 173 cd .. 174 python3 --version 175 python3 -m venv venv 176 sudo apt update && sudo apt install python3-venv -y 177 python3 -m venv venv 178 source venv/bin/activate 179 python -m ensurepip --default-pip 180 pip install --upgrade pip 181 cd var/www/html/llm_bihealth/ 182 pip install -r requirements.txt 183 sudo apt update 184 sudo apt install -y build-essential python3-dev libpq-dev 185 pip install psycopg2-binary 186 pip install -r requirements.txt 187 pip install -r requirements.txt 188 deactivate 189 sudo nano /etc/apache2/sites-available/llm_bihealth.conf 190 sudo a2ensite llm_bihealth 191 sudo systemctl restart apche2 192 sudo systemctl restart apache2 193 sudo nano /etc/apache2/sites-available/llm_bihealth.conf 194 sudo apachectl configtest 195 sudo nano /etc/apache2/sites-available/llm_bihealth.conf 196 sudo a2enmod proxy 197 sudo a2enmod proxy_http 198 sudo systemctl restart apache2 199 sudo system status llm_bihealth 200 sudo systemctl status llm_bihealth 201 curl -i http://191.101.78.210 202 sudo nano /etc/systemd/system/llm_bihealth.service 203 sudo systemctl daemon-reload 204 sudo systemctl start llm_bihealth 205 sudo systemctl status llm_bihealth 206 sudo nano /etc/systemd/system/llm_bihealth.service 207 sudo systemctl daemon-reload 208 sudo systemctl restart llm_bihealth 209 sudo systemctl enable llm_bihealth 210 sudo systemctl status llm_bihealth 211 sudo systemctl status llm_bihealth 212 sudo nano /etc/systemd/system/llm_bihealth.service 213 sudo systemctl enable llm_bihealth 214 sudo systemctl restart llm_bihealth 215 sudo systemctl status llm_bihealth 216 ls -l /var/www/html/llm_bihealth/app/venv/bin/uvicorn 217 python3 -m venv /var/www/html/llm_bihealth/app/venv 218 ls -l /var/www/html/llm_bihealth/app/venv/bin/ 219 source /var/www/html/llm_bihealth/app/venv/bin/activate 220 pip install uvicorn fastapi 221 which uvicorn 222 deactivate 223 sudo nano /etc/systemd/system/llm_bihealth.service 224 sudo systemctl daemon-reload 225 sudo systemctl restart llm_bihealth 226 sudo systemctl status llm_bihealth 227 sudo journalctl -u llm_bihealth --no-pager --lines=50 228 ls -R /var/www/html/llm_bihealth/app/ 229 sudo nano /etc/systemd/system/llm_bihealth.service 230 sudo systemctl daemon-reload 231 sudo systemctl restart llm_bihealth 232 sudo systemctl status llm_bihealth 233 sudo journalctl -u llm_bihealth --no-pager --lines=50 234 ls -l /var/www/html/llm_bihealth/app/ 235 source /var/www/html/llm_bihealth/app/venv/bin/activate 236 pip list | grep openai 237 pip install openai 238 pip show openai 239 deactivate 240 sudo systemctl daemon-reload 241 Installing collected packages: certifi, httpcore, tqdm, jiter, htt 242 sudo systemctl status llm_bihealth 243 source /var/www/html/llm_bihealth/app/venv/bin/activate 244 pip install -r /var/www/html/llm_bihealth/app/requirements.txt 245 pip install -r /var/www/html/llm_bihealth/app/requirements.txt 246 pip install -r /var/www/html/llm_bihealth/requirements.txt 247 deactivate 248 sudo systemctl restart llm_bihealth 249 sudo systemctl status llm_bihealth 250 sudo systemctl restart psql14 251 sudo systemctl restart postgresql 252 sudo su postgres 253 exit 254 cd .. 255 cd var/www/html/llm_bihealth/app/ 256 source /var/www/html/llm_bihealth/app/venv/bin/activate 257 python /var/www/html/llm_bihealth/app/database/test2.py 258 deactivate 259 exit 260 sudo systemctl restart llm_bihealth 261 sudo systemctl restart llm_bihealth 262 sudo systemctl restart llm_bihealth 263 exit 264 cd .. 265 cat /etc/os-release 266 sudo apt update && sudo apt upgrade -y 267 curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - 268 sudo apt install -y nodejs 269 node -v 270 npm -v 271 cd .. 272 cd var/www/html 273 sudo npm install -g n8n 274 n8n -v 275 n8n 276 sudo nano /etc/systemd/system/n8n.service 277 sudo nano /etc/systemd/system/n8n.service 278 sudo systemctl daemon-reload 279 sudo systemctl enable n8n 280 sudo systemctl start n8n 281 cd .. 282 wich 283 which n8n 284 sudo nano /etc/apache2/sites-available/n8n.conf 285 sudo a2ensite n8n 286 sudo systemctl reload apache2 287 sudo nano /etc/apache2/sites-available/n8n.conf 288 ps aux | grep n8n 289 n8n 290 sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/n8n-selfsigned.key -out /etc/ssl/certs/n8n-selfsigned.crt 291 sudo nano /etc/apache2/sites-available/n8n-ssl.conf 292 sudo a2enmod ssl 293 sudo a2ensite n8n-ssl 294 sudo systemctl restart apache2 295 n8n 296 sudo nano /etc/systemd/system/n8n.service 297 sudo systemctl daemon-reload\ 298 sudo systemctl daemon-reload 299 sudo systemctl restart n8n 300 sudo systemctl status n8n 301 sudo nano /etc/systemd/system/n8n.service 302 sudo nano /etc/systemd/system/n8n.service 303 sudo systemctl daemon-reload 304 sudo systemctl restart n8n 305 sudo systemctl status n8n 306 npm cache clean --force 307 curl -fsSL https://get.docker.com -o get-docker.sh 308 sudo sh get-docker.sh 309 docker --version 310 sudo systemctl status docker 311 sudo systemctl start docker 312 udo systemctl enable docker 313 sudo systemctl enable docker 314 docker run hello-world 315 docker run -d --name n8n --restart unless-stopped -p 5678:5678 -v n8n_data:/home/node/.n8n n8nio/n8n 316 sudo netstat -tlnp | grep 5678 317 pm2 list 318 pm2 stop n8n 319 sudo kill 1654237 320 sudo netstat -tlnp | grep 5678 321 docker run -d --name n8n --restart unless-stopped -p 5678:5678 -v n8n_data:/home/node/.n8n n8nio/n8n 322 docker ps -a 323 docker rm -f n8n 324 docker run -d --name n8n --restart unless-stopped -p 5678:5678 -v n8n_data:/home/node/.n8n n8nio/n8n 325 sudo netstat -tlnp | grep 5678 326 ps aux | grep n8n 327 sudo kill 3539987 328 ps aux | grep n8n 329 sudo netstat -tlnp | grep 5678 330 sudo kill -9 3539987 331 docker run -d --name n8n --restart unless-stopped -p 5678:5678 -v n8n_data:/home/node/.n8n n8nio/n8n 332 docker ps -a 333 docker rm -f n8n 334 docker run -d --name n8n --restart unless-stopped -p 5678:5678 -v n8n_data:/home/node/.n8n n8nio/n8n 335 sudo fuser -k 5678/tcp 336 sudo netstat -tlnp | grep 5678 337 docker rm -f n8n 338 docker run -d --name n8n --restart unless-stopped -p 5678:5678 -v n8n_data:/home/node/.n8n n8nio/n8n 339 docker rm -f n8n 340 docker run -d --name n8n --restart unless-stopped -p 8080:5678 -v n8n_data:/home/node/.n8n n8nio/n8n 341 ifconfig 342 docker logs n8n 343 docker stop n8n 344 172.17.0.1 345 docker rm -f n8n 346 docker run -d --name n8n --restart unless-stopped -p 8080:5678 -e N8N_SECURE_COOKIE=false -v n8n_data:/home/node/.n8n n8nio/n8n 347 cd .. 348 ls 349 cd home/ 350 ls 351 lsb_release -a 352 sudo apt update 353 sudo apt upgrade 354 sudo apt install build-essential python 355 curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash - 356 curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash - 357 sudo apt-get install -y nodejs 358 cd ~ 359 mkdir ~/.nodejs_global 360 npm config set prefix ~/.nodejs_global 361 echo 'export PATH=~/.nodejs_global/bin:$PATH' | tee --append ~/.profile 362 source ~/.profile 363 cd .. 364 npm install n8n -g 365 curl -sL https://deb.nodesource.com/setup_20.x | sudo -E bash - 366 sudo apt-get install -y nodejs 367 node --version 368 npm --version 369 npm uninstall n8n -g 370 npm install n8n -g' 371 npm install n8n -g 372 free -h 373 sudo swapoff -a 374 sudo su swapoff -a 375 df -h 376 sudo swapoff -a 377 sudo su 378 cd .. 379 cd etc/ssl 380 ls 381 ls -al 382 cd certs 383 ls 384 cd .. 385 cat /etc/os-release 386 lsb_release -a 387 ls 388 cd ssl_tachyon/ 389 ls 390 sudo chown root:root /etc/ssl/ssl_tachyon/* 391 sudo chmod 600 /etc/ssl/ssl_tachyon/private.key 392 sudo a2enmod ssl 393 sudo a2ensite default_cont.conf 394 sudo a2ensite default-ssl.conf 395 sudo systemctl reload apache2 396 sudo apache2ctl -S 397 sudo a2enmod ssl 398 sudo a2enmod proxy 399 sudo a2enmod proxy_http 400 sudo a2ensite n8n-ssl.conf 401 sudo systemctl reload apache2 402 cd ~/.n8n/config 403 docker ps 404 docker stop n8n 405 docker rm n8n 406 docker run -d --name n8n -p 8080:5678 -e N8N_HOST=n8n.tudominio.com -e N8N_PORT=5678 -e N8N_PROTOCOL=https -e N8N_EDITOR_BASE_URL=https://n8n.tudominio.com/ -e WEBHOOK_TUNNEL_URL=https://n8n.tudominio.com/ -v ~/.n8n:/home/node/.n8n n8nio/n8n 407 docker ps 408 docker run -d --name n8n -p 8080:5678 -e N8N_HOST=n8n.tudominio.com -e N8N_PORT=5678 -e N8N_PROTOCOL=https -e N8N_EDITOR_BASE_URL=https://n8n.tudominio.com/ -e WEBHOOK_TUNNEL_URL=https://n8n.tudominio.com/ -v ~/.n8n:/home/node/.n8n n8nio/n8n 409 docker ps 410 docker ps -a 411 docker rm n8n 412 docker run -d --name n8n_ssl -p 8080:5678 -e N8N_HOST=n8n.tudominio.com -e N8N_PORT=5678 -e N8N_PROTOCOL=https -e N8N_EDITOR_BASE_URL=https://n8n.tudominio.com/ -e WEBHOOK_TUNNEL_URL=https://n8n.tudominio.com/ -v ~/.n8n:/home/node/.n8n n8nio/n8n 413 docker ps 414 dig n8n.tachyonit.tech +short 415 nslookup n8n.tachyonit.tech 416 sudo apache2ctl -S 417 sudo a2enmod headers 418 sudo systemctl reload apache2 419 sudo apache2ctl -M | grep headers 420 sudo apache2ctl -S 421 sudo systemctl stop nginx 422 sudo systemctl restart apache2 423 docker exec -it n8n_ssl bash 424 ps aux 425 systemctl status nginx 426 docker ps -a 427 docker logs n8n_ssl --tail 100 428 sudo chown -R 1000:1000 ~/.n8n 429 ls -ld ~/.n8n 430 docker rm n8n_ssl 431 docker run -d --name n8n_ssl -p 8080:5678 -e N8N_HOST=n8n.tachyonit.tech -e N8N_PORT=5678 -e N8N_PROTOCOL=https -e N8N_EDITOR_BASE_URL=https://n8n.tachyonit.tech/ -e WEBHOOK_TUNNEL_URL=https://n8n.tachyonit.tech/ -v ~/.n8n:/home/node/.n8n n8nio/n8n:latest 432 docker ps 433 docker ps 434 curl -I http://127.0.0.1:8080 435 sudo ss -tlnp | grep 443 436 sudo ufw status 437 docker stop n8n_ssl 438 docker rm n8n_ssl 439 sudo rm -rf ~/.n8n 440 cp -r ~/.n8n ~/backup_n8n 441 mkdir -p ~/.n8n 442 sudo chown -R 1000:1000 ~/.n8n 443 docker run -d --name n8n_ssl -p 8080:5678 -e N8N_HOST=n8n.tachyonit.tech -e N8N_PORT=5678 -e N8N_PROTOCOL=https -e N8N_EDITOR_BASE_URL=https://n8n.tachyonit.tech/ -e WEBHOOK_TUNNEL_URL=https://n8n.tachyonit.tech/ -e N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true -v ~/.n8n:/home/node/.n8n n8nio/n8n:latest 444 docker ps 445 curl -I http://127.0.0.1:8080 446 docker logs -f n8n_ssl 447 exit 448 cd .. 449 curl -vk https://n8n.tachyonit.tech 450 sudo ss -tlnp | grep 443 451 getenforce 452 curl -s ifconfig.me 453 n8n AAAA 2a02:4780:14:9620::1 454 ip -4 addr show | grep inet 455 dig A n8n.tachyonit.tech +short 456 dig A n8n.tachyonit.tech +short 457 curl -vk https://n8n.tachyonit.tech 458 systemd-resolve --flush-caches 2>/dev/null || resolvectl flush-caches 2>/dev/null || true 459 dig A n8n.tachyonit.tech +short 460 curl -vk https://n8n.tachyonit.tech 461 sudo systemd-resolve --flush-caches 462 dig @1.1.1.1 n8n.tachyonit.tech +short 463 dig @8.8.8.8 n8n.tachyonit.tech +short\ 464 dig @8.8.8.8 n8n.tachyonit.tech +short\ 465 dig @8.8.8.8 n8n.tachyonit.tech +short 466 dig @1.1.1.1 n8n.tachyonit.tech +short 467 apache2ctl -S 468 sudo a2dissite default-ssl.conf 469 sudo systemctl reload apache2 470 curl -vk https://n8n.tachyonit.tech 471 reboot 472 cd .. 473 curl -vk https://n8n.tachyonit.tech 474 getent hosts n8n.tachyonit.tech 475 sudo systemd-resolve --flush-caches 2>/dev/null || resolvectl flush-caches 2>/dev/null 476 sudo nano /etc/hosts 477 sudo nano /etc/hosts 478 curl -vk https://n8n.tachyonit.tech 479 sudo a2enmod proxy 480 sudo a2enmod proxy_http 481 sudo a2enmod headers 482 sudo systemctl reload apache2 483 tail -n 50 /var/log/apache2/n8n-error.log 484 docker ps | grep n8n_ssl 485 docker start n8n_ssl 486 curl -I http://127.0.0.1:8080 487 docker logs --tail 50 n8n_ssl 488 sudo apt install certbot python3-certbot-apache -y 489 sudo certbot --apache -d n8n.tachyonit.tech 490 sudo systemctl reload apache2 491 docker logs --tail 50 n8n_ssl 492 docker stop n8n_ssl 493 docker rm n8n_ssl 494 docker run -d --name n8n_ssl --restart always -p 8080:5678 -e N8N_HOST=n8n.tachyonit.tech -e N8N_PORT=5678 -e N8N_PROTOCOL=https -e N8N_EDITOR_BASE_URL=https://n8n.tachyonit.tech/ -e WEBHOOK_TUNNEL_URL=https://n8n.tachyonit.tech/ -e N8N_RUNNERS_ENABLED=true -e N8N_TRUSTED_PROXIES=0.0.0.0/0 -e N8N_LISTEN_ADDRESS=0.0.0.0 -v ~/.n8n:/home/node/.n8n n8nio/n8n:latest 495 docker ps | grep n8n_ssl 496 curl -I http://127.0.0.1:8080 497 sudo a2ensite tachyonit-ssl.conf 498 sudo systemctl reload apache2 499 sudo a2ensite tachyonit-ssl.conf 500 sudo systemctl reload apache2 501 cd .. 502 cd var/www/html/ 503 ls 504 cd llm_bihealth/ 505 ls 506 cd app/ 507 ls 508 source venv/bin/activate 509 pip install --upgrade pip 510 uvicorn main:app --host 0.0.0.0 --port 8000 --reload 511 sudo lsof -i :8000 512 deactivate 513 cd .. 514 history > histori.txt