What directories absolutely need to be in a full system backup? [closed]
I’m currently configuring an Ubuntu Server system and would like to perform routine backups using rsync. The goal is to have the right files backed up so that I can use the backup to create an identical system running somewhere else without a hitch (identical ssh, apache, mysql, etc). Is rsync the right tool for the job? If so, which directories would I absolutely need to include in the backup? Asked by MaxMackie If you [...]
Continue Reading »Why Kernel Shared Memory is 0 on Ubuntu 12.04
Can any one explain to me why KSM is not working does that mean that currently my kernel is not utilizing KSM for less ram utilization. grep KSM /boot/config-3.2.0-23-generic CONFIG_KSM=y cat /sys/kernel/mm/ksm/pages_shared 0 cat /sys/kernel/mm/ksm/pages_sharing 0 cat /sys/kernel/mm/ksm/pages_unshared 0 Kernel:3.2.0-23-generic Ubuntu 12.04 LTS 64 bit Desktop free -m total used free shared buffers cached Mem: 1964 1883 81 0 11 228 -/+ buffers/cache: 1644 320 Swap: 2008 485 1523 ipcs -m —— Shared Memory Segments [...]
Continue Reading »Ubuntu Server 12.04: How does one configure the firewall during installation?
I’m following instructions to automate the installation of Ubuntu Server 12.04 using kickstart. It works well for automatically partitioning the drives, selecting languages etc. However, it doesn’t configure the firewall. It is a known issue. Running without a firewall isn’t a good idea. How does one configure the UFW firewall during installation to prevent unauthorized access to the server? The kickstart file I have looks as follows (with only the username changed) #System language lang [...]
Continue Reading »Node.js WebServer on Ubuntu 12.04 not visible externally from the Internet (external IP)
Router: IP: 192.168.1.1 Host OS: Windows 7(64 bit) – IP: 192.168.1.2 Guest OS(VMware): Ubuntu 12.04 LTS(64 bit) – IP: 192.168.1.10 Guest OS has a NAT and a bridged connection via VMWare. I’m running a basic Node.js server/website listening on port 8000. Port forwarded Router with internal/external port: 8000 I can access my website on LAN(via Windows OS) but not from the any computer outside it or via the internet. Tried: (1) Disabling Ubuntu firewall “ufw”. [...]
Continue Reading »DNS Domains and Subdomains in one VirtualBox server? [closed]
I have been tasked by my instructor to setup a DNS server. But I don’t really know if I’m doing it the right way. I am unable to resolve/ping/nslookup the name server. Syslog sais the ns1 is lame. I am using four Ubuntu clients with VirtualBox, one of them configured to be the DNS server. I’ve set up an bridged virtual network and all hosts are able to ping eachother. I use these IP addresses [...]
Continue Reading »EC2 Ubuntu with WordPress can’t connect to RDS
I have set up a WordPress website on a Ubuntu 12.04 Amazon ec2 machine by following this tutorial except the fact that I haven’t created a MySQL database and I am using an amazon RDS MySQL service. Everything works fine and I am able to create a configuration file during installation but when the installer asks for MySQL credentials. When I fill in the RDS credentials they don’t work. I even tried entering the credentials [...]
Continue Reading »switch user doesnt work, after creating user
I’m rather new to the whole setting up a server, and hardening a server thing, but I had to start today. I mainly have experience with my ubuntu desktop. Anyway, I just created a new user, that I intend to use to access the whole website, like this: As root: useradd -d /var/www/example.com example passwd example … (typing in the pw) okey. Now, if I try to switch to this user, with su example I [...]
Continue Reading »WordPress Ubuntu 12.04 : Unable to create directory wp-content/uploads?
I have set up a wordpress website on amazon ec2 using ubuntu 1.04 LTS by following this tutorial end to end except that i used amazon RDS(thier cloud database service) instead of sql.Although i dont think using RDS instad of mysql could have caused the problem. But I do think you ll need to check this tutorial out before you can answer the question. The wordpress installation works file but when i try to install [...]
Continue Reading »Linux policy routing – packets not coming back
i am trying to set up policy routing on my home server. My network looks like this: Host routed VPN gateway Internet link through VPN192.168.0.35/24 —> 192.168.0.5/24 —> 192.168.0.1 DSL router 10.200.2.235/22 …. …. 10.200.0.1 VPN server The traffic from 192.168.0.32/27 should be and is routed through VPN. I wanted to define some routing policies to route some traffic from 192.168.0.5 through VPN as well – for start – from user with uid 2000. Policy [...]
Continue Reading »Ubuntu 12.04 – HP ProLiant DL380 G4 – Load Maxes Out / Unresponsive
Trying to post this question on here. I’ve posted it on the Ubuntu forums as well with no replies. Recently I upgraded an HP ProLiant DL380 G4 server from Ubuntu 10.04 server to Ubuntu 12.04 server. Upon doing so, the server will not – at random times – get to a load of 400+ and then become completely non-responsive. I use an SNMP graphing program (cacti) and the load steadily increases by about 10 every [...]
Continue Reading »Recent Posts
- What is the easiest way to upgrade my existing Perl 5.14 to Perl 5.16 on FreeBSD 9 using the ports system?
- Know if mysql has done its job
- Redirect https .com to https .co.uk without a valid SSL cert on .com without DNS change
- Why is it a bad idea to use customer email as from address
- 100% packets dropped on first RX queue on 3/5 raid6 iSCSI NAS devices using intel igb (resolved)



