Jump to content

Asura

Members
  • Posts

    707
  • Joined

  • Last visited

  • Days Won

    9

Everything posted by Asura

  1. Hi manabeast, Just edit the root user and add a password in the 'Users' tab.
  2. Asura

    help with flux cp

    Hi Razor X, It really depends on how you've installed PHP. The common ways to do it would be to install it via "yum", this is if you installed PHP with yum also; and you'd have to specify the version, php/php5 - again, it depends on how you installed PHP. The 2nd way would be to re-compile PHP with the PDO module, making sure you have the PDO lib files. For instructions, you can simply do a Google search and you'll most definitely find many guides on how to install PDO for your PHP configuration.
  3. Hi zedrik04, The new versions of phpMyAdmin have it named as 'Users' instead of Privileges.
  4. Hi Instinct, You can just purchase a regular VPS, and then install torrentflux on it and seed from there. Other than that, there's no free seeder besides you and your computer. You may create a .torrent and then seed the file yourself, that's probably the only free method.
  5. Hi Prontera Maze, Just turn debug mode to true inside '/config/application.php' and also error reporting to true inside '/config/error.php'. When visiting the site, it should let you know what folders/files have insufficient privileges, and you can then modify them accordingly.
  6. Asura

    Help Flux CP :(

    Hi onizame, I'm not sure what other way to explain it to you, as I feel that I've stated it very basically; any beginner-level MySQL user should have been able to understand. I can only recommend that you use Google to expand your research on how to enable your account for % (Any Host). Here is the 1st search result on Google; http://www.howtogeek.com/howto/programming/mysql-give-root-user-logon-permission-from-any-host/
  7. Asura

    Help Flux CP :(

    Hi onizame, The user specified may be locked down to 'localhost'. You'll have to edit that user, and allow % (Any Host) to be connected with that account.
  8. Hi nobukadnezar, You'd have to consult your host provider to log into your container and then disable iptables. What kind of virtualization is your hosting company providing you with? Also, it seems like you're having issues with actually running the scripts... I would recommend trying to install dos2unix first, and converting the files to UNIX format before proceeding to run them. yum -y install dos2unix dos2unix clear-iptables dos2unix iptables-policy Now you should be able to properly execute the scripts. ./clear-iptables ./iptables-policy
  9. Hi onizame, Yes, that's correct; I specifically separated the TCP/UDP per port so that you can choose to either disable a protocol if you wish. And you'd just follow that format to enable more ports, for either TCP/UDP.
  10. Hi nobukadnezar, Create a new file called 'clear-iptables', and inside this file; input the following. Filename: 'clear-iptables' iptables -F iptables -X iptables -t nat -F iptables -t nat -X iptables -t mangle -F iptables -t mangle -X iptables -P INPUT ACCEPT iptables -P FORWARD ACCEPT iptables -P OUTPUT ACCEPT After uploading this file onto your server, go into PuTTY/SSH and 'cd' to the directory of where you have uploaded this file and perform the following commands. chmod +x clear-iptables ./clear-iptables Now you can safely insert your own rules without previous rules conflicting your service. Here is an example of the iptables of which a server administrator should use for his RO service, but please note that this will close out all ports unless specified. Filename: 'iptables-policy' /sbin/iptables -F /sbin/iptables -A INPUT -i lo -j ACCEPT /sbin/iptables -A OUTPUT -o lo -j ACCEPT /sbin/iptables --policy INPUT DROP /sbin/iptables --policy OUTPUT DROP /sbin/iptables --policy FORWARD DROP /sbin/iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT /sbin/iptables -A OUTPUT -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT # Allow incoming TCP port 22 (ssh) traffic /sbin/iptables -A INPUT -p tcp --dport 22 -m state --state NEW -j ACCEPT # Allow Ragnarok Online /sbin/iptables -A INPUT -p udp --dport 6900 -m state --state NEW -j ACCEPT /sbin/iptables -A INPUT -p udp --dport 5121 -m state --state NEW -j ACCEPT /sbin/iptables -A INPUT -p udp --dport 6121 -m state --state NEW -j ACCEPT /sbin/iptables -A INPUT -p tcp --dport 6900 -m state --state NEW -j ACCEPT /sbin/iptables -A INPUT -p tcp --dport 5121 -m state --state NEW -j ACCEPT /sbin/iptables -A INPUT -p tcp --dport 6121 -m state --state NEW -j ACCEPT # Allow MySQL /sbin/iptables -A INPUT -p tcp --dport 3306 -m state --state NEW -j ACCEPT /sbin/iptables -A INPUT -p udp --dport 3306 -m state --state NEW -j ACCEPT # Have these rules take effect when iptables is started /sbin/iptables-save After uploading that file, you would simply 'cd' to the directory of the file location and perform the following commands. chmod +x iptables-policy ./iptables-policy And now, all traffic is blocked except for 22, 6900, 5121, 6121, and 3306. You can do some research on how to set limits/bursts, and then setting rules to drop malformed/ACK/SYN/spoofed packets, and other malicious traffic.
  11. Hi wakoko321, I believe you are missing in enabling the soft core, and also the kernel pid from 'sysctl.conf'. You may view the following thread to enable soft core. http://rathena.org/board/topic/53447-how-to-enable-crashcore-dumps-in-your-server-linux/ As for the 'sysctl.conf', you will need to find this file with the following command. 'updatedb' may take a while to process, but it helps organize your files for your system to search for files easily. updatedb locate sysctl.conf After the gives you the location, you will need to edit that file and enable 'kernel.core_uses_pid'. Replace: # kernel.core_uses_pid = 1 With: kernel.core_uses_pid = 1
  12. Asura

    warning putty

    Hi furion, If you wish to remove a folder in Linux; you would perform the following command. rm -rf FOLDER_NAME
  13. Hi wakoko321, Putting '127.0.0.1' (localhost) should not create any conflict; the only possible conflict is if you use the same ports per map/char/login server, they require different ports to operate. You are missing 1 step with enabling 'soft core'; you may find the instruction in this following thread. http://rathena.org/board/topic/53447-how-to-enable-crashcore-dumps-in-your-server-linux/
  14. Hi onizame, I believe you may use the following command to grab a certain revision if you're starting fresh. svn co -r16070 https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/
  15. Hi onizame, If you actually named the folder 'secret_folder_name'; then it would probably be like this... http://<YOUR_SERVER_IP_OR_HOSTNAME>/secret_folder_name/setup/
  16. Hi Matrixfox, Nice guide, very detailed; but I think you should offer other desktop environments such as XFCE, LXDE, KDE, or even the bare minimums like Fluxbox. I only suggest this cause those environments may allow a 512mb VPS to work side-by-side with a MySQL server and rAthena running, without having any insufficient memory issues.
  17. Hi nobukadnezar, Try using this... # Allow Ragnarok Online /sbin/iptables -A RH-Firewall-1-INPUT -p udp --dport 6900 -m state --state NEW -j ACCEPT /sbin/iptables -A RH-Firewall-1-INPUT -p udp --dport 5121 -m state --state NEW -j ACCEPT /sbin/iptables -A RH-Firewall-1-INPUT -p udp --dport 6121 -m state --state NEW -j ACCEPT /sbin/iptables -A RH-Firewall-1-INPUT -p tcp --dport 6900 -m state --state NEW -j ACCEPT /sbin/iptables -A RH-Firewall-1-INPUT -p tcp --dport 5121 -m state --state NEW -j ACCEPT /sbin/iptables -A RH-Firewall-1-INPUT -p tcp --dport 6121 -m state --state NEW -j ACCEPT
  18. Hi PapaZola, I would suggest you take a look at this link... http://www.eathena.ws/board/release-Vote-4-Coins-V-107-t195150.html If you scroll to the bottom, there is an english translation and also has the files made available for you to download. Good luck.
  19. Hi arnie2302, You need to make sure your webhosting has enabled those ports for you; if your players are able to connect, that means your RO server's ports are opened and work just fine. It is the webhoster which has to open those ports for it to work properly; hope this clears it up.
  20. Hi SaZzuke, It's 'Heartbeat' by Stereo Skyline.
  21. Hi Orgasmator, What kind of webserver are you running? Did you install the proper modules such as PHP?
  22. Hi anginputih, Maybe this can help... http://www.youtube.com/watch?v=im1XzUqhoak
  23. Hi nobukadnezar, Show us the error it's giving you.
  24. Hi nobukadnezar, Here it is; # Allow Ragnarok Online /sbin/iptables -A INPUT -p udp --dport 6900 -m state --state NEW -j ACCEPT /sbin/iptables -A INPUT -p udp --dport 5121 -m state --state NEW -j ACCEPT /sbin/iptables -A INPUT -p udp --dport 6121 -m state --state NEW -j ACCEPT /sbin/iptables -A INPUT -p tcp --dport 6900 -m state --state NEW -j ACCEPT /sbin/iptables -A INPUT -p tcp --dport 5121 -m state --state NEW -j ACCEPT /sbin/iptables -A INPUT -p tcp --dport 6121 -m state --state NEW -j ACCEPT
  25. Asura

    help plss

    Hi jonmich21, You're suppose to just upload the proper V4P module into your CP and go to your site for the installer to set up the V4P SQL tables, and then it should just work from there.
×
×
  • Create New...