Re: [CentOS] kernel autoconfigure ?

2012-03-27 Thread admin lewis
2012/3/27 Johnny Hughes :
> On 03/26/2012 04:45 PM, admin lewis wrote:
>> Anyone know if there is a kernel autoconfigure tool to compile from source ?
>> thanks
>> luigi
>
> What are you trying to accomplish.
>

Simply I want enable grsecurity. I downloaded vanilla kernel and
grsecurity patch but I dont want reconfigure every kernel options..
because it's too long read and understand every feature of the kernel.
Also I want disable all modules I dont need. Finally I dont want
initrd.
Thanks very much for any help
luigi


-- 
Linux Server, Microsoft Windows 2003/2008 Server, Exchange 2007
http://predellino.blogspot.com/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] kernel autoconfigure ?

2012-03-26 Thread admin lewis
Anyone know if there is a kernel autoconfigure tool to compile from source ?
thanks
luigi


-- 
Linux Server, Microsoft Windows 2003/2008 Server, Exchange 2007
http://predellino.blogspot.com/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Centos 6.2 install some problems

2012-02-28 Thread admin lewis
Hi,
I have reinstalled centos 6.2 x86_64 because it seems there is not xfs
mod on i386.
But i have found an orther problem. After the partitioning there is
not any prompt to choice the type of server I want (minimal, web etc)
So now I have a desktop installation...
I want to remove xorg, gnome etc..
and an other bug.. i am unable to setup Eth interface ... with
system-config-network-tui i cant see any eth..
I have 4 NIC.. and all works well..
cheers
luigi


-- 
Linux Server, Microsoft Windows 2003/2008 Server, Exchange 2007
http://predellino.blogspot.com/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] XFS on Centos 6.2 ?

2012-02-27 Thread admin lewis
Hi,
I need of to mount an XFS partition on Centos 6.2 .. but I cant find
the kernel module..
it that true the xfs is available only under x86_64 ?

-- 
Linux Server, Microsoft Windows 2003/2008 Server, Exchange 2007
http://predellino.blogspot.com/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Secure a python http server

2011-08-30 Thread admin lewis
2011/8/30 Steven Crothers :
> You wrote the application... nobody can tell you how to secure code they've
> never seen.
>
> On Tue, Aug 30, 2011 at 1:16 PM, admin lewis  wrote:
>>
>> Hi,
>> I want to make secure my python http server.. what should i use ?
>> chroot ? there are something more secure ?
>> On my centos server I've SE enabled..then .. sandboxing ?

http://mapproxy.org/

that's it..
lewis



-- 
Linux Server, Microsfot Windows 2003/2008 Server, Exchange 2007
http://predellino.blogspot.com/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Secure a python http server

2011-08-30 Thread admin lewis
Hi,
I want to make secure my python http server.. what should i use ?
chroot ? there are something more secure ?
On my centos server I've SE enabled..then .. sandboxing ?
Thanks very much
lewis


-- 
Linux and Windows 2003/2008 Server.
http://predellino.blogspot.com/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] ups advice

2011-04-15 Thread admin lewis
2011/4/14 John R Pierce :
> On 04/14/11 9:06 AM, admin lewis wrote:
>> Hi
>> I have a Dell PowerEdge T310 *tower* server.. I have to buy an ups by
>> apc... anyone could help me giving an hint ?
>> a simple "smart ups 1000" could be enough ?
>>
>>
>
> apc smartups or eaton powerware woudl be my choices.    1000VA should be
> fine.
>
> avoid consumer UPS's like apc backups, they are junk.
>
>
> how long do you need the system to stay powered when the power fails?
> just long enough to shutdown?  or do you need it to stay up for some
> period of time?
>
>

Few minutes... 10 minutes should be enough.. and then shutdown the machine ..
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] ups advice

2011-04-14 Thread admin lewis
2011/4/14 Bowie Bailey :
> On 4/14/2011 12:06 PM, admin lewis wrote:
>> Hi
>> I have a Dell PowerEdge T310 *tower* server.. I have to buy an ups by
>> apc... anyone could help me giving an hint ?
>> a simple "smart ups 1000" could be enough ?
>
> APC's website has a "UPS Selector" feature that will recommend a UPS
> based on your equipment.
>
> --
> Bowie


I take a APC Smart-UPS 1000VA LCD 230V
It seems good a enough to give 15-20 minutes of power to my server.
very very thanks for your simple but very useful hint.
lewis
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] [OT] ups advice

2011-04-14 Thread admin lewis
Hi
I have a Dell PowerEdge T310 *tower* server.. I have to buy an ups by
apc... anyone could help me giving an hint ?
a simple "smart ups 1000" could be enough ?

thx so much!!

lewis.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Rules for port forwarding

2011-03-29 Thread admin lewis
Hi,
does anyone remember the rules for port forwarding ?
the followings does not work:
iptables -A FORWARD -i eth0 -o eth1 -p tcp –dport 80 -j ACCEPT
iptables -A PREROUTING -t nat -p tcp -i eth0 –dport 80 -j DNAT –to
192.168.20.1:80

thx lewis
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Install on Dell PowerEdge T310

2011-03-24 Thread admin lewis
2011/3/24 Alexander Dalloz :
> Am 23.03.2011 19:33, schrieb admin lewis:
>
>> Thanks very much to all, now I have understood..
>> anyway it's a perc s300.. I see I can make a virtual disk read-only...
>> very interesting.. well .. to have a /boot partition read-only is a
>> non-sense...
>> thanks to all again... someone has told "google is your friend" ..
>> ..but I say  "I prefer human friend"..
>> :-)
>
> https://access.redhat.com/kb/docs/DOC-19840
>

yep, after I created the array, centos cant see any disk... :-(
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Install on Dell PowerEdge T310

2011-03-23 Thread admin lewis
2011/3/23 John R Pierce :
> On 03/23/11 10:40 AM, admin lewis wrote:
>> Hi,
>> this is the first time I install linux on a dell server. Simply I
>> booted from a centos 5.5 x64 dvd but I cant see the disks.. is there
>> something I miss ?
>
> does that system have some form of PERC raid controller?  you need to go
> into the PERC Bios (or use Dell's utility disk and the raid
> configuratator) and define whatever level of hardware raid you want,
> creating logical volumes that your OS will see as 'disks'.
>
>

Thanks very much to all, now I have understood..
anyway it's a perc s300.. I see I can make a virtual disk read-only...
very interesting.. well .. to have a /boot partition read-only is a
non-sense...
thanks to all again... someone has told "google is your friend" ..
..but I say  "I prefer human friend"..
:-)



-- 
Admin Lewis
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Install on Dell PowerEdge T310

2011-03-23 Thread admin lewis
Hi,
this is the first time I install linux on a dell server. Simply I
booted from a centos 5.5 x64 dvd but I cant see the disks.. is there
something I miss ?
thanks very much for any help
luigi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] tcpdump; how to dump all

2011-01-14 Thread admin lewis
Hi,
My server is connected to the lan and when I run tcpdump I see few packets
captured but lots packets received by filter.
How can I dump every packets received by filter ?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to set ACLs on windows share

2010-10-27 Thread admin lewis
2010/10/26 Miguel Medalha 

>
>  I have to get/set acls on a windows share by script.
>> I can mount the windows share by mount.cifs but I don't know how to
>> set/get acls... anyone could help me ?
>> thx so much.
>>
>
> You would benefit from posing this question to the Samba mailing list:
>
> sa...@lists.samba.org
>
> Do you want to set the ACLs from the Windows side or from the Unix server
> side?
>
> What do you use to store ACLs? Linux ACLs? A Samba VFS module?
>
>

Hi, I found the solution... smbcacls ...
anyway... I have a linux client and I want to get/set acls on a windows
share, by script.
anyway
thx.
bye
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] how to set ACLs on windows share

2010-10-26 Thread admin lewis
Hi,
I have to get/set acls on a windows share by script.
I can mount the windows share by mount.cifs but I don't know how to set/get
acls... anyone could help me ?
thx so much.

-- 
Admin Lewis
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] temp dir, httpd and selinux

2010-10-21 Thread admin lewis
Hi,
I have a php software installed on a centos server with selinux
enforced activeted.
The php software (glpi --> http://www.glpi-project.org) have a plugin
that must write on a temp dir... but selinux dont give access to that
dir to write.
How should i do ?
lewis
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Net CD/DVD writer

2010-10-20 Thread admin lewis
Hi,
i'm looking for a net cd writer software. I've found webcdwriter
(http://joerghaeger.de/webCDwriter/) but it seems not more upgraded.
Anyone know something else ?
thx lewis
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Partitioning production server

2010-08-31 Thread admin lewis
Hi,
I have to install a production server with postgresql.. with few hundreds of
MB (2-300)
would u advice me to partitioning the disk ?
The server will be under vmware environment with SAN as storage.


-- 
--
Lewis
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos