Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
output.icecast( %mp3(bitrate=96), mount="/radio-96.mp3", genre="electronic", description="ITUnix Radio Electronic Music", name="ITUnix Radio", url="http://radio.itunix.eu", host="localhost", port=8147, password="PASSWORD", radio) example 2 output.icecast(…
-
What can I say, a simple way to backup remote server on the local machine rsync -aHxv root@remote.example.com:/* /local/backup/server/ \ --exclude=/dev \ --exclude=/proc \ --exclude=/sys \ --exclude=/tmp
-
Step 1.
-
To open all files, in which a specific string is found, from inside of a directory (and subdirectories) open Geany, select Terminal tab from Message Window and run next command inside: grep -rHIF --exclude='/home/modinfo/bitcoin/*~' -- 'text_to_find' /bin…
-
following error: make: Nothing to be done for `first`.
-
Wonder it’s called “Liquidsoap”.
-
** Pre-Installation ** First, download the UnrealIRCd source, located here wget http://www.unrealircd.com/downloads/Unreal3.2.10.1.tar.gz wget http://www.unrealircd.com/pgp/Unreal3.2.10.1.tar.gz.asc After you install it, run a few checks on the gzip file…
-
From synchtube.itunix.eu:1337 to synchtube.itunix.eu server { # listen 66.225.195.83; server_name synchtube.itunix.eu; access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; location / { proxy_pass http://synchtube.itunix.eu:1337; proxy…
-
root@nsa310:~# ping -bash: ping: command not found here is simple solution # aptitude install inetutils-tools inetutils-ping test it root@nsa310:~# ping 127.0.0.1 PING 127.0.0.1 (127.0.0.1): 56 data bytes 64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.…
-
$ ssh -4 -N -D 1025 root@server.com 1025 is a proxy port (localhost:1025)
-
how to use?
-
Install: save code to /usr/bin/screenshot Usage: screenshot 5 five us for 5sec countdown #!
-
How to install?
-
for user in $(cut -f1 -d: /etc/passwd); do echo $user; crontab -u $user -l; done for user in $(cut -f1 -d: /etc/passwd); do echo $user; crontab -u $user -l; done
-
aptitude install ircd-irc2 nano /etc/ircd/ircd.conf M:irc.
-
$value = 'aaa'; echo $value=='aaa' ?
-
add or remove programs from startup without effort, thanks rcconf!
-
Ban an IP address (IP address cannot be entered on the server) # iptables -A INPUT -s 1.2.3.4 -j DROP Ban an IP address (cannot be accessed from the server on the IP) # iptables -A OUTPUT -s 1.2.3.4 -j DROP Delete Rule by Chain and Number # iptables -L --…
-
install sox and mp32ogg from you repository convert ogg to mp3 sox file.ogg file.mp3 convert mp3 to ogg mp32ogg musicsong.mp3
-
find .
-
convert input.jpg -colorspace gray \( +clone -blur 0x2 \) +swap -compose divide-composite -linear-stretch 5%x0% output.jpg
-
On the “music server” sudo apt-get install openssh-server mplayer On the your computer ssh <username>@<serverip> cd /path/to/music/files If you want to play only one song mplayer song.mp3 If you want to play the whole directory mplayer *.mp3 In case of mu…
-
#minute (0-59), #| hour (0-23), #| | day of the month (1-31), #| | | month of the year (1-12), #| | | | day of the week (0-6 with 0=Sunday). #| | | | | commands */5 2 * * 0,4 sh /home/mod/script.sh >/dev/null 2>&1`
-
Disable ping reply temporarily echo "1" > /proc/sys/net/ipv4/icmp_echo_ignore_all Enable the ping reply back echo "1" > /proc/sys/net/ipv4/icmp_echo_ignore_all
-
-c = length of the password < /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c10 generating random txt < /dev/urandom tr -dc [:print:] | head -c10000 > lol.txt
-
A simple way to add extra memory to your machine .
-
:%s/OLDTEXT/NEWTEXT Example :%s/192.168.0.101/192.168.0.110
-
convert -delay 200 -quality 20 -size 200 -loop 0 <images> <gifImage.gif> Example convert -delay 200 -quality 20 -size 200 -loop 0 /home/images/*.png ~/gifImage.gif
-
scp filename.zip user@server:path Example cd /home/dates/ scp data.zip root@192.168.0.100:/var/www/
-
nmap -p80 192.168.0.0/24 -oG - | grep 80/open Example [modinfo@arch-pc ~]$ nmap -p80 192.168.0.0/24 -oG - | grep 80/open Host: 192.168.0.1 (router) Ports: 80/open/tcp//http/// Host: 192.168.0.100 (aaa) Ports: 80/open/tcp//http/// Host: 192.168.0.126 (nsa3…
-
Creating a tar archive tar -cvf archiveName.tar directoryToPack/ or tar -cvf archiveName.tar /dir1 /dir2 file1 file2 or tar -cvf archive.tar /dir/music /dir/photos /dir/text.txt Unpacking tar tar -zxvf archiveName.tar You can also unpack single files or d…
-
In /etc/php5/apache2/php.ini as someone already can upload phpshell it will not do too much… disable_functions = exec, shell_exec, system, popen, passthru, escapeshellarg, escapeshellcmd, proc_close, proc_open, ini_alter, dl, popen, show_source, set_time_…
-
Installing ejabberd: aptitude install ejabberd Configuration: nano /etc/ejabberd/ejabberd.cfg Find and change the line: {acl, admin, {user, "YOURNAME", "YOURDOMAIN"}}.
-
iptables -A INPUT -p tcp --syn --dport 80 -m connlimit --connlimit-above 10 -j REJECT --reject-with tcp-reset
-
Show all php error in php file error_reporting(E_ALL); ini_set('display_errors', '1');
-
Search for files and directories given text grep -i -n -r 'Search string' /var/www/path/ Shows how many times is the search text in the text and returns the result in numbers. cat access.log|grep 'Search string' | wc -l Remove all .gz from /var/log/ find…