spadmen 1 Posted August 15, 2015 Share Posted August 15, 2015 (edited) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/freebsd/ports/amd64/packages-9-stable/latest/compat7-amd64.tbx : file unavailable i found another link with compat7 amd64 , but how i can add a fetch link on pkg_add? on V mware with free bsd 9.3 , what have to do ? tanks in advance Edited August 15, 2015 by spadmen 1 Link to comment Share on other sites More sharing options...
Night 366 Posted August 15, 2015 Share Posted August 15, 2015 pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/freebsd/ports/amd64/packages-9-stable/latest/compat7-amd64.tbx : file unavailable i found another link with compat7 amd64 , but how i can add a fetch link on pkg_add? on V mware with free bsd 9.3 , what have to do ? tanks in advance just install it from the port tree 1 Link to comment Share on other sites More sharing options...
spadmen 1 Posted August 16, 2015 Share Posted August 16, 2015 u mean to install it from the local ports? only this ( cd /usr/ports/misc/compat7x && make -DBATCH install clean )? Link to comment Share on other sites More sharing options...
ds_aim 241 Posted August 16, 2015 Share Posted August 16, 2015 OMG, This is the mooost stupid tutorial. I'm not saying it was not good, one year ago.But most commands in this tutorial are removed and replaced with newer ones. No longer will you take after this tutorial. Link to comment Share on other sites More sharing options...
SøηGøku® 8 Posted August 23, 2015 Share Posted August 23, 2015 I forgot to select the options installing nginx. Now i can't select them again. What do i do? Best Regards Link to comment Share on other sites More sharing options...
scrabbyyy 20 Posted August 28, 2015 Share Posted August 28, 2015 (edited) 1033 - Incorrect information in file: ' ./account/account.frm' usually a lot of ppl get this error so can u explain deep for the fix this others comments is useless for about that fixsedddd Edited October 13, 2015 by scrabbyyy Link to comment Share on other sites More sharing options...
Gugymt2 0 Posted December 16, 2015 Share Posted December 16, 2015 (edited) how to fix this? https://metin2.download/picture/9qV5SMhTdpQGg0CwGiZLGk3FSPZvYm20/.png Edited September 1, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
loyein 18 Posted January 2, 2016 Share Posted January 2, 2016 Thanks, I need this. Link to comment Share on other sites More sharing options...
Premium ‚Point‘ 20 Posted January 4, 2016 Premium Share Posted January 4, 2016 Maybe someone got new SQL fetch link? Its doesnt work any more... Edit: Just got an Problem with DNS , already fixxed Link to comment Share on other sites More sharing options...
Traceur3RUN 75 Posted April 21, 2016 Share Posted April 21, 2016 someone can update this tutorial? On 20.07.2015 at 2:24 PM, Readon said: root@root260545:~ # fetch ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/9.1-RELEASE/lib32.txz fetch: ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/9.1-RELEASE/lib32.txz: File unavailable (e.g., file not found, no access) Anyone knows an alternative or so? Doesn't work... change to this 9.0 fetch: ftp://ftp.tw.freebsd.org/pub/FreeBSD/releases/amd64/amd64/9.0-RELEASE/lib32.txz 9.1 fetch: ftp://ftp.tw.freebsd.org/pub/FreeBSD/releases/amd64/amd64/9.1-RELEASE/lib32.txz 9.2 fetch: ftp://ftp.tw.freebsd.org/pub/FreeBSD/releases/amd64/amd64/9.2-RELEASE/lib32.txz i don't know yet how fix this pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/freebsd/ports/amd64/packages-9-stable/latest/compat7-amd64.tbx : file unavailable but i try and post here solution 1 Link to comment Share on other sites More sharing options...
iltizio 217 Posted April 25, 2016 Share Posted April 25, 2016 On 21/4/2016 at 10:29 AM, Traceur3RUN said: someone can update this tutorial? change to this 9.0 fetch: ftp://ftp.tw.freebsd.org/pub/FreeBSD/releases/amd64/amd64/9.0-RELEASE/lib32.txz 9.1 fetch: ftp://ftp.tw.freebsd.org/pub/FreeBSD/releases/amd64/amd64/9.1-RELEASE/lib32.txz 9.2 fetch: ftp://ftp.tw.freebsd.org/pub/FreeBSD/releases/amd64/amd64/9.2-RELEASE/lib32.txz i don't know yet how fix this pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/freebsd/ports/amd64/packages-9-stable/latest/compat7-amd64.tbx : file unavailable but i try and post here solution This tutorial is deprecated. Link, commad, versions ecc. There are also errors and incorrect advice. To fix pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/freebsd/ports/amd64/packages-9-stable/latest/compat7-amd64.tbx you can easly install from ports. It download form the correct source and compile and install libs. This is the command: cd /usr/ports/misc/compat7x/ && make install clean Or if you want the package for lib32 like in this tutorial you can find here http://ftp.freebsd.org/pub/FreeBSD/releases/amd64/9.3-RELEASE/lib32.txz for FreeBSD 9.3 or http://ftp.freebsd.org/pub/FreeBSD/releases/amd64/10.3-RELEASE/lib32.txz for FreeBSD 10.3 1 Link to comment Share on other sites More sharing options...
Premium Red 13 Posted August 18, 2016 Premium Share Posted August 18, 2016 (edited) ---- SOLVED ---- Solution: To install the port: cd /usr/ports/ports-mgmt/pkg/ && make install clean To add the package: pkg install pkg Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Premium Red 13 Posted August 18, 2016 Premium Share Posted August 18, 2016 (edited) Any solutions? Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Premium ‚Point‘ 20 Posted August 18, 2016 Premium Share Posted August 18, 2016 Maybe because of permissions Try this to get log: tar zcvf *file*.tar.gz *path*/ > outfile.log 1 Link to comment Share on other sites More sharing options...
Premium Red 13 Posted August 19, 2016 Premium Share Posted August 19, 2016 Okay everythins is solved but now when i go to my cliente it stays in login forever not even a message error appears, any tips? Link to comment Share on other sites More sharing options...
EarT 0 Posted May 18, 2018 Share Posted May 18, 2018 thank you so much. Link to comment Share on other sites More sharing options...
eri92 0 Posted August 7, 2018 Share Posted August 7, 2018 On 2/5/2014 at 8:15 AM, Rumor said: portsnap fetch extract Link to comment Share on other sites More sharing options...
bluedrago 28 Posted December 4, 2019 Share Posted December 4, 2019 oupdated??????? Link to comment Share on other sites More sharing options...
tohlenenitest1 1 Posted March 11, 2020 Share Posted March 11, 2020 (edited) fetch: ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/8.2-RELEASE/lib32: File unavailable (e.g., file not found, no access) Edited March 12, 2020 by tohlenenitest1 1 Link to comment Share on other sites More sharing options...
1pzaid 2 Posted February 23, 2021 Share Posted February 23, 2021 On 2/5/2014 at 8:15 AM, Rumor said: ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/9.1-RELEASE/lib32.txz ftp://ftp10.freebsd.org/pub/FreeBSD/releases/amd64/12.2-RELEASE/lib32.txz for FreeBSD 12.2 Users 2 Link to comment Share on other sites More sharing options...
Denizeri24 35 Posted February 23, 2021 Share Posted February 23, 2021 (edited) if you using x64 freebsd, only edit /etc/make.conf file; CFLAGS = -m32 and build all libs with make command, e.g; putty >> whereis devil output >> pkgdir/any/local/devil putty >> cd pkgdir/any/local/devil putty >> make -DBATCH install clean edit : actually i only download amd64 boot-only iso(80mb) and installing all libs with pkg command. i never take an error or warning. power of the 64 bit server files ( ͡° ͜ʖ ͡°) Edited February 23, 2021 by Denizeri24 new comment Link to comment Share on other sites More sharing options...
ByLost 142 Posted April 15, 2021 Share Posted April 15, 2021 On 2/23/2021 at 8:21 AM, Denizeri24 said: if you using x64 freebsd, only edit /etc/make.conf file; CFLAGS = -m32 and build all libs with make command, e.g; putty >> whereis devil output >> pkgdir/any/local/devil putty >> cd pkgdir/any/local/devil putty >> make -DBATCH install clean edit : actually i only download amd64 boot-only iso(80mb) and installing all libs with pkg command. i never take an error or warning. power of the 64 bit server files ( ͡° ͜ʖ ͡°) pkg install compat11x-amd64 Link to comment Share on other sites More sharing options...
edusiilva29 0 Posted September 12, 2021 Share Posted September 12, 2021 Boas Link to comment Share on other sites More sharing options...
shtorm45rus 1 Posted November 24, 2021 Share Posted November 24, 2021 (edited) On 2/5/2014 at 10:15 AM, Rumor said: M2 Download Center Hidden Content Give reaction to this post to see the hidden content. ( Internal ) This guide will walk you through each step of installing the necessary daemons for a Metin2 server on FreeBSD. Asking for help setting up Metin2 on the official FreeBSD forums is not permitted, I suggest if you have issues to ask in this forum only. You may not need to install cURL, it depends on whether or not you'll host your website on the same server and use things that require cURL (such as automatic paypal transactions). It's recommended to host your website on a separate web server and not share the IP with anyone then run it through CloudFlare. A guide will be posted soon in these forums on how to run your website through CloudFlare while preventing CloudFlare IP resolvers from functioning. However, if you do run your website on another server I would recommend hosting it in the same datacenter because you'll need to use Remote MYSQL to access your database. - For sake of simplicity I'll be using "ee editor" for this guide. Most new people don't like vi anyway. If you're already familiar with vi, feel free to use that to edit text inside files instead. - To transfer files to and from your server, use WinSCP. - To enter commands into your server, use PuTTy. Please note that when the system asks you for a password in PuTTy you won't see it as you type it on the screen, be precise! - Pressing the TAB key in PuTTy will auto-complete as much as possible in the directory you're in. Downloads Libs: https://mega.co.nz/#!rExCyBba!dho0EjPjjHLzARsaQ3XU2yY38mpRBrf0YpilLo3aC4c 1. Updating Ports portsnap fetch extract portsnap update 2. Installing Python 2.7 cd /usr/ports/lang/python27 make -DBATCH install clean pro tip: Use the "-DBATCH" flag for a default installation of the port. Skip all those annoying prompts during installation. 3. Standard C++ Libraries fetch ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/9.1-RELEASE/lib32.txz tar Jxpvf lib32.txz -C / rm lib32.txz Unrar "Libs.rar" and put the files in the "/usr/lib32" directory. 4. Compat7x Because Metin2 was originally meant to be run on FreeBSD 7, we need this so that it's compatible with FreeBSD 9. cd /usr/ports/misc/compat7x && make -DBATCH install clean pkg_add -r compat7x-amd64 5. Install & Configure MySQL 5.6 server cd /usr/ports/databases/mysql56-server make BUILD_OPTIMIZED=yes BUILD_STATIC=yes make WITH_XCHARSET=all install clean Now we make it start on each startup of the system. ee /etc/rc.conf Add a new line: mysql_enable="YES" Press ESC then save and close the file. service mysql-server start /usr/local/bin/mysqladmin -uroot password 'enterpassword' pro tip: "enterpassword" should be the password you choose, don't use "enterpassword" as your password. A long string of lower case and capital letters and numbers is the safest bet. Don't use words that can be found in a dictionary. Don't use passwords which are the same as other passwords of yours. You may not need to do this, but when I got an OVH server it messed up the installation of mysql (on 9.2). If you get an error about the mysql user account with the step above, just do this: pwd_mkdb -p /etc/master.passwd chown -R mysql /var/db/mysql && chgrp -R mysql /var/db/mysql Then repeat the step. 6. Adding your server files and Metin2 Database Extract your game.tar.gz containing all the Metin2 server files somewhere in your server. This is all you have to do to extract a .tar.gz file: tar -zxvf filename.tar.gz You should have your metin2 database inside of a tarball (.tar.gz file). For structure, it doesn't really matter as long as once you extract your tarball on your server it follows this file hierarchy: Now you should change the group and ownership of some files for your database: service mysql-server stop chown -R mysql /var/db/mysql && chgrp -R mysql /var/db/mysql service mysql-server start Setup an account for you to login to the database via Navicat and an account for your game cores to interact with your database using. For this example I'll use the username "rumor" for my account and "metin2" for the game core's account. Every password in this example will be "password" but please DO NOT use this as your password! If you have a static IP address and wish to restrict access to the database only to your IP, change the "%" sign to your IP. The "%" sign indicates that any IP address is allowed to connect to the database using the specified credentials. mysql -p Now enter the password you set with mysqladmin earlier... and you will see this prompt: mysql> This is where we set the actual permissions for the accounts up. GRANT ALL PRIVILEGES ON *.* TO 'rumor'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION; GRANT ALL PRIVILEGES ON *.* TO 'metin2'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION; quit pro tip: remember (or write down) this information because you will need it later. Setup your CONFIG files under each channel folder and the "auth" folder. All of these are found inside the Metin2 server files. PLAYER_SQL: localhost metin2 password player COMMON_SQL: localhost metin2 password common LOG_SQL: localhost metin2 password log The conf.txt file looks a little bit different and it's found in the "db" folder of your Metin2 server files. SQL_ACCOUNT = "localhost account metin2 password 0" SQL_PLAYER = "localhost player metin2 password 0" SQL_COMMON = "localhost common metin2 password 0" SQL_HOTBACKUP = "localhost hotbackup metin2 password 0" ~~~~ STOP HERE IF YOU'RE RUNNING YOUR WEB SERVER SOMEWHERE ELSE ~~~~ 7. Setting up web server for website and/or patcher Install nginx: cd /usr/ports/www/nginx make install clean Make sure these are selected with space bar: [X] HTTP_MODULE Enable HTTP module [X] HTTP_ADDITION_MODULE Enable http_addition module [X] HTTP_CACHE_MODULE Enable http_cache module [X] HTTP_GEOIP_MODULE Enable http_geoip module [X] HTTP_GZIP_STATIC_MODULE Enable http_gzip_static module [X] HTTP_IMAGE_FILTER_MODULE Enable http_image_filter module [x] HTTP_PERL_MODULE Enable http_perl module [X] HTTP_REALIP_MODULE Enable http_realip module [X] HTTP_REWRITE_MODULE Enable http_rewrite module [X] HTTP_STATUS_MODULE Enable http_stub_status module Press "Enter" when ready to continue. Install libtool cd /usr/ports/devel/libtool make install clean Install php5 cd /usr/ports/lang/php5 make config Make sure the following is selected with space bar then press "Enter": [X] FPM Build FPM version (experimental) Leave everything else default. then do this: make install clean ~~~~ If you need cURL support then do this, if not then skip this step: cd /usr/ports/lang/php5-extensions make config Make sure that the "CURL Support" is selected then press "Enter". Then do the installation and clean the directory: make -DBATCH install clean ~~~~ Time to configure your php.ini file... cp /usr/local/etc/php.ini-production /usr/local/etc/php.ini Edit /usr/local/etc/php.ini in WinSCP using Notepad++. Firstly, set your "date.timezone" to the appropriate one. Choose from this list: http://php.net/manual/en/timezones.php Next, if you have something that needs to run large MYSQL queries you may run into some issues. Some website packages also can cause these problems. The issue is with memory usage. For security reasons there are limitations set on how much memory php is allowed to use. I suggest only modifying this IF you have problems loading memory-intensive pages. Just try to raise it a bit until it works, don't raise it to an excessively high number. I had to set mine to "512M" to make my queries work in my patcher. It can be set by just inputting numbers and they will be recognized as bytes, or you could use K, M, or G. memory_limit = 512M Installation of php-mysql5: cd /usr/ports/databases/php5-mysql make -DBATCH install clean If you've gotten this far, congratulations.. you're almost done! You need to create a folder for your website like this: mkdir /usr/local/www/nginx/domain.com Set the owner and permissions: chown www:www /usr/local/www/nginx/domain.com chmod 755 /usr/local/www/nginx/domain.com Customize this file to your needs and upload it to /usr/local/etc/nginx: Hidden Content If you're using cloudflare, uncomment the lines 38-57 by removing the "#". The reason for this is to ensure you get the real user IP in your logs rather than cloudflare's IP. If you want to allow directory listing.. ie: [url=http://domain.com/files]http://domain.com/files to present a visitor with a list of files they can access/download then uncomment lines 63 and 73. You MUST change the domain name to your own! Now you need to enable startup of php-fpm and nginx whenever your server is booted: ee /etc/rc.conf Add these lines: php_fpm_enable="YES" nginx_enable="YES" Start your services: service php-fpm start service nginx start Upload your website files to /usr/local/www/nginx/domain.com nice) Edited August 21, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
dharokko 7 Posted December 22, 2021 Share Posted December 22, 2021 nice tut i will try Link to comment Share on other sites More sharing options...
Recommended Posts