Jump to content

Search the Community

Showing results for tags 'linux'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Administration
    • Register
    • Docs
    • Announcements
    • Security
  • Community
    • Projects
    • Feedback
    • Servers management
  • Counter-Strike: 2
    • Discussions
  • Counter-Strike: 1.6
    • Servers
    • Discussions
    • Tutorials
    • AMX Mod X
    • Resources
  • Metin2
    • Metin2 Plague
  • PHOTOSHOP
    • Area for Photoshop
  • OLDS ⚬ IT
    • Resurse Jocuri
    • Resurse Webmasteri
    • Operating Systems
  • ZONA INTERZISA
    • Vechi

Categories

  • Counter-Strike: 1.6
    • Servers
    • Client

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Tara


Oras


Steam

Found 4 results

  1. How many servers are using ReHLDS? here you can see: GameTracker.com At the end of this topic you will find what ReHLDS is in case of you don'd know it already. Install If you don't know how to install it follow those steps bellow. Go to Releases · dreamstalker/rehlds (github.com) and download the latest Release (BIN) of ReHLDS in my case is https://github.com/dreamstalker/rehlds/releases/download/3.11.0.767/rehlds-bin-3.11.0.767.zip You need to install zip on your linux. Ubuntu sudo apt-get install zip Go to your server directory location cd ~/Steam/cs_server Download and Extract the files wget https://github.com/dreamstalker/rehlds/releases/download/3.11.0.767/rehlds-bin-3.11.0.767.zip ; unzip -o rehlds-bin-3.11.0.767.zip ; rm -rf rehlds-bin-3.11.0.767.zip ; What is ReHLDS:
  2. Bellow you can find all the commands that you need to create an Counter-Strike: 1.6 Server on Ubuntu 22.04.1 Requirements Default sudo apt install curl wget file tar bzip2 gzip unzip bsdmainutils python3 util-linux ca-certificates binutils bc jq tmux netcat lib32gcc1 lib32stdc++6 libsdl2-2.0-0:i386 steamcmd Add the multiverse repository and the i386 architecture: sudo add-apt-repository multiverse sudo dpkg --add-architecture i386 Update the repository to make sure new packages can be installed: sudo apt update Install the 32 bit libraries that steamcmd requires: sudo apt install lib32gcc-s1 lib32stdc++6 libc6-i386 libcurl4-gnutls-dev:i386 libsdl2-2.0-0:i386 Security Secure your game server add new user and set new password adduser cstrike_server Change to the new user sudo su cstrike_server You can find his directory on /home/cstrike_server Security tips for your server here: soon Server files Download the latest version of the server use the command: curl -sqL "https://github.com/oldstyle-community/cstrike_steamcmd/archive/refs/tags/8684.tar.gz" | tar zxvf - Set permissions: chmod -R 777 ~/cstrike_steamcmd-8684 Test if the server starts using this command, remember edit the <IP> with your vps/vds ip address: ./hlds_run -console -game cstrike +ip <IP> +port 27015 +map de_dust +maxplayers 32 +pingboost 2 +sys_ticrate 1000 In case of 'FATAL ERROR (shutting down): Unable to initialize Steam.' press CTRL+C and try again one more time the command above. Now if is working you can start the server with the command screen and if you close your ssh console the server will be on always. cd ~/cstrike_steamcmd-8684 && screen -S CSTRIKE_SERVER -X quit && screen -S CSTRIKE_SERVER -d -m ./hlds_run -console -game cstrike +ip <IP> +port 27015 +map de_dust +maxplayers 32 +pingboost 2 +sys_ticrate 1000 To leave the console wihout closing the server press: CTRL+A+D If you want to open the console back use the command: screen -r CSTRIKE_SERVER E.G. Login Failure: No Connection On linux servers, you may experience a "Login Failure: No Connection" error. This is related to missing iptables rules. You will want something along these lines: iptables -A INPUT -p udp -m udp --sport 27000:27030 --dport 1025:65355 -j ACCEPT iptables -A INPUT -p udp -m udp --sport 4380 --dport 1025:65355 -j ACCEPT iptables -A INPUT -p udp -m udp --sport 27000:27030 --dport 1025:65355 -j ACCEPT iptables -A INPUT -p udp -m udp --sport 4380 --dport 1025:65355 -j ACCEPT Done. ReHLDS or HLDS If you want to use ReHLDS scroll down to the section, if not use HLDS steps. HLDS If you want to customize your server with addons and plugins follow the steps bellow: AMX Mod X Metamod dproto Done. ReHLDS Here you can see what ReHLDS means and how to install it: https://olds.ro/topic/14729-how-to-install-rehlds-tutorial/ AMX Mod X Metamod-p Reunion Done. Sources used in this tutorial: https://olds.ro HLDS, AMX Mod X, Metamod, dproto https://developer.valvesoftware.com/wiki/SteamCMD https://www.amxmodx.org/downloads-new.php https://wiki.alliedmods.net/Installing_AMX_Mod_X_Manually CS.RIN.RU - Steam Underground Community • View topic - dproto [0.9.582] - HLDS serverside crack (22/09/2017) ReHLDS, AMX Mod X, metamod-p, reunion https://github.com/dreamstalker/rehlds https://github.com/jkivilin/metamod-p http://www.dedicated-server.ru/vbb/showthread.php?t=26486
  3. The tar command on Linux is often used to create .tar.gz or .tgz archive files, also called “tarballs.” This command has a large number of options, but you just need to remember a few letters to quickly create archives with tar. The tar command can extract the resulting archives, too. The GNU tar command included with Linux distributions has integrated compression. It can create a .tar archive and then compress it with gzip or bzip2 compression in a single command. That’s why the resulting file is a .tar.gz file or .tar.bz2 file. Compress an Entire Directory or a Single File Use the following command to compress an entire directory or a single file on Linux. It’ll also compress every other directory inside a directory you specify–in other words, it works recursively. Here’s what those switches actually mean: -c: Create an archive. -z: Compress the archive with gzip. -v: Display progress in the terminal while creating the archive, also known as “verbose” mode. The v is always optional in these commands, but it’s helpful. -f: Allows you to specify the filename of the archive. Let’s say you have a directory named “stuff” in the current directory and you want to save it to a file named archive.tar.gz. You’d run the following command: Or, let’s say there’s a directory at /usr/local/something on the current system and you want to compress it to a file named archive.tar.gz. You’d run the following command: Compress Multiple Directories or Files at Once RELATED: How to Manage Files from the Linux Terminal: 11 Commands You Need to Know While tar is frequently used to compress a single directory, you could also use it to compress multiple directories, multiple individual files, or both. Just provide a list of files or directories instead of a single one. For example, let’s say you want to compress the /home/ubuntu/Downloads directory, the /usr/local/stuff directory, and the /home/ubuntu/Documents/notes.txt file. You’d just run the following command: tar -czvf archive.tar.gz /home/ubuntu/Downloads /usr/local/stuff /home/ubuntu/Documents/notes.txt Just list as many directories or files as you want to back up. Exclude Directories and Files In some cases, you may wish to compress an entire directory, but not include certain files and directories. You can do so by appending an --exclude switch for each directory or file you want to exclude. For example, let’s say you want to compress /home/ubuntu, but you don’t want to compress the /home/ubuntu/Downloads and /home/ubuntu/.cache directories. Here’s how you’d do it: tar -czvf archive.tar.gz /home/ubuntu --exclude=/home/ubuntu/Downloads --exclude=/home/ubuntu/.cache The --exclude switch is very powerful. It doesn’t take names of directories and files–it actually accepts patterns. There’s a lot more you can do with it. For example, you could archive an entire directory and exclude all .mp4 files with the following command: tar -czvf archive.tar.gz /home/ubuntu --exclude=*.mp4 Use bzip2 Compression Instead While gzip compression is most frequently used to create .tar.gz or .tgz files, tar also supports bzip2 compression. This allows you to create bzip2-compressed files, often named .tar.bz2, .tar.bz, or .tbz files. To do so, just replace the -z for gzip in the commands here with a -j for bzip2. Gzip is faster, but it generally compresses a bit less, so you get a somewhat larger file. Bzip2 is slower, but it compresses a bit more, so you get a somewhat smaller file. Gzip is also more common, with some stripped-down Linux systems including gzip support by default, but not bzip2 support. In general, though, gzip and bzip2 are practically the same thing and both will work similarly. For example, instead of the first example we provided for compressing the stuff directory, you’d run the following command: tar -cjvf archive.tar.bz2 stuff Extract an Archive Once you have an archive, you can extract it with the tar command. The following command will extract the contents of archive.tar.gz to the current directory. tar -xzvf archive.tar.gz It’s the same as the archive creation command we used above, except the -x switch replaces the -c switch. This specifies you want to extract an archive instead of create one. You may want to extract the contents of the archive to a specific directory. You can do so by appending the -C switch to the end of the command. For example, the following command will extract the contents of the archive.tar.gz file to the /tmp directory. tar -xzvf archive.tar.gz -C /tmp If the file is a bzip2-compressed file, replace the “z” in the above commands with a “j”.
  4. De ce ar trebui folosit Linux? Este gratuit – acesta este în primul rând motivul principal. Având în vedere că acest sistem de operare este open-source, firmele îl pot folosi fără a mai fi obligate să achiziționeze licențe pentru fiecare calculator în parte. Deși nu în număr la fel de mare ca pentru Windows, se găsesc totuși în jur de 90% dintre aplicații de uz normal (pentru filme, media etc). În plus, majoritatea acestor aplicații sunt gratuite. Linux-ul nu se blochează sau se blochează foarte greu. De exemplu, am încercat să deschid un fișier text în notepad cu sute de mii de cuvinte și nu am reușit (celebra eroare cu don’t send). În schimb, Linux-ul (Kali) l-a deschis instant, fără prea mari eforturi. Există o gamă largă de distribuții Linux, pentru fiecare utilizator în parte. De exemplu, Kali se folosește pentru hacking, Ubuntu pentru o utilizare normală etc. Există și distribuții create special pentru a fi instalate pe servere. Nivelul de securitate este mult mai ridicat pe Linux decât pe Windows. Chiar și așa, și Linux-ul poate fi spart. Un alt punct care trebuie luat în considerare la capitolul securitate este administratorul cu drepturi de root. Spre deosebire de Windows unde se pot crea mai mulți utilizatori fără parole, pe Linux este creat un singur utilizator cu drepturi depline care este obligat să-și securizeze contul cu o parolă. Virușii – Deși pare greu de crezut, pentru Linux nu prea există viruși. Astfel, folosirea unui software antivirus este recomandată dar nu obligatorie. Acest lucru nu se poate spune și despre Windows. Driverele – Deși s-ar părea că driverele se găsesc greu pentru Linux, lucrurile nu stau așa. La instalarea Linux-ului pe un laptop normal o să constatați că toate driverele sunt gata instalate. Linux-ul nu are nevoie de resurse atât de mari pentru a funcționa la capacitate optimă. De exemplu, anumite versiuni de Linux pot funcționa și pe calculatoare mult mai slabe. Distribuțiile Ubuntu oferă o interfață bazată pe ferestre și un design destul de atrăgător. Astfel, poate fi folosit și de utilizatorii mai puțin experimentați. Linux dispune de o comunitate uriașă care poate ajuta utilizatorii pentru fiecare tip problemă. De ce nu ar trebui folosit Linux? Linux-ul nu ar trebui folosit de utilizatorii neexperimentați, care sunt obișnuiți cu interfețele din Windows și care se descurcă greu în utilizarea calculatorului. Limba română se găsește pe puține versiuni de Linux (spre deosebire de Windows care are pentru toate versiunile). Linux detectează și instalează automat driverele însă dacă este nevoie de o instalare manuală atunci lucrurile se complică. De exemplu, este probabil ca pentru un anumit model de laptop să nu găsim driver pentru placa de rețea. Să nu mai vorbim de instalarea acestuia. Așa cum spuneam mai sus, procesul de instalare al anumitor programe este mult mai complex decât pe Windows. Gamerii clar trebuie să folosească Windows-ul. Linux-ul dispune de puține jocuri care să se poată instala. Linux-ul dispune încă de terminal, care este indispensabil pentru utilizatorii experimentați. Pentru cei cu mai puțină experiență acest terminal devine un chin. De ce ar trebui folosit Windows-ul? Interfața este un plus important pentru Windows. Fiind un sistem optimizat pentru o administrare ușoară, Windows-ul rămâne cel mai folosit sistem de operare. Dispune de o gamă largă de softuri, atât gratuite cât și cu bani. Astfel, se poate găsi un anumit program pentru fiecare nevoie în parte. Gammerii se pot bucura de o gamă largă de jocuri complexe, mari și cu o grafică bună. Acest lucru se datorează companiilor care crează jocurile doar pe sistemul Windows. Windows-ul dispune de pachete pentru limba română pentru fiecare versiune în parte. Driverele se găsesc mult mai ușor pentru Windows decât se găsesc pe Linux. Instalarea lor se face la fel de ușor. Instalarea Windows-ului se face foarte ușor, fără a avea nevoie de cunoștințe în acest domeniu. În plus, odată cu apariția versiunilor mai noi precum Windows 8, 8.1, procesul de instalare s-a simplificat și mai mult. Pentru utilizarea Windows-ului nu este nevoie ca utilizatorul să lucreze într-un terminal De ce nu ar trebui folosit Windows-ul? Nu este gratuit. Majoritatea utilizatorilor în descarcă de pe torente și nu pot beneficia de update-urile de securitate. Astfel, sistemele lor instalate devin vulnerabile. Se mică greu pe calculatoarele mai slabe și consumă mai multe resurse decât Linxu-ul. Există viruși care nu pot fi detectați nici de antiviruși, nici de firewall Se găsesc multe aplicații pentru Windows, mai multe decât pentru Linux însă majoritatea dintre ele trebuie plătite. Ecranul albastru – Această eroare este celebră în Windows și a fost folosită pentru fiecare în parte. Deși se găsesc ușor drivere pentru componentele hardware, acestea pot duce totuși la „ecranul albastru”. Nu este open-source. Ce înseamnă acest lucru? Utilizatorii (programatorii) nu au acces la liniile de cod ale Windows-ului. Astfel, este greu de descoperit un back-door sau anumite funcționalități ascunse ale Windows-ului. Timpul îl îngreunează. Odată cu trecerea timpului, Windows-ul se mișcă din ce în ce mai greu. Astfel, este nevoie de o reinstalare periodică a acestui sistem de operare. Nu putem spune același lucru și despre Linux. (*) Cam astea sunt motivele pentru care ar trebui folosit Linux sau Windows. Fiecare utilizator decide ce sistem folosește însă alegerea acestuia poate fi influențată de anumite informații preluate de la cei care folosesc deja aceste sisteme de operare.

×
×
  • Create New...