Skip navigation

Category Archives: linux

cp /opt/SickGear/init-scripts/init.systemd /usr/lib/systemd/system/sickgear.service
chmod a+x /usr/lib/systemd/system/sickgear.service
//fix path on botton of script if using defult username, groups, paths
vi /usr/lib/systemd/system/sickgear.service
systemctl enable sickgear.service
systemctl start sickgear.service
systemctl status sickgear.service

reboot to verify!

Reklamy

Just execute in shell:

/sbin/vs_refresh

Aby przyśpieszyć odbudowę macierzy w QNAPie:
Zaloguj się SSH:
Odczytaj prędkości:

cat /proc/sys/dev/raid/speed_limit_max
cat /proc/sys/dev/raid/speed_limit_min

Zwiększ:

echo 50000 >/proc/sys/dev/raid/speed_limit_min
echo 150000 >/proc/sys/dev/raid/speed_limit_max

Informacje o odbudowie:
cat /proc/mdstat

while true; do date +"%T";cat /proc/mdstat; sleep 5; done

Za :
http://forum.qnap.com/viewtopic.php?f=11&t=10268&sid=782cd3288a8a8f28c69161bdd5eb60b8&start=15

@"F:\Program Files (x86)\WinSCP\winscp.com" /command "option batch on" "option confirm off" "open Sored.pl" "put F:\zxc\torrent /home/pigers/rtorrent/watch" "exit"
@F:
@cd \zxc\torrent
@del *.torrent /q

How to mount a Samba (Windows) file share to a folder in Ubuntu Linux
17 Apr 2009

To mount a Samba (Windows) file share to a folder in Ubuntu Linux, you need to have Samba Filesystem Support installed. The easiest way to do this is via apt-get on the command line:

sudo apt-get install smbfs

After the installation has finished, create a directory that the Samba share will be mounted to (e.g. „windows_share” in the „/mnt” directory):

sudo mkdir /mnt/windows_share

Finally, use the mount command to mount the remote shared folder to your newly created directory (change the IP address, paths, username and password in the example below as needed):

sudo mount -t smbfs //10.0.0.100/shared_folder/
/mnt/windows_share -o username=Guest,password=

To unmount the Samba share, use the umount command (change the path in the example below as needed):

sudo umount /media/windows_share

To automatically mount the Samba share when you boot up your computer, you’ll need to edit your „/etc/fstab” file as detailed on this page on the Ubuntu Forums.

The setting you are looking for can be found in /etc/default/grub.

Edit the line GRUB_TIMEOUT=10 to your needs, and run sudo update-grub afterwards.

Znaleziono na : http://ubuntuforums.org/showpost.php?p=8241248&postcount=2

sudo apt-get install nethogs

użycie:

sudo nethogs

wyjście klawisz Q

cd /
sudo mkdir SERWIS
sudo mkdir KLIENCI
sudo chmod -R ugo+rw SERWIS KLIENCI

%d blogerów lubi to: