文件操作 - merda.doc
返回文件管理
返回主菜单
删除本文件
文件: /root/Desktop/tmp/compress test/merda.doc
编辑文件内容
Webmail & roundcube location /usr/local/apache/htdocs/roundcube/ phpMyAdmin /usr/local/apache/htdocs/phpMyAdmin/ MySQL root Password locations files /root/.my.cnf /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php CWP SSL Configuration File /usr/local/cwpsrv/conf.d/cwp-ssl.conf SE NON CARICA LA SSL DEL PANNELLO QUESTO SCRIPT LA RIGENERA sh /scripts/generate_hostname_ssl MALAWARE DETECTION https://www.techrepublic.com/article/how-to-install-malware-detection-and-antivirus-on-centos-7/ ( installato ma devo finire la configurazione ) PERMESSI (ESEMPIO -R = recursivo ) chmod -R u=rwx,g=rwx,o=rwx /home/planet/public_html SET USER SULLE CARTELLE ( ESEMPIO) ( mettere l'utente del pannello CW7 come user se non non aggiorna wordpress) sudo chown -R apache:apache /home/planet/public_html (/var/www/) sudo chown -R planet:planet /home/planet/public_html Available automated scripts at centos web panel (CWP) with the latest version Article ID: 986 Last updated: 11 Jul, 2018 Restart HTTPD service: # sh /usr/local/cwpsrv/htdocs/resources/scripts/restart_httpd Install or update ioncube loader PHP addons (you will need to restart httpd and cwpsrv): # sh /usr/local/cwpsrv/htdocs/resources/scripts/update_ioncube Upgrade phpMyAdmin and MySQL version: # sh /usr/local/cwpsrv/htdocs/resources/scripts/upgrade_mysql To Reset mySQL Root Password: # sh /usr/local/cwpsrv/htdocs/resources/scripts/mysql_pwd_reset CWPscripts - Check for bad tables: # sh /usr/local/cwpsrv/htdocs/resources/scripts/checkdb Fix MyISAM tables for all databases: # sh /usr/local/cwpsrv/htdocs/resources/scripts/mysql_fix_myisam_tables View max_connections limit at MySQL configuration: # sh /usr/local/cwpsrv/htdocs/resources/scripts/mysql_show_max_connections View connection number and sort them by size: # sh /usr/local/cwpsrv/htdocs/resources/scripts/net_show_connections Increase max_connections limit at MySQL configuration: # sh /usr/local/cwpsrv/htdocs/resources/scripts/mysql_set_max_connections Show User List: # sh /usr/local/cwpsrv/htdocs/resources/scripts/list_users Find the list of all Domains: # sh /usr/local/cwpsrv/htdocs/resources/scripts/list_domains Find the list of all Sub-Domains: # sh /usr/local/cwpsrv/htdocs/resources/scripts/list_subdomains Backup script for user files and mysql databases: # sh /usr/local/cwpsrv/htdocs/resources/scripts/user_backup Installs Image Magick: # sh /usr/local/cwpsrv/htdocs/resources/scripts/install_imagick Installs Maldet: # sh /usr/local/cwpsrv/htdocs/resources/scripts/install_maldet Update freshclam database: # sh /usr/local/cwpsrv/htdocs/resources/scripts/freshclam Installs Net2FTP, Usage http://IP/net2ftp: # sh /usr/local/cwpsrv/htdocs/resources/scripts/install_net2ftp Install supportKey (ssh key installation script): # sh /usr/local/cwpsrv/htdocs/resources/scripts/install_supportKey Get Domain owner, Usage: sh /scripts/whoowns DOMAIN: # sh /usr/local/cwpsrv/htdocs/resources/scripts/whoowns Enable CSF/LFD Brute/Force protection: # sh /usr/local/cwpsrv/htdocs/resources/scripts/cwp_bruteforce_protection Check CWP version: # sh /usr/local/cwpsrv/htdocs/resources/scripts/cwp_version Monitor CWP critical load: # sh /usr/local/cwpsrv/htdocs/resources/scripts/cwp_monitor Restart CWP (restarts panel only): # sh /usr/local/cwpsrv/htdocs/resources/scripts/restart_cwpsrv Reload CWP (Reload panel only): # sh /usr/local/cwpsrv/htdocs/resources/scripts/reload_cwpsrv Update CWP to the latest version: # sh /usr/local/cwpsrv/htdocs/resources/scripts/update_cwp Monitor disk usages od a specific directory(we can also modify the script as per our need): # sh /usr/local/cwpsrv/htdocs/resources/scripts/disk_check Server health notifications: # sh /usr/local/cwpsrv/htdocs/resources/scripts/add_alert SSL Self signed certificate generater: # sh /usr/local/cwpsrv/htdocs/resources/scripts/generate_hostname_ssl How many email has been deferred at server's mailq: # sh /usr/local/cwpsrv/htdocs/resources/scripts/check_postqueue ********************************************************************* FTP I too have same issue like this. Failed to start Pure-FTPd FTP server. PID file /var/run/pure-ftpd.pid not readable (yet?) after start. I do the following steps: # ps -A | grep ftp 3080 ? 00:00:00 vsftpd # kill 3080 Again I restarted my pure-ftpd.service and its active (running). Its works for me ********************************************************************** Letsencrypt SSL Installation for Hostname - How to guide This is guide for cwp versions 0.9.8.2xx with autoSSL In cwp.admin left menu go to --> CWP Settings --> Change Hostname save there your hostname. SSL will be automatically installed, the only condition is that you have DNS A records set for the hostname. Please note that the hostname should be subdomain and NOT main domain. For http:// to https:// redirect you can create this htaccess file: /usr/local/apache/htdocs/.htaccess RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] To disable redirect simply delete that file. Manually or custom certificate You can also manually replace certificate with your own certificate ssl_certificate with bundle (if any): /etc/pki/tls/certs/hostname.crt ssl_certificate_key: /etc/pki/tls/private/hostname.key this certificate files are used for cwp ports 2031,2087,2302,2304,2096: Admin panel, user panel, roundcube, phpMyAdmin, phpPgAdmin, cwp api
修改文件时间
将文件时间修改为当前时间的前一年
删除文件