Apache and SELinux
december 2010 by jraldrid
# ps -ZC httpd
# ps -eZ
# ls -Z
# chcon -t httpd_sys_script_exec_t myprogram.cgi
# chcon -R -t httpd_sys_content_t ~user/public_html
# getsebool -a | grep httpd
# setsebool -P httpd_enable_cgi 1
# service httpd restart
# semanage port -l | grep http
# semanage port -a -t http_port_t -p tcp 81
# restorecon /var/www/html/*
Apache
CentOS
HowTo
Linux
Network
Security
SELinux
SysAdmin
Web
# ps -eZ
# ls -Z
# chcon -t httpd_sys_script_exec_t myprogram.cgi
# chcon -R -t httpd_sys_content_t ~user/public_html
# getsebool -a | grep httpd
# setsebool -P httpd_enable_cgi 1
# service httpd restart
# semanage port -l | grep http
# semanage port -a -t http_port_t -p tcp 81
# restorecon /var/www/html/*
december 2010 by jraldrid
Managing Software with yum -- Architechtures
september 2010 by jraldrid
i386 - Any current Intel®-compatible CPU
i586 - Optimized for Intel® Pentium, VIA® C3 or compatible CPU
i686 - Optimized for Intel® Pentium Pro® or current AMD® model
noarch - All computer architectures
ppc - For PowerPC systems (Apple® Power Macintosh, IBM® PowerPC)
ia64 - For Intel® Itanium2
s390/s390x - For IBM® S390 or S390x
alpha - For DEC® alpha (now owned by Hewlitt Packard®).
sparc - For Sun Microsystems® sparc
x86_64 - For 64-bit Intel-compatible (AMD® Opteron or Intel® Xeon)
Architecthure
Hardware
ComputerHardware
CPU
Processor
CentOS
Linux
Management
Package
RPM
Yum
i586 - Optimized for Intel® Pentium, VIA® C3 or compatible CPU
i686 - Optimized for Intel® Pentium Pro® or current AMD® model
noarch - All computer architectures
ppc - For PowerPC systems (Apple® Power Macintosh, IBM® PowerPC)
ia64 - For Intel® Itanium2
s390/s390x - For IBM® S390 or S390x
alpha - For DEC® alpha (now owned by Hewlitt Packard®).
sparc - For Sun Microsystems® sparc
x86_64 - For 64-bit Intel-compatible (AMD® Opteron or Intel® Xeon)
september 2010 by jraldrid
Logical Volume Manager (Linux) - Wikipedia, the free encyclopedia
september 2010 by jraldrid
To bring a volume group online, the "vgchange" tool:
1. Searches for PVs in all available block devices.
2. Parses the metadata header in each PV found.
3. Computes the layouts of all visible volume groups.
4. Loops over each logical volume in the volume group to be brought online and:
1. Checks if the logical volume... has all its PVs visible.
2. Creates a new, empty device mapping.
3. Maps it (...) onto the data areas of the PVs the logical volume belongs to.
To move an online logical volume between PVs on the same VG, use the "pvmove" tool:
1. Creates a new, empty device mapping for the destination.
2. Applies the "mirror" target to the original and destination maps. The kernel will start the mirror in "degraded" mode and begin copying data... to bring it into sync.
3. Replaces the original mapping with the destination when the mirror comes into sync, then destroys the original.
LVM
Linux
Storage
SysAdmin
Wikipedia
1. Searches for PVs in all available block devices.
2. Parses the metadata header in each PV found.
3. Computes the layouts of all visible volume groups.
4. Loops over each logical volume in the volume group to be brought online and:
1. Checks if the logical volume... has all its PVs visible.
2. Creates a new, empty device mapping.
3. Maps it (...) onto the data areas of the PVs the logical volume belongs to.
To move an online logical volume between PVs on the same VG, use the "pvmove" tool:
1. Creates a new, empty device mapping for the destination.
2. Applies the "mirror" target to the original and destination maps. The kernel will start the mirror in "degraded" mode and begin copying data... to bring it into sync.
3. Replaces the original mapping with the destination when the mirror comes into sync, then destroys the original.
september 2010 by jraldrid
sidux Manuals - No GUI Burning
may 2010 by jraldrid
wodim --devices;
wodim dev=/dev/scd0 driveropts=help -checkdrive;
wodim -prcap;
wodim dev=/dev/scd0 -atip;
wodim dev=/dev/scd0 driveropts=burnfree,noforcespeed fs=14M speed=8 -dao -eject -overburn -v something.iso;
wodim dev=/dev/scd0 fs=14M speed=8 -dao -eject -overburn -v something.iso;
genisoimage -o myImage.iso -r -J -l directory;
DVD
CDR
cdrecord
cdrkit
cdrdao
wodim
genisoimage
CLI
CommandLine
Commands
Linux
wodim dev=/dev/scd0 driveropts=help -checkdrive;
wodim -prcap;
wodim dev=/dev/scd0 -atip;
wodim dev=/dev/scd0 driveropts=burnfree,noforcespeed fs=14M speed=8 -dao -eject -overburn -v something.iso;
wodim dev=/dev/scd0 fs=14M speed=8 -dao -eject -overburn -v something.iso;
genisoimage -o myImage.iso -r -J -l directory;
may 2010 by jraldrid
Tether your laptop with the Droid Incredible | Smartphones | TechRepublic.com
may 2010 by jraldrid
What you’ll need
Beyond having the actual Droid Incredible phone, you’ll need the following:
* A data plan; the $59.99 per month plan includes tethering for 5 Gb per month.
* A tethering option for your data plan; this is approximately $30.00 USD per month in addition to the data plan.
* A Windows-based machine; Mac and Linux support for this feature is coming in the future, although no date has been set yet.
* The Verizon Wireless Access Manager (VWAM) installed. From the main VZAM Web site, go to the Consumer Downloads and the use product selection tool. Once you download and install the tool, you’re ready to go.
Droid
Tether
Modem
Networking
Internet
Windows
Linux
Mac
Macintosh
Beyond having the actual Droid Incredible phone, you’ll need the following:
* A data plan; the $59.99 per month plan includes tethering for 5 Gb per month.
* A tethering option for your data plan; this is approximately $30.00 USD per month in addition to the data plan.
* A Windows-based machine; Mac and Linux support for this feature is coming in the future, although no date has been set yet.
* The Verizon Wireless Access Manager (VWAM) installed. From the main VZAM Web site, go to the Consumer Downloads and the use product selection tool. Once you download and install the tool, you’re ready to go.
may 2010 by jraldrid
Peppermint: A New Linux Flavor for the Cloud - Cloud Computing from eWeek
april 2010 by jraldrid
Peppermint is "a fork of Lubuntu with an emphasis on cloud apps and using many configuration files sourced from Linux Mint. Peppermint uses Mozilla Prism to create single site browsers for easily accessing many popular Web applications outside of the primary browser. Peppermint uses the LXDE
...
he core Peppermint team consists of two developers in North Carolina: Kendall Weaver and Shane Remington. "Weaver is the maintainer for the Linux Mint Fluxbox and LXDE editions...
Linux
Mint
Cloud
...
he core Peppermint team consists of two developers in North Carolina: Kendall Weaver and Shane Remington. "Weaver is the maintainer for the Linux Mint Fluxbox and LXDE editions...
april 2010 by jraldrid
iTWire - Eeebuntu eeevolves with Debian Linux
november 2009 by jraldrid
Eeebuntu eeevolves with Debian Linux
Linux
Eeebuntu
Debian
News
november 2009 by jraldrid
I Have a Schedule to Keep - IO Schedulers | Linux Magazine
october 2009 by jraldrid
cat /sys/block/sdb/queue/scheduler;
echo deadline > /sys/block/sdb/queue/scheduler
Linux
Kernel
Scheduler
echo deadline > /sys/block/sdb/queue/scheduler
october 2009 by jraldrid
Synthesizing Voice From the Command Line | Linux Journal
september 2009 by jraldrid
echo Your job has completed | text2wave | aplay
Audio
Text
Speech
Linux
september 2009 by jraldrid
Linux: How to Use RAM as Swap | KernelTrap
september 2009 by jraldrid
swapon -s; free -mt; swapoff /dev/hdxx
Linux
Memory
Performance
Tips
HowTo
Kernel
OS
september 2009 by jraldrid
Anteru’s blog » Switching to Linux: A Windows developer’s view
september 2009 by jraldrid
I used Wubi, with the Kubuntu flavour, as I like the KDE environment a bit more than GNOME – especially as I use Qt for UI development now. Specifically, I used Kubuntu 9.04 x64, while I used a x86 Windows XP previously. ... The net result is interesting: The same application is running 5-10x faster now when using all four cores, so porting to Linux was really worth the hassle. I assume that with Visual Studio 2010, running on Windows 7, I would get similar performance, but the key point to take with you here is: Getting your stuff to work on Linux only costs you time, and not too much if you are a bit careful.
Wubi
Windows
Linux
september 2009 by jraldrid
List of Free GNU/Linux Distributions - GNU Project - Free Software Foundation (FSF)
september 2009 by jraldrid
gNewSense, Ututo, Dragora, Dynebolic, Musix GNU+Linux, BLAG, Trisquel, Venenux, Kongoni
Linux
FOSS
Distrobution
september 2009 by jraldrid
BootFromUSB - Community Ubuntu Documentation
september 2009 by jraldrid
grub> find /[tab]
GRUB
USB
LiveCD
HowTo
Boot
Linux
Ubuntu
september 2009 by jraldrid
LXDE - ArchWiki
september 2009 by jraldrid
# Lightweight, runs with reasonable memory usage (After X11 and LXDE are started, the total memory usage is about 45 MB on i386 machines.)
# Fast, runs well even on older machines produced in 1999 (The hardware requirements of LXDE is similar to Windows 98)
# Good-looking, gtk+ 2 internationalized user interface
# Easy-to-use, the user interface is simple, intuitive and functional.
# Desktop independent (Yes! Every component can be used without LXDE)
# Standards compliant, follows the specs on freedesktop.org
# Suitable for old machines ( Though LXDE itself has low hardware requirements, other X applications have higher resource demands. For example, Firefox and OpenOffice.org 2 are quite memory-hungry. It is therefore recommended that you have more than 128 MB RAM.)
LXDE
ArchLinux
Linux
# Fast, runs well even on older machines produced in 1999 (The hardware requirements of LXDE is similar to Windows 98)
# Good-looking, gtk+ 2 internationalized user interface
# Easy-to-use, the user interface is simple, intuitive and functional.
# Desktop independent (Yes! Every component can be used without LXDE)
# Standards compliant, follows the specs on freedesktop.org
# Suitable for old machines ( Though LXDE itself has low hardware requirements, other X applications have higher resource demands. For example, Firefox and OpenOffice.org 2 are quite memory-hungry. It is therefore recommended that you have more than 128 MB RAM.)
september 2009 by jraldrid
Writing CDs and DVDs on the command line | iTech7.com
september 2009 by jraldrid
genisoimage -v -J -V "My Disk" -o CDWrite.iso CDWrite;
wodim -v CDWrite.iso;
sudo mount -v -o loop -t iso9660 CDWrite.iso /mnt;
wodim
cdrecord
CDR
DVD
CLI
CommandLine
Commands
Linux
mkisofs
genisoimage
cdrkit
wodim -v CDWrite.iso;
sudo mount -v -o loop -t iso9660 CDWrite.iso /mnt;
september 2009 by jraldrid
New Red Hat Linux's top five features - Computerworld Blogs
september 2009 by jraldrid
I've used KVM myself, and I'm impressed. Red Hat's KVM supports up to 16 virtual machines, each of which can have up to 256GB of RAM. And, since they work just like real machines, you can control them with the usual RHEL management tools. This is the stuff I want on my datacenter computers.
Virtualization
Linux
KVM
SysAdmin
september 2009 by jraldrid
Raiden's Realm :: View topic - Tutorial: Encrypted Web Browsing at Starbucks
september 2009 by jraldrid
$ ssh -N -D 2008 user@your_home_IP_address -p 22;
C:\Documents and Settings\Admin>cd C:\Program Files\PuTTY;
C:\Program Files\PuTTY>putty.exe -N -D 2008 user@your_home_IP_address -P 22
SSH
Networking
Proxy
Security
Linux
Firefox
Encryption
C:\Documents and Settings\Admin>cd C:\Program Files\PuTTY;
C:\Program Files\PuTTY>putty.exe -N -D 2008 user@your_home_IP_address -P 22
september 2009 by jraldrid
Dr. Dobb's | Open Source Television | August 7, 2009
august 2009 by jraldrid
The Neuros LINK is essentially a quiet x86 PC running Ubuntu Linux with an ATI graphics card delivering video via VGA, DVI, and HDMI output.
_ToDo
OpenSource
TV
Linux
MythTV
Television
august 2009 by jraldrid
Open Source Watershed
july 2009 by jraldrid
the relationship between distributions (downstream) and the individual software components (upstream)
OpenSource
Linux
Distro
Distrology
Statistics
Distribution
july 2009 by jraldrid
related tags
3D ⊕ ACL ⊕ ActiveDirectory ⊕ Activism ⊕ Advocacy ⊕ AIX ⊕ ALSA ⊕ Also ⊕ Android ⊕ Antispam ⊕ Antitrust ⊕ Apache ⊕ Apple ⊕ Applications ⊕ Apt ⊕ Apt-get ⊕ Architecthure ⊕ ArchLinux ⊕ Article ⊕ Ash ⊕ ASM ⊕ Assembly ⊕ ATI ⊕ Atom ⊕ Audio ⊕ AWK ⊕ Backup ⊕ Bash ⊕ Beagle ⊕ BFS ⊕ Booklet ⊕ Books ⊕ Boot ⊕ BootCD ⊕ BootLoader ⊕ Browser ⊕ BSD ⊕ Burning ⊕ C ⊕ C++ ⊕ Carrier ⊕ CD ⊕ CDMA ⊕ CDR ⊕ cdrdao ⊕ cdrecord ⊕ cdrkit ⊕ CellPhone ⊕ CentOS ⊕ Certification ⊕ Charity ⊕ Cheatsheet ⊕ chroot ⊕ CIFS ⊕ CLI ⊕ ClickBook ⊕ Cloud ⊕ CNC ⊕ Code ⊕ Colors ⊕ CommandLine ⊕ Commands ⊕ Comparison ⊕ Compiler ⊕ Compiling ⊕ Compiz ⊕ Compression ⊕ Computer ⊕ ComputerGames ⊕ ComputerHardware ⊕ Conference ⊕ Configuration ⊕ Contexts ⊕ Convert ⊕ Copy ⊕ Core6 ⊕ CPU ⊕ CUPS ⊕ Cygwin ⊕ Cyrus ⊕ Data ⊕ Database ⊕ Date ⊕ DAW ⊕ dd ⊕ ddrescue ⊕ Debian ⊕ Definition ⊕ Design ⊕ Desktop ⊕ Development ⊕ Diagnostics ⊕ Dialog ⊕ Dictionary ⊕ DiG ⊕ Disk ⊕ Distribution ⊕ Distro ⊕ Distrobution ⊕ Distrology ⊕ DistroWatch ⊕ DIY ⊕ DKIM ⊕ DNS ⊕ DNSSEC ⊕ Documentation ⊕ Documetation ⊕ Domain ⊕ DomainController ⊕ DomainKeys ⊕ Download ⊕ Drivers ⊕ DRM ⊕ Droid ⊕ Dropbox ⊕ DSP ⊕ DVD ⊕ Ecology ⊕ Economics ⊕ EDID ⊕ Editor ⊕ Education ⊕ Eeebuntu ⊕ EeePC ⊕ Electronics ⊕ Email ⊕ Embedded ⊕ Encryption ⊕ EPIA ⊕ ethtool ⊕ EVDO ⊕ Evolution ⊕ Ext3 ⊕ Ext4 ⊕ Fedora ⊕ Fetchmail ⊕ FHS ⊕ FileBrowser ⊕ Filesystem ⊕ FinePrint ⊕ Firefox ⊕ firefox:rss ⊕ Firewall ⊕ Flac ⊕ Fluxbox ⊕ Font ⊕ Foomatic ⊕ Foresight ⊕ Format ⊕ Forum ⊕ FOSS ⊕ Free ⊕ Freedom ⊕ FreeNX ⊕ Freeware ⊕ Games ⊕ GCC ⊕ genisoimage ⊕ Gentoo ⊕ git ⊕ Gnome ⊕ GNU ⊕ Google ⊕ gOS ⊕ GPL ⊕ Green ⊕ Grub ⊕ GRUB ⊕ GUI ⊕ Guitar ⊕ Gutenprint ⊕ Hardware ⊕ HDD ⊕ HDTV ⊕ HowTo ⊕ HowTos ⊕ HPLIP ⊕ HSPDA ⊕ IBM ⊕ IDS ⊕ Image ⊕ Imaging ⊕ IMAP ⊕ Industrial ⊕ Informix ⊕ Infrared ⊕ init ⊕ Installation ⊕ Intel ⊕ Internet ⊕ IR ⊕ ISO ⊕ Java ⊕ Kerberos ⊕ Kernel ⊕ Ksh ⊕ KVM ⊕ Language ⊕ Laptop ⊕ LapTop ⊕ LDAP ⊕ Liberty ⊕ Linking ⊕ Links ⊕ Linutop ⊕ linux ⊖ LinuxBIOS ⊕ LinuxCD ⊕ LinuxDVD ⊕ LinuxMint ⊕ List ⊕ LiveCD ⊕ LiveDVD ⊕ Livna ⊕ logger ⊕ LPAE ⊕ LPI ⊕ LSB ⊕ LVM ⊕ LXDE ⊕ Mac ⊕ Macintosh ⊕ Magazine ⊕ Mail ⊕ Management ⊕ MBR ⊕ Media ⊕ Memory ⊕ Micro-ATX ⊕ Microsft ⊕ Microsoft ⊕ MicrosoftExchange ⊕ MIDI ⊕ Mini-ITX ⊕ Mint ⊕ Mirror ⊕ Mirroring ⊕ mkisofs ⊕ mktemp ⊕ Mobile ⊕ MobilePhone ⊕ modeline ⊕ Modem ⊕ Monopoly ⊕ Monospace ⊕ Motherboard ⊕ mount ⊕ Music ⊕ MX ⊕ MySQL ⊕ MythTV ⊕ NAS ⊕ Netbook ⊕ NetBook ⊕ Network ⊕ Networking ⊕ News ⊕ NixOS ⊕ nohup ⊕ Nomad ⊕ Novell ⊕ nslookup ⊕ NT ⊕ NT4 ⊕ NTP ⊕ nVidia ⊕ OCFS ⊕ OCFS2 ⊕ Ogg ⊕ OLPC ⊕ OpenChange ⊕ OpenGL ⊕ OpenSource ⊕ openSUSE ⊕ Oracle ⊕ OS ⊕ OSA ⊕ Oscilloscope ⊕ OSS ⊕ Package ⊕ PackageManagement ⊕ Parameters ⊕ Partimage ⊕ Partition ⊕ Partitioning ⊕ Patent ⊕ PDF ⊕ Performance ⊕ Perl ⊕ Policy ⊕ Politics ⊕ Polls ⊕ POP3 ⊕ Port ⊕ PortablApps ⊕ Portable ⊕ POSIX ⊕ Postfix ⊕ PostgreSQL ⊕ PowerPC ⊕ Printers ⊕ Printing ⊕ Processor ⊕ Programming ⊕ Prompt ⊕ Proxy ⊕ psutils ⊕ PuTTY ⊕ Python ⊕ Qt ⊕ Quake ⊕ Radeon ⊕ rdiff ⊕ RDP ⊕ Recording ⊕ RedHat ⊕ Reference ⊕ relatime ⊕ Remote ⊕ RemoteControl ⊕ RemoteDesktop ⊕ Repair ⊕ Resize ⊕ Review ⊕ Reviews ⊕ RHCE ⊕ Robotics ⊕ Root ⊕ RPM ⊕ rsnapshot ⊕ RSS ⊕ rsync ⊕ RTT ⊕ Ruby ⊕ Samba ⊕ Samba4 ⊕ Scheduler ⊕ Scripting ⊕ Security ⊕ SELinux ⊕ SendMail ⊕ Sendmail ⊕ Server ⊕ Sh ⊕ Shadow ⊕ Shell ⊕ Shopping ⊕ Skype ⊕ Small ⊕ SMB ⊕ smbfs ⊕ SMTP ⊕ Snort ⊕ Software ⊕ Solaris ⊕ Sound ⊕ Spam ⊕ Speech ⊕ SplashTop ⊕ SQLite ⊕ SSH ⊕ SSHFS ⊕ Standards ⊕ Statistics ⊕ Storage ⊕ Store ⊕ Studio ⊕ SuDo ⊕ Sudoers ⊕ Survey ⊕ SuSE ⊕ svn ⊕ Synthesizer ⊕ SysAdmin ⊕ tar ⊕ TarPipe ⊕ Television ⊕ Terminal ⊕ Testing ⊕ Tether ⊕ Text ⊕ Time ⊕ Timeline ⊕ Tips ⊕ TLS ⊕ Tools ⊕ TortoiseGit ⊕ TPM ⊕ tput ⊕ Training ⊕ Tutorial ⊕ Tutorials ⊕ TV ⊕ Tweaks ⊕ Ubuntu ⊕ UMPC ⊕ Unbuntu ⊕ UniChrome ⊕ Unicode ⊕ Unix ⊕ UNIX ⊕ Up2date ⊕ Updates ⊕ Updatesd ⊕ USB ⊕ UTF-8 ⊕ Utilities ⊕ UUID ⊕ VersionControl ⊕ vfat ⊕ VFS ⊕ VIA ⊕ Via ⊕ Video ⊕ Videos ⊕ Virtualization ⊕ VNC ⊕ Vorbis ⊕ Wallmart ⊕ Web ⊕ WebKit ⊕ WebServices ⊕ Wikipedia ⊕ WinBind ⊕ WindowManager ⊕ WindowManagers ⊕ Windows ⊕ Wine ⊕ WinNT ⊕ wodim ⊕ Writing ⊕ Wubi ⊕ WWAN ⊕ X11 ⊕ Xandros ⊕ XGL ⊕ xorg.conf ⊕ Xresources ⊕ XTerm ⊕ Yum ⊕ Zip ⊕ _News ⊕ _Review ⊕ _Study ⊕ _Todo ⊕ _ToDo ⊕ _ToDoc ⊕ _ToShop ⊕ _ToStudy ⊕ _Track ⊕Copy this bookmark: