Jump to content

Gary.

Members
  • Posts

    569
  • Joined

  • Last visited

7 Followers

Profile Information

  • Gender
    Male
  • Location
    England
  • Interests
    Server Management, DdoS Mitigation.

Recent Profile Visitors

15,643 profile views

Gary.'s Achievements

  1. How to change your SSH port: having the default port 22 to something else on your hosting server can be something like preventing the hackers from accessing your server from the front door. Though you should note that this process would not make your server 100% safe from intrusion, but it can definitely keep professional hackers busy with finding other vulnerabilities on the server. However, changing the port of your SSH can add to the security of your server. Do the step by step guide below. # Edit she SSH config file: Search for the line that has the value: #port 22 Change this and uncomment to something like: port 46987 Or you can use any port assuming it's not being used by another service. Once done, Save the configuration file: Restart the ssh service by: Please note, If you use a firewall open the port your changing to.
  2. Well, The majority of the server runs from /var, So with heavy mysql then yes you will see a gain, If not the CPU then it will be the I/O. I done this on many servers, Mostly putting it on a different HDD and I seen loads drop by 70% but moving it to /home is just as good.
  3. Moving the mysql to a new / quicker partition High CPU from mysql, Full /var but fast /home HDD, Then move your mysql to a new partition for faster response times, Better CPU and lower I/O. Just follow the guide below for moving the mysql from /var to /home, But please BACKUP ! I will not be held responsible for errors / mistakes. First stop services that use mysql, such as mysql itself or any httpd applications. Edit and change the my.cnf: nano /etc/my.cnf #Now in the mysqld section add the following: pid-file = /home/mysql/mysqld.pid socket = /var/lib/mysql/mysql.sock datadir = /home/mysql basedir = /home/mysql rsync -vrplogDtH /var/lib/mysql/ /home/mysql/ rsync -vrplogDtH /var/lib/mysql/ /home/mysql/ #Set the mysql.sock so that it functions correctly: ln -s /home/mysql/mysql.sock /var/lib/mysql/mysql.sock rm -rf /tmp/mysql.sock ln -s /home/mysql/mysql.sock /tmp/mysql.sock #Restart the mysql service so it is on the new parition: killall -9 mysqld service mysql start That's it, Reload your website - If it loads then all is good, If not you made a Boo Boo !
  4. Most main one is to tail the server error logs to see what's happening. You can do this by SSH with the command: Think your server is under a SYS attack ? Check the connections per IP: Block an IP in IP tables: Optimize all tables on the server Optimize and repair all tables on the server: Gary.
  5. Everything is looking fine but hense, You have 8GB and your allowing 32MB per script ? :whistle: I would up that to atleast 96MB and then let that monster processor do the work. No matter what people post saying my.cnf, http,conf ect you can only configure it to the modules running and what apache, Mysql and enviroment you have / Host.
  6. Edit: fixed the problem, Thanks for the upload.
  7. Worked perfect - Thank you once again for your free help and support :D
  8. I go to delite and all I get is: IP.Board Message You cannot remove this setting group as it still contains active settings. Please remove the settings inside it first. what you mean database error, it shows nothing.
  9. Yeah I done it like you said - All the others were fine except that one.
  10. ditto :) Also - this does not exist: DELETE FROM {prefix}_core_sys_settings_titles WHERE conf_title_keyword='sitemap' LIMIT 1; Now in Ststem ? Forums ? Sitemap Generator v1.0.3 (5 settings) You can specify certain settings for your sitemap generator. All I see is select group ! How can I remove this too.
  11. I un installed this: Sitemap Generator v1.0.3 (5 settings) You can specify certain settings for your sitemap generator. But this still shows in forum settings: How can I remove this as when I do I get: P.Board Message You cannot remove this setting group as it still contains active settings. Please remove the settings inside it first. Somone help me out asap please.
  12. Thank you for the reply - Fixed it now :D :wub: lol
  13. Ant - I have started to have problems since I updated. When we tune in via media player - The image does not show - Now I opened the link as a txt and the file shows: <banner href="//www.my-website.com/public/style_images/7sins-pride/radio_images/mediaplayer.jpg"> It should show: <banner href="http://www.my-website.com/public/style_images/7sins-pride/radio_images/mediaplayer.jpg"> Why is the http: missing - This is causing the image to fail, I also do not know where its calling the links from or I would check this out, But, Ill ask you as you would know the exact problem. My current version is: 9.1
  14. Update - The problem is, Whjen I make a change on the radio it strips the key from the licence and I have to manually add it again to allow my site to load. need support on this ASAP
×
×
  • Create New...