Recognition

Posts

22 Posts
  • Published Question

    How to resize images on Spaces

    I have 15000 photos and their sizes are 2000x2000. I want to use them as; blabla.com/450x600/images/blabla.jpg blabla.com/1200x0/images/blabla.jpg how can this be possible for spaces? Is there any tool to make it?
    3 By cagkana9f5cd873f5b8188e469 DigitalOcean Spaces
  • Published Question

    How To Connect Managed MySQL with PHP PDO

    Here is my code; ``` public function __construct($username = "doadmin", $password = "blablabla", $host = "blablabla.db.ondigitalocean.com", $dbname = "defaultdb", $options=array(PDO::MYSQL_ATTR_INIT_COMMAND => 'SE...
    3 By cagkana9f5cd873f5b8188e469 DigitalOcean Managed MySQL Database
  • Published Question

    Can't Import MySQL Database

    Hi there, I want to use managed database instead of my own digitalocean vps server. My server is centos and mysql version is 5.5.5. I want to import mysql .sql file to new database. I installed "tablesplus" and cho...
    1 By cagkana9f5cd873f5b8188e469 DigitalOcean Managed MySQL Database
  • Published Question

    How to enable PHP Exteions?

    Hi I am trying to install php-imap. I used command: yum install php70-php-imap And it installed it. After that i restart my httpd service by systemctl restart httpd.service And I used command php -m and there's no ext...
    1 By cagkana9f5cd873f5b8188e469 PHP CentOS
  • Published Question

    How to resize images on Spaces

    Hi, I just want to use Spaces like that; blabla.digitalocean.com/1024x1024/images/image.jpg blabla.digitalocean.com/600x0/images/image.jpg and it will give me cropped image as values. How can it be possible? We can ma...
    2 By cagkana9f5cd873f5b8188e469 DigitalOcean
  • Published Answer

    How to disable custom log on Apache

    how can I edit sites-enabled files?
    By cagkana9f5cd873f5b8188e469
  • Published Question

    How to disable custom log on Apache

    <VirtualHost *:80> ServerName www.website.com ServerAlias website.com DocumentRoot /var/www/website.com/public_html ErrorLog /var/www/website.com/error.log CustomLog /var/www/website.com/requests....
    2 By cagkana9f5cd873f5b8188e469 Apache CentOS
  • Published Question

    How to give permision to only one directory (vsftpd)

    I created new user: adduser tchuck passwd tchuck (typed password) and now; I want this user to see only one directory that; /var/www/public_html/mysite.com I used that method: usermod --home /var/www/mysite.com/public...
    2 By cagkana9f5cd873f5b8188e469 Server Optimization CentOS
  • Published Question

    Can't install php-soap to my PHP 7.0 centos

    Hello, I'm trying to install ext-soap to my php server. I have PHP 7.0 but when i say "yum install php-soap" it tries to install soap for 5.4.6. Here's my error log: --> Running transaction check ---> Package php-soap...
    2 By cagkana9f5cd873f5b8188e469 PHP CentOS
  • Published Question

    Mariadb Shuts Down?

    my mariadb shuts down itself every 2 hours. i dont know how to look for log? Where should I look for error debugging? I'm using wordpress with woocommerce. I've 2GB ram in my vps. want to send you my logs but dont kn...
    1 By cagkana9f5cd873f5b8188e469 MariaDB CentOS
  • Published Question

    Can't install php-xml, php-mbstring etc. in php 7.0

    I'm trying to install php7.0-xml, php7.0-mbstring etc. but there's an error in my centos machine. sudo yum install php7.0-xml Failed to set locale, defaulting to C Loaded plugins: fastestmirror Loading mirror speeds f...
    2 By cagkana9f5cd873f5b8188e469 PHP PHP Frameworks CentOS
  • Published Question

    Should I Afraid? (Someone trying to connect my ssl)

    hi,5 minutes ago, I login to my VPS with username and password. And there was a message that: "There were 142453 failed login attempts since the last successful login." (i login last night) what should I do? someone i...
    2 By cagkana9f5cd873f5b8188e469 Server Optimization CentOS
  • Published Question

    Kibana Shows only status screen?

    Hi, I installed all the things on: https://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-logstash-and-kibana-elk-stack-on-centos-7 But when I login to the kibana, there's only status screen tha...
    0 By cagkana9f5cd873f5b8188e469 Elasticsearch CentOS
  • Published Question

    How to put dynamic json file Elastic Search?

    Hello, I've all my data as webservice. And it works with GET Method (not post). How can I get all datas in my json files to my elasticsearch? How should its mapping? "http://www.xxx.com/json/store.json", this makes an...
    0 By cagkana9f5cd873f5b8188e469 Elasticsearch CentOS
  • Published Answer

    Elasticsearch Failed connect to localhost:9200; Connection refused

    here’s log: Aug 09 06:59:46 elasticsearch systemd[1]: Started Elasticsearch. Aug 09 06:59:46 elasticsearch systemd[1]: Starting…
    By cagkana9f5cd873f5b8188e469
  • Published Question

    Elasticsearch Failed connect to localhost:9200; Connection refused

    Hi, I've installed my centos 7, elasticsearch. from this docs; https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-elasticsearch-on-centos-7. All the conf are the same as shown. But when ı TR...
    1 By cagkana9f5cd873f5b8188e469 Elasticsearch CentOS
  • Published Question

    MariaDB Shuts Down Frequently

    Hello, I'm using wordpress and my mariadb shuts down very frequently. dont understand why. here's my error logs: 170729 22:21:33 mysqldsafe mysqld from pid file /var/run/mariadb/mariadb.pid ended 170729 22:21:40 mysql...
    3 By cagkana9f5cd873f5b8188e469 MariaDB CentOS
  • Published Question

    Error after upgrade PHP to 7

    hello, I've woocommerce website. Today, I upgraded my php version 5.4 to 7.0 and getting error after that; 500. how can I fix it? https://www.mutlugunsusleri.com/ https://www.mutlugunsusleri.com/phpinfo.php need your ...
    2 By cagkana9f5cd873f5b8188e469 PHP CentOS
  • Published Question

    How to Install my RapidSSL Centos

    Hi, I've rapid ssl and dont know how to install this to my centos 7 server (my virtual server: xxx.com domain). there's only ubuntu lessons I could see.
    1 By cagkana9f5cd873f5b8188e469 Apache CentOS
  • Published Question

    How to Drop InnoDB buffer pool size?

    Hello I've InnoDB buffer pool size error. And ı must decrease its value. But How can I do this? What can I change on my system? What is the file directory etc. Could u hlep me please?
    1 By cagkana9f5cd873f5b8188e469 MariaDB CentOS