Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

Monday, July 6, 2015

Running Linux application on Windows using andLinux

andLinux

To enable application install using apt-get:
..follow steps on "Repository Settings" here
..run "sudo apt-get update"
..run "sudo apt-get install krecipes"

Installing AndLinux
..Mount Windows Drives
..to edit fstab, type "sudo nano /etc/fstab"
..what to put as uid and gid: How do I correctly mount a NTFS partition in /etc/fstab?

andLinux Wiki
..Installation / Demo Videos
..Quick Tips
..Press Review
..Testimonials
..Howto: change andLinux network configuration
..Howto: keep your base.drv during update
..Howto: configure ubuntu with gnome desktop
..Howto: change default user
..Howto: access removable media from andLinux
..Howto: setup Windows printers
..Howto: user-defined file associations
..Howto: open externally accessible ports for SSH server, webserver, etc.
..Knowledge: andLinux Launcher
..Knowledge: Xming
..Knowledge: Installer parameters / silent installation

andLinux setup

Accessing removable media from andLinux using COFS

using andLinux (for windows)
..setting up Windows 7 firewall

andLinux installation
..andLinux is an Ubuntu distribution based on the gutsy release. After trying to build the source for liferea and
..running into problems with package versions being to old, I decided to try to upgrade the Ubuntu release to
..hardy. The following are the steps I took to complete the upgrade
---

Alternatives
------------
Foreign Linux: run Linux binaries on Windows

Tuesday, May 12, 2015

Kali/Debian related

Create Kali live usb :
use Rufus (DD mode)

Setting Brightness Secara Permanen di Linux

Choosing a GRUB 2 Background Image


Editing Grub2 menu entries manually in Linux Mint
For editing/removing boot entries, edit grub.cfg file present in /boot/grub/. To remove extra operating system entry (say Linux Mint 12 installed on sda8) remove these lines from grub.cfg file
...
Do not run command update-grub after editing/removing/renaming entries in grub.cfg file as this command reconfigures grub.cfg file and will again include all operating systems present on system. 

"Network Mirror", is it required?
Adding Kali Linux mirrors after offline installation
If you installed Kali offline from a CD/DVD or USB (or have chosen not to connect to internet during installation), you probably have an empty sources.list file with just 2 lines on it (CDROM’s). ... you won’t get the mirrors or repositories during a hard disk install added to your sources.list file. This will cause issues in the future when seeking new or updated software packages from the Kali repos.

Change hostname
cd /etc
leafpad hostname
leafpad hosts
[restart]

Change Kali Linux Login Wallpaper

Change lock screen wallpaper
navigate to /usr/share/images/desktop-base/
rename kali.xml to kali.xml.bak
rename lines.xml to kali.xml
restart GNOME display manager using commands here:

Change desktop, login and lock screen wallpapers in GNOME 3.4

Wednesday, February 26, 2014

[LINUX/UBUNTU] Administrative tasks related

“gzip: stdin has more than one entry--rest ignored” and “gzip: tmp.gz has more than one entry — unchanged”
this can happen if it's actually a ZIP-file rather than a gz-file, just with a misleading extension, and it contains multiple files. (gzip -d does support ZIP-files that contain only one file.)

In my case, that's exactly right:
$ file tmp.gz
tmp.gz: Zip archive data, at least v2.0 to extract

and using unzip rather than gzip -d worked perfectly.
---

How do I change the computer name?
do "sudo gedit" on /etc/hosts and /etc/hostname

Understanding File Permissions: What Does “Chmod 777″ Means?
for permissions, there are 3 type of actions that you can perform on a file/folder. You can either read, write or execute

Read is equivalent to ‘4’.
Write is equivalent to ‘2’.
Execute is equivalent to ‘1’


How do I mirror a directory with wget without creating parent directories?
self experience with
"wget --no-parent --no-host-directories --cut-dirs 1 -r -e robots=off http://host/dir1/XYZ":
when targetting directory XYZ, several files on "dir1" were downloaded too

How can I check disk space used in a partition using the terminal in Ubuntu 12.04 LTS?
df -h

How to edit files in a terminal with nano?

Launch app from menu as root
How to launch application as root from Unity Launcher?
NOTE: use 'nano' instead of 'vi' for easier operation
............if cursor not visible, try to perform string search ("Where Is") first
............when editing config files, use "-w" (source)

Checking version of application/package installed on Ubuntu
dpkg -s (packagename)

MOUNTING WINDOWS SHARE IN UBUNTU SERVER TERMINAL
Mount Windows Share on Ubuntu - Command Line
if you get "error(13): Permission denied", try using this syntax for credential:
"...-o username=someone,password=123456,domain=mydomain..."

Unlock The Root Account, Reset The Root Password, Change Username In Ubuntu 13.04

Xubuntu how to check used and free disk space
command: df -h

List xrdp (=xvnc?) sessions:
netstat -tulpn | grep Xvnc
to kill session, just type "kill" following by pid (righmost number return from above command)

Tuesday, February 19, 2013

Server external storage related

FreeNAS Active Directory Integration

Installing FreeNAS to USB stick (new and simpler way)
If you want to reformat the USB device in Windows OS, the USB key will get just 942.51 MB available, the rest unable to be formatted (even if you try to eliminate the remaining partitions).
If this occurs, do not panic because there is a solution. With software for Managing Disk Partitions this situation can be easily resolved.
In our case we used MiniTool Partition Wizard Home Edition. Through such software, you can delete the partitions fails through Windows Disk Management and format the Pen. Guarantee that is "like new". You can download the free software mentioned in: http://www.partitionwizard.com/free-partition-manager.html.
source: Building a NAS System with FreeNAS 9.1.1 and Specific Hardware
...related: MiniTool Partition Wizard Professional Edition portable 8.1BASEM.rar


Things to be cautious about:
For those that care, in the AD configuration window there is a field that says "hostname" This does not refer to the hostname of the DC, it wants a hostname you want FreeNAS to use in your AD.

I put in the hostname of my DC out of reflex, it destroyed my DC and required a call to Microsoft to repair. A very expensive lesson on my part. I'd rather not have anyone else repeat it.
from FreeNAS + Active Directory = Danger Will Robinson

Google: integrate freenas active|radius

Wednesday, March 7, 2012

Live OS with small size

DamnSmallLinux

Related articles(s)
Install to USB From within Windows
** Method V has been tested successfully on AMD-SATA system
** Ignore "Follow the current instructions from PendriveLinux" line
** UNetBootIn can also be used instead of "Universal USB Installer"

Monday, December 12, 2011

SSH to remote PCLinuxOS box from Windows

PuTTY
www.putty.org

To transfer files to/from Windows:
WinSCP
winscp.net

Related article:
SSH: An Easier-Than-You-Thought Tutorial
http://pclosmag.com/html/Issues/201102/page18.html

Friday, December 9, 2011

PCLinuxOS: "Service Manager"

System > Configuration > Configure Your Computer > System > Manage system services...

Thursday, November 24, 2011

NVidia-BT5-Asus

Installing NVIdia GeForce 520M driver on Bactrack 5 on Asus A43S notebook:
Download driver from http://www.geforce.com/Drivers#
Make downloaded file executable
Run file using ./<.run file name>

VMware 2 + BT5: Cannot install remote console plug-in

Cause:
Incompatibility with Firefox 4.01

Workaround:
Install VMware Player instead
(http://tuxnetworks.blogspot.com/2010/07/vmware-remote-console-firefox-36.html)

Related info:
Install VMware Player
www.backtrack-linux.org/wiki/index.php/Install_VMware_Player

Wednesday, November 23, 2011

BT5: Change boot menu configuration

How to change the default boot order for Grub2 in backtrack 5(bt 5)
http://specialwolf.blog.163.com/blog/static/12446683220117282527743/

Tuesday, May 24, 2011

Partisi yang perlu dibuat saat install (Indonesian)

Instal LINUX pada PC/Laptop
http://maskalsaintek.web.id/instal-linux-pada-pclaptop/

Thursday, May 19, 2011

BT4 Pre Final: Restore Grub after REinstalling Vista/7

Boot using BT4 DVD (Text Mode is sufficient)

mkdir /mnt/bt4

mount /dev/sda3 /mnt/bt4/
assuming 'dev/sda3' is your root partition

required if you have separate partition for boot:
mount /dev/sda1 /mnt/bt4/boot
assuming '/dev/sda1' is your boot partition

mount -t proc proc /mnt/bt4/proc/

mount -o bind /dev /mnt/bt4/dev/

chroot /mnt/bt4/ /bin/bash

grub
find /grub/stage1
root (hd0,0) where '(hd0,0)' is result from previous command
setup (hd0)
quit

reboot

Friday, April 8, 2011

Triple boot: Windows 7, Leopard, Backtrack

Instalasi Multi Boot / Triple Boot Windows 7, Mac OS X Snow Leopard 10.6.3, dan Ubuntu ke Netbook
http://utamaandri.wordpress.com/2010/07/12/instalasi-multi-boot-triple-boot-windows-7-mac-os-x-snow-leopard-10-6-3-dan-ubuntu-ke-netbook/

How I successfully made my machine Triple Boot (Windows 7 + Ubuntu + Mac) - Easiest Way, Windows 7 x64 Ultimate + iATKOS v10.6.4 + Ubuntu 10.10 x64
www.insanelymac.com/forum/index.php?showtopic=249781

Related article(s):
A Comprehensive Guide to Sharing Your Data Across Multi-Booting Windows, Mac, and Linux PCs
http://lifehacker.com/?_escaped_fragment_=5702815/the-complete-guide-to-sharing-your-data-across-multiple-operating-systems#

Tuesday, March 29, 2011

Running [NON VIRTUAL!] Windows from Linux

Never reboot linux again? Run your existing Windows install in Linux!
http://mazimi.wordpress.com/2007/06/24/virtualization-of-an-existing-physical-partition-of-windows-within-linux/

Sunday, July 25, 2010

Assigning static IP address

Linux Network Configuration
www.yolinux.com/TUTORIALS/LinuxTutorialNetworking.html
Section: Assigning an IP address

Friday, April 9, 2010

BT4Final: Start [Wireless] Network Manager

From console, run:
/etc/init.d/wicd start

Then launch Wicd Network Manager from menu

Monday, March 1, 2010

Regarding shadow file

Understanding /etc/shadow file
www.cyberciti.biz/faq/understanding-etcshadow-file/

Why shadow your passwd file?
www.kplug.org/~mhjack/SHADOW-HOWTO/SHADOW-HOWTO-3.html