Jump to content

gogusan

Active Members
  • Posts

    1340
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by gogusan

  1. asteptam si tutorialul promis pentru firewall
  2. Schimb backlink ascuns pr5 index (site .ro) cu pr5 minim.
  3. 1. Se instaleaza Centos 6.5 64bit ca Basic Server 2. Dezactivam selinux si dam restart nano /etc/selinux/config SELINUX=disabled reboot 3. Personal eu dezactivez si firewallul system-config-firewall-tui debifati> OK si YES 4. Adaugam Remi-repo(mai intai adaugam EPEL) cd /usr/local/src rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm activam remirepo (remi si remi-php55; puteti sa dati skip la asta daca scrieti yum --enablerepo=remi respectiv remi-php55) nano /etc/yum.repos.d/remi.repo enabled=1 (la ambele> remi si remi-php55) 5. Facem update la sistem si instalam cateva utilitare yum update -y yum groupinstall 'Development Tools' -y yum install zlib-devel pcre-devel openssl-devel -y yum install autoconf automake libtool -y 6. Instalare MariaDB mysql server Adaugam repo pt MariaDB: nano /etc/yum.repos.d/MariaDB.repo # MariaDB 5.5 CentOS repository list - created 2014-02-26 10:44 UTC # http://mariadb.org/mariadb/repositories/ [mariadb] name = MariaDB baseurl = http://yum.mariadb.org/5.5/centos6-amd64 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB gpgcheck=1 yum install MariaDB-server MariaDB-client -y chkconfig --levels 235 mysql on service mysql start mysql_secure_installation enter y parolamea parolamea y y y y service mysql restart 7. Nginx server wget http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm rpm -ivh nginx-release-centos-6-0.el6.ngx.noarch.rpm yum install nginx -y chkconfig --levels 235 nginx on usermod -a -G apache nginx service nginx start testati daca functioneaza intr-un browser: http://ip (daca nu ati dezactivat firewallul, faceti setarile necesare pt portul 80) 8. Php 5.5 - fpm server (cu zend opache inclus - nu mai este necesar instalarea APC) daca nu ati dat enable la remi-repo (remi si remi-php55) ori editati enabled ori adaugati --enablerepo=remi,remi-php55 yum install php php-fpm php-mysql php-opcache php-common pt ca nginx ruleaza sub userul nginx vom face modificarea userului si pt php-fpm nano /etc/php-fpm.d/www.conf si modificati user = apache in user = nginx chkconfig --levels 235 php-fpm on service php-fpm start service nginx restart facem un fisier php cu phpinfo in directorul web default al nginx echo "<?php phpinfo();?>" > /usr/share/nginx/html/info.php inainte de a testa trebuie sa setam nginx sa foloseasca php-fpm nano /etc/nginx/conf.d/default.conf stergem # din fata liniilor si adaugam pathul corect la root si la fastcgi_param inlocuim /scripts cu $document_root location ~ \.php$ { root /usr/share/nginx/html; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /usr/share/nginx/html$fastcgi_script_name; include fastcgi_params; } service nginx restart testam phpinfo http://ip/info.php 9. Froxlor panel --- OPTIONAL daca vreti un control panel simplu si la obiect. wget http://files.froxlor.org/releases/froxlor-latest.tar.gz tar -xzvf froxlor-latest.tar.gz mv froxlor/* /usr/share/nginx/html/ adaugam index.php in default.conf la nginx nano /etc/nginx/conf.d/default.conf location / { root /usr/share/nginx/html; index index.php index.html index.htm; #aici adaugam index.php } instalam Froxlor: http://ip "Welcome to Froxlor It seems that Froxlor has not been installed yet. Click on the link below to start the installation." Click pe Start Install PHP bcmath-extension... not installed Traffic-calculation related functions will not work correctly!" yum install php-bcmath il va instala din remi-php55 (nu uitati ca daca nu ati dat enable la remi repo sa folosit --enablerepo=remi,remi-php55 la comanda yum) service php-fpm restart service nginx restart accesati iar instalarea Froxlor dupa ce completati toate campurile acolo (userul si db le creaza el, voi doar introduceti parola de mysql root) Checking MySQL-root access... OK Preparing database... OK Creating database and username... OK Testing if database and user have been created correctly... OK Importing data... OK Adjusting settings... OK Inserting new values... OK Creating admin-account... OK Creating configfile... File was saved in /tmp/userdata.inc.php, please move to lib/. mv /tmp/userdata.inc.php /usr/share/nginx/html/lib/ ATENTIE: in acest fisier sunt stocate parolele deci modificatii drepturile de citire (exemplu: doar userul root are dreptul de a citi fisierul) chown root.apache /usr/share/nginx/html/lib/userdata.inc.php mergeti inapoi pe pagina si dati click pe Click here to login. accesati Settings si modificati ce va intereseaza (de exemplu la webserver la php-fpm by default e pus 127.0.0.1:8888 si noi avem pe portul 9000) daca accesati Configuration va va indica modele de configurare( NU EXISTA CFG PENTRU CENTOS dar puteti adapta de la ubuntu 12.04 de exemplu) LE: mutati va rog topicul ca am gresit sectiunea:) // edit: done
  4. lasati ba prostiile si faceti ceva util cu viata voastra
  5. Routerul este NOU ! Pret: 500 lei
  6. gasesti niste PR-uri destul de bune
  7. - am scris ca e protectie minima (nu toata lumea stie sa faca filtrare cum trebuie cu iptables, defapt nici eu nu stiu ) - unele firme de hosting care au hexacoreuri poti cumpara cate core-uri vrei pt vps - multi_accept on produce aglomerare doar daca ai worker_connection prea mic, gen 1024 dar pentru 10k+ merge pe on (parerea mea personala) syctl: net.ipv4.ip_local_port_range = 2000 65000 net.ipv4.tcp_window_scaling = 1 net.ipv4.tcp_max_syn_backlog = 3240000 net.core.somaxconn = 3240000 net.ipv4.tcp_max_tw_buckets = 1440000 net.core.rmem_default = 8388608 net.core.rmem_max = 16777216 net.core.wmem_max = 16777216 net.ipv4.tcp_rmem = 4096 87380 16777216 net.ipv4.tcp_wmem = 4096 65536 16777216 net.ipv4.tcp_congestion_control = cubic mai mari?
  8. max concurenti = 4x64000 Ce inseamna? worker_processes 4; #4 core CPU worker_cpu_affinity 0001 0010 0100 1000; #fiecare proces nginx pe cate 1 core pt 5 core worker_cpu_affinity 0001 0010 0100 1000 0011; eu personal nu folosesc cpu_affinity, ii las sa mearga pe ce core vrea pl lor events { worker_connections 64000; [B][COLOR="#FF0000"] use epoll; (pt kernel 2.6.x + ) multi_accept on;[/COLOR][/B] } pt protectie minima DDOS docs aici: Module ngx_http_limit_conn_module Module ngx_http_core_module exemplu personal: nginx conf http { ... limit_req_zone $binary_remote_addr zone=bbddosphp:10m rate=1r/s; limit_req_zone $binary_remote_addr zone=bbddos:10m rate=10r/s; ... } vhost conf server { ... location / { index index.php index.html index.htm; limit_req zone=bbdos burst=10; } ... location ~ \.php$ { ... limit_req zone=bbddosphp burst=2; } ... }
  9. Percona nu pune mare accent pe MyISAM, mai degraba folositi mariaDB care e InnoDB-MyISAM must have la ora actuala (arunca un ochi si pe versiunea 10 > mariaDB 10.) uite aici un benchmark frumos: MySQL Benchmarks: MySQL 5.5.11 vs Percona 5.5.10-20.1 vs MariaDB 5.2.5 - InnoDB and MyISAM | vbtechsupport.com
  10. frumos reportajul dar cum ramane cu comanda vietii? $ sudo apt-get install iproute apt-get: command not found
  11. comanda e dmesg | grep tty root@zeus:/var/spool/sms# dmesg | grep tty [ 0.000000] console [tty0] enabled [ 0.726177] tty tty18: hash matches [ 5.802123] cdc_acm 2-2:1.8: ttyACM0: USB ACM device [ 90.771604] cdc_acm 2-2:1.8: ttyACM0: USB ACM device root@zeus:/var/spool/sms# in cazul meu nokia 6680i = ttyACM0
  12. cu tot cu monitor le dai? *nu m-am putut abtine scz:)
  13. personal va recomand nginx daca nu aveti multe domenii hostate (bataie de cap cu rewriteul) si fata de lightspeed e MOCA (LS moca = no cache) LE: si daca vreti si un cpanel destul de simplu si u-friendly va recomand: froxlor
  14. FB: * sa fie conturi reale(si cu activitate) de persoane din Romania(sau persoane care vorbesc limba romana) * pentru inceput cumpar intre 3000 - 50 000 (pret negociabil, 30% inceput / 70% la sfarsit - daca o sa colaboram pe o perioada mai lunga, 100% la inceput platesc) * daca sunt multumit de serviciu colaboram pe mai departe (aprox. 2mil) Trafic RO: * astept oferte NB: Private message only (nu raspund la reply-uri in topic)!!! NB2: prefer o persoana din Bucuresti (face 2 face deal)/provincie (maxim 200km distanta)
  15. io.kent esti doar un LEACHER AMARAT, da-ti delete la cont!(ai 374 de posturi de leaching, adica de kkt). bye subscriu B3st
  16. sursa?
  17. cum ba sa scrii "imail" ??? Doamneee, manelistii dracului...
  18. https://rapidshare.com/#!download|95p4|380268574|www.blackhatteam.com.UBot.Studio.3.00086.rar|823|0|0 pass: http://www.blackhatteam.com si data viitoare foloseste GOOGLE si nu mai invia topicuri de mult apuse!
  19. site-ul asta cred ca a fost postat de 198471294827198321 ori... si cand pui by ano.... nu ne arata decat ca daca "as pune mintea ta la o capra, ar paste pe asfalt"
  20. foarte bun. testat la mine pe WEP si WPS!
  21. nush cum plm dar am tras cat de sus a mers mouseul si l-am nimerit in gura.
  22. daca nu ar mai fi oameni care iau stealere si programe infectate ar disparea multi antivirusi(si multe alte servicii), nu? lantul trofic!
  23. de ce sa nu folosesti ceva moca ca Adblock Plus, merge foarte bine daca il si setezi corespunzator, plus ca poti bloca debloca anumite ads-uri dupa cum vrei.
  24. gogusan

    Fun stuff

  25. smichiria ii ca pi windouz ixpe dai "START -> RUN -> CMD ( si tastezi )" si pi windouz sapti dai "START -> CMD ( si tastezi )" (fara ghilimeli la insheput shi sfarshit)
×
×
  • Create New...