Jump to content

Recommended Posts

Apt este managerul de pachete pe distributii bazate pe Debian, asta include Kali, Ubuntu, Elementary,.....

Cateva comenzi utile...

Update Repositories

Updateaza lista de pachete disponibile pe sursele configurate.

apt-get update

Install/Remove Software

apt-get install blah

apt-get remove blah 

Din cate imi amintesc remove nu sterge filele de configuratie ale programului. Daca le vrei stese inlocuieste cu purge

Search for Software

apt-cache search blah

Update Installed Software

apt-get upgrade

sau

apt-get dist-upgrade

Daca vrei doar sa vezi ce pachete sunt disponibile foloseste -s

Diferenta dintra upgrade si dist-upgrade

upgrade

upgrade is used to install the newest versions of all packages

currently installed on the system from the sources enumerated in

/etc/apt/sources.list. Packages currently installed with new

versions available are retrieved and upgraded; under no

circumstances are currently installed packages removed, or packages

not already installed retrieved and installed. New versions of

currently installed packages that cannot be upgraded without

changing the install status of another package will be left at

their current version. An update must be performed first so that

apt-get knows that new versions of packages are available.

dist-upgrade

dist-upgrade in addition to performing the function of upgrade,

also intelligently handles changing dependencies with new versions

of packages; apt-get has a "smart" conflict resolution system, and

it will attempt to upgrade the most important packages at the

expense of less important ones if necessary. So, dist-upgrade

command may remove some packages. The /etc/apt/sources.list file

contains a list of locations from which to retrieve desired package

files. See also apt_preferences(5) for a mechanism for overriding

the general settings for individual packages.

In rest citeste manualul, contine informatii despre tot ce vrei.

man apt

==BONUS/OFF==

Am gasit o extensie de chrome tampa care inlocuieste God cu Nicholas Cage. Enjoy!

https://chrome.google.com/webstore/detail/nicolas-cage/fjgbnnhgejbfgfbofeohlffjlpceejlm?hl=en

Mersi ,cand incerc sa instalez python imi spune ca deja este instalat ,dar nu il gasesc absolunt nicaieri.

Link to comment
Share on other sites

ai 2 variante de a lansa executabile:

prima presupune lansarea executabilelor scriind path-ul complet al executabilului si apasand enter

a 2a variante presupune sa scrii numele executabilului ( accesezi un fel de shortcut care defapt iti executa executabilul aferent din directorul in care se regaseste acesta)

in linux ai variabile de mediu, una e $PATH, cand pui ceva in ea (full-path spre executabile), o sa ai un shorthand (o sa poti executa ceva fara sa scrii path-ul complet)

kQqoDbj.png

Link to comment
Share on other sites

heeeeeeeelp!

cine ma ajuta si pe mine cu niste pasi despre cum pot instala CNTLM din surse pe centos7.

eu am incercat si nu prea mi-a iesit.

multumesc!

Cntlm Authentication Proxy - Browse /cntlm/cntlm 0.92.3 at SourceForge.net

install

> rpm -ivh cntlm-*.rpm

iei hash-ul

> cntlm -H -d domeniu -u user

faci setari si bagi si hashul la PassNTLMv2

/etc/cntlm.conf - modifica ce vrei tu p'aici

> nano ~/.bashrc

export http_proxy=http://127.0.0.1:3128

export https_proxy=${http_proxy}

export ftp_proxy=${http_proxy}

> chkconfig cntlmd on

> service cntlmd start

eu am pus pe 1 vps si a fost ok, centos 6.6

Link to comment
Share on other sites

Salut.

Am instalat Arch Linux.

Toate bune si frumoase pana in momentul cand am vrut sa instalez lxde.

Imi da eroarea: retrieving bla bla...

Nu se descarca niciun pachet. (Conexiune la internet prin fir de la router nu wireless, deci posibilitatea de conexiune slaba pica)

Ori sunt eu cretin ori ce se intampla?

Multumesc.

Link to comment
Share on other sites

tar -xvzf numeprogram.tar.gz

sau

tar -xvzf numeprogram.tar.gz -C /folder/

1. Mi-a extras skype-ul intr-un folder,cum pornesc skype-ul ?

2.Comenzile in terminal sunt diferite in functie de versiunea de linux?

sa-l extragi undeva specific.

Daca programelul tau e in extensia .bz2 foloseste

tar -xvjf numeprogram.tar.bz2

1.Mi-a extras skype-ul intr-un folder,cum pornesc skype-ul ?

2.Comenzile in terminal sunt diferite in functie de versiunea de linux?

Link to comment
Share on other sites

Salut, am si eu un VDS kvm cu 2 ip-uri ruleaza Debian 8.2 si as dori sa stiu cum sa setez ca sa pot folosi si cel de al 2-lea ip

, cel principal deja este folosit pentru diverse lucruri de a le mele , iar pe cel de al doilea as vrea sa imi pun bright panel

IP PRINCIPAL: 89.41.**.**

IP SECUNDAR: 89.42.25.55

Link to comment
Share on other sites

Salut, am si eu un VDS kvm cu 2 ip-uri ruleaza Debian 8.2 si as dori sa stiu cum sa setez ca sa pot folosi si cel de al 2-lea ip

, cel principal deja este folosit pentru diverse lucruri de a le mele , iar pe cel de al doilea as vrea sa imi pun bright panel

IP PRINCIPAL: 89.41.**.**

IP SECUNDAR: 89.42.25.55

editezi /etc/network/interfaces


auto eth0
iface eth0 inet static
address 89.41.*.*
netmask 255.252.0.0
gateway 89.41.0.1

auto eth0:0
iface eth0:0 inet static
address 89.42.25.55
netmask 255.252.0.0

apoi service networking restart

Link to comment
Share on other sites

Acuma alta intrebare, cum as putea porni si sa adaug la exceptii portul 27015 , si 9987 respectiv 9101 , debian 8.2

aolooo, counter strike :)))

creezi un fisier /etc/init.d/pulamea.sh


#!/bin/bash
iptables -A INPUT -p UDP --dport 27015 -j ACCEPT
comanda1
comanda2
....
comandaN

chmod +x /etc/init.d/pulamea.sh

update-rc.d pulamea.sh defaults 100

that should be it.

Link to comment
Share on other sites

up

EDIT:\\ Am instalat Arch Linux.

Toate bune si frumoase pana in momentul cand am vrut sa instalez lxde.

Imi da eroarea: retrieving bla bla...

Nu se descarca niciun pachet. (Conexiune la internet prin fir de la router nu wireless, deci posibilitatea de conexiune slaba pica)

Ori sunt eu cretin ori ce se intampla?

Multumesc.

Link to comment
Share on other sites

Salut,

Am incercat acum cateva zile sa-mi fac DNS-uri pe Debian cu Bind9 si dupa multe incercari nereusite se pare ca pana la urma site-ul e up si e hostat pe DNS-urile alea. Acum urmatoarea problema, vreau sa adaug alte domenii la DNS si nu stiu cum. N-am gasit nici un sample de pe care sa ma ghidez. Am facut configurarile urmarind tutorialul asta.

P.S. Am vrut sa pun paste din "/etc/bind/named.conf.options" , "/etc/bind/named.conf" si /etc/bind/zones/domain.db dar nu are rost. Sunt exact ca in linkul de m-ai sus, doar am inlocuit domeniul si IP-ul.

Multumesc.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...