CentOS 5 :: Dir --color Does Not Remember Setting?

Feb 7, 2010

When I login remotely with PuTTy, I can type dir --color=always and it will give me that particular directory listing in color, but then the next one is not in color (the color setting does not stick).I have tried:dir --color=yesdir --color=forcedir --color=always

View 7 Replies


ADVERTISEMENT

Networking :: Setting Time For IPTables To Remember Its Incoming Port?

Mar 9, 2010

I've got a box with 2 interfaces, with IP1 = 192.168.100.1 and IP2 = 10.1.1.1 respectively on them. I've got an iptables rule that looks like:
Code:
iptables -t nat -A POSTROUTING -s 192.168.100.0/24 -d 10.0.0.0/8 -p udp -j SNAT --to-source 10.1.1.1 --random

If I get 2 consecutive packets from the same address and port from 192.168.100.0/24, they get SNAT-ed and come out of the same port on 10.1.1.1. If then I get another packet from the same address and port 10 minutes later, then it gets SNAT-ed, but comes out of a different port on 10.1.1.1. How can I set the time delay I would like iptables to remember its incoming address/port to outgoing port mappings?

View 8 Replies View Related

General :: Change Color Setting In Vi Or Vim?

Jul 18, 2011

I have changed my background color of xterm/konsole to black (better for eye since i got to face monitor for long hour).In my vi file, there is a color setting to put all comment # with deep blue color. This make it very difficult to see if the blackground color is black color. How could i change color setting in vi or vim ? I want to change the blue color to cyan.

View 8 Replies View Related

General :: Setting Background Color In Gvim?

May 16, 2010

I use a terminal with white text on black background (I just like it better), so I wrote the following line in my .vimrc file: set background=dark

However, gvim has black on white text. How do I do either of the following: Set the background of gvim to black Check in .vimrc if I'm using gvim I tried this: I started up gvim, and typed echo &term. The answer was "builtin_gui". So I wrote the following into .vimrc:

if &term == "builtin_gui"
set background=light
else
set background=dark
endif

Somehow, it didn't work.

View 1 Replies View Related

CentOS 5 :: Yum Doesn't Remember Its Updates?

Nov 28, 2009

I have created a yum repository in my local network. Everything seems to be working well except the yum server doesn't remember what was updated, every time I run yum on it the same fies are updated (306 files). And the versions I checked are the same as the files already installed.

____________
yum .conf
[main]

[code]....

View 2 Replies View Related

Software :: Setting Git-diff --color-words As Git-diff?

Jun 2, 2010

I like the output of

Code:

git diff --color-words old..new
but I do not know how to set --color-words permanently in the ~/.gitconfig file.

Edit: I guess I should've said that I do not want an alias for diff --color-words

View 5 Replies View Related

General :: Desktop Environment Color Settings / Do They Affect Web Browser Color?

Jun 14, 2011

Kernel 2.6.21.5, Slackware 12.0
KDE 3.5.7
(Mozilla) Firefox 2.0.0.4

Do color settings in the desktop environment affect color in the web browser? Thanks.

View 2 Replies View Related

Ubuntu :: Can GNOME Color Be Used To Alter Ambiance Theme Color?

Jan 12, 2011

Can GNOME Color be used to alter this change directory color in Ambiance theme? I'd rather have white.

View 4 Replies View Related

Software :: Screen App / Retain BG / Color Background Color Gets Lost

Jul 6, 2009

I am using the screen app, and have set bce to on, and issued the following commands to set my background and foreground color: tput setab 4; clear; tput setaf 7; clear;

This temporarily sets everything properly on my screen. However, when I issue any commands that change or set their own background color (for example, when I issue an "ls" command with colorized output), the background color gets lost for any new output and I have to reissue the commands listed above in order to retrieve my background color.Ideally I'd like to keep my background color when issuing these commands, as it serves as a good way to remind me of what environment I am currently issuing commands in.

View 1 Replies View Related

Programming :: Favorite 256-color Vim Color Scheme

Feb 25, 2011

What is your favorite 256-color color scheme for vim?

View 6 Replies View Related

CentOS 5 :: Tclerror: Unknown Color Name "black"

Nov 5, 2009

I have just installed CentOS 5.4 and one of the applications I'm trying to run is PyMol - a molecular visualization tool - and when I start it I get a Python error that terminates with "Tclerror: unknown color name black" This particular application has two windows, a view window and a TCL/TK window that provides menus, and action buttons. The view window shows up but the Tcl/Tk window does not.

I have another application that gives a similar error: "tclerror: unknown color name grey90" This application does load and run, but it is a much more complex app that is likely only partially hindered. I haven't found yet how this one fails.

It seems to me that I don't have tcl/tk installed, configured, or enabled correctly, how to test this or how to troubleshoot the problems.

View 2 Replies View Related

CentOS 5 Networking :: Getting Start W/ Centos Networking \ Ssh Commands But Not Setting Up A System And Stuff?

Feb 19, 2010

I just started setting up a linux box in the office...I have some experience with ssh commands but not setting up a linux system and stuff.The box is connected to our network but I have no clue how to make windows & osx talk with it. How can I go by doing that and also setting up an apache server to be able to connect through network. Right now I have apache/linux/mysql running it works when i go to localhost, but I would also like to let all the computers in office to access it. I would guess that will deal with virtual host which I know how to setup. I just need to setup an IP.

View 19 Replies View Related

Ubuntu :: HP Color Printer Not Printing Black As Black, Uses Tri-color Instead?

Feb 2, 2010

I have an HP color laser printer and I am looking for a way to print black as black instead of using tri-color. For example If I print a document that has colored text then any black text is printed using the color cartridges rather then using black. I have been surviving by using windows XP in virtualbox but I'm hoping someone can help me with this. I've looked all over then net for a solution but I've found nothing. I remember having similar problems like this with older Macs because of postscript printing and I'm thinking this is the same problem but I don't know how to fix it. I've searched the forums as well but no joy.

View 3 Replies View Related

CentOS 5 :: Setting Up FTP On VPS?

Nov 19, 2010

I'm setting up anonymous FTP on my VPS (just for testing purposes) and I need to copy the shared libraries needed by ls to ~ftp/bin. I'm not sure where these libraries are located.

I'm running Cent 5 i386

View 1 Replies View Related

CentOS 5 :: Setting Up SVN On A Box - 403 Error

Feb 12, 2009

I am trying to set up a SVN server on my centos box.

I have my box set up to do ssh/samba

I need to set up SVN but when I followed [url]

I get a 403 error.

View 2 Replies View Related

CentOS 5 :: Rpm Or Yum Setting To -not- Do Upversion?

May 24, 2010

Is there a setting in rpm or yum to tell it to -not- do any upversioning (say from 5.3 to anything else)?

I know someone's going to ask 'why'.

1. Need to maintain close similarity to a bunch of enterprise RHEL53 boxes.
2. Don't want to enable ipv6.
3. Don't have time to QCC it.

View 1 Replies View Related

CentOS 5 :: What To Consider In Setting Up Server

Feb 22, 2011

I've setup a server for a small office (10 people) before with samba domain and file server with slackware. no problem there. now am tasked to setup a samba domain and file server for 300 users in 5 different locations. I am currently given a 1u rack server and I requested for 2x1tb drives that I plan to with RAID.

Some of the offices will be connected via VPN using sonicwall. Would it be ideal for remote users to login to the server in the HQ? Am not so familiar with how other companies setup their servers if they have multiple remote sites. Am also open to setting up servers in each site but because of the currently limited manpower, i'd rather have it close by so I can work on the server remotely if needed.

are there any things that I should consider or are there any good references on setting up a corporate server? the problem now is that the company uses google's email app as their email provider, I have gotten a host to do that already. But since they use email to share files, its not very efficient, hence the file server. But since there are a lot of mobile employees and employees in different sites, I would want them to be able to access those files being shared access the company or departments also.

Then I have to consider how to backup the files and other apps that the company will be using. SInce we will be primarily using linux, we would need to do virtualize some windows based apps that they are using now.

View 1 Replies View Related

General :: Setting Up A Second Monitor In Centos?

Nov 16, 2010

I have CentOS installed on my laptop. I hooked up my TV via VGA and it works, just not as I'd like it to. The left side (on the tv) is cut off, like the image is justified too far left. I want it to be centered, but I also want to use a different resolution. You see, I use a netbook, and thus my laptop screen is tiny, meaning some things cant fit in the same window without scrolling. I want my TV to fix that for me.

View 1 Replies View Related

General :: Setting Up Wireless Under CentOS

Apr 5, 2010

as part of a course project, I need to document and demonstrate how to install and set up a Wireless adapter with CentOS 5.1.I have the following devices available:

USB NetGear WG111V2
USB NetGear MA101

Can anybody direct to me to where I can find information on where to find the drivers, and how to get set up under CentOS?

View 1 Replies View Related

Server :: CentOS Setting Up Php / Mysql?

Oct 27, 2010

I'm trying to install php / mysql on a remote Centos server.I've completed the installation stages but when I try ' php -v ' it comes up with these errors:

Code:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mcrypt.so' - libltdl.so.3: cannot open shared object file: No such file or directory in Unknown on line 0

[code].....

View 2 Replies View Related

Server :: Setting Up CentOS Email

Jan 13, 2011

I'm trying to setup a couple POP accounts in CentOS. I started doing a tutorial that had me install dovecot, and now I have dovecot running but I can't connect at all.Does anyone know of a simple way to get email up and running? It seems like it should be easier than the 14 step tutorials I was finding on Google.Also, should I leave dovecot or try and remove it?

View 6 Replies View Related

Red Hat :: Setting Permissions On Usb Ports In CentOS 5.4?

Feb 24, 2010

I am running VirtualBox on CentOS 5.4 & am not able to connect the usb ports to the guest operating systems. When I click on the device menu & usb, the devices I have plugged in show up, but are greyed out. I had this problem on Mandriva when I first started using VirtualBox & had to put my user account in the USB group. My account is in the vboxusers group but there is no USB group on CentOS & I can't figure out how to give myself permission to the USB ports.

View 6 Replies View Related

CentOS 5 Networking :: Setting Up A Dual NIC

Nov 14, 2009

I'm trying to seup my dual ethernet card. One to go to the internet and the other to serve the LAN. Do I need a router for the NIC that will serving the LAN and another one to the NIC that will be connected to the internet? I don't want the LAN computers to connect to the internet. Can someone please give me a description on how to set this connection. And yes I will be using my server as a DHCP and DNS BIND.

View 5 Replies View Related

CentOS 5 :: Setting Up Initial Networking

Mar 18, 2010

I am configuring a new installation of CentOS 5.4 with the goal of setting up a server. Ive been through the installation and set up everything that I thought that I had to setup. Im getting into CentOS because my work utilizes this distribution. I do have some debian experience, and I have used Ubuntu on both server and desktop platforms.

Now, when setting up Ubuntu, I found that I was able to get networking up much easier. During the initial installation it had asked me to choose between DHCP or manual configuration. As this is going to be a server I want it setup with a static IP. But for some reason no matter what I do I can not get the machine connected. I go so far as trying to do a 'yum update' and I can not make a connection.

A few things Ive noticed that might be applicable here . . . . .

For DNS servers, I am unsure exactly what I need to put here. My ISP is Cox. I am not sure what NS's to put there for them, so I thought that I would be able to use third party DNS servers such as OpenDNS or the Google Public DNS. I know that I have setup my debian server like that with no issues. Also when setting up my debian server it prepopulated certain areas that I am required to fill when setting up CentOS. Example, when setting up localhost.localdomain -- I would choose my hostname and local domain was prepopulated as ph.cox.net. I dont know if this is something that I have to use, or if it would change if I am using third party DNS.

My resolv.conf file looks like this

search ph.cox.net
nameserver (IP address of third party dns either opendns or google)
nameserver (IP address of third party dns either opendns or google)

View 3 Replies View Related

CentOS 5 Server :: Setting Up Sub-domains?

Jul 20, 2010

I am still in Linux Diapers. I setup a CENTOS SELINUX box on an internal network. So the only way I know to access it's served pages is by navigating to 10.1.1.40 from a computer within the network. The issue is that I need to create sub-domains for this server but have no Idea how to go about doing that.

Is there a way of creating an alias for the dev server so I can type something like "washington" into the web browser of a computer on the internal network instead of 10.1.1.40? Can I use a fake FQDN that on this server and get served its web pages or do I need to register a FQDN?

Background: I am creating a series of websites using Drupal and am trying to implement the multisites functionality (all the sites are run from a single code base). To do this they suggest setting up each site on a sub-domain during development. We have not yet purchase the FQDN's for the sites so I have no FQDN to setup.

View 1 Replies View Related

CentOS 5 :: Setting Up Java Globally In 5.5?

Feb 6, 2011

I've just installed CentOS5.5 on an older P3 machine as well as in a VM under Virtual Box on my laptop and I've run into the same issue with Java on both. During installation, I make sure not to install any form of Java anything as I wish to use Sun/Oracle's JDK. On first login on both machines, typing "java" in a shell finds that gij has magically installed, even though I didn't want it there.

I d/l and install Java 6-23 via the .rpm.bin package from Oracle. Typing java -version in the shell still returns "gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-48)". Ok, so it's 2011 and Oracle/Sun still can't figure out how to write a java installer that will set PATH. I add the following to my .bashrc file under my normal user:

PATH=/usr/local/jdk1.6.0/bin
export PATH

log out, log in and java reports the correct version... Except now I can't su, open vi or a number of other things.

Since I want to use this globally anyways, how do I go about using this version of Java globally for all things java? (eclipse, jboss, etc...) #alternatives --config java only shows this gij version.

View 4 Replies View Related

CentOS 5 :: Setting Up A VNC But All It Shows Is Blank?

Mar 24, 2011

Not for whats up. I install a VNC Server as posted on many tuts but its just blank with a BlackX for the cursor. So anyone know how to fix this?

[URL]

View 1 Replies View Related

CentOS 5 :: Setting Up Iptables For Symmetric NAT?

Apr 14, 2011

I am having difficulties setting up Symmetric NAT through iptables and I hope you can help me with this issue. First things first: "A symmetric NAT is one where all requests from the same internal IP address and port, to a specific destination IP address and port, are mapped to the same external IP address and port.If the same host sends a packet with the same source address and port, but to a different destination, a different mapping is used. Furthermore, only the external host that receives a packet can send a UDP packet back to the internal host."

Need: I am working on a SIP application and SIP apps face a problem with NATed networks. STUN is a solution to such a problem and my SIP application has an embedded STUN client functionality. Scenario and Technical Details:

[Code]...

View 2 Replies View Related

Networking :: Setting Up Network Between 3 Centos In Virtualbox

Oct 24, 2009

I am trying to learn about networking and am looking to set up a mini network between three bare bones Centos machines in Virtualbox. I set up the machines with a static IP. In the Virtualbox I am using NAT and have the IPs as follows
Centos-1
IP: 10.0.2.15
Gateway: 10.0.2.2
DNS: 10.0.2.3

Centos-2
IP: 10.0.2.16
Gateway: 10.0.2.2
DNS: 10.0.2.3

Centos-3
IP: 10.0.2.17
Gateway: 10.0.2.2
DNS: 10.0.2.3

On all machines i can ping google.com, and yum updates, but I can not ping any other machine. It says they are unreachable. NOt really sure what to do. Any help would be much appreciated.

View 6 Replies View Related

General :: Setting Up A Network Print On Centos 5.2

Mar 4, 2010

neeed help setting up a network printer on centos 5.2

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved