1 cd / 2 ls 3 ls home/ 4 cd /root/ 5 ls 6 cd var 7 cd /var/ 8 ls 9 cd .. 10 ls /srv/ 11 php 12 apt update -y 13 apt-get install nginx mariadb-server php php-cli php-common php-imap php-redis php-snmp php-xml php-zip php-mbstring php-curl php-mysqli php-intl php-bcmath php-gd php-fpm unzip -y 14 systemctl start nginx mariadb 15 systemctl enable nginx mariadb 16 mysql 17 cd /var/www/html 18 ls 19 wget https://octobercms.com/download -O october.zip 20 unzip october.zip 21 ls 22 mv install-master thaiexperts 23 ls 24 chown -R www-data:www-data /var/www/html/thaiexperts 25 php 26 php --v 27 php -v 28 nano /etc/nginx/conf.d/octobercms.conf 29 nano /etc/nginx/nginx.conf 30 nginx -t 31 systemctl reload nginx 32 ifconfig 33 apt install net-tools 34 ifconfig 35 reboot 36 cd / 37 top 38 htop 39 top 40 cat /var/www/html/thaiexperts/vendor/composer/composer/src/Composer/Repository/../InstalledVersions.php 41 ls -al /var/www/html/thaiexperts/vendor/composer/composer/src/Composer/Repository/../ 42 mysql -u root -p thaiexperts < /root/october_backup_20240816_01.sql 43 sudo apt update 44 sudo apt install certbot python3-certbot-apache 45 sudo ufw statis 46 sudo ufw status 47 sudo certbot --nginx 48 sudo certbot --apache 49 sudo snap install core; sudo snap refresh core 50 sudo snap install --classic certbot 51 sudo apt install span 52 sudo apt update 53 sudo apt install snapd 54 snap --version 55 sudo snap refresh 56 sudo snap install core; sudo snap refresh core 57 sudo apt remove certbot 58 sudo snap install --classic certbot 59 sudo ln -s /snap/bin/certbot /usr/bin/certbot 60 sudo nano /etc/nginx/sites-available/thaiexperts.turismotailandes.org.pt 61 sudo nginx -t 62 sudo systemctl reload nginx 63 sudo ufw status 64 sudo certbot --nginx -d thaiexperts.turismotailandes.org.pt 65 mv /etc/nginx/conf.d/octobercms.conf /root/ 66 nginx -t 67 systemctl reload nginx 68 sudo certbot --nginx -d thaiexperts.turismotailandes.org.pt 69 systemctl reload nginx 70 systemctl restart nginx 71 systemctl reload nginx 72 nginx -t 73 systemctl reload nginx 74 nginx -t 75 systemctl reload nginx 76 nginx -t 77 systemctl reload nginx 78 php -v 79 apt-get install python-software-properties 80 sudo add-apt-repository ppa:ondrej/php 81 apt-get update 82 sudo apt-get install php8.2 83 $ apt update && apt upgrade -y 84 apt update && apt upgrade -y 85 add-apt-repository ppa:ondrej/php 86 sudo add-apt-repository ppa:ondrej/php 87 sudo dpkg -l | grep php | tee packages.txt 88 sudo add-apt-repository ppa:ondrej/php 89 sudo apt update 90 sudo apt install php8.2 php8.2-cli php8.2-{bz2,curl,mbstring,intl} 91 cd / 92 history 93 sudo systemctl restart apache2.service 94 apt-get install python-software-properties 95 apt-get install software-properties-common 96 sudo add-apt-repository ppa:ondrej/php 97 apt-get update 98 sudo apt-get install php8.2 99 sudo apt-get update 100 sudo apt install software-properties-common 101 sudo add-apt-repository ppa:ondrej/php 102 sudo apt install php8.2 103 sudo apt install php8.2-common php8.2-mysql php8.2-xml php8.2-xmlrpc php8.2-curl php8.2-gd php8.2-imagick php8.2-cli php8.2-dev php8.2-imap php8.2-mbstring php8.2-opcache php8.2-soap php8.2-zip php8.2-intl -y 104 sudo a2dismod php8.1 105 sudo a2enmod php8.2 106 sudo service apache2 restart 107 sudo service nginx restart 108 php -v 109 sudo update-alternatives --config php 110 php -v 111 ls 112 cd / 113 cd /etc/nginx/ 114 grep -rnw . -e "upload_max_filesize" 115 cd .. 116 grep -rnw . -e "upload_max_filesize" 117 cd php/8.2/ 118 sudo systemctl restart nginx 119 sudo service nginx restart 120 sudo service apache restart 121 sudo service nginx restart 122 sudo systemctl restart nginx 123 sudo service nginx restart 124 sudo systemctl restart nginx 125 reboot 126 cd / 127 sudo systemctl restart nginx 128 sudo systemctl stop apache2 129 sudo systemctl stop apache22 130 sudo systemctl restart nginx 131 sudo apt update && sudo apt upgrade -y 132 sudo apt install software-properties-common 133 sudo add-apt-repository ppa:ondrej/php 134 sudo apt update 135 sudo apt install php8.2-fpm 136 php-fpm8.2 -v 137 sudo apt install php8.2-common php8.2-mysql php8.2-xml php8.2-xmlrpc php8.2-curl php8.2-gd php8.2-imagick php8.2-cli php8.2-dev php8.2-imap php8.2-mbstring php8.2-opcache php8.2-soap php8.2-zip php8.2-redis php8.2-intl -y 138 sudo nano /etc/php/8.2/fpm/php.ini 139 sudo service php8.2-fpm restart 140 sudo php-fpm8.2 -t 141 sudo service php8.2-fpm restart 142 sudo usermod -a -G www-data nginx 143 sudo a2dismod php8.2 144 sudo a2dismod php8.1 145 sudo a2enmod php8.2 146 sudo service nginx restart 147 sudo update-alternatives --set php /usr/bin/php8.2 148 sudo service nginx restart 149 sudo update-alternatives --config php 150 php --version 151 sudo nano ~/.bashrc 152 reboot 153 cd / 154 sudo service apache2 stop 155 sudo service nginx start 156 cd / 157 sudo systemctl status php8.2-fpm 158 sudo systemctl restart nginx 159 sudo service nginx start 160 sudo service nginx restart 161 cd /var/www/html/thaiexperts/ 162 composer update 163 sudo apt install composer 164 composer update 165 cd / 166 mysql 167 cd /var/www/html/thaiexperts/ 168 php artisan queue:work 169 composer require hybridauth/hybridauth 170 php artisan queue:work 171 php -v 172 php artisan queue:work 173 cd / 174 php artisan queue:work 175 cd /var/www/html/thaiexperts/ 176 php artisan queue:work 177 sudo apt-get install supervisor 178 pwd 179 sudo supervisorctl reread 180 sudo supervisorctl update 181 sudo supervisorctl start october-worker:* 182 sudo apt-get install automysqlbackup 183 sudo automysqlbackup 184 ls -al var/lib/automysqlbackup/daily/thaiexperts/ 185 ls -al /var/lib/automysqlbackup/daily/thaiexperts/ 186 cd / 187 ls -al /var/lib/automysqlbackup/daily/thaiexperts 188 cd / 189 cd /var/www/html/thaiexperts/ 190 php artisan cache:clear 191 cd / 192 php artisan cache:clear 193 cd /var/www/html/thaiexperts/ 194 php artisan cache:clear 195 cd / 196 htop 197 top 198 htop 199 apt install htop 200 htop 201 cd /var/www/html/thaiexperts/ 202 php artisan cache:clear 203 htop 204 php artisan cache:clear 205 php artisan migrate 206 ls -al 207 ls -al plugins/heliofelix/quizmanager/updates/ 208 cat plugins/heliofelix/quizmanager/updates/builder_table_update_heliofelix_quizmanager_steps_6.php 209 php artisan migrate 210 php artisan cache:clear 211 php artisan migrate 212 cat plugins/heliofelix/quizmanager/updates/version.yaml 213 mysql 214 php artisan migrate 215 php artisan october:migrate 216 mysql 217 php artisan october:migrate 218 php artisan migrate:status 219 php artisan october:migrate --force 220 php artisan migrate --force 221 php artisan migrate:rollback --step=1 222 php artisan migrate --force 223 php artisan october:migrate 224 cat ./storage/logs/system.log 225 tail -f -n 40 ./storage/logs/system.log 226 tail -f -n 60 ./storage/logs/system.log 227 cd / 228 mysql 229 php artisan cache:clear 230 mysql 231 php artisan october:up heliofelix.quizmanager builder_table_update_heliofelix_quizmanager_steps_6 232 cd /var/www/html/thaiexperts/ 233 php artisan october:up heliofelix.quizmanager builder_table_update_heliofelix_quizmanager_steps_6 234 history>/root/history.txt 235 php artisan october:up heliofelix.quizmanager builder_table_update_heliofelix_quizmanager_steps_6 236 php artisan october:up HelioFelix.QuizManager builder_table_update_heliofelix_quizmanager_steps_6 237 php artisan october:up HelioFelix.QuizManager builder_table_update_heliofelix_quizmanager_steps_6.php 238 php artisan october:up HelioFelix.QuizManager 239 php artisan october:up 240 php artisan october:migrate HelioFelix.QuizManager builder_table_update_heliofelix_quizmanager_steps_6.php 241 php artisan october:migrate heliofelix.quizmanager builder_table_update_heliofelix_quizmanager_steps_6.php 242 php artisan october:migrate heliofelix.quizmanager builder_table_update_heliofelix_quizmanager_steps_6 243 php artisan october:migrate 244 cd plugins/heliofelix/quizmanager/ 245 php artisan october:migrate 246 php artisan migrate --path=plugins/heliofelix/quizmanager/updates/builder_table_update_heliofelix_quizmanager_steps_6 247 cd .. 248 php artisan migrate --path=plugins/heliofelix/quizmanager/updates/builder_table_update_heliofelix_quizmanager_steps_6 249 php artisan migrate --path=plugins/heliofelix/quizmanager/updates/builder_table_update_heliofelix_quizmanager_steps_6 --force 250 php artisan plugin:migrate heliofelix.quizmanager --file=builder_table_update_heliofelix_quizmanager_steps_6 251 php artisan october:migrate heliofelix.quizmanager --file=builder_table_update_heliofelix_quizmanager_steps_6 252 php artisan list 253 php artisan migrate 254 php artisan plugin:list´ 255 php artisan plugin:list 256 mysql 257 cd / 258 supervisorctl 259 php artisan cache:clear 260 cd /var/www/html/thaiexperts/ 261 php artisan cache:clear 262 cd / 263 screen -ls 264 php artisan cache:clear 265 cd /var/www/html/thaiexperts/ 266 php artisan cache:clear 267 ls 268 sudo /etc/init.d/nginx restart 269 sudo systemctl restart nginx 270 sudo /etc/init.d/nginx restart 271 sudo systemctl restart nginx 272 ls 273 cd bootstrap/ 274 ls 275 cd .. 276 cd storage/ 277 ls -al 278 cd cms/ 279 ls -al 280 cd cache/ 281 ls -al 282 cd .. 283 cd framework/ 284 ls 285 cd cache/ 286 ls -al 287 cd data/ 288 ls -al 289 cd .. 290 ls 291 cd .. 292 ls -al 293 cd sessions/ 294 ls -al 295 cd / 296 ifconfig 297 service nginx status 298 service nginx start 299 systemctl status nginx.service 300 sudo lsof -i :80 301 service httpd stop 302 service apache2 stop 303 service apache2 status 304 systemctl status nginx.service 305 systemctl start nginx.service 306 cd / 307 ls 308 mysql 309 cd /var/www/html/thaiexperts/ 310 ls 311 php artisan migrate 312 php artisan queue:restart 313 sudo supervisorctl reread 314 php artisan queue:flush 315 mysql 316 php artisan migrate 317 mysql 318 php artisan queue:flush 319 sudo supervisorctl reread 320 php artisan queue:restart 321 cd / 322 sudo nginx -t 323 sudo systemctl reload nginx 324 sudo nginx -t 325 sudo systemctl reload nginx 326 sudo systemctl status apache2 327 sudo systemctl status httpd 328 sudo systemctl status nginx 329 dpkg -l | grep -E 'nginx|apache2' 330 sudo nginx -t 331 sudo systemctl reload nginx 332 sudo nginx -t 333 sudo systemctl reload nginx 334 sudo nginx -t 335 sudo systemctl reload nginx 336 sudo nginx -t 337 sudo systemctl reload nginx 338 sudo nginx -t 339 sudo systemctl reload nginx 340 cd /var/www/ 341 cd thai 342 cd html/thaiexperts/ 343 mysqldump 344 mysqldump -h 127.0.0.1 -uusr_thaiexperts -ppww#45THAI_experts_88J > ../dumpthaiexperts.sql 345 mysqldump -h 127.0.0.1 -uusr_thaiexperts -ppww#45THAI_experts_88J thaiexperts > ../dumpthaiexperts.sql 346 cd .. 347 ls 348 cd /var/www/ 349 sudo supervisorctl 350 sudo supervisorctl reread 351 sudo supervisorctl update 352 sudo supervisorctl reload october-worker 353 sudo supervisorctl reload program:october-worker 354 sudo supervisorctl restart all 355 cd /var/www/ 356 pwd 357 ls 358 cd html/ 359 ls 360 cd /var/www/ 361 screen -ls 362 apt install screen 363 history 364 history>/root/history_241118.txt 365 cd /var/www/html/ 366 ls 367 composer create-project october/october qm_amazing_thailand 368 cd qm_amazing_thailand 369 php artisan october:install 370 mysql -h127.0.0.1 -uroot 371 mysql -h127.0.0.1 -uroot -p12345678 372 mysql -h127.0.0.1 -uroot -pc98b9f70fce5dd09271fee9f06e4b091e8b8cc796fd8ff81 373 mysql -h127.0.0.1 -uroot -px13Y9PornCirda67aax13Y9Porn 374 mysql -h127.0.0.1 -uroot -p 375 mysql -h127.0.0.1 -uroot -pSF7u@[L2}j92SF7u@[L2}j92 376 mysql -h127.0.0.1 -uroot -pepages 377 mysql -h127.0.0.1 -uroot -p12345679 378 mysql -h127.0.0.1 -uroot -p12346 379 mysql -h127.0.0.1 -uroot -ppww#45THAI_experts_88J 380 mysql -h127.0.0.1 -uroot -p 381 mysql -u usr_thaiexperts -ppww#45THAI_experts_88J thaiexperts 382 mysql 383 screen -ls 384 screen -r ioct 385 screen -S ioct 386 screen -ls 387 screen -r 1318892.ioct 388 cp cmds.txt testbak/ 389 cp his* testbak/ 390 cp october_backup_20240816_01.sql testbak/ 391 ifconfig 392 screen -ls 393 screen -r 1318892.ioct 394 exit 395 screen -s bak 396 screen -ls 397 screen -S bak 398 EXITT 399 exit 400 cd /var/www/html/ 401 ls 402 ls -al 403 du -h thaiexperts/ 404 du -h --max-depth=1 thaiexperts/ 405 cd thaiexperts/ 406 pwd 407 cd .. 408 cd html/ 409 mkdir db_dumps 410 ls 411 mysql 412 cd /var/www/html/cmds/ 413 chmod +x /home/user/mysql_backup.sh 414 ls 415 chmod +x mysql_backup.sh 416 ./mysql_backup.sh 417 mysql -h127.0.0.1 -u root 418 mysql -h127.0.0.1 -uroot 419 mysql 420 mysql -h127.0.0.1 -uroot -p12345678 421 mysql 422 sudo mysql -u root 423 mysqldump -u backup_useroctobercms -p'123#tEyDS56_%YDSy123#tEyDS56_%YDSy' --all-databases > test_backup.sql 424 ls 425 cat test_backup.sql 426 mysqldump -u backup_useroctobercms -p'123#tEyDS56_%YDSy123#tEyDS56_%YDSy' --all-databases > test_backup.sql 427 sudo mysql -u root 428 mysqldump -u backup_useroctobercms -p'123#tEyDS56_%YDSy123#tEyDS56_%YDSy' --all-databases > test_backup.sql 429 sudo mysql -u root 430 mysqldump -u backup_useroctobercms -p'123#tEyDS56_%YDSy123#tEyDS56_%YDSy' --all-databases > test_backup.sql 431 ls -al 432 ./mysql_backup.sh 433 cd / 434 cd /var/www/ 435 cd html/ 436 ls 437 git pull ifconfig 438 ifconfig 439 ls 440 git clone https://github.com/viamodul/API-mail-queue 441 ls 442 cd API-mail-queue/ 443 ls 444 composer install --optimize-autoloader --no-dev 445 chmod -R 775 storage bootstrap/cache 446 chown -R www-data:www-data storage bootstrap/cache 447 cp .env.example .env 448 php artisan key:generate 449 php artisan migrate --force 450 mysql -u root -p 451 php artisan migrate --force 452 history>history_250121.txt