Skip navigation

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

mkdir /mnt/win7/test
chmod 777 /mnt/win7/test
mount.cifs //Server/Share /mnt/win7/test -o username=xxx,password=xxx

Just execute in shell:

/sbin/vs_refresh

Boot failed: Could not read from CDROM (code 0004)

// – Here are the cdrom boot failure codes:
// 1 : no atapi device found
// 2 : no atapi cdrom found
// 3 : can not read cd – BRVD
// 4 : cd is not eltorito (BRVD)
// 5 : cd is not eltorito (ISO TAG)
// 6 : cd is not eltorito (ELTORITO TAG)
// 7 : can not read cd – boot catalog
// 8 : boot catalog : bad header
// 9 : boot catalog : bad platform
// 10 : boot catalog : bad signature
// 11 : boot catalog : bootable flag not set
// 12 : can not read cd – boot image

Code 4 = not boot disk … get better iso or disk

@net use \\NAZWA_SERWERA /user:admin haslo123
@net use z: \\NAZWA_SERWERA\Filmy
@net use x: \\NAZWA_SERWERA\Music
@net use y: \\NAZWA_SERWERA\Multimedia

HowTo:
Replace NAZWA_SERWERA with Your server name (Lenovo, NAS etc) then change username (admin) to correct one, same with password.
Names after \\NAZWA_SERWERA\ are names which can be seen when browsing via Explorer \\NAZWA_SERWER.
Save that as „disk.cmd” with encoding UTF8.

Enjoy.

      visudo – allow user switch to sudo without typing password

 

      put line last in file

username ALL=(ALL) NOPASSWD: ALL

      Use OpenSSH Keys – leave passwords in safe

 

      generate password in putty or ssh-keygen

 

      secure .ssh/authorized_keys by at least

chmod 600 authorized_keys

    -rw——- 1 xxxx yyyyy 729 Jun 5 19:29 authorized_keys
    Install Webmin

echo "deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib" >> /etc/apt/sources.list
cd /root
wget http://www.webmin.com/jcameron-key.asc
apt-key add jcameron-key.asc
apt-get update
apt-get install webmin

As powershell:
get-winevent -FilterHashTable @{logname="Application"; id="1001"}| ?{$_.providername –match "wininit"} | fl timecreated, message | out-file C:\CHKDSKResults.txt

Result can be seen on C:\CHKDSKResults.txt

Skrypty:
Read More »

Just read more

Read More »

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut quis tempus leo, nec fringilla nisi. Vestibulum eleifend, leo at ullamcorper accumsan, leo sem congue nibh, congue volutpat lorem justo quis lorem. Quisque sodales purus libero. Phasellus consectetur euismod tellus in feugiat. Maecenas rutrum, mauris eu posuere vehicula, nisl dui pharetra ligula, vel sodales odio sapien in odio. Maecenas quam leo, rutrum vel hendrerit at, vehicula et est. Nulla interdum, purus nec sodales bibendum, dui elit volutpat magna, porttitor tincidunt nibh enim eu augue. Vestibulum accumsan vitae sapien nec luctus. Nullam volutpat metus a ante scelerisque, non pharetra ante pellentesque. Cras et fringilla nisl. Suspendisse a condimentum nisl. Fusce purus diam, vehicula nec velit id, semper fermentum augue.

Maecenas ac auctor tortor, cursus pharetra leo. Cras consequat dui ac felis ullamcorper, eu dictum justo volutpat. Curabitur condimentum imperdiet dolor vel rutrum. Etiam non imperdiet ante. Proin venenatis eros ante, sed tincidunt velit rhoncus non. Nulla mi sem, cursus et sollicitudin nec, dapibus sit amet lectus. Vivamus in lectus eu eros lacinia luctus vel eget quam. Integer tristique turpis diam, vitae tincidunt ligula aliquet sit amet. Donec et diam ac dolor dignissim ultrices. Quisque auctor sem non ipsum adipiscing lobortis at ut nibh. Mauris a dolor malesuada ligula rutrum varius id vitae purus. In nec augue pharetra, pretium magna ut, ultricies erat. Maecenas sed ipsum rutrum, faucibus purus a, aliquam sapien. Read More »

%d blogerów lubi to: