Giter VIP home page Giter VIP logo

tipcommands's Introduction

tipCommands

Find a text and reemplace, recursive:

 find . -type f -exec sed -i 's/TEXT_TO_FIND/\\TEXT\\TO\\REEMPLACE/g' {} \;

Para Error opening terminal: xterm-256color

# export TERM=xterm

Para permitir conexiones externas:

# service nscd start

Para resolver los nombres de domino:

  # vim /etc/resolv.conf  
  	nameserver 8.8.8.8	

Proxy

set PROXY_HTTP=http://proxy4.unal.edu.co:8080

Para instalar fuse-sshfs se necesita primero fuse

# yum install fuse

luego con el archivo rpm fuse-sshfs-1.7-2.el5.kb.src.rpm ftp://ftp.pbone.net/mirror/centos.karan.org/el5/extras/testing/SRPMS/fuse-sshfs-1.7-2.el5.kb.src.rpm

# rpm -ivh fuse-sshfs-1.7-2.el5.kb.src.rpm
# rpmbuild -bb /usr/src/redhat/SPECS/fuse.spec

Finalmente, installar los rmps que se han compilado:

cd /usr/src/redhat/RPMS/x86_64 (replace ‘x86_64’ with your arch, if necessary)
rpm -Uvh fuse-sshfs-1.7-2.x86_64.rpm

For backups of database using rsync - exporter

# rsync --help | grep remove-
   --remove-source-files   sender removes synchronized files (non-dirs)

Si no se encuentra la opción: --remove-source-files es neceserio instalar una versión actualizada de rsync

# yum install rsync

SET mirros from Fedora in /etc/yum.repos.d/CentOS-Base.repo

[extras]
name=Fedora Core 6 Extras
mirrorlist=http://mirrors.dotsrc.org/fedora-buffet/archive/fedora/linux/extras/6/$basearch
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=0

[fc6-updates]
name=Fedora Core 6 Updates
mirrorlist=http://mirrors.dotsrc.org/fedora-buffet/archive/fedora/linux/updates/6/$basearch
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=0

en la consola

# yum clean all

smtp Connection error

TYPO3 Exception: Connection could not be established with host smtp.gmail.com [Connection timed out #110]

Check if httpd_can_sendmail is on , run this getsebool httpd_can_sendmail
    When you get: httpd_can_sendmail --> off , run setsebool -P httpd_can_sendmail 1
    When you get: httpd_can_sendmail --> on that's fine move on step 2.

Check also if httpd_can_network_connect is on, run getsebool httpd_can_network_connect
    When you get httpd_can_network_connect --> off run setsebool -P httpd_can_network_connect 1
    When you get: httpd_can_network_connect --> on that's fine move on step 3.
Use the following settings for smtp : 'host' => '64.233.166.108' 'port' => '465'

Estadísitcas en Setup de la Template

	page.12 = TEXT
	page.12.value (

	<!-- Histats.com  START  (aync)-->
	<script type="text/javascript">
		...
	</script>
	<noscript>
		<a href="/" target="_blank">...</a>
	</noscript>
	<!-- Histats.com  END  -->
	)

tipcommands's People

Contributors

janoguerab avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.