reference etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster
reference etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster

20 Kasım 2010 Cumartesi

op5 custom

1.----

opt]# vi /opt/monitor/op5/ninja/application/controllers/ninja.php

op5 portal burda sol menudekini degistir.



2.----

ServerName https://10.x.x.x

Redirect permanent / http://www.xxxx.com/


i ekle httpd/conf.d/xxx.conf adi altinda. bu op5 portal linkini kaldiriyor







3.----

backup lar /root altina atiliyor



4.----

/opt/monitor/op5/ninja/application/views/themes/default/css/default/images/login.png

ahanda burda login ekranindaki logo



5.----

Lisans icin bu dosyadaki her satiri comment le. 

monitor/share/op5/ninja/application/addons/license/ninja_license.js



6.----

mail notification lar bu dizin altinda. 

/opt/monitor/op5/notify/skins.mail



7.----

/opt/monitor/op5/ninja/application/views/themes/default/icons/icon.png

bu icon kucuk logo icon. degistir telenitiy.icon.png ile



8.----

 16x16

/opt/monitor/op5/ninja/application/views/themes/default/icons/16x16/favicon.ico



9.----

/opt/monitor/op5/auto-reports/lib_mail.php

icinde schedule reports daki mail from op5Monitor u degistirebiilrsin.





10.----

Open your php.ini file

EDIT: max_execution_time = 120

Save and restart httpd



11.---- 

icinde op5 Monitor gecenler

/opt/monitor altinda

op5/reports/gui/sla/sla.php

op5/reports/gui/sla/index.php

op5/reports/gui/op5build/collax/build.in

op5/reports/gui/avail_setup.php

op5/ninja/application/views/themes/default/backup/list.php

op5/ninja/application/config/config.php

op5/auto-reports/autoreports.spec.in

op5/auto-reports/include/auto-reports.inc.php

op5/auto-reports/op5build/monitor-autoreports.list.in

op5/auto-reports/op5build/collax/build.in

op5/auto-reports/monitor-autoreports.spe

25 Ekim 2010 Pazartesi

Vpn setup on Linux

sudo apt-get install network-manager-gnome network-manager-pptp

sudo apt-get install network-manager-vpnc

sudo apt-get install network-manager-openvpn

sudo apt-get install pptp-linux

sudo NetworkManager restart

https://wiki.ubuntu.com/VPN

19 Ekim 2010 Salı

craigslist image

<img src="http://www.xxx.com/logo.jpg">

sed reference

http://www.faqs.org/docs/abs/HTML/sedawk.html

VI quick reference

Avleen's quick reference card for vi(m)



If you learn the first 3 paragraphs you shouldn't have any problems in vi.



The rest are 'nice' and show the true power of the vi editor.



I'm sure Emacs has similar power, and those comfortable with using it



are probably going to continue to use it.



This card is for those who are new to vi, forced to use vi, or just anyone



who wants to learn about vi.







I would highly recommend learning the first 2 paragraphs at learn, so you



can do the simplest editing on any unix box you're sat at.



vi is very easy to use, really! Once you realise what you're doing.



Here's a quick breakdown:



i) When you open vi, or press 'esc', you go into 'command mode'



This mode lets you enter a key to preform one of the fuctions



that are listed below



ii)A lot of the rest of the time, you'll be in text editing



/ inserting mode



As a point of reference, commands which begin with a colon (':'), are not



native vi commands, but ed commands.







Key Command







Esc Escape back to command mode where you can enter



another key-combo, or quit







INSERTING TEXT:



i Enter text before the char that is higlighted



I Enter text before the first character on the line



a Enter text after the char that is highlighted



A Enter text after the last character on the line



o Insert a new line after the line you're currently on



O Insert a new line before the line you're currently on



:r Insert all the text from at the cursor







SAVING, NOT SAVING, EXITING AND PRINTING:



ZZ Save and exit



:wq Save and exit



:q! Don't save, but exit anyway



:wq! Force the save and exit (eg, if the file is read only)



:!lp % Print the current file







MOVING AROUND:



$ Move to the end of the current line



^ Move to the start of the current line



h Move left one character



j Move down one one



k Move up one line



l Move right one character



w Move to the start of the next word



e Move the the end of the next word



b Move to the start of the last word



G Move to the end of the file



H Move to the top of the visible screen



L Move to the bottom of the visible screen



: Jump to line







SEARCHING:



/ Search forwards for '' (This is case sensetive!)



? Search backwards for '' (This is case sensetive!)







TEXT MANIPULATION:



u Undo the last command



. Redo the last command



J Join the next line with text, to the end of the current line



All newline characters are replaced by a single space



:%s/foo/bar/g Replace all instances of 'foo' in the file with 'bar'



:^,$s/foo/bar/g Replace all instances of 'foo' on the current line with 'bar'



:1,^s/foo/bar/g Replace all instances of 'foo' from line 1 of the file to the



start of this line with 'bar'



dd Delete the current line



cc Clear the current line



yy Copy the current line to the buffer



p Paste the buffer to this location



x Delete the character under the cursor



Perform the action specified by the key, of times



Eg, the command '3d' deletes the next 3 lines







Spell checking:



If you have aspell installed:



map ^T :w!:!aspell check %:e! %



The '^T' is a literal control+T.



To get this, first press CTRL+v, then press CTRL+T



If you have ispell installed:



map ^T :w!:!ispell %:e! %



The '^T' is a literal control+T.



To get this, first press CTRL+v, then press CTRL+T







VIM commands:



These commands a useful if you have VIM (Vi IMproved). This is the default 'vi'



on Linux:



:map Map a key to a set of keystrokes



:syntax on/off Turn on/off syntax highlighting. Useful for editing code.



:set tw= Set the linewrapping to characters



:set ai/noai Turn on autoindenting/Turn off autoindenting (paragraph editing)