Posts by Lucas Possamai • 26 points
7 posts
-
0
votes1
answer380
viewsA: Redirect HTTPS to HTTP on Centos
There is yes. Go to the folder where your domino(site) is, example: /var/www/html/meusite.com.br/: vim . htaccess: RewriteEngine On RewriteCond %{HTTPS} on RewriteRule (.*)…
-
0
votes1
answer30
viewsA: Indexing BD records
I can’t comment, so I’ll put it in answer form. The bank will be based on ANALYZE[1] to make sure you’re making the right decision. Always remember to keep self-enalyze strong enough. Check if the…
-
0
votes1
answer128
viewsA: How do I restore a database from postgres logs?
I understand that you have a Postgresql 9.4 running and want to restore the database from a backup made. Just to remind you that the pg_start_backup prevents writing to the folder where the database…
-
0
votes2
answers53
viewsA: Apache problem - 2 domains
I just set up here to simulate your problem. I did it this way: <VirtualHost *:80> DocumentRoot /var/www/html/pclinx/ DirectoryIndex index.html index.php ServerName www.pclinx.com.br…
-
0
votes3
answers339
viewsA: Bash - Mysql backups
You can use the following line in crontab to delete the files. To delete files older than 30 days in folder /var/backup/mysql: find /var/backup/mysql/ -mtime +30 -type f -delete Just include this…
-
0
votes1
answer109
viewsA: replication error
From what you can see by your question, you are trying to create a SLAVE server from your master. 1 - Install RSYNC on your master and your slave server. If it’s Centos/Fedora/Red hat: yum install…
-
1
votes2
answers630
viewsA: IP Blocked remote access mysql linux debian
Log in to the MYSQL server via SSH: ssh root@servidormysql Log in to your MYSQL server: mysql -u root -p Give permissions to the user rqtecnologia connect to bank teste1: GRANT ALL PRIVILEGES ON…