3korre.se

by ekorrar for ekorrar!

User Tools

Site Tools


data

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
data [2016/04/28 10:39]
ekorre
data [2019/11/24 21:33]
ekorre
Line 1: Line 1:
-===== Tech / IT =====+__false__
  
-^Linux ^Windows ^Mac ^IT Övrigt ^Teknik | 
-|{{:batmantux.png?150}} |{{::6874.5_5f00_01c91ebc.png?150|}} |{{::apple-logo.png?150|}} |{{::my-pc.png?150|}}| {{:teknik.png?150|}} | 
-|[[:Linux_setup|Linux Setup]] |[[:Win_backup|Backup script]] |[[:mac_terminal|Terminal comands]] | [[:it_synology|Synolygy]] | [[:tech_ref|Referenses]] | 
-|.|.|.|.|.| 
-==== Linux ==== 
- 
-  * Viktiga Filer att göra backupp pÃ¥. 
- 
-<code> 
-/etc/hosts 
-/etc/group 
-/etc/rc.d/rc.local 
-/etc/sysconfig/network-scripts/ifcfg-eth0 
-/etc/ssh/sshd_config 
-/etc/samba/smb.conf 
-/etc/httpd/conf/httpd.conf 
-</code> 
- 
-  * TillÃ¥t inte root att logga in: 
- 
-<code> 
-/etc/ssh/sshd_config | :/PermitRootLogin no// 
-/etc/init.d/sshd restart 
-</code> 
- 
-==== Mac ==== 
- 
-  * Läsa loggen 
- 
-<code> 
-/var/log 
-tail -f system.log bookstore.log 
-</code> 
- 
-==== Synology ==== 
- 
-  * Lägga till Loopia DNS. (([[http://sodermalm.net/?p=8|http://sodermalm.net/?p=8]])) 
- 
-Editera och lägg till entry i slutet i /etc.defaults/ddns_provider.conf 
- 
-<code> 
-[Loopia.se] 
- modulepath=DynDNS 
- queryurl=dns.loopia.se/XDynDNSServer/XDynDNS.php?hostname=__HOSTNAME__&myip=__MYIP__ 
-</code> 
- 
-==== Windows ==== 
- 
-Mappa Nätverksenhet: net use x: \\**server**\**share**  /user **username**  **password** 
- 
-Backupscript: 
- 
-<code file backupwin.bat> 
-@echo off 
-:drive 
-set /p drive=Enhet(d:, e:, f:, g:, h:)?: 
- 
-set drive=%drive%\%USERNAME% 
-set backupcmd=xcopy /s /c /d /e /h /i /r /y 
- 
-echo Filerna skrivs till %drive% 
- 
-echo ################################### 
-echo ### Kopiera Mina Dokument     ##### 
-echo ################################### 
-echo . 
-echo . 
-ºckupcmd% "%USERPROFILE%\Documents" "%drive%\Documents" 
-echo - 
-echo - 
-echo - 
-echo - 
-echo ################################### 
-echo ### Kopiera Skrivbordet         ### 
-echo ################################### 
-echo . 
-echo . 
-ºckupcmd% "%USERPROFILE%\Desktop" "%drive%\Desktop" 
-echo - 
-echo - 
-echo - 
-echo - 
-echo ################################### 
-echo ### Kopiera  Favoriter          ### 
-echo ################################### 
-echo . 
-echo . 
-ºckupcmd% "%USERPROFILE%\Favorites" "%drive%\Favoriter" 
- 
-echo Backup Complete! 
-@pause 
-</code> 
- 
-\\ 
data.txt · Last modified: 2019/11/24 21:44 by ekorre